It may also be indication of clutch slippage. Momentary peak of RPMs during gear changes is the motor spinning while not friction is present (clutch plates not engaged) despite the clutch lever being released. Suddenly, the plates stick, and the bike accelerates normally, and RPMs drop. Is it almost like you pulled in the clutch lever, but did not move the gears or release the throttle? If so, I'd suspect a thorough adjustment and inspection of your clutch cable is in order.