跳到正文
arXiv cs.RO· Xingjian Li, Jianhua Z. Huang, Junli Duan·· 2026-10-20AI 评分31

策略记忆反向传播何时重要?区分表征信用与闭环信用

When Does Backpropagating Through Policy Memory Matter? Separating Representation Credit from Closed-Loop Credit

AI 导读

研究团队用可微分模拟器训练带记忆的 Transformer 策略做四旋翼跟踪,把信用回传拆成两条路径:表征信用教写记忆的网络该总结什么,闭环信用则穿过早期动作产生的物理状态回传,从而判断各自何时起作用。实验显示,只有速度观测含噪或被隐藏时,经由记忆的信用才改善学习;速度隐藏时把相邻物理状态间的梯度按 γ=0.8 轻微衰减,可消除截断闭环信用带来的代价,同时保留表征信用的必要性,这一分离在 16 个新随机种子中有 14 个成立。固定翼飞机上表征信用可单独替代闭环信用、无需分离,而 cart-pole 上全状态边信用训练过于不稳定,无法比较两条路径;四旋翼与全观测船只模型中静态梯度范数都无法预测哪种截断代价更大,因此记忆截断方案最好用短程训练来筛选。

正文

View PDF HTML (experimental)

Abstract:When a policy with memory is trained through a differentiable simulator, credit can reach what it stores along two routes: \emph{representation credit} teaches the network that writes the memory what to summarize, while \emph{closed-loop credit} travels back through the physical states that earlier actions produced and that the memory later stored. Stopping gradients at stored history, as truncated backpropagation and Transformer-XL do, removes both routes at once. Keeping every forward computation identical and removing one route at a time, we trained Transformer policies for quadrotor tracking to determine when each route matters. Credit through memory improved learning only when velocity observations were noisy or hidden. When velocity was hidden, mildly decaying the gradient between consecutive physical states ($\gamma = 0.8$) eliminated the truncation cost of removing closed-loop credit while leaving representation credit essential, a separation that held in 14 of 16 new seeds. Two further systems bound this result: in a fixed-wing aircraft, representation credit could replace closed-loop credit on its own, leaving no cost to separate, and in a cart-pole, training with full state-edge credit was too unstable to compare the routes. In both the quadrotor and a fully observed vessel model, static gradient norms failed to predict which cut cost more, so memory truncation choices are best guided by short training runs.
Subjects: Machine Learning (cs.LG); Robotics (cs.RO)
Cite as: arXiv:2609.33169 [cs.LG]
  (or arXiv:2609.33169v3 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2609.33169

arXiv-issued DOI via DataCite

Submission history

From: Xingjian Li [view email]
[v1] Sun, 27 Sep 2026 03:46:06 UTC (626 KB)
[v2] Sat, 3 Oct 2026 08:46:02 UTC (627 KB)
[v3] Sun, 18 Oct 2026 12:26:51 UTC (108 KB)

来源:arXiv cs.RO · arxiv.org