In standard reinforcement learning (RL), key hyperparameters—such as the learning rate ($\alpha$), the policy mixing coefficient, or the eligibility trace decay ($\lambda$)—are typically treated as global constants. This design assumes that every state in an environment warrants the same degree of caution or aggressiveness during an update.
However, an agent's experience across a state space is inherently non-uniform. Some states are visited frequently, leading to highly accurate and stable value estimates, while other states remain novel or highly stochastic. Applying a single global learning rate forces a suboptimal trade-off: a rate small enough to preserve stability in well-known regions will painfully slow down learning in novel ones, while a rate large enough to adapt quickly to new areas will cause destructive oscillations in well-understood regions.
To resolve this, a powerful paradigm shifts these global constants into state-dependent functions. By allowing parameters to vary based on the specific state the agent is currently occupying, the agent can dynamically calibrate its sensitivity to new information based on local certainty.
Localizing Step Sizes via Experience Counters
The core intuition behind state-specific updates relies on matching the update magnitude to the local data density of a state. If an agent can track how much it knows about a specific part of the environment, it can automatically scale its learning speed.
In value-based learning, this manifests as replacing fixed step sizes with counters. In Temporal Difference Updating without a Learning Rate, Hutter et al. demonstrated that replacing a global learning rate with a state-specific update rule derived from discounted visit counters and eligibility traces leads to superior performance. When a state has been rarely visited, its counter is low, yielding a larger step size to quickly absorb new information. As the state becomes familiar, the counter grows, automatically shrinking the step size to lock in stable estimates.
[Unfamiliar State] ---> Low Visit Counter ---> Large Step Size ---> Rapid Exploration
[Familiar State] ---> High Visit Counter ---> Small Step Size ---> Stable Exploitation
This granular control allows algorithms to adapt to the structure of the environment. For instance, Dann et al. in Best of Both Worlds Policy Optimization leverage adaptive learning rates assigned to individual states based on their specific visitation frequencies. By tuning step sizes per state rather than globally, the algorithm adapts its learning speed to the amount of data available, achieving robust regret bounds in both adversarial and stochastic environments.
Balancing Aggressiveness and Safety in Policy Space
This intuition extends directly from value estimation to policy optimization. When updating a policy, standard conservative methods change the policy globally by a small, uniform fraction to guarantee that performance does not degrade. However, this blanket caution slows down convergence in regions where the optimal choice is obvious.
By localizing update coefficients, an algorithm can be aggressive where it is safe to be so, and cautious elsewhere. In Safe Policy Iteration, Restelli et al. introduced unique mixing coefficients for individual states or regions. If the agent has high confidence in an action's advantage within a specific state, it applies a large mixing coefficient to shift the policy aggressively. In states with high uncertainty, it applies a small coefficient to remain cautious.
This localized approach was further extended to the state-action level by Metelli et al. in Safe Policy Iteration: A Monotonically Improving Approximate Policy Iteration Approach. The authors showed that localized update parameters allow rapid progress in well-understood regions of the state space without risking the destructive performance oscillations typical of global updates.
Global Update: [State A: Cautious Step] -> [State B: Cautious Step] -> Slow Convergence
State-Specific: [State A (Certain): Large Step] -> [State B (Uncertain): Small Step] -> Fast & Safe
Similarly, Abbasi-Yadkori et al. in A Fast and Reliable Policy Improvement Algorithm utilize state-specific update coefficients to adjust the aggressiveness of policy shifts based on local characteristics, such as the variance of action values. This concept is leveraged by Hao et al. in Adaptive Approximate Policy Iteration, where the policy update step size is scaled based on the historical variance of value estimates in specific states. If the value estimates for a state have stabilized (low variance), the algorithm can confidently lock in the policy; if they are fluctuating (high variance), it maintains flexibility by keeping the step size adaptive.
Meta-Learning and Biological Plausibility
How do we determine these state-dependent parameters if they cannot be derived from simple counters or variance? One approach is to meta-learn them. In META-Learning State-based Eligibility Traces for More Sample-Efficient Policy Evaluation, Zhao et al. use auxiliary learners to dynamically output state-dependent eligibility trace parameters ($\lambda$). This allows the agent to optimize the balance between bias and variance across different contexts, tailoring the parameter's influence to specific state features.
Intriguingly, this state-dependent modulation mirrors how biological brains solve the credit assignment problem. Living organisms do not operate with static learning rates; their sensitivity to new information changes dynamically based on internal states, certainty, or preference levels.
In Discovering cognitive strategies with tiny recurrent neural networks, Li Ji-An et al. demonstrated that tiny recurrent neural networks trained to mimic human and animal decision-making naturally discover state-dependent learning rates rather than fixed update rules. Furthermore, Sandi et al. in Stress, noradrenaline, and realistic prediction of mouse behaviour using reinforcement learning showed that biological factors like stress and noradrenaline act as dynamic modulators of these meta-parameters. These chemical signals shift the animal's balance between exploitation and long-term planning depending on environmental pressure, proving that state-dependent parameter modulation is a core feature of both optimal artificial algorithms and biological survival.
Key Foundational Work
Temporal Difference Updating without a Learning Rate (2007) — contributed 3 concept elements to this direction.
Stress, noradrenaline, and realistic prediction of mouse behaviour using reinforcement learning (2008) — contributed 1 concept elements to this direction.