Sometimes it's caused by changing your pedal stroke in order to provide some relief when you are still trying to maintain high output such as focusing on pulling up vs. pushing down on the pedal stroke.
Do you ride harder indoors than you do outdoors?