Context-Grounded Skill Internalization for Vision-Language Agents

Jinlin Liu, Yumeng He, Qihan Huang, Kevin Qinghong Lin, Han Peng

Ant Group · The University of Hong Kong · Shanghai Jiao Tong University · University of Oxford

Published November 23, 2026 · on the feed November 24, 2026 · ▲ 5 · arXiv 2611.30075

LLM training & RLAgentsVision & multimodal Empty repo arXiv ↗Hugging Face ↗

The abstract

Skill internalization offers a way for agents to learn useful behaviors from skills and use them without explicit guidance in context at inference time. A common approach is to generate demonstration trajectories with the skill in context and then fine-tune the same model on its own trajectories with the skill removed. However, this leads to the problem that the model may learn to reference the removed skill, which we named as context misalignment (CoMi). In this work, we first analyze agent behaviors related to CoMi under this common pipeline. Across ALFWorld, WebShop, and ARC-AGI-1, skill-removed fine-tuning consistently results in CoMi: 12.2-46.0% of test trajectories reference the removed skill. To address this problem, we develop Context-Grounded Skill Internalization (CGSI). CGSI uses a sentence detector to identify unsupported references and then masks or rewrites the selected sentences before fine-tuning. Experimental results demonstrate the effectiveness of CGSI and reveal two key findings. (i) Compared with directly fine-tuning with the skill removed, CGSI reduces CoMi at test time by 72.5-94.6% while preserving task success. (ii) Compared with existing reinforcement learning-based skill-internalization baselines, CGSI achieves comparable performance with substantially less training time. CGSI also significantly reduces processing costs compared with large-scale trajectory auditing and correction.

The Brief

2:24

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Context-Grounded Skill Internalization for Vision-Language Agents. By Jinlin Liu and four others, from Ant Group, the University of Hong Kong, and two other institutions. Published on the twenty-third of November.

Skill internalization is a way for an agent to learn useful behaviors from a written skill, and then use them at inference time without that skill being spelled out in its context. A common recipe runs in two steps. Generate demonstration trajectories with the skill present in context, then fine-tune the same model on those trajectories with the skill removed. The catch is that the trajectories were written by a model that could see the skill, so they may refer to it. Fine-tuned on them, the model can learn to reference a skill that is no longer there. The authors name this context misalignment, or CoMi.

They first analyse how agents behave under this common pipeline, and the problem is not rare. Across ALFWorld, WebShop and ARC-AGI-1, fine-tuning with the skill removed consistently produces CoMi. Between twelve point two percent and forty-six percent of test trajectories reference the removed skill.

Context-Grounded Skill Internalization, or CGSI, cleans the training trajectories before fine-tuning, so that what the model learns from is grounded in the context it will actually have. The demonstrations are still generated with the skill in view, so the behavior the skill teaches is kept. What changes is that the traces stop pointing at guidance the model will never be shown.

A sentence detector identifies references that the remaining context does not support. The selected sentences are then either masked or rewritten, and only after that does fine-tuning take place. The intervention is targeted: it touches the individual sentences that cause trouble, rather than discarding or regenerating whole trajectories.

Two findings come out of the experiments. First, against fine-tuning directly with the skill removed, CGSI reduces CoMi at test time by between seventy-two point five and ninety-four point six percent, while preserving task success. Second, against existing skill-internalization baselines based on reinforcement learning, CGSI achieves comparable performance with substantially less training time. It also significantly reduces processing costs compared with auditing and correcting trajectories at large scale.

The fix is aimed at the data rather than the training algorithm. A demonstration produced with a skill in view can mention that skill, and a model trained on it learns to mention it too. Masking or rewriting those mentions sentence by sentence, before training, is enough to cut the problem sharply without giving up what the skill taught.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.