arXiv:2502.10473cs.AIcs.LG2025-02被引 1

用金融投资组合思想改进Transformer解码,提升离线强化学习的探索能力

Diverse Transformer Decoding for Offline Reinforcement Learning Using Financial Algorithmic Approaches

  • 借鉴金融投资组合理论设计不确定性感知的多样化解码机制
  • 在D4RL运动基准上实现更高收益且减少结果波动性
  • 适合关注离线强化学习鲁棒性和多样性策略的研究者

离线强化学习算法利用固定训练数据集学习策略,并在线部署以与环境交互决策。变压器模型作为时间序列建模的标准选择,在离线强化学习中日益流行。在此背景下,束搜索(Beam Search, BS)作为近似推理算法成为主流解码方法。离线强化学习避免了昂贵或高风险的在线数据收集,但受限的数据集会引入不确定性:智能体在执行过程中可能遇到训练数据未覆盖的状态与动作序列。此时,束搜索缺乏两个关键属性:无法处理上述不确定性,且其贪婪的左右顺序搜索常导致序列变化极小,难以探索潜在更优方案。为此,我们提出投资组合束搜索(Portfolio Beam Search, PBS),一种简单而有效的束搜索替代方案,在变压器模型推理时平衡探索与利用。受金融经济学启发,我们构建了不确定性感知的多样化机制,并集成至序列解码算法中。我们在D4RL运动基准上实证验证了PBS的有效性,其不仅获得更高回报,还显著降低结果变异性。

原文摘要 · Abstract (English)

Offline Reinforcement Learning (RL) algorithms learn a policy using a fixed training dataset, which is then deployed online to interact with the environment and make decisions. Transformers, a standard choice for modeling time-series data, are gaining popularity in offline RL. In this context, Beam Search (BS), an approximate inference algorithm, is the go-to decoding method. Offline RL eliminates the need for costly or risky online data collection. However, the restricted dataset induces uncertainty as the agent may encounter unfamiliar sequences of states and actions during execution that were not covered in the training data. In this context, BS lacks two important properties essential for offline RL: It does not account for the aforementioned uncertainty, and its greedy left-right search approach often results in sequences with minimal variations, failing to explore potentially better alternatives. To address these limitations, we propose Portfolio Beam Search (PBS), a simple-yet-effective alternative to BS that balances exploration and exploitation within a Transformer model during decoding. We draw inspiration from financial economics and apply these principles to develop an uncertainty-aware diversification mechanism, which we integrate into a sequential decoding algorithm at inference time. We empirically demonstrate the effectiveness of PBS on the D4RL locomotion benchmark, where it achieves higher returns and significantly reduces outcome variability.

离线RLTransformer解码优化多样性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。