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.
Figures & tables
Figure 2: Representative selection and two uses of interaction experience. Selection chooses K 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.
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 is resolved by representativeness gain Δ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.
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
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 .
Figure 4: Few histories and few tasks both support transfer. Every 4B point uses 100 updates and 6,400 responses. Orange curves use K fixed trajectories; teal curves use K 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.
Figure 5: Learning curves for the 15 core 4B runs. All 300 observations at updates 5,10, … ,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 × 2 repeats; SpatialGym uses four held-out rooms × 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.
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 †
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 .
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.
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
Evaluation panel
Training
K=1
K=4
K=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
Appendix
Table S1 : Offline history and online task budgets. All 4B runs use 100 updates and 6,400 responses. Offline K counts fixed trajectories; online K 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. † reuses the full 16-room online run.
Selection
Standard
Long horizon
Complete selector
81.98 ± 2.73
23.75 ± 2.93
Representativeness only
80.73 ± 1.20
23.54 ± 4.20
Fixed random K4
76.88 ± 2.86
21.67 ± 4.56
Appendix
Table S2 : Four supplementary training repetitions. Navigation success (%), mean ± sample standard deviation across all four reported repetitions. The original single-run main-table result is separate; evaluation repeats are averaged within each training run.
Selection
Run
Standard: % (successes)
Long horizon: % (successes)
Complete selector
1
79.58 (191/240)
26.67 (64/240)
2
80.00 (192/240)
21.67 (52/240)
3
82.92 (199/240)
20.83 (50/240)
4
85.42 (205/240)
25.83 (62/240)
Representativeness only
1
80.00 (192/240)
25.83 (62/240)
2
80.42 (193/240)
27.50 (66/240)
Appendix
Table S3 : Individual supplementary training results. All four repetitions are retained for each method; each panel has 240 evaluation episodes. Run numbers are report indices, not numerical seed values.
Model / method
Successes
Success (%)
Original 4B
110/240
45.83
Teacher 27B
205/240
85.42
Complete K4 offline OPD
184/240
76.67
Representativeness-only OPD
170/240
70.83
Same-task K4 online OPD
191/240
79.58
Appendix
Table S4 : Independent standard Navigation panel. Collaborator-reported evaluation, 240 episodes per model. This panel is separate from the original main-table evaluation.
K4 OPD selector
Nav.
Nav. long
Sokoban
Complete selector
82.08
22.08
85.55
Random subset 1
74.17
18.75
78.52
Random subset 2
76.25
19.58
80.08
Random subset 3
77.08
20.42
82.03
Coverage only
78.75
20.00
81.25
Representativeness only
79.17
20.42
82.03
Appendix
Table S5 : Original selection comparison. Success (%); three random subsets and the original component controls. These are distinct from the additional controls in Table 2 . † Reuses the complete-selector result. Random subsets are not training repetitions.
Environment
Training
Budget
Generated tokens
Executed turns
Navigation
Offline K4
4 histories
18,857,310
0
Online K1
1 task
3,582,167
6,400
Online K4
4 tasks
4,263,776
6,400
Online K16
16 tasks
5,608,656
6,400
Online Full
120 tasks
5,099,729
6,400
Sokoban
Offline K4
4 histories
104,559,680
0
Appendix
Table S6 : 4B online task-budget accounting. Each row trains 6,400 responses. Executed turns count model responses applied to the environment during optimization, not primitive actions or episodes. Offline zero excludes prior candidate acquisition. Tokens exclude prefix processing, teacher scoring, evaluation, and collection; these are not equal-compute or end-to-end GPU-hour comparisons.
Evaluation panel
Student
Initial
K4 SFT
K4 OPD
Full-task online
Navigation: standard
4B
49.17
74.17
82.08
78.75
9B
67.08
72.92
74.17
86.25
Navigation: long horizon
4B
13.33
20.42
22.08
21.25
9B
25.83
23.75
24.58
20.00
Sokoban: 64 maps
4B
60.16
76.17
85.55
85.94
9B
64.06
83.20
87.50
87.50
Appendix
Table S7 : Matched student-scale comparisons. Success (%) for Navigation/Sokoban and mapping score for SpatialGym. Both scales reuse the selected histories and 27B teacher; task/repeat identities and the 100-update, batch-64 budget are matched. SpatialGym held-out scores come from the full single-room final evaluation, not the separate monitoring batch.
Figure S1 : Learning dynamics of the nine 9B runs. All 180 observed points, every five updates, without smoothing. Navigation/Sokoban use 16 monitoring tasks × two repeats; SpatialGym uses four held-out rooms × four repeats. SpatialGym final reporting uses a separate full single-room evaluation. Axes include every observed point; final comparisons use update 100.
Environment
9B method
Response tokens
Context cap (tokens)
Navigation
K4 OPD
20,626,448
86,016
K4 SFT
14,712,955
86,016
Full-task online OPD
5,361,219
86,016
Sokoban
K4 OPD
87,154,585
114,688
K4 SFT
52,095,772
114,688
Full-task online OPD
103,891,243
114,688
Appendix
Table S8 : 9B response-token accounting. Each run uses 6,400 responses. OPD counts student-generated tokens; SFT counts teacher-label tokens. These exclude prefix processing, scoring, collection, annotation, and evaluation.
Teacher-gap recovery (%)
Online-gain recovery (%)
Evaluation panel
K4 SFT
K4 OPD
K4 OPD
Navigation: standard
69.77
91.86
111.27
Navigation: long horizon
60.71
75.00
110.53
Sokoban: 64 maps
56.94
90.28
98.48
SpatialGym: held-out rooms
71.67
77.44
70.52
SpatialGym: two rooms
47.95
58.89
81.48
Appendix
Table S9 : 4B recovery of measured reference gains. Teacher-gap recovery divides the trained student gain by the matched teacher gain over the initial student; online-gain recovery uses online OPD as the denominator. Ratios may exceed 100%; they describe score gains, not general capability fractions.
Method
All single rooms
Training rooms
Held-out rooms
Two rooms
80 episodes
64 episodes
16 episodes
80 episodes
Original 4B
0.1968
0.1822
0.2553
0.1157
Teacher 27B
0.4753
0.4799
0.4566
0.3777
Full-pool SFT
0.3833
0.3731
0.4243
0.2834
Full-pool OPD
0.3991
0.3822
0.4664
0.3253
Full-task online OPD
0.4105
0.3940
0.4763
0.3051
Appendix
Table S10 : 4B SpatialGym splits and cross-layout transfer. Native mapping score (0–1); bold marks the best trained student per column. All single rooms comprise 16 training and four held-out rooms. Training-room scores are descriptive, not held-out generalization.
Environment
Method
Response tokens
Context cap (tokens)
Navigation
K4 OPD
18,857,310
86,016
K4 SFT
14,241,123
86,016
Full-pool OPD
10,051,693
86,016
Full-pool SFT
6,014,394
86,016
Full-task online OPD
5,099,729
86,016
Sokoban
K4 OPD
104,559,680
114,688
Appendix
Table S11 : 4B response-token budgets for 6,400 training responses. OPD counts student-generated tokens; SFT counts supervised teacher-response tokens. Prefix processing, teacher scoring, collection, annotation, and evaluation are excluded, so these are not end-to-end compute costs.
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 S3 : Internal selection diagnostics at K=1/4/16. Opportunity coverage saturates early; ordered textual-description similarity continues to change. The gray bands describe random subset variability only. These are annotation-space diagnostics; the separate data-budget table reports trained-policy outcomes.
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 S5 : Distinct fixed histories and repeated supervision are different budgets. K4 contains 66/10/21 causal prefixes for Navigation/Sokoban/SpatialGym, versus 1,840/402/236 in the full pools. Both receive 6,400 response draws. The right panel reports mean expected draws per prefix under uniform-trajectory/turn sampling, not measured draw counts.
Figure S6 : Breadth of K4 OPD improvements and paired comparisons. Left: per-task four-repeat mean relative to original 4B. Right: K4 minus each reference with conditional 95% cluster-bootstrap intervals. Scores are multiplied by 100 for display; SpatialGym remains a continuous map score. Intervals crossing zero are not evidence of statistical equivalence.
Figure S7 : SpatialGym’s native components. K4 transfers exploration and map-building behavior, but broader training improves several components further. Two-room K4/full OPD exploration is 0.806/0.922, direction 0.078/0.118, facing 0.156/0.231, and position 0.233/0.290. The measured teacher is not an upper bound on every component.