Predictive coding and oscillations underlie the optomotor response in distant insect lineages

This study demonstrates that the optomotor response in distantly related insects (ants and earwigs) is not a simple stimulus-driven reflex but a complex, stochastic behavior generated by an ancestral closed-loop system integrating predictive coding and internal oscillators to minimize optic flow prediction errors.

Original authors: Dauzere-Peres, O., de Wever, S., Wystrach, A.

Published 2026-03-03
📖 4 min read☕ Coffee break read
⚕️

This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you are walking down a hallway while wearing a pair of VR goggles. Suddenly, the walls start spinning around you. Your brain screams, "Whoa, I'm spinning!" and your body instinctively turns in the opposite direction to try and stay upright. This is the Optomotor Response (OMR).

For over a century, scientists thought this was a simple, robotic reflex: See spin → Turn opposite. Like a thermostat that turns on the AC the moment the room gets hot.

But this new study, looking at ants and earwigs, says: "Nope. It's much more complicated and interesting than that."

Here is the story of what they found, explained with some everyday analogies.

1. The "Ghost in the Machine" (Predictive Coding)

The researchers discovered that insects don't just react to what they see; they react to what they expected to see.

Think of your brain like a movie director.

  • The Director (Your Brain): Sends a command to the camera crew (your eyes) saying, "I'm going to turn left."
  • The Script (The Prediction): The director writes a script predicting exactly what the camera should see if the turn happens perfectly.
  • The Reality (The Sensory Input): The camera actually records what is happening.

If the camera sees exactly what the script predicted, the director says, "All good, keep going." But if the camera sees something different—like the walls spinning faster than the script said—the director gets confused. That difference between the Script and the Reality is called a Prediction Error.

The study shows that insects don't just turn because they see spinning walls. They turn because their "director" realized, "Wait, I didn't write a script for the walls to spin this fast! Something is wrong!" They are trying to fix the error between their plan and reality.

2. The "Wobbly Compass" (Internal Oscillators)

You might think an insect's movement is smooth, like a car on a highway. But the study found that ants and earwigs actually wobble back and forth constantly, like a toddler learning to walk or a drunk sailor on a ship.

They have an internal "metronome" or oscillator in their brains that makes them naturally switch between turning left and right.

  • The Old View: The spinning walls just push this wobbly compass in one direction.
  • The New View: The spinning walls actually tweak the rhythm of the metronome. The insect isn't just being pushed; it's dancing to a beat that the spinning walls are changing.

3. The "Chaotic Dance" (Stochasticity)

Here is the wildest part. When the researchers put the insects in a situation where the visual world was spinning but the insect couldn't actually move (an "open-loop" setup), the insects didn't just turn steadily. They went crazy.

They would turn the "right" way for a bit, then suddenly spin the "wrong" way at high speed, then correct themselves. It looked chaotic.

The researchers realized this wasn't a glitch; it was stochastic (random).

  • The Analogy: Imagine you are trying to walk through a crowded room. You have a plan to go straight. But because the room is crowded (noise), you occasionally bump into someone and stumble sideways.
  • In the insect's brain, there is a little bit of "static" or noise. When the insect is confused by the spinning world, this noise causes it to occasionally take a wild guess and turn the opposite way. It's like the insect is saying, "I'm not sure what's happening, so I'll try turning the other way just to see what happens!"

4. The "Ancient Blueprint"

The most amazing part of this paper is that they tested two very different insects:

  • Ants: Tiny, social, desert-dwelling navigators.
  • Earwigs: Ancient, solitary, soil-dwelling creatures.

These two groups split from each other 350 million years ago. They are as different as a human is from a shark. Yet, they both use this exact same complex system of "Prediction Errors + Wobbly Metronomes + Random Guesses" to control their movement.

This suggests that this complex, predictive way of moving isn't a new invention; it's an ancient blueprint that has been in insect brains since the dawn of time.

The Big Takeaway

We used to think animals were like simple robots: Input (Spin) → Output (Turn).

This paper shows that animals are more like improvisational jazz musicians. They have a rhythm (the oscillator), they listen to the music (the visual world), they compare it to what they expected to hear (prediction), and if there's a mismatch, they throw in a random, wild note (stochasticity) to figure out what's going on.

The "Optomotor Response" isn't a simple reflex; it's the visible tip of a massive, complex, and ancient iceberg of brain power that allows insects to navigate a chaotic world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →