Abstract
The choice of the control frequency of a system has a relevant impact on the ability of reinforcement learning algorithms to learn a highly performing policy. In this paper, we introduce the notion of action persistence that consists in the repetition of an action for a fixed number of decision steps, having the effect of modifying the control frequency. We start analyzing how action persistence affects the performance of the optimal policy, and then we present a novel algorithm, Persistent Fitted Q-Iteration (PFQI), that extends FQI, with the goal of learning the optimal value function at a given persistence. After having provided a theoretical study of PFQI and a heuristic approach to identify the optimal persistence, we present an experimental campaign on benchmark domains to show the advantages of action persistence and proving the effectiveness of our persistence selection method.
Introduction
In Reinforcement Learning (RL), the discrete time step is often treated as a fixed hyperparameter. While intuition suggests that higher control frequencies (making decisions more frequently) should always be superior by providing more opportunities for correction, this paper identifies a critical "Goldilocks" trade-off. High frequencies offer a larger policy space but significantly increase sample complexity; at very high frequencies, the impact of a single action becomes nearly infinitesimal, making it difficult for value-based algorithms to distinguish signal from noise. Conversely, low frequencies make environment responses easier to detect but limit the agent's agility.
This research addresses this trade-off specifically within Batch (Offline) RL, where an agent must learn from a fixed dataset without further environment interaction. The authors propose finding an optimal "persistence" $k$—the number of steps an action is repeated—to maximize performance given limited data.
Action Persistence and PFQI
The core concept introduced is Action Persistence: an action chosen at time $t$ is held constant for $k$ steps. This effectively transforms the base environment into a "$k$-persistent MDP."
Persistent Fitted Q-Iteration (PFQI)
To leverage this concept, the authors developed Persistent Fitted Q-Iteration (PFQI). This algorithm extends standard FQI by estimating the value function for a target persistence $k$ using data originally collected at persistence 1. PFQI decomposes the $k$-step Bellman operator into one "optimal" decision step followed by $k-1$ persistence steps. This approach is computationally efficient; as $k$ increases, the complexity of the value function update actually decreases because the maximization over actions occurs only once every $k$ steps.
To automate the selection of $k$, the authors propose a heuristic index ($B_k$). This index ranks different persistence levels by combining an estimate of the expected return with a penalized Bellman residual, allowing for effective offline model selection.
Experimental Evaluation
The approach was evaluated across several continuous control benchmarks, including classic control tasks (Cartpole, Mountain Car, Pendulum, Acrobot), MuJoCo robotics tasks (Swimmer, Hopper, Walker 2D), and a noisy FX Trading simulator.
Key Results
- Performance Gains at $k > 1$: In nearly all environments, the highest performance was achieved with a persistence level greater than 1. For instance, in Cartpole, $k=4$ significantly outperformed $k=1$. In Walker 2D, the agent achieved its best results at $k=16$.
- Persistence as a Regularizer: In the FX Trading environment, higher persistence acted as a vital regularizer. When data was scarce (e.g., only 10 trajectories), $k=8$ was the only setting that prevented catastrophic performance loss, as it helped the model avoid overfitting to high-frequency noise.
- Heuristic Effectiveness: The proposed $B_k$ index successfully identified optimal or near-optimal persistence levels in most cases. In the Cartpole environment, the heuristic selected the absolute best $k$ every time.
Discussion and Future Work
The study demonstrates that "zooming out" via action persistence makes the consequences of actions more apparent to learning algorithms, especially in noisy or data-constrained scenarios. While this work focuses on fixed persistence throughout an episode, future research could explore Dynamic Persistence, where an agent adapts its control frequency based on the current state—for example, using high-frequency control during complex maneuvers and low-frequency "cruise" control on stable paths. Additionally, extending these offline insights to online RL could potentially accelerate the exploration phase by allowing agents to reach distant state-space goals more efficiently.
Summary updated