Feel the keys with the non-playing middle fingers. In slower-moving octave passages, you can often touch one of the notes of the upcoming octave before you play it.
Feel the upcoming note
Make flowing lateral movements. In faster-moving consecutive octaves, focus on the lateral movement that unites them, rather than on each individual octave. Group the octaves together mentally by direction, as shown by the arrows in this example. You may find that using the pinky for the outer notes of all octaves makes them easier to find and play.