This work bridges a long-standing gap between the mathematical convenience of standard Reinforcement Learning (RL) and the messy reality of human psychology. While traditional RL assumes agents discount future rewards at a constant, "rational" rate, humans and animals are notoriously inconsistent. By providing the theoretical and computational tools to bring human-like "impatience" into continuous-time RL, this research opens new doors for modeling complex, realistic decision-making.
The Problem: Exponential vs. Hyperbolic Discounting
In standard RL, models typically rely on exponential discounting: a reward tomorrow is worth a fixed percentage less than a reward today. This assumption is mathematically elegant because it makes optimal strategies "time-consistent"—if an agent prefers a specific plan today, it will still prefer that plan tomorrow.
However, decades of research in economics and psychology demonstrate that humans and animals often employ hyperbolic discounting. We tend to be highly impatient for immediate rewards but become significantly more patient when evaluating the distant future. This inconsistency leads to preference reversal. For example, you might choose $10 today over $11 tomorrow, but if asked to choose between $10 in a year or $11 in a year and a day, you would likely wait for the $11.
Existing RL algorithms struggle with this dynamic because the "value" of a state changes simply due to the passage of time, even if the environment itself remains static. This paper addresses the lack of a rigorous, continuous-time framework for agents operating under these non-exponential rules.
Methodology
The authors tackle this challenge through four major theoretical and computational contributions:
- Discounting via Survival Analysis: The framework treats discounting through the lens of survival analysis. If there is a random chance the task or "world" might end at any moment, the "hazard rate" (instantaneous risk of termination) dictates the discount function. For exponential discounting, this risk is constant; for hyperbolic discounting, the perceived risk decreases over time.
- A Generalized HJB Equation: The authors derive a generalized Hamilton–Jacobi–Bellman (HJB) equation—the fundamental equation for optimal control—that incorporates a time-dependent hazard rate. This transforms the value function into a time-dependent variable, $V(x, t)$.
- Deep Collocation Solver: Because solving these complex partial differential equations (PDEs) is notoriously difficult, the authors employ a collocation method. A neural network approximates the value function and is trained by minimizing the HJB equation's "residual" error across sampled points in the state-time space.
- Inverse RL (IRL): To solve the "inverse" problem—deducing a subject's unique discount function parameters from observed actions—they utilize a forward sensitivity method to calculate gradients and update the discount parameters.
Key Insights and Results
The theory was validated using two simulated environments: an Investment Problem (deciding whether to spend income immediately or invest for interest) and a Line Problem (moving to high-reward areas while paying movement costs, mimicking delay-discounting tasks).
- Time as a State: Because the discount rate changes over time, the time elapsed in the task becomes a necessary part of the state. The agent's strategy naturally evolves as time passes.
- Capturing Preference Reversals: The deep learning solver successfully learned optimal policies exhibiting human-like preference reversals, a feat standard RL agents cannot achieve. In the investment task, the agent spends early on but switches to investing later as it becomes more "patient."
- Robust IRL Recovery: The Inverse RL experiments demonstrated that the method could accurately recover the true parameters of a hyperbolic discount function simply by observing where an agent switched its actions.
As illustrated in the results above, the learned Q-function clearly demonstrates preference reversal (Subplot B), where the value of investing eventually overtakes spending, leading to a distinct shift in the learned policy (Subplot C). Furthermore, the IRL optimization landscape (Subplots G and H) proves to be well-behaved, allowing for robust recovery of the true discount parameters (marked by the red 'x').
Limitations and Future Work
While groundbreaking, the current implementation assumes a finite set of possible actions. Extending this framework to fully continuous control (such as robotic manipulation) will require more complex optimization within the HJB solver. Additionally, the method is currently "model-based," requiring the agent to know the environment's transition dynamics; developing a "model-free" equivalent remains an open challenge. Finally, while inspired by human psychology, validating this framework against real-world human behavioral datasets is a critical next step for future research.
Summary updated