Intact female dogs may hump other dogs or whatever else is available when they're in heat, but it is not unheard of for spayed dogs to engage in the activity. Your spayed pet may have learned while she was intact that humping feels good, and does so as a masturbatory behavior. This isn't the only reason, though -- in fact, her humping may have nothing to do with sex at all.
Reasons for Humping
Some dogs hump people, furniture and toys when they become particularly excited, lacking a sexual urge, because they don't know what to do with their sudden burst of energy. Similarly, your dog may hump things as a compulsive response to stress. She could even hump other animals as a form of play, or a way of asserting dominance over them. Humping may, however, be her way of coping with a medical problem, like a urinary tract infection or an allergic reaction around her genitals, so consult with a vet if you notice this behavior.
References
Writer Bio
Tom Ryan is a freelance writer, editor and English tutor. He graduated from the University of Pittsburgh with a degree in English writing, and has also worked as an arts and entertainment reporter with "The Pitt News" and a public relations and advertising copywriter with the Carnegie Library of Pittsburgh.