In standard reinforcement learning (RL), agents maximize a scalar reward function through trial and error. When function approximators like neural networks introduce noise or errors into value estimates, algorithms tend to suffer from maximization bias—overestimating the rewards of certain actions. To combat this, the field has widely adopted "pessimism" or conservatism, intentionally underestimating rewards for unfamiliar actions.
However, when we transition to Constrained Reinforcement Learning (CRL)—where an agent must maximize rewards while keeping cumulative safety costs below a strict threshold—this optimization dynamic flips in a dangerous way. In safety-critical domains, the primary threat is not overestimating rewards, but underestimating costs.
The Asymmetry of Risk
Why is cost underestimation so catastrophic? The issue lies in how policy optimization interacts with estimation errors.
If an agent's internal safety critic overestimates the cost of a safe action, the agent simply avoids that action. This might lead to slightly conservative or inefficient behavior, but it keeps the system intact. Conversely, if the safety critic underestimates the cost of a dangerous action, the policy optimization process will actively seek out and exploit this error, perceiving the hazardous action as a high-reward, low-risk "free lunch."
As Buckman et al. demonstrate, overestimating the value of unknown actions is fundamentally more damaging than underestimating high-value ones. In safety contexts, Gao et al. show that this underestimation bias acts as a magnet, drawing agents directly into hazardous areas of the state space that they mistakenly perceive as safe. This asymmetry means that standard bootstrapping techniques are inherently unreliable for safety constraints; even minor underestimations of risk can trigger immediate, irreversible real-world failures (Liu et al.).
Why Critics Underestimate Danger
Neural network function approximators do not fail randomly; they are systematically biased toward optimism regarding safety boundaries due to several compounding factors:
- Distribution Shift: In off-policy and offline RL, the agent evaluates a target policy that differs from the behavior policy that collected the data. Wu et al. and Li et al. point out that these distribution shifts cause cost critics to systematically underestimate cumulative costs. Because the safety penalties fail to scale appropriately, the agent adopts policies that appear safe during training but violate constraints in practice.
- Data Sparsity: Safe datasets naturally contain very few examples of catastrophic failures. Jang et al. show that when data is sparse, safety estimators suffer from acute over-optimism, underestimating risk simply because they have not experienced enough failures to calibrate the boundaries.
- Partial Observability: In many real-world settings, an agent cannot perceive all environmental factors. Huang et al. prove that in partially observable environments, the optimal value estimated by standard agents is mathematically lower than the true risk, forcing them to naturally underestimate danger.
Flipping the Sign: The Mechanics of Dual Pessimism
To resolve this, modern safe RL frameworks implement Pessimistic Cost Estimation. However, because rewards and costs operate in opposition, pessimism must be applied symmetrically but with flipped signs.
Standard RL (Rewards Only) Constrained RL (Rewards & Costs)
Pessimistic Reward Pessimistic Reward Pessimistic Cost
(Lower Bound) (Lower Bound) (Upper Bound)
│ │ │
▼ ▼ ▼
Avoid Over-Optimism Avoid Over-Optimism Avoid Underestimating Risk
Guan et al. formalize this as a dual-pessimism framework. To prevent an agent from being misled by out-of-distribution actions, the algorithm simultaneously estimates a lower bound for rewards and an upper bound for costs. This ensures that unfamiliar actions are treated as both low-performing and high-risk, forcing the agent to remain strictly within known safety boundaries.
Algorithmic Mechanisms for Pessimistic Costing
Researchers have developed several concrete mechanisms to enforce upper bounds on cost functions and build a reliable safety buffer.
Ensemble Maxima
Instead of relying on a single cost critic, architectures can maintain an ensemble of multiple critics. While standard RL often takes the minimum or average of an ensemble to handle rewards, pessimistic cost architectures select the maximum value from the ensemble (Zhang et al.). This conservative bias directly counteracts the tendency of individual neural networks to underestimate risk due to function approximation noise.
Conservative Safety Critics (CSC)
Introduced by Bharadhwaj et al., this approach explicitly designs the safety critic to treat potentially dangerous states as definitely dangerous. By overestimating the probability of catastrophic failure, the critic creates a pessimistic safety buffer that protects the agent during early-stage exploration.
Cost Upper Confidence Bounds (UCB)
To handle the epistemic uncertainty of distribution shifts in off-policy learning, an ensemble of cost critics can be used to calculate an upper confidence bound for safety constraints (Wu et al.). This ensures that if the critics disagree about the safety of an action, the algorithm defaults to the most pessimistic prediction, preventing dangerous "leaps of faith."
Stationary Distribution Correction
In offline settings where the agent cannot interact with the environment to correct its mistakes, Lee et al. show that safety can be maintained by optimizing directly against a mathematically derived upper bound of expected costs. This distribution correction accounts for potential estimation errors and dataset limitations, ensuring that the deployed policy remains safe in the real world.
By shifting the focus from accurate cost tracking to deliberate, well-calibrated cost overestimation, pessimistic cost estimation provides the mathematical guardrails necessary to deploy reinforcement learning in high-stakes, safety-critical environments.
Key Foundational Work
Conservative Safety Critics for Exploration (2021) — contributed 3 concept elements to this direction.
Budgeted Reinforcement Learning in Continuous State Space (2019) — contributed 1 concept elements to this direction.
The Importance of Pessimism in Fixed-Dataset Policy Optimization (2021) — contributed 1 concept elements to this direction.