Abstract
Mainstream Reinforcement Learning (RL) algorithms often struggle with temporal dependencies that span multiple orders of magnitude due to their reliance on exponential discounting and scalar value functions. This paper proposes a biologically inspired alternative that represents the future as a logarithmically compressed timeline. By employing a two-layer neural architecture based on the Laplace transform and its inverse, the model achieves scale invariance and naturally implements power-law discounting. This approach allows agents to retain "what happens when" information, enabling more nuanced decision-making in complex environments without the need for manual parameter tuning.
Introduction: The Temporal Limitations of Standard RL
Reinforcement Learning (RL) has a fundamental "time problem." Most modern algorithms, such as Temporal Difference (TD) learning, rely on exponential discounting. This requires a fixed parameter ($\gamma$) that defines a specific characteristic time scale. Consequently, an agent tuned for rewards occurring within seconds will often fail to learn relationships that span minutes or hours.
Furthermore, standard RL typically collapses the entire future into a single scalar "value." While computationally efficient, this process discards crucial information about the timing of events. For instance, in a "hot coffee" scenario, a scalar value might indicate that coffee is average, failing to distinguish between the immediate pain of a burn and the eventual pleasure of a delicious drink. While model-based RL can simulate step-by-step futures, the computational cost scales linearly with the time horizon, making long-term planning difficult.
Methods: A Biologically Inspired Architecture
The authors introduce a two-layer neural network architecture inspired by the "time cells" observed in the mammalian brain. This system constructs a compressed representation of the timeline rather than a single scalar value.
- The Laplace Transform Layer ($F$): Input stimuli feed into a layer of leaky integrators with a spectrum of different time constants. This layer maintains a "blurry" Laplace transform of the recent past.
- The Inverse Laplace Layer ($\tilde{f}$): Using the Post approximation mathematical technique, this layer inverts the transform to create a reconstructed, logarithmically compressed timeline.
- Associative Memory ($M$): A simple Hebbian learning rule links current states with the compressed representation of the past.
- The Future Timeline ($p$): By "flipping" the associative memory, the agent projects a compressed timeline of the future based on its current state.
Key Insights: Scale Invariance and Power-Law Discounting
Because the timeline is logarithmically compressed, the representation is inherently scale-invariant. In this framework, the relative difference between 1 and 2 seconds is treated identically to the difference between 100 and 200 seconds. This allows the same neural hardware to process temporal magnitudes across vastly different scales.
This logarithmic compression leads to several key advantages:
- Power-Law Discounting: Integrating over this compressed timeline naturally yields power-law discounting (with an exponent of -1). This matches animal behavior and preference reversal tasks much more closely than the exponential discounting used in TD learning.
- Parallel Future Construction: Unlike step-by-step simulations, this mechanism constructs the entire future timeline in a single parallel operation.
- Non-Monotonic Value Functions: By preserving "when" information, the model can represent outcomes that transition from negative to positive over time, allowing for more sophisticated behavioral strategies.
Results and Behavioral Alignment
The model was evaluated using simulated toy environments (such as decision trees for navigation) and compared against existing neural data from rats and monkeys. Key results include:
- Scale Invariance Proof: When an environment's timing is stretched (e.g., by a factor of 4), the model's predictions are simply rescaled, leading to identical decision-making.
- Psychological Consistency: The model predicts that the time required to "scan" memory for a future event grows sublinearly with the delay, a prediction supported by human data from "Judgment of Recency" tasks.
Limitations and Future Directions
While promising, the current work focuses primarily on Pavlovian learning—predicting outcomes based on cues. Future research is needed to integrate "Instrumental" RL, where an agent's own actions actively change the future timeline. Additionally, while the architecture is theoretically sound, integrating it as a "front-end" for modern deep RL frameworks (like DQN or Actor-Critic models) remains an open engineering challenge.
Summary updated