Agentic In-Context Learning:Transformer在闭环交互中能学到哪些算法
Agentic In-Context Learning: What Algorithms Can Transformers Learn in Closed-Loop Interaction?
研究提出Agentic ICL框架,用状态、更新与决策规则刻画交互式学习器,覆盖主动学习、bandits与在线强化学习。作者构造因果Transformer在有限时域内近似这些算法并给出回报损失界,蒸馏实验显示Transformer能学会执行三种代表性递归。
arXiv:2610.23051v2 Announce Type: replace Abstract: The learning algorithm view of in-context learning (ICL) studies how fixed-parameter Transformers learn from supplied examples. Language model agents extend this setting through interaction: their actions determine what evidence enters context next. We call this regime Agentic In-Context Learning (Agentic ICL). Existing studies largely depend on externally supplied contexts or reward-bearing interaction histories, while work on general tool-using agents lacks a learning algorithm view. We represent an interactive learner by its state, update, and decision rule, covering active learning, bandits, and online reinforcement learning (RL). For expressivity, we construct causal Transformers that approximate these algorithms over a finite horizon, and bound the resulting loss in return. For training, we characterize when optimizing process rewards preserves behavior that maximizes the final outcome. Distillation experiments show that Transformers can learn to execute three representative recursions. We then train models from outcome or process rewards without oracle action or state targets, as in RL post-training. Different rewards yield distinct decision policies. Improving the alignment of process supervision with outcome-optimal action preferences shifts learned decisions accordingly. Such behavioral differences persist in a pretrained language model across textual paraphrases.
来源:arXiv (AI + Vision + Imaging) · arxiv.org