As an addendum to other answers, this was happening to me (not ghost shifting but the chain jumping forward). This started on a new chain, so I changed the cassette. It still happened. A test ride demonstrated that it only jumped in the middle chainring (by far the most used) even though it didn't look much more worn than the other rings. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.