My suggestion: Multiply experience gained by the level modifier your enemies get. So if you're fighting enemies of 5 levels higher, you'll get +40% experience, whereas if they're 3 levels lower, you'll get -20% experience. This encourages players to fight challenging opponents, and doesn't allow someone to become a good fighter just by killing the same enemies over and over again.