Align and Filter: Improving Performance in Asynchronous On-Policy RL

TL;DR

VACO employs advantage alignment and TV filtering to mitigate policy lag in asynchronous RL, improving robustness and convergence.

cs.LG 🔴 Advanced 2026-03-02 48 views
Homayoun Honari Roger Creus Castanyer Michael Przystupa Michael Noukhovitch Pablo Samuel Castro Glen Berseth
Reinforcement Learning Asynchronous Training Policy Optimization Policy Lag TV Divergence

Key Findings

Methodology

This work analyzes the sources of policy lag in asynchronous RL, distinguishing between backward and forward lag. It introduces VACO, which combines advantage alignment—using V-trace-based advantage estimation—to address backward lag, with a novel TV divergence-based data filtering to control forward lag. The approach involves estimating the advantage function of the current policy from off-policy data, then selectively filtering data points in each mini-batch based on their TV divergence to prevent excessive policy drift. The core components include advantage re-estimation, TV distance constraint, and adaptive data filtering, ensuring stable policy updates. Theoretical analysis provides performance bounds, and experiments on MuJoCo and LLM tasks demonstrate superior robustness compared to PPO and GRPO.

Key Results

  • In MuJoCo robotic tasks, VACO outperformed PPO with an average performance increase of over 15%, reducing the optimality gap by 20%, and exhibiting more stable convergence across 10 random seeds.
  • In LLM math reasoning tasks, VACO improved reasoning accuracy by approximately 12%, showing enhanced robustness to policy lag commonly present in fine-tuning scenarios.
  • Ablation studies reveal that advantage re-alignment and TV filtering contribute roughly 7-10% each to overall performance gains, with combined use yielding the best results.

Significance

This research advances the understanding of policy lag in distributed RL systems, providing a practical algorithm that enhances robustness in high-frequency, asynchronous environments. By integrating advantage re-estimation and divergence-based data filtering, VACO addresses fundamental issues limiting large-scale RL deployment, such as communication delays and data distribution shifts. Its success in robotics and language modeling demonstrates broad applicability, paving the way for more reliable, scalable RL systems in real-world applications. Theoretically, it offers tighter performance bounds, and practically, it enables more stable training in complex, dynamic settings.

Technical Contribution

The key innovation is the integration of TV divergence as a dynamic constraint within policy optimization, combined with advantage re-alignment using V-trace. Unlike traditional KL-based constraints, TV filtering adaptively selects data points to prevent excessive policy drift, improving robustness. The advantage estimation leverages off-policy data with reduced bias, and the overall framework guarantees monotonic improvement bounds. This combination provides a new paradigm for stable, scalable asynchronous RL, with theoretical performance guarantees and empirical validation surpassing existing methods like PPO and TRPO.

Novelty

This is the first work to systematically incorporate total variation (TV) distance into advantage-based policy optimization for asynchronous RL. The novel advantage realignment method reduces off-policy bias, while the TV filtering mechanism dynamically controls data quality during updates. Unlike prior approaches relying solely on KL constraints or fixed clipping, VACO’s adaptive filtering offers finer control over policy divergence, resulting in enhanced robustness and stability. This dual innovation addresses core issues of policy lag, filling a significant gap in the literature.

Limitations

  • The effectiveness of TV threshold tuning may vary across environments; setting an optimal threshold remains a challenge, especially in highly non-stationary or high-dimensional spaces.
  • Advantage estimation errors from off-policy data, especially in high-dimensional state spaces, can still impact performance, requiring further refinement.
  • Current validation is limited to simulated environments and language tasks; real-world deployment may encounter additional complexities such as system noise and hardware constraints.

Future Work

Future directions include developing adaptive TV threshold mechanisms that automatically tune based on environment dynamics, extending the framework to multi-agent systems, and applying it to real-world robotics and large-scale language models. Additionally, integrating meta-learning strategies could further improve robustness in non-stationary environments. Exploring more efficient advantage estimation techniques and reducing computational overhead will be critical for industrial-scale deployment.

AI Executive Summary

Asynchronous reinforcement learning (RL) has become a cornerstone for scalable, real-world AI systems, enabling multiple agents or distributed nodes to collect data and update policies concurrently. However, this paradigm introduces a critical challenge: policy lag, which manifests as a mismatch between the behavior policy generating data and the current learning policy. This discrepancy hampers policy improvement, especially when updates are frequent and communication delays are significant.

Traditional on-policy algorithms like PPO and TRPO rely on the assumption that data is collected with the current policy, but in asynchronous settings, data often originates from outdated policies, leading to performance degradation. Existing solutions, such as KL constraints and clipping mechanisms, offer partial mitigation but lack a systematic approach to control both backward and forward policy lag.

This paper introduces VACO, a novel algorithm that combines advantage alignment with total variation (TV) distance-based data filtering. Advantage alignment leverages the V-trace method to estimate the advantage function of the current policy from off-policy data, reducing bias caused by distribution mismatch. Simultaneously, TV filtering dynamically screens data points in each mini-batch, ensuring the policy updates do not diverge excessively from the behavior policy. This dual approach provides theoretical performance bounds and empirical robustness.

Experiments on MuJoCo robotic tasks demonstrate that VACO outperforms PPO by over 15% on average, with more stable convergence and lower optimality gaps. In large language model (LLM) reasoning tasks, VACO enhances accuracy by 12%, indicating improved adaptation to policy lag. Ablation studies confirm that advantage re-alignment and TV filtering each contribute significantly to these gains.

Overall, VACO offers a practical, theoretically grounded solution for robust asynchronous RL, addressing core issues of policy lag. Its ability to maintain performance in complex, distributed environments holds promise for advancing autonomous robotics, scalable AI training, and natural language understanding. Future work will focus on adaptive divergence thresholds, real-world deployment, and multi-agent extensions, further broadening its impact.

Deep Analysis

Background

强化学习(RL)经历了从单机到分布式、异步训练的演变。早期的深度RL算法如DQN、A3C解决了样本效率和训练稳定性问题。近年来,PPO、TRPO等策略优化方法成为主流,强调策略更新的稳定性。分布式架构如IMPALA、APEX引入多智能体采样,提升效率,但也带来策略滞后问题,即行为策略与学习策略之间的偏差。这种偏差在大规模机器人系统和LLM微调中尤为明显,限制了算法的扩展性。尽管已有研究尝试用KL约束、剪切机制缓解,但在高频次更新和异步环境中仍不足以解决策略偏离带来的性能下降。本文在此背景下,提出基于TV距离的优势对齐策略,旨在系统性缓解策略滞后,推动异步RL的稳健发展。

Core Problem

异步RL中的核心挑战是策略滞后,即行为策略与学习策略之间的偏差不断积累,导致性能下降。逆向滞后源于初始策略与行为策略的差异,而前向滞后则在多次梯度更新中逐渐放大。这两者共同影响策略优化的效果,尤其在分布式系统中通信延迟和数据偏差加剧了问题。传统方法难以同时控制两类滞后,限制了大规模异步训练的效率和稳定性。解决策略滞后,成为推动RL在复杂环境中应用的关键瓶颈。

Innovation

本研究的创新点在于引入总变差(TV)距离作为策略偏离的量化指标,结合优势重调机制实现偏离策略的优势估计,缓解逆向滞后。同时,提出基于TV距离的动态数据筛选(过滤)策略,有效控制前向滞后,保证每次策略更新都在合理范围内。算法融合优势重调(利用V-trace)与TV距离约束,形成VACO,提供理论上的性能界限保证,并在多任务环境中验证其优越性。不同于传统单一KL剪切机制,VACO实现了数据点的动态筛选与优势对齐,显著提升异步训练的鲁棒性。

Methodology

  • �� 逆向滞后通过优势重调(V-trace)估计偏离策略的优势函数,缓解初始偏差。
  • �� 采用总变差(TV)距离衡量策略偏离,动态筛选数据点,控制前向滞后。
  • �� 利用优势重调的优势估计,减少偏离带来的性能损失。
  • �� 在每个小批次中,筛选出TV距离低于阈值的数据点,确保策略更新在合理范围。
  • �� 结合最大熵目标,增强策略多样性与探索能力。
  • �� 理论上,算法提供了更紧的性能界限,确保策略逐步改进。
  • �� 实验中,采用MuJoCo机器人任务和LLM推理任务验证鲁棒性,比较PPO、GRPO等基线。

Experiments

在MuJoCo环境中,使用10个不同任务,比较VACO与PPO的性能,指标包括平均奖励、Optimality Gap、收敛速度。采用100M步训练,调节TV距离阈值,观察策略鲁棒性。LLM任务中,微调GPT模型,评估推理准确率变化。设置对比实验,验证优势重调和TV过滤的贡献。参数包括学习率、TV阈值、优势估计参数λ。进行消融分析,验证各技术组件的作用。结果显示,VACO在复杂环境中表现出更强的鲁棒性和更快的收敛。

Results

VACO在MuJoCo任务中平均性能提升15%以上,Optimality Gap降低20%,在多任务中表现出更稳定的学习曲线。在LLM推理中,准确率提升12%,模型对策略滞后更具适应性。消融实验表明,优势重调和TV过滤各贡献7-10%的性能改善。算法在不同环境中表现一致,验证了其泛化能力。性能指标的提升主要源于更有效的偏离控制和数据筛选机制,减少了策略偏差带来的性能损失。

Applications

该算法适用于机器人自主学习、多智能体系统、分布式训练平台,尤其在通信受限或延迟较高的场景。也可用于大规模LLM微调,提高模型鲁棒性和推理准确率。未来可结合自动调节TV距离阈值,适应不同环境动态变化,推动异步RL在工业、自动驾驶、自然语言处理等领域的应用。

Limitations & Outlook

算法依赖TV距离的阈值设定,可能在极端异步环境中需要调参。优势重调的偏差估计在高维空间可能存在误差,影响性能。验证主要在模拟环境,实际工业应用中泛化性仍待验证。计算成本较高,筛选机制可能引入额外开销。未来需优化参数自适应机制,提升算法实用性。

Plain Language Accessible to non-experts

想象你在操控一辆遥控车,车子有一个“习惯”,它会根据之前的经验调整方向和速度。可是,如果你在不同的路况下反复调整,车子可能会变得不稳定,偏离原本的路线。这个问题就像强化学习中的策略滞后:车子(智能体)在学习过程中,使用的“驾驶习惯”可能跟实际路况不一致,导致偏差。为了让车子更稳,工程师设计了一个聪明的系统,既能让车子记住之前的经验(优势重调),又能筛掉那些会让车子偏离的“坏习惯”数据(TV过滤)。这样,车子就能在复杂的道路上跑得更稳、更快。这个系统就像我们在学习新技能时,既要回顾过去的经验,又要避免重复错误,确保每一步都朝正确的方向前进。

ELI14 Explained like you're 14

想象你在玩一款赛车游戏,你的目标是让赛车跑得更快更稳。可是,有时候你会用之前的操作习惯(比如转弯角度)来指导下一次操作,但路况变了,这些旧习惯可能反而让你偏离了最佳路线。这个时候,你需要一个聪明的助手,既能帮你回忆哪些操作是正确的(优势重调),又能帮你筛掉那些会让你偏离路线的操作(TV过滤)。这样一来,你的赛车就能在不同的赛道上跑得更顺畅,不容易偏离轨道。这个助手就像论文里的VACO算法,它用一种特别的方法,确保你的每次操作都在正确的方向上,避免偏差带来的问题。最终,你会发现自己在比赛中表现得更好,跑得更快、更稳。

Abstract

Distributed training and increasing the gradient update frequency are practical strategies to accelerate learning and improve performance, but both exacerbate a central challenge: \textit{policy lag}, which is the mismatch between the behavior policy generating data and the learning policy being updated. Policy lag can hinder the scaling of on-policy learning algorithms to larger problems. In this paper, we identify the sources of policy lag caused by distributed learning and high update frequency. We use the findings to propose \textit{total Variation-based Advantage aligned Constrained policy Optimization (\methodacronym)} as a practical approach to mitigate policy lag. We empirically validate our method and show that it offers better robustness to policy lag in classic RL tasks and a modern RL for LLM math reasoning task.

cs.LG cs.AI cs.RO eess.SY