跳到正文
arXiv:cs.AI· Qingyue Zhang, Huaze Tang, Minyu Zhang, Yuxiang Yan, Wenbo Ding, Shao-Lun Huang·· 16 小时前

CB-Agent:基于概念的上下文学习用于顺序动作选择

CB-Agent: Concept-Based In-Context Learning for Sequential Action Selection

AI 导读

CB-Agent 将基于概念的上下文学习扩展到顺序动作选择,从专家轨迹中提取环境-动作决策并通过最大似然拟合概念向量,建模给定上下文下候选动作的条件分布,推理时无需在动作评分上下文中放入演示。

正文

View PDF HTML (experimental)

Abstract:In-context learning (ICL) allows large language models to use demonstrations without updating their parameters. For interactive agents, demonstrations are trajectories of reasoning, actions, and observations that illustrate how to complete a task. Reusing demonstrations in new situations is challenging: directly inputting full trajectories consumes limited prompt space and constrains the overall effectiveness, while natural-language summaries require the agent to translate general guidance into specific action choices. Therefore, we study whether expert action choices can directly supervise a reusable scoring rule. We propose CB-Agent, which extends concept-based ICL to sequential action selection. We extract environment-action decisions from expert trajectories and fit a concept vector by maximum likelihood to model the conditional distribution over candidate actions given the context. This model combines the concept with frozen language-model features and priors. During ReAct interaction, the agent uses this distribution to select environment actions without including demonstrations in the action-scoring context. Across TextWorld, ALFWorld, and ScienceWorld, CB-Agent achieves the highest cross-benchmark average among the evaluated methods at all three tested model sizes and ranks first on TextWorld and ScienceWorld at each size. ALFWorld experiments support the learned concept's contribution beyond prior-only scoring and show further gains when combined with Reflexion. Code is available at this https URL.
Subjects: Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2610.14574 [cs.AI]
  (or arXiv:2610.14574v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.14574

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Qingyue Zhang [view email]
[v1] Sat, 10 Oct 2026 04:48:07 UTC (278 KB)

来源:arXiv:cs.AI · arxiv.org