视觉智能体蒸馏研究:从有限交互经验到广泛的视觉智能体迁移

媒体报道 Hugging Face Papers 原文语言:中文

该研究探讨了如何通过少量任务与记录的历史交互数据来蒸馏高效的视觉智能体。实验表明,通过技能-上下文覆盖率与有序视觉决策相似性选择代表性轨迹,仅需四个固定轨迹即可恢复27B教师模型90%以上的性能差距。

全文

Distilling Visual Agents from Limited Interaction Experience

Siyu Zhou Jing Jiang Chengqi Zhang Affiliation: University of Technology Sydney Hong Kong Polytechnic University*Corresponding authors: Siyu.Zhou-2@student.uts.edu.au, Guodong.Long@uts.edu.auCode: https://github.com/elated-sawyer/visual-agent-distillation Guodong Long

Abstract

How much interaction experience is needed to distill a capable visual agent? We study learning from few tasks and recorded interaction histories. Our framework selects representative trajectories using skill–context coverage and ordered visual-decision similarity. On-policy distillation (OPD) learns through fresh interaction on selected tasks or fresh student responses at fixed histories. Across Navigation, Sokoban, and spatial mapping, even one online training task supports transfer to other tasks. Four fixed trajectories raise a 4B student’s success from 49.17% to 82.08% on standard Navigation and from 60.16% to 85.55% on Sokoban, recovering over 90% of the measured gap to a 27B teacher on these panels. On an independent Navigation panel, replay improves success from 45.83% to 76.67%, retaining 91.36% of the same-task online gain without new interaction during optimization. Training repetitions, matched supervised fine-tuning (SFT), and a 9B extension further support the value of compact experience.

Figure 1: Limited interaction experience, broad visual-agent transfer. (a) Skill–context coverage and ordered visual decisions guide trajectory selection for OPD (schematic). (b) 4B final scores after 100 updates ×\times 64 responses: replay uses fixed trajectories, online uses tasks with fresh interaction; shading marks task-matched K4. In the original selection comparison, four trajectories exceed three random subsets’ mean by 6.25/5.34 percentage points on Navigation/Sokoban and recover 77.4% of the initial-student-to-teacher gap on held-out single-room SpatialGym. (c) Task changes versus the initial student, using four-repeat means. Axes are zoomed; budgets are categorical. SpatialGym online ends at all 16 training rooms. Single-run endpoints; offline K1/K16 and random controls are collaborator-reported.

1 Introduction

Visual agents interpret images and feedback to complete multi-step tasks [27, 34]. Distillation transfers a strong teacher’s behavior to a smaller agent [19, 1]. We ask: how much distinct interaction experience is needed for effective transfer beyond the training experiences?

Few-example learning has yielded strong gains in language-model alignment and reasoning [36, 28, 4]. Visual agents introduce a sequential challenge: a changed action alters subsequent observations [18]. Must distillation span many different tasks? Can a few recorded histories also support transfer? We study few-task online training alongside fixed-history replay. Both generate fresh student responses, but only online training executes them for new observations.

Our framework selects experience from a training-only pool of student trajectories. An annotation model builds a skill–context inventory and describes visual decisions from screenshots, observations, and preceding actions. A coverage-first selector combines these annotations with ordered decision similarity to choose KK complete trajectories. Annotations never enter student or distillation-teacher prompts. Selected tasks support online OPD; selected causal histories support prefix replay [11] and matched teacher-response SFT.

Across three environments, even one online task supports transfer. Four fixed trajectories recover over 90% of a 4B student’s measured teacher gap on the original standard Navigation and Sokoban panels. Independent Navigation evaluation retains 91.36% of the same-task online gain. Training repetitions, matched SFT, and a 9B extension further support the value of selected histories across runs, objectives, and student scales.

Our contributions are: (1) evidence of visual-agent transfer from few tasks and fixed histories through online and replay studies; (2) representative selection combining skill–context coverage with ordered visual decisions while preserving original causal inputs; and (3) evaluation across three environments and two student scales, covering data requirements, measured teacher-gap recovery, and behavioral transfer, with selection controls, matched SFT, full-pool, and online comparisons.

2 Related Work

Our study connects on-policy distillation [1, 5], prefix replay [11], and few-example adaptation [36, 28, 4]. We investigate whether few representative experiences support visual-agent transfer under the state-distribution shift induced by the learner’s actions [18]. We study representative-subset selection [22, 15, 31] at the level of complete trajectories, combining skill–context coverage with ordered visual decision similarity. Skills and experience have also supported retrieval and planning [26, 35]; here, annotations select histories rather than augment policy prompts. Detailed comparisons with these methods, world alignment, and visual-agent training appear in the supplementary material.

3 Method

Figure 2: Representative selection and two uses of interaction experience. Selection chooses KK complete training trajectories. Annotations guide selection only. Fixed-history OPD resamples student responses at original causal prefixes; matched SFT learns teacher responses. The online comparison instead executes responses on selected tasks to refresh histories. At K4, task identities match across replay and online; annotations enter neither model’s prompt.

3.1 Trajectories and Causal Prefixes

A trajectory τi=(xi,oi,1,yi,1,…,oi,Ti,yi,Ti)\tau_{i}=(x_{i},o_{i,1},y_{i,1},\ldots,o_{i,T_{i}},y_{i,T_{i}}) records task xix_{i}, visual observations and feedback oi,to_{i,t}, and raw responses yi,ty_{i,t} over TiT_{i} decisions. A parser converts responses to environment actions. At decision tt, the original model input is

hi,t=(xi,oi,1,yi,1,…,yi,t−1,oi,t).h_{i,t}=(x_{i},o_{i,1},y_{i,1},\ldots,y_{i,t-1},o_{i,t}). (1)

Serialization includes system instructions and earlier raw reasoning, but excludes the current response and future observations.

The unadapted student collects an available pool of NN training trajectories indexed by VV. We vary which histories receive subsequent supervision: selection returns S⊆VS\subseteq V with |S|≤K|S|\leq K, retaining all valid prefixes. To avoid favoring long trajectories, replay samples

pS​(i,t)=1|S|​Ti,i∈S,t∈{1,…,Ti}.p_{S}(i,t)=\frac{1}{|S|T_{i}},\quad i\in S,\quad t\in\{1,\ldots,T_{i}\}. (2)

Selecting SS defines the replay distribution. For online comparisons, the underlying task IDs instead define a restricted catalogue for fresh interaction. Thus KK counts fixed trajectories in replay and distinct tasks online, not supervised responses; reducing KK need not reduce training computation.

3.2 Skill–Context Inventory and Visual Decisions

Build a shared inventory.

An annotation model, separate from the distillation teacher, proposes task workflows and component capabilities from environment documentation, refines them with training-trajectory batches, and merges synonyms. We freeze the allowed capability–context pairs as ℐ\mathcal{I}. A context specifies observable conditions requiring a capability: Navigation pairs interpreting action feedback and recovering with feedback available for assessment. This shared vocabulary captures recurring situations rather than individual scenes or solutions.

Label opportunities for coverage.

Let 𝒪i,t⊆ℐ\mathcal{O}_{i,t}\subseteq\mathcal{I} contain the evidence-supported opportunity pairs at decision tt. Although annotation sees the complete training trajectory, supporting observations, actions, and feedback must precede that turn’s response. Coverage and eligibility are

Ci=⋃t=1Ti𝒪i,t,E={i∈V:Ci≠∅}.C_{i}=\bigcup_{t=1}^{T_{i}}\mathcal{O}_{i,t},\qquad E=\{i\in V:C_{i}\neq\varnothing\}. (3)

The union counts distinct pairs, not repeated occurrences. Execution status (demonstrated, failed, or uncertain) is recorded separately and never ranked: opportunities indicate relevance, not mastery.

Describe decisions for representativeness.

Let h¯i,t\bar{h}_{i,t} be the annotation view of hi,th_{i,t}: screenshots, observations, earlier parsed actions, and feedback, excluding hidden reasoning. Current responses, future observations, and final outcomes are unavailable. A separate annotation procedure 𝒜\mathcal{A} produces

di,t=𝒜⁡(h¯i,t),𝒟i=(di,1,…,di,Ti).d_{i,t}=\mathcal{A}(\bar{h}_{i,t}),\qquad\mathcal{D}_{i}=(d_{i,1},\ldots,d_{i,T_{i}}). (4)

Each di,td_{i,t} records the goal, visual state, required decision, relevant history, changes, and uncertainty. Records undergo schema/evidence checks and partial semantic review. CiC_{i} identifies which capability–context pairs occur; 𝒟i\mathcal{D}_{i} describes how visual decisions unfold. Two trajectories can cover the same pairs yet differ in their decision sequences. Replay retains original hi,th_{i,t}, including historical reasoning; neither labels nor descriptions enter student or distillation-teacher inputs.

3.3 Coverage-First Representative Selection

Field-tagged unigram/bigram TF–IDF vectors [20] encode each description in 𝒟i\mathcal{D}_{i}, with logarithmic term frequency and ℓ2\ell_{2} normalization. Features are fitted on training candidates; images are represented through their descriptions, not learned visual embeddings. For trajectories i,ji,j of lengths m=Ti,n=Tjm=T_{i},n=T_{j}, let cp​qc_{pq} be the cosine similarity between descriptions di,pd_{i,p} and dj,qd_{j,q}. Ordered soft matching computes

Dp​q\displaystyle D_{pq} =max⁡{Dp−1,q,Dp,q−1,Dp−1,q−1+cp​q},\displaystyle=\max\{D_{p-1,q},D_{p,q-1},D_{p-1,q-1}+c_{pq}\}, (5)

s⁡(i,j)\displaystyle s(i,j) =Dm​n/max⁡(m,n),\displaystyle=D_{mn}/\max(m,n),

with D0​q=Dp​0=0D_{0q}=D_{p0}=0 and s⁡(i,i)=1s(i,i)=1. The facility-location objective [12, 15] gives each eligible trajectory equal mass:

F⁡(S)=∑i∈Emaxj∈S⁡s⁡(i,j),F⁡(∅)=0.F(S)=\sum_{i\in E}\max_{j\in S}s(i,j),\qquad F(\varnothing)=0. (6)

For an unselected candidate jj, define its new coverage and representativeness gains as

ΔC​(j∣S)\displaystyle\Delta_{C}(j\mid S) =|Cj∖⋃i∈SCi|,\displaystyle=\left|C_{j}\setminus\bigcup_{i\in S}C_{i}\right|, (7)

ΔF​(j∣S)\displaystyle\Delta_{F}(j\mid S) =F⁡(S∪{j})−F⁡(S).\displaystyle=F(S\cup\{j\})-F(S).

Let E⁡(S)⊆EE(S)\subseteq E contain candidates whose task ID differs from those of trajectories in SS. Each greedy step selects

j∗=arg​maxj∈E⁡(S)lex⁡(ΔC​(j∣S),ΔF​(j∣S)).j^{*}=\operatorname*{arg\,max}_{j\in E(S)}^{\mathrm{lex}}\bigl(\Delta_{C}(j\mid S),\Delta_{F}(j\mid S)\bigr). (8)

Coverage first adds distinct decision situations; among equal coverage gains, representativeness favors sequences that better represent the candidate pool. Once coverage saturates, representativeness guides the remaining choices. Immutable IDs break remaining ties. Selection stops at KK or reports a shortfall, without ranking success, length, or execution status. Coverage-only and representativeness-only controls remove one criterion; unordered matching replaces the dynamic program with one-to-one matching, leaving training histories unchanged.

Recorded selection example.

Figure 3 follows both annotation paths and a same-round comparison through the recorded Navigation selection: four histories provide 66 original prefixes.

Figure 3: From a shared skill inventory to four representative histories. (a) Environment documentation and training evidence inform a frozen capability–context inventory; two recorded pairs are shown with abridged names. (b) Opportunity labels measure coverage, while causal visual-decision descriptions measure sequence similarity. (c) At round 2, equal new coverage ΔC\Delta_{C} is resolved by representativeness gain ΔF\Delta_{F} against the actual runner-up. (d) Four of 120 histories retain 66
Figure 3: From a shared skill inventory to four representative histories. (a) Environment documentation and training evidence inform a frozen capability–context inventory; two recorded pairs are shown with abridged names. (b) Opportunity labels measure coverage, while causal visual-decision descriptions measure sequence similarity. (c) At round 2, equal new coverage ΔC\Delta_{C} is resolved by representativeness gain ΔF\Delta_{F} against the actual runner-up. (d) Four of 120 histories retain 66

Figure 3: From a shared skill inventory to four representative histories. (a) Environment documentation and training evidence inform a frozen capability–context inventory; two recorded pairs are shown with abridged names. (b) Opportunity labels measure coverage, while causal visual-decision descriptions measure sequence similarity. (c) At round 2, equal new coverage ΔC\Delta_{C} is resolved by representativeness gain ΔF\Delta_{F} against the actual runner-up. (d) Four of 120 histories retain 66 prefixes. The first choice covers all 11 observed pairs; later choices add representativeness. Displayed text is abridged, and frames are original pre-response observations. Annotations guide selection only.

3.4 Distillation and Experience Refresh

Fixed-history OPD.

Let πθ\pi_{\theta} be the student with trainable parameters θ\theta. Sample BB prefix indices (ib,tb)(i_{b},t_{b}) from Eq. (2) and set hb=hib,tbh_{b}=h_{i_{b},t_{b}}. The frozen pre-update student πold\pi_{\mathrm{old}} generates yby_{b}; teacher qq scores these tokens. Write ub​ℓ=(hb,yb,<ℓ)u_{b\ell}=(h_{b},y_{b,<\ell}) and Lb=|yb|L_{b}=|y_{b}|. The token signal and policy ratio are

ab​ℓ\displaystyle a_{b\ell} =sg⁡[log⁡q⁡(yb​ℓ∣ub​ℓ)−log⁡πold​(yb​ℓ∣ub​ℓ)],\displaystyle=\operatorname{sg}\!\left[\log q(y_{b\ell}\mid u_{b\ell})-\log\pi_{\mathrm{old}}(y_{b\ell}\mid u_{b\ell})\right], (9)

rb​ℓ​(θ)\displaystyle r_{b\ell}(\theta) =πθ​(yb​ℓ∣ub​ℓ)πold​(yb​ℓ∣ub​ℓ),\displaystyle=\frac{\pi_{\theta}(y_{b\ell}\mid u_{b\ell})}{\pi_{\mathrm{old}}(y_{b\ell}\mid u_{b\ell})},

where sg\operatorname{sg} stops gradients and qq is frozen. With r¯b​ℓ=clip⁡(rb​ℓ,1−ϵ,1+ϵ)\bar{r}_{b\ell}=\operatorname{clip}(r_{b\ell},1-\epsilon,1+\epsilon), the native PPO-style clipped update [21] minimizes

ℒOPD(θ)=−1B∑b=1B1Lb∑ℓ=1Lbmin(rb​ℓab​ℓ,r¯b​ℓab​ℓ).\mathcal{L}_{\mathrm{OPD}}(\theta)=-\frac{1}{B}\sum_{b=1}^{B}\frac{1}{L_{b}}\sum_{\ell=1}^{L_{b}}\min\!\left(r_{b\ell}a_{b\ell},\bar{r}_{b\ell}a_{b\ell}\right). (10)

We use ϵ=0.2\epsilon=0.2, unit distillation weight, and no advantage normalization. Losses average tokens within responses, then responses within the batch; prompt tokens are masked. No environment reward or additional reference-policy KL is used.

Generation and scoring use identical visual/text prefixes. Responses change with the student; historical observations stay fixed and newly generated actions are not executed. Implementation details and complete pseudocode are in the supplement.

Matched teacher-response SFT.

The teacher generates responses for the same frozen prefix draws. Response-only cross-entropy supervises native reasoning/actions, not annotations, with no success or format filtering. Matching draws and updates does not equalize tokens or compute; the full loss is in the supplement.

Few-task online OPD.

The online comparison executes student responses in persistent environments on selected tasks. K4 task identities match replay in every environment. Teacher supervision uses the native online protocol with at most one update of policy lag and truncated importance correction; details are in the supplement.

4 Experiments

4.1 Experimental Setup

Models and optimization.

We adapt Qwen3.5-4B and Qwen3.5-9B [17] with a frozen Qwen3.5-27B teacher, native thinking, and Slime 0.4 [23]. Separate API model gpt-5.6-terra describes and reviews visual decisions; annotation stages are detailed in the supplement. Training uses 100 updates, batch 64, learning rate 10−610^{-6}, and fresh Adam [8]. We evaluate update 100, allow 32,768 response tokens, and preserve complete prefixes. Environment rewards do not enter training.

Data and comparisons.

The pools contain 120 Navigation, 128 Sokoban, and 32 SpatialGym initial-4B trajectories (two per training room). K4 uses 3.3%, 3.1%, and 12.5% of these histories. The 4B study compares subsets, full-pool OPD/SFT, and online OPD on 1, 4, 16, or all training tasks. The 9B extension reuses K4 histories for OPD/SFT and adds full-task online OPD. All learn 6,400 responses at the same update budget; tokens and compute differ.

Evaluation.

We evaluate each task four times: 60 standard Navigation tasks and their long-horizon variants with reversed initial headings, 64 one-box Sokoban maps, and 16 training/four held-out single rooms plus 20 two-room SpatialGym scenes. Metrics are mean success for Navigation/Sokoban and continuous cogmap_score for SpatialGym. Table 1 reports held-out and two-room SpatialGym; full environment and split definitions appear in the supplement.

Models share evaluation tasks, repeat seeds, prompts, and budgets; scores average all four repeats. Original panels were inspected during development, including four monitored held-out rooms. Additional Navigation results include training repetitions and an independent panel.

4.2 Transfer from Four Histories

Table 1: Main results across environments and student scales. Update 100, batch 64, four repeats per task. Navigation/Sokoban: success; SpatialGym: mapping score. Shading highlights K4 offline OPD; bold marks the best shown trained student per scale. Single-run endpoints. Few-task online results appear in Fig. 4.

Navigation (%) Sokoban (%) SpatialGym (0–1)

Method Standard Long horizon 64 maps Held-out rooms Two rooms

Teacher 27B (shared) 85.00 25.00 88.28 0.4566 0.3777

Qwen3.5-4B student

Original student 49.17 13.33 60.16 0.2553 0.1157

Full-task online OPD 78.75 21.25 85.94 0.4763 0.3051

K4 offline SFT 74.17 20.42 76.17 0.3996 0.2413

K4 offline OPD 82.08 22.08 85.55 0.4112 0.2700

Qwen3.5-9B student

Original student 67.08 25.83 64.06 0.2790 0.2023

Full-task online OPD 86.25 20.00 87.50 0.4881 0.3212

K4 offline SFT 72.92 23.75 83.20 0.4274 0.2555

K4 offline OPD 74.17 24.58 87.50 0.4255 0.2976

Offline OPD on four fixed trajectories improves 4B standard Navigation/Sokoban success by 32.92/25.39 percentage points (pp), closing 91.86%/90.28% of the measured teacher gap. Matched SFT also improves substantially; K4 offline OPD achieves higher 4B scores across all five panels.

Figure 4: Few histories and few tasks both support transfer. Every 4B point uses 100 updates and 6,400 responses. Orange curves use KK fixed trajectories; teal curves use KK tasks with fresh interactions. K4 task identities match across protocols. Full denotes 120/128/32 offline histories; online uses at most 120/128/16 tasks, so SpatialGym’s teal curve ends at 16. Lines connect measured endpoints. Offline K1/K16 are collaborator-reported; their task pairing with online is unverified.

Comparison with full-task online OPD.

K4 retains 111.27%/98.48% of the measured full-task online gains on 4B standard Navigation/Sokoban without new interaction during optimization (Table 1).

Transfer to spatial mapping.

Four histories raise 4B held-out/two-room mapping from 0.2553/0.1157 to 0.4112/0.2700, transferring useful behavior to new layouts. Four-task online OPD scores 0.4032/0.2998; full-task online reaches 0.4763/0.3051.

Transfer to a 9B student.

The same K4 histories improve 9B standard Navigation by 7.08 pp and Sokoban by 23.44 pp, matching online OPD’s 87.50% on Sokoban. Both mapping panels also improve. Online OPD is stronger on standard Navigation and mapping; K4 OPD exceeds K4 SFT on four of five panels. The supplement reports full cross-scale comparisons and curves.

Independent Navigation panel.

K4 replay raises success from 45.83% to 76.67%, versus 70.83% for representativeness-only selection and 79.58% for same-task online OPD. It retains 91.36% of the online gain and closes 77.89% of the teacher gap (Table S4), extending the transfer evidence beyond the original panel.

4.3 Task Breadth and History Refresh

Figure 4 examines both dimensions at fixed updates and response counts; Table S1 gives exact scores. Online KK counts tasks with fresh interactions; offline KK counts fixed trajectories.

Few-task online distillation.

Even one training task supports transfer: online K1 reaches 80.42%/80.47% on standard Navigation/Sokoban and 0.4057/0.2878 on held-out/two-room mapping. K4 gives the highest online Navigation estimates, while Sokoban and mapping benefit from broader task sets. Substantial gains therefore need not require a large catalogue of distinct tasks.

Fixed histories versus fresh interactions.

Online OPD on the same four tasks reaches 82.50%/22.50% on standard/long-horizon Navigation and 84.38% on Sokoban. Replay differs by just one, one, and three successful episodes, respectively, without new training interaction. At matched task and response budgets, these endpoint scores show competitive transfer from fixed histories. SpatialGym two-room scores favor online K4 (0.2998 versus 0.2700), illustrating where continued interaction is more beneficial under these protocols.

How many fixed histories?

Offline K1 OPD reaches 73.75%/80.47% on standard Navigation/Sokoban; K4 exceeds full-pool OPD’s 77.50%/83.59%. Broader histories help elsewhere: K16 reaches 23.75% on long-horizon Navigation and 0.46/0.31 on mapping. OPD exceeds matched-budget SFT at both K1 and K16 across all five panels.

Figure 5: Learning curves for the 15 core 4B runs. All 300 observations at updates 5,10,…\ldots,100, without smoothing. Y-axis ranges are shared within environments: 35–100% success or 0.15–0.50 mapping score. Navigation/Sokoban monitor 16 tasks/maps ×\times 2 repeats; SpatialGym uses four held-out rooms ×\times 4 repeats. Navigation monitors a subset of its standard final tasks; final evaluations run separately. OPD and SFT match responses, not token or compute costs.

4.4 Representative Selection Matters

Table 2: Additional selection ablations. Success (%). The complete reference repeats Table 1; simplified variants are one reported run each. †Reuses the Sokoban reference. Original random-subset and component comparisons appear in Table S5.

K4 OPD selector Nav. Nav. long Sokoban

Complete (reference) 82.08 22.08 85.55

Representativeness only 77.92 17.92 80.47

Coverage only 79.17 19.17 82.42

Unordered matching 81.25 21.25 85.55†

Across four additional training runs, complete selection averages 81.98%/23.75%, versus 80.73%/23.54% for representativeness-only and 76.88%/21.67% for fixed random K4. Complete selection has the highest means; ranking against representativeness-only varies across runs (Tables S2–S3).

The original comparison exceeds three random subsets’ mean by 6.25/2.50 pp on standard/long-horizon Navigation and 5.34 pp on Sokoban (Table S5). Additional single-run ablations favor the complete reference (Table 2). The unordered control scores 0.83 pp lower on each Navigation panel in this comparison; Sokoban reuses the same selection.

4.5 Learning Dynamics and History Exposure

Figure 5 monitors the 15 core 4B runs every five updates. Navigation monitoring uses 16 of the 60 standard evaluation tasks; final evaluations run separately. SpatialGym reuses four held-out rooms. The supplement adds 180 points from nine 9B runs. Final scores use update 100, never curve maxima.

Coverage and repeated supervision.

Let ni,tn_{i,t} count draws of prefix (i,t)(i,t). For RR draws, Eq. (2) gives 𝔼⁡[ni,t]=R/(|S|​Ti)\mathbb{E}[n_{i,t}]=R/(|S|T_{i}). K4 retains 66/10/21 Navigation/Sokoban/SpatialGym prefixes versus 1,840/402/236 in the full pools. At 6,400 draws, smaller sets repeatedly supervise selected decisions, while larger sets cover more histories. This coverage–repetition tradeoff may explain the data-volume results; details appear in the supplement.

4.6 Breadth and Form of Transfer

Figure 6: Four trajectories support broad teacher-to-student transfer. (a) Change in task-level four-repeat means after K4 OPD versus original 4B; labels give improved/total tasks. (b) OPD/SFT gain over the initial 4B student divided by the matched teacher’s gain. All five evaluation panels are included. Ratios are descriptive; task-cluster intervals appear in the supplement.

Figure 7: Task gains extend beyond aggregate format compliance. 4B format correctness, valid-action rates, and task scores on standard Navigation, Sokoban, and two-room SpatialGym. Colors identify models. Navigation/Sokoban use percentages; SpatialGym uses 0–1 rates and map scores. Rates average within episodes, then across episodes.

Improvements extend across evaluation tasks.

K4 OPD improves 45 of 60 standard Navigation tasks and 31 of 64 Sokoban maps, with three and one regressions; remaining tasks tie (Fig. 6(a)). On long-horizon Navigation, 20 tasks improve, 32 tie, and eight regress. All four held-out single rooms and all 20 two-room scenes improve. These evaluation task identities are absent from the candidate pools.

Figure 6(b) normalizes gains by the matched teacher gap. Both objectives transfer useful behavior across all panels; OPD closes over 90% of this gap on standard Navigation and Sokoban, and 58.89% on two-room mapping.

Task performance beyond format compliance.

Figure 7 connects these gains to native execution metrics. Both objectives substantially improve format compliance and valid-action rates. On Navigation, K4 OPD/SFT format correctness is 97.99%/98.00%, while success is 82.08%/74.17%. On Sokoban, format correctness is 93.05%/93.44%, while success is 85.55%/76.17%. Similar aggregate format rates therefore accompany different task performance; interface compliance alone does not describe the full difference between the objectives.

Spatial transfer spans multiple behaviors.

K4 OPD improves two-room exploration coverage from 0.413 to 0.806, direction from 0.012 to 0.078, facing from 0.032 to 0.156, and position from 0.042 to 0.233. Gains span exploration and map construction; full-pool OPD improves these components further. Detailed components, uncertainty, and exposure analyses appear in the supplement.

5 Discussion

Results across OPD, SFT, and student scales suggest that compact decision experience transfers beyond training tasks. Coverage and repeated supervision may help explain this reuse.

Scope and limitations.

Small data counts distinct tasks or histories; collection and annotation remain necessary. Core results use single training runs and development-inspected panels; additional Navigation repetitions and independent evaluation broaden the evidence.

6 Conclusion

Limited interaction experience supports visual-agent transfer through both few-task online OPD and fixed-history replay. Four trajectories recover over 90% of the 4B teacher gap on the original standard Navigation and Sokoban panels.

LLM Usage Statement

OpenAI Codex assisted implementation, analysis, visualization, literature search, and writing. API models gpt-5.6-terra/gpt-5.6-luna generated and refined annotations for trajectory selection.

References

[1] Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, 2024.

[2] Bradley Efron. Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1):1–26, 1979.

[3] Lang Feng, Zhenghai Xue, Tingcong Liu, and Bo An. Group-in-group policy optimization for LLM agent training. arXiv preprint arXiv:2505.10978, 2025.

[4] Zixuan Fu, Bingxiang He, Yuxin Zuo, Haohuan Huang, Jinqian Zhang, Ruhang Xiao, Cheng Qian, Qinyu Luo, Huan-ang Gao, Yudong Wang, Zhiyuan Liu, Ning Ding, and Chaojun Xiao. Rethinking on-policy distillation of large language models ii: One training example. arXiv preprint arXiv:2609.04172, 2026.

[5] Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang. MiniLLM: Knowledge distillation of large language models. In International Conference on Learning Representations, 2024.

[6] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015.

[7] Yoon Kim and Alexander M. Rush. Sequence-level knowledge distillation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pages 1317–1327, 2016.

[8] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.

[9] Jongwoo Ko, Sungnyun Kim, Tianyi Chen, and Se-Young Yun. DistiLLM: Towards streamlined distillation for large language models. In International Conference on Machine Learning, pages 24872–24895, 2024.

[10] Eric Kolve, Roozbeh Mottaghi, Winson Han, Eli VanderBilt, Luca Weihs, Alvaro Herrasti, Matt Deitke, Kiana Ehsani, Daniel Gordon, Yuke Zhu, Aniruddha Kembhavi, Abhinav Gupta, and Ali Farhadi. AI2-THOR: An interactive 3D environment for visual AI. arXiv preprint arXiv:1712.05474, 2017.

[11] Baohao Liao, Hanze Dong, Christof Monz, Xinxing Xu, Li Dong, and Furu Wei. Multi-turn on-policy distillation with prefix replay. arXiv preprint arXiv:2607.04763, 2026.

[12] Hui Lin and Jeff Bilmes. A class of submodular functions for document summarization. In Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, pages 510–520, 2011.

[13] Panjun Liu, Xiaohan Lei, Shiqi Zhang, Yikun Wang, Yongxin Zhang, Mingyi Hu, Shida Sun, Jiateng Shou, Wengang Zhou, Jiajun Deng, and Zhiwei Xiong. WAM-OPD: Sharpening world action models via on-policy distillation. arXiv preprint arXiv:2609.34250, 2026.

[14] Wei Liu, Weihao Zeng, Keqing He, Yong Jiang, and Junxian He. What makes good data for alignment? a comprehensive study of automatic data selection in instruction tuning. In International Conference on Learning Representations, 2024.

[15] Baharan Mirzasoleiman, Jeff Bilmes, and Jure Leskovec. Coresets for data-efficient training of machine learning models. In International Conference on Machine Learning, pages 6950–6960, 2020.

[16] G. L. Nemhauser, L. A. Wolsey, and M. L. Fisher. An analysis of approximations for maximizing submodular set functions—I. Mathematical Programming, 14:265–294, 1978.

[17] Qwen Team. Qwen3.5-4B model card. https://huggingface.co/Qwen/Qwen3.5-4B, 2026.

[18] Stephane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In International Conference on Artificial Intelligence and Statistics, pages 627–635, 2011.

[19] Andrei A. Rusu, Sergio Gomez Colmenarejo, Caglar Gulcehre, Guillaume Desjardins, James Kirkpatrick, Razvan Pascanu, Volodymyr Mnih, Koray Kavukcuoglu, and Raia Hadsell. Policy distillation. arXiv preprint arXiv:1511.06295, 2015.

[20] Gerard Salton and Christopher Buckley. Term-weighting approaches in automatic text retrieval. Information Processing & Management, 24(5):513–523, 1988.

[21] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.

[22] Ozan Sener and Silvio Savarese. Active learning for convolutional neural networks: A core-set approach. In International Conference on Learning Representations, 2018.

[23] Slime contributors. Slime v0.4.0. https://github.com/THUDM/slime/releases/tag/v0.4.0, 2026.

[24] Gaurav Verma, Rachneet Kaur, Nishan Srishankar, Zhen Zeng, Tucker Balch, and Manuela Veloso. AdaptAgent: Adapting multimodal web agents with few-shot learning from human demonstrations. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 20635–20651, 2025.

[25] Cédric Villani. Optimal Transport: Old and New. Springer, 2009.

[26] Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. Transactions on Machine Learning Research, 2024.

[27] Kangrui Wang, Pingyue Zhang, Zihan Wang, Yaning Gao, Linjie Li, Qineng Wang, Hanyang Chen, Chi Wan, Yiping Lu, Zhengyuan Yang, Lijuan Wang, Ranjay Krishna, Jiajun Wu, Fei-Fei Li, Yejin Choi, and Manling Li. VAGEN: Reinforcing world model reasoning for multi-turn VLM agents. In Advances in Neural Information Processing Systems, 2025a.

[28] Yiping Wang, Qing Yang, Zhiyuan Zeng, Liliang Ren, Liyuan Liu, Baolin Peng, Hao Cheng, Xuehai He, Kuan Wang, Jianfeng Gao, Weizhu Chen, Shuohang Wang, Simon Shaolei Du, and Yelong Shen. Reinforcement learning for reasoning in large language models with one training example. In Advances in Neural Information Processing Systems, 2025b.

[29] Zihan Wang, Kangrui Wang, Qineng Wang, Pingyue Zhang, Linjie Li, Zhengyuan Yang, Kefan Yu, Minh Nhat Nguyen, Licheng Liu, Eli Gottlieb, Monica Lam, Yiping Lu, Kyunghyun Cho, Jiajun Wu, Fei-Fei Li, Lijuan Wang, Yejin Choi, and Manling Li. RAGEN: Understanding self-evolution in LLM agents via multi-turn reinforcement learning. arXiv preprint arXiv:2504.20073, 2025c.

[30] Tong Wei, Yijun Yang, Junliang Xing, Yuanchun Shi, Zongqing Lu, and Deheng Ye. GTR: Guided thought reinforcement prevents thought collapse in RL-based VLM agent training. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 18855–18865, 2025.

[31] Mengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora, and Danqi Chen. LESS: Selecting influential data for targeted instruction tuning. In International Conference on Machine Learning, pages 54104–54132, 2024.

[32] Sang Michael Xie, Shibani Santurkar, Tengyu Ma, and Percy Liang. Data selection for language models via importance resampling. In Advances in Neural Information Processing Systems, 2023.

[33] Yijun Yang, Tianyi Zhou, Kanxue Li, Dapeng Tao, Lusong Li, Li Shen, Xiaodong He, Jing Jiang, and Yuhui Shi. Embodied multi-modal agent trained by an LLM from a parallel TextWorld. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 26275–26285, 2024.

[34] Pingyue Zhang, Zihan Huang, Yue Wang, Jieyu Zhang, Letian Xue, Zihan Wang, Qineng Wang, Keshigeyan Chandrasegaran, Ruohan Zhang, Yejin Choi, Ranjay Krishna, Jiajun Wu, Fei-Fei Li, and Manling Li. Theory of space: Can foundation models construct spatial beliefs through active exploration? In International Conference on Learning Representations, 2026.

[35] Andrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin, Yong-Jin Liu, and Gao Huang. ExpeL: LLM agents are experiential learners. In Proceedings of the AAAI Conference on Artificial Intelligence, 2024.

[36] Chunting Zhou, Pengfei Liu, Puxin Xu, Srinivasan Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, Lili Yu, Susan Zhang, Gargi Ghosh, Mike Lewis, Luke Zettlemoyer, and Omer Levy. LIMA: Less is more for alignment. In Advances in Neural Information Processing Systems, 2023.

[37] Siyu Zhou, Tianyi Zhou, Yijun Yang, Guodong Long, Deheng Ye, Jing Jiang, and Chengqi Zhang. WALL-EVE: World alignment with rule learning in visual environments. In Computer Vision – ECCV 2026, pages 581–599. Springer, 2026.

Appendix

Appendix A Extended Related Work

Distillation and sequential distribution shift.

Knowledge distillation transfers teacher predictions [6], and policy distillation transfers visual control policies [19]. Sequence-level KD learns teacher-generated targets [7]; GKD [1], MiniLLM [5], and DistiLLM [9] study student-generated sequences and teacher feedback. DAgger [18] highlights action-induced state distribution shift. ReOPD [11] replays teacher histories with step-decaying prefix sampling. WAM-OPD [13] distills robotic action models through prefix-weighted replay of fixed trajectories. We select initial-student visual histories for uniform trajectory/turn replay and compare them with few-task online interaction, examining task breadth and history refresh at matched update/response budgets.

Adaptation with very little data.

LIMA studies small-data supervised alignment [36]; one-example RLVR [28] and OPD [4] show few-query reasoning gains. AdaptAgent [24] adapts multimodal web agents from a few human demonstrations through in-context learning or meta-learned parameter adaptation. We study teacher-supervised visual-agent transfer from selected histories and restricted task catalogues, with OPD, matched SFT, and full-pool comparisons. Few tasks or histories still require repeated response generation; replay also requires initial collection.

Representative data selection.

Core-set selection covers visual feature space [22], while CRAIG selects weighted subsets to approximate training gradients [15]. For language models, DSIR matches target distributions [32], DEITA combines complexity, quality, and diversity [14], and LESS uses gradient influence for targeted tuning [31]. Submodular summarization similarly balances coverage and diversity [12]. We select whole trajectories using skill–context opportunities and ordered decision-description similarity. Our lexicographic rule does not directly inherit classical cardinality-constrained greedy guarantees [16].

Skills, world alignment, and visual agents.

Voyager stores executable skills [26], ExpeL retrieves experiential insights [35], and WALL-EVE learns symbolic rules from trajectory–prediction conflicts to align a world model for planning without policy training [37]. EMMA transfers reflection-improved actions from a parallel text-world LLM to a visual agent through DAgger-DPO [33]. GTR counters thought collapse during VLM RL through automated reasoning correction [30]; RAGEN [29] and GiGPO [3] study multi-turn agent RL, while VAGEN focuses on visual world-model reasoning [27]. Our annotations instead select fixed histories for policy adaptation; neither learner nor distillation teacher receives them as prompts. We reuse VAGEN interfaces for AI2-THOR Navigation [10], Sokoban, and Theory-of-Space mapping [34], training with teacher feedback rather than environment rewards.

Appendix B Result Snapshot and Provenance

The core snapshot uses fixed update 100 and batch 64, with 55 training-result slots. Fifteen core 4B runs, nine 9B runs, and eight additional 4B small-task online runs have local training and per-episode evaluation records; original-student evaluations are additional. Eleven selector-control and twelve K1/K16 endpoints are collaborator-reported 4B aggregates, accepted into the core snapshot. A follow-up report adds 12 training-repetition entries, five non-reused component-control entries, and five model evaluations on an independent Navigation panel, giving 72 training-result entries in total. Their raw training logs, per-episode records, and precise subset-ID mapping have not been audited locally. We do not infer learning curves, token costs, or paired uncertainty for collaborator aggregates. SpatialGym offline K1/K16 scores retain the supplied two-decimal precision.

The completed 9B extension includes original-student evaluation, K4 OPD, K4 SFT, and full-task online OPD in all three environments. Online K1/K4/K16 results now cover all three environments; SpatialGym K16 reuses the completed full 16-room baseline and is not an additional run. Deferred 9B K1/K16/full-pool adaptation and earlier 50-update, batch-16 experiments are excluded.

Table S1: Offline history and online task budgets. All 4B runs use 100 updates and 6,400 responses. Offline KK counts fixed trajectories; online KK counts tasks with fresh interactions. Full uses 120/128/32 offline histories or 120/128/16 online tasks. Offline K1/K16 are collaborator-reported, with supplied SpatialGym precision. Other entries are locally audited. †\dagger reuses the full 16-room online run.

Evaluation panel Training K=1K=1 K=4K=4 K=16K=16 Full

Navigation: standard Offline OPD 73.75 82.08 81.67 77.50

Offline SFT 70.42 74.17 75.42 64.17

Online OPD 80.42 82.50 76.25 78.75

Navigation: long horizon Offline OPD 19.17 22.08 23.75 22.50

Offline SFT 17.50 20.42 21.25 15.42

Online OPD 14.17 22.50 20.42 21.25

Sokoban: 64 maps Offline OPD 80.47 85.55 83.98 83.59

Offline SFT 75.00 76.17 77.34 77.73

Online OPD 80.47 84.38 85.16 85.94

SpatialGym: held-out rooms Offline OPD 0.36 0.4112 0.46 0.4664

Offline SFT 0.33 0.3996 0.42 0.4243

Online OPD 0.4057 0.4032 0.4763† 0.4763

SpatialGym: two rooms Offline OPD 0.21 0.2700 0.31 0.3253

Offline SFT 0.18 0.2413 0.27 0.2834

Online OPD 0.2878 0.2998 0.3051† 0.3051

Appendix C Additional Training Repetitions and Independent Evaluation

This section reports four additional training repetitions for each of three Navigation selectors, an independent standard Navigation panel, and the original component comparisons. All four additional repetitions are included; the original main-table endpoints and learning curves remain separate.

Training repetitions.

Tab

原文配图

Figure S2: A second recorded selection example: Sokoban. Four of 128 collected histories provide 10 prefixes. The first two choices add six and one opportunity pairs; the last two add only representativeness. The round-2 selected trajectory and runner-up each add one pair, with gains 2.645602 and 2.513936. Frames and annotation excerpts illustrate the frozen records, not idealized successful solutions. Every valid prefix of each selected trajectory remains available during adaptation.
Figure S2: A second recorded selection example: Sokoban. Four of 128 collected histories provide 10 prefixes. The first two choices add six and one opportunity pairs; the last two add only representativeness. The round-2 selected trajectory and runner-up each add one pair, with gains 2.645602 and 2.513936. Frames and annotation excerpts illustrate the frozen records, not idealized successful solutions. Every valid prefix of each selected trajectory remains available during adaptation.
Figure S4: Training-only opportunity incidence in the first 16 frozen selection ranks. Orange outlines mark K4; row IDs index the annotated contexts in the accompanying JSON. A filled cell indicates an opportunity annotation, not successful execution or independent visual-state coverage.
Figure S4: Training-only opportunity incidence in the first 16 frozen selection ranks. Orange outlines mark K4; row IDs index the annotated contexts in the accompanying JSON. A filled cell indicates an opportunity annotation, not successful execution or independent visual-state coverage.

正文以来源语言显示。

参考来源

← 返回每日AI报告