Abstract
Distributional reinforcement learning (RL) is a powerful framework increasingly adopted in safety-critical domains for its ability to optimize risk-sensitive objectives. However, the role of the discount factor is often overlooked, as it is typically treated as a fixed parameter of the Markov decision process or tunable hyperparameter, with little consideration of its effect on the learned policy. In the literature, it is well-known that the discounting function plays a major role in characterizing time preferences of an agent, which an exponential discount factor cannot fully capture. Building on this insight, we propose a novel framework that supports flexible discounting of future rewards and optimization of risk measures in distributional RL. We provide a technical analysis of the optimality of our algorithms, show that our multi-horizon extension fixes issues raised with existing methodologies, and validate the robustness of our methods through extensive experiments. Our results highlight that discounting is a cornerstone in decision-making problems for capturing more expressive temporal and risk preferences profiles, with potential implications for real-world safety-critical applications.
Introduction
Standard Reinforcement Learning (RL) relies almost exclusively on exponential discounting, where future rewards are scaled by a constant factor $\gamma^t$. While mathematically convenient because it leads to stationary optimal policies, it fails to capture human-like "preference reversals." For example, a person might prefer $100 today over $110 tomorrow, but prefer $110 in 31 days over $100 in 30 days. This behavior requires hyperbolic discounting.
Previous attempts to integrate hyperbolic discounting into Deep RL were often "time-inconsistent," forcing agents to use stationary policies regardless of the elapsed time. This paper addresses this gap by providing a mathematically sound, time-consistent framework that handles both flexible time preferences and sophisticated risk-sensitive objectives (like avoiding "black swan" events).
Methodology: The RIGOR Framework
The proposed framework, RIsk-sensitive RL under General discounting Of Returns (RIGOR), is built on three key pillars:
- Stock Augmentation: The agent's state is augmented with a "stock" variable $c$ that tracks the history of accumulated rewards. This allows the agent to optimize for a global objective (like total wealth) rather than just immediate step-by-step gains.
- Time-Dependent Policies: Recognizing that general discounting makes a problem inherently non-stationary, the derived algorithms utilize optimal policies that explicitly depend on the current time step $t$.
- Quantile Regression and Risk Measures: RIGOR uses Quantile Regression to learn the full distribution of future returns. It supports various risk measures, such as Optimized Certainty Equivalent (OCE), allowing for principled risk-averse or risk-seeking behavior.
Additionally, a Multi-Horizon Approximation is proposed to handle infinite-horizon cases where hyperbolic discounting might otherwise lead to mathematical instability. The agent follows a risk-sensitive, hyperbolic policy for a fixed horizon and then transitions to a risk-neutral, exponentially discounted "tail" policy.
Experimental Evaluation
The framework was evaluated across several benchmarks, including financial tasks and classic control problems:
- Goal-Based Wealth Management (GBWM): Testing the ability to replicate hyperbolic preference reversals in investment scenarios.
- American Put Option Trading: Optimizing the timing for exercising stock options under stochastic price movements.
- Windy Lunar Lander: A modified OpenAI Gym task with added wind stochasticity to test risk-sensitivity.
- Atari 2600: A suite of 50 games to demonstrate scalability to high-dimensional visual inputs.
Key Results
The time-consistent approach demonstrated significant performance gains over previous methodologies. On the Atari suite, the agent achieved a 39.89% mean improvement and an 18.14% median improvement over time-inconsistent baselines.
In financial tasks like Option Trading and control tasks like Windy Lunar Lander, the time-consistent framework significantly outperformed the baseline, proving that correctly modeling the passage of time leads to more stable and higher-return policies in safety-critical environments.
Conclusion and Future Work
This work demonstrates that decoupling time and risk through stock augmentation and time-dependent policies is essential for handling general discounting. While stock augmentation increases state space complexity, it enables the use of expressive temporal and risk preference profiles. Future research may explore Meta-RL for learning optimal time preferences or moving toward learning full joint distributions of returns across all timescales.
Summary updated