← Latest papers
🤖 machine learning

Trace-Mediated Peak Bias: Bridging Temporal Credit Assignment and Cognitive Heuristics in Deep Reinforcement Learning

This paper identifies "Trace-Mediated Peak Bias" (TMPB), a systematic failure in deep reinforcement learning where intermediate eligibility traces cause agents to irrationally prioritize high-magnitude reward peaks over cumulative returns due to unnormalized gradient shocks, offering a mechanistic explanation for the human Peak-End Rule and demonstrating that adaptive optimizers are theoretically necessary to mitigate this pathology.

Original authors: Viktor Veselý, Aleksandar Todorov, Erwan Escudie, Matthia Sabatelli

Published 2026-06-04
📖 4 min read☕ Coffee break read

Original authors: Viktor Veselý, Aleksandar Todorov, Erwan Escudie, Matthia Sabatelli

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 trying to teach a robot how to choose between two different paths to get to a treasure. This is the core of Reinforcement Learning: an agent learns by trying things and remembering what worked.

This paper discovers a weird glitch in how these robots learn, which the authors call Trace-Mediated Peak Bias (TMPB). It turns out, this glitch makes robots act surprisingly like humans when they remember their past experiences.

Here is the breakdown of what they found, using simple analogies:

1. The Setup: Two Paths, One Choice

The researchers created a simple game with two paths starting from the same point:

  • The "Steady" Path: You get a small, consistent reward (like getting $2 every day for 10 days). In total, this path is worth a lot of money.
  • The "Peak" Path: You get almost nothing, except for one huge, exciting reward in the middle (like getting $10 on day 3) and a decent reward at the very end. In total, this path is worth less money than the Steady path.

The Rational Choice: A perfectly logical calculator would pick the Steady path because the total money is higher.

2. The Glitch: The "Highlight Reel" Effect

When the researchers used a standard learning method (called SGD with "eligibility traces"), the robot made a mistake. It started preferring the Peak path, even though it was worth less money overall.

Why?
The robot's memory system works like a "highlight reel."

  • Eligibility Traces are like a mental sticky note that says, "Remember what you did a few steps ago, because it might have caused this reward."
  • When the robot hit that huge $10 "Peak" reward, it created a massive "shock" to its memory. Because the learning system wasn't smart enough to balance this out, that single big moment completely overwrote the memory of all the smaller, steady rewards.

The robot became "irrational." It forgot the total value and only remembered the most intense moment.

3. The Human Connection: The "Peak-End" Rule

The paper points out that this isn't just a robot bug; it's a human bug too.

  • In psychology, there is a famous idea called the Peak-End Rule. It says that when humans remember an experience (like a vacation or a movie), we don't remember the total amount of fun we had. Instead, we judge it based on the most intense moment (the Peak) and the very last moment (the End).
  • The paper shows that the robot's glitch is a mathematical version of this human bias. The robot, just like a human, got "hijacked" by the intensity of the peak moment and ignored the boring, steady reality.

4. The Fix: The "Smart" Teacher

The researchers found a way to stop the robot from making this mistake. They switched the learning method from a "fixed-step" teacher to an adaptive optimizer (like RMSprop).

  • The Old Way (Fixed): If you get a huge reward, the teacher yells "Change everything!" and the robot panics, overwriting its whole memory.
  • The New Way (Adaptive): This teacher is smarter. It sees the huge reward and says, "Okay, that was a big shock, but let's not freak out. Let's adjust our memory carefully so one big moment doesn't erase the whole story."

When they used this "smart teacher," the robot stopped being irrational. It correctly chose the Steady path every time, realizing that the total value mattered more than the single highlight.

The Big Takeaway

The paper argues that "irrational" human behaviors (like judging a whole vacation by its best day) might not be a flaw in our brains, but a natural result of how our brains process rewards. If our brains use a simple "shock-based" learning system without a "smart filter" to balance those shocks, we will naturally develop these biases.

For Artificial Intelligence, the lesson is clear: If you want your AI to be truly rational and not fall for "highlight reel" traps, you must use the smart, adaptive learning tools that normalize these big shocks. Otherwise, your AI will inherit human-like irrationalities naturally.

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 →