Telling yourself that you will remember your dreams before you go to bed helps more than you'd think. I've also noticed that it can depend on how much total sleep you get prior to waking up - i.e. whether you wake up from REM stage or some other sleep stage. Try varying your alarm clock up or back by 20 minutes or so and see if that helps.