It's based on the discrepancy between your current level and the level it syncs you down to. So you'll get more XP for lower dungeons. On the flipside, you get more XP per mob in higher dungeons. So it's a bit of a trade off.