← Latest papers
🤖 machine learning

Investigating Action Encodings in Recurrent Neural Networks in Reinforcement Learning

This paper investigates how different methods of incorporating action information into the state update function of recurrent neural networks affect reinforcement learning performance, offering empirical evaluations and discussing future design challenges.

Original authors: Matthew Schlegel, Volodymyr Tkachuk, Adam White, Martha White

Published 2026-05-19
📖 5 min read🧠 Deep dive

Original authors: Matthew Schlegel, Volodymyr Tkachuk, Adam White, Martha White

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a robot to navigate a dark, confusing maze. The robot can't see the whole map; it only gets tiny, blurry glimpses of the walls right in front of it. To make good decisions, the robot needs a "memory" that remembers where it has been and what it just did. In the world of Artificial Intelligence, this memory system is called a Recurrent Neural Network (RNN).

This paper is like a mechanic's manual for that memory system. The authors asked a simple but crucial question: How should the robot's memory system "listen" to the robot's own actions?

When the robot moves (e.g., "Turn Left"), that action changes the world. The memory system needs to update itself based on that move. The paper tests different ways to feed that "Turn Left" information into the memory.

Here are the three main ways they tested, explained with analogies:

1. The "Additive" Approach (The Stack of Papers)

Imagine your memory is a stack of papers. When you take an action, you just add a new sticky note on top of the stack that says "I turned left."

  • How it works: The computer simply glues the action information next to the observation information and shoves it into the memory.
  • The Result: It works okay, but it's a bit clumsy. The memory gets cluttered, and it sometimes struggles to remember the exact sequence of events, especially if the maze is long.

2. The "Multiplicative" Approach (The Specialized Filter)

Now, imagine your memory isn't just a stack of papers, but a smart filter. When you take an action, the memory doesn't just add a note; it reshapes the entire memory based on that action.

  • How it works: If you "Turn Left," the memory system actively changes how it processes the past. It's like saying, "Because I turned left, the hallway I was in before must have looked different than if I had gone straight." It multiplies the action by the memory, creating a dynamic, shifting understanding of the past.
  • The Result: This was the winner in almost every test. The robot learned faster, made fewer mistakes, and could navigate much longer, trickier mazes than the "Additive" version. It was like the robot suddenly gained a sixth sense for how its actions changed the world.

3. The "No Action" Approach (The Amnesiac)

This is the control group. The robot tries to remember the maze but ignores what it just did.

  • The Result: As you might guess, this performed the worst. Without knowing what move it just made, the robot was often confused and got lost easily.

The "Secret Sauce": Why Multiplication Wins

The authors found that the "Multiplicative" method is superior because it treats the robot's actions as active ingredients rather than just extra data.

  • Analogy: Think of baking a cake.
    • Additive: You put the flour, sugar, and eggs in a bowl and just stir them together. They sit next to each other.
    • Multiplicative: You mix the ingredients so they chemically react. The flour changes because of the eggs; the sugar changes because of the heat. The result is a new substance (the cake) that is fundamentally different from the sum of its parts.
  • In the robot's brain, the "Multiplicative" method allows the memory to understand that Action A changes the meaning of Observation B in a way that Action C would not.

The Experiments (The Test Drives)

The authors tested these methods in several "mazes":

  1. Ring World: A simple circular track. The Multiplicative robot learned the track perfectly and needed very little "training time" (truncation) to get it right. The Additive robot struggled to keep track of where it was.
  2. TMaze: A long hallway with a T-junction at the end. The robot had to remember a clue from the start of the hall to know which way to turn at the end. The Multiplicative robot solved this easily. The Additive robot often forgot the clue.
  3. Directional TMaze: A harder version where the robot's orientation matters. Here, the Additive robot failed completely, while the Multiplicative robot succeeded.
  4. Lunar Lander: A complex video game-like environment where a robot must land on the moon. The Multiplicative robot learned to land much faster and more reliably than the others.

The Big Takeaway

The paper concludes that how you design the robot's memory matters more than we thought.

Many AI researchers have been using the "Additive" method (just gluing data together) because it's the standard way computers handle data. This paper shows that for robots learning to act in the real world, the "Multiplicative" method (reshaping memory based on action) is a much better fit. It's like upgrading from a simple notepad to a dynamic, thinking notebook that understands cause and effect.

In short: If you want a robot to learn from its mistakes and actions, don't just tell it what it did; teach its memory to react to what it did. The "Multiplicative" approach does exactly that.

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 →