ICLWorld: Benchmarking In-Context Learning of Agents from Digital to Physical Worlds
Organizations: Tsinghua University
Abstract
In-context learning (ICL) lets agents acquire new rules from context and adapt to user-specific requirements at inference time. The same frontier agents now operate both computers and robots, yet their ICL remains insufficiently assessed: existing benchmarks are largely offline, rely on text or static images, and risk training-data contamination, while robot evaluations are limited to method-level ablations. We present ICLWorld, an online benchmark that evaluates the ICL of agents from digital to physical worlds, covering computer use and robot use, together with UIverse, a unified harness that turns every environment into a user interface. We build 30 environments, record 630 demonstration videos (10+ hours), and design 160 tasks with customized, often counter-intuitive rules that cannot be satisfied without learning from the context. Each task comes with three rule versions, given as text or video, and we test generalization at three levels, from replaying the demonstration to new instances and unseen environments. Across six frontier models, the strongest agents, Claude Opus 5.5 and GPT-6 Astra, succeed on 82% and 76% of computer-use runs but only 27% and 26% of robot-use runs, and a no-rule control reduces success to at most 8%. GPT-6 Astra succeeds under all three rule versions on only 38% of computer-use tasks, half its rate under a single rule, and answers 98% of robot rule questions correctly yet completes only 20% of these tasks. Frontier agents learn rules comparably well from video and from text and transfer them across environments, whereas weaker agents rely on text and lose most of their video-based success once the demonstrated situation is resampled. These findings reveal substantial gaps between the digital and the physical world and between identifying a rule and acting on it.
Figures & tables
| Difficulty | Computer use | Robot use |
|---|---|---|
| Easy | 36 / 36 / 36 | 7 / 7 / 7 |
| Medium | 0 / 37 / 37 | 19 / 19 / 19 |
| Hard | 0 / 37 / 37 | 19 / 16 / 24 |
| Computer use (110) | Robot use (50) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Model | Overall | Avg. | Easy | Medium | Hard | Avg. | Easy | Medium | Hard |
| Claude Opus 5.5 | 53.9 / 54.9 | 81.8 / 81.8 | 97.2 / 94.4 | 89.2 / 86.5 | 59.5 / 64.9 | 26.0 / 28.0 | 28.6 / 57.1 | 57.9 / 42.1 | 0.0 / 8.3 |
| GPT-6 Astra | 49.7 / 52.6 | 75.5 / 77.3 | 88.9 / 88.9 | 86.5 / 81.1 | 51.4 / 62.2 | 24.0 / 28.0 | 57.1 / 57.1 | 31.6 / 47.4 | 8.3 / 4.2 |
| Qwen3.8-Max | 19.8 / 17.5 | 33.6 / 29.1 | 63.9 / 63.9 | 29.7 / 18.9 | 8.1 / 5.4 | 6.0 / 6.0 | 0.0 / 0.0 | 15.8 / 15.8 | 0.0 / 0.0 |
| DeepSeek-V4.1-Flash | 17.8 / 9.3 | 23.6 / 14.5 | 55.6 / 38.9 | 13.5 / 5.4 | 2.7 / 0.0 | 12.0 / 4.0 | 14.3 / 0.0 | 26.3 / 10.5 | 0.0 / 0.0 |
| GLM-5.3-Flash | 17.7 / 15.1 | 35.5 / 28.2 | 80.6 / 63.9 | 18.9 / 16.2 | 8.1 / 5.4 | 0.0 / 2.0 | 0.0 / 0.0 | 0.0 / 5.3 | 0.0 / 0.0 |
| Computer use | Robot use | ||||||
|---|---|---|---|---|---|---|---|
| Model | Replay (13) | Resample (13) | Resample (37) | Relocate (37) | Replay (14) | Resample (15) | Relocate (17) |
| Claude Opus 5.5 | 84.6 / 100.0 | 92.3 / 92.3 | 78.4 / 78.4 | 70.3 / 81.1 | 21.4 / 35.7 | 33.3 / 26.7 | 29.4 / 11.8 |
| GPT-6 Astra | 76.9 / 100.0 | 76.9 / 84.6 | 67.6 / 75.7 | 70.3 / 73.0 | 35.7 / 28.6 | 13.3 / 20.0 | 5.9 / 17.6 |
| Qwen3.8-Max | 69.2 / 100.0 | 69.2 / 69.2 | 27.0 / 32.4 | 37.8 / 37.8 | 7.1 / 0.0 | 0.0 / 6.7 | 5.9 / 0.0 |
| DeepSeek-V4.1-Flash | 53.8 / 69.2 | 53.8 / 15.4 | 24.3 / 8.1 | 32.4 / 18.9 | 7.1 / 7.1 | 20.0 / 6.7 | 17.6 / 0.0 |
| GLM-5.3-Flash | 53.8 / 84.6 | 46.2 / 53.8 | 21.6 / 21.6 | 32.4 / 35.1 | 7.1 / 0.0 | 0.0 / 6.7 | 5.9 / 5.9 |
| Computer use | Robot use | |||||||
|---|---|---|---|---|---|---|---|---|
| Model | None | Text | Video | None | Text | Video | Sim | |
| GPT-6 Astra | 5.4 | 67.6 | 75.7 | 0.0 | 11.8 | 17.6 | 23.5 | |
| DeepSeek-V4.1-Flash | 2.7 | 24.3 | 8.1 | 0.0 | 17.6 | 5.9 | 5.9 | |
| GLM-5.3-Flash | 8.1 | 21.6 | 21.6 | 0.0 | 0.0 | 5.9 | 5.9 | |
| A | B | C | All | A | B | C | All | |
| GPT-6 Astra | 48.6 | 48.6 | 75.7 | 37.8 | 29.4 | 11.8 | 17.6 | 11.8 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Goal | Rule A | Rule B | Rule C |
|---|---|---|---|
| Rewrite three customers’ notification drafts and send each back. | Lowercase the first letter, uppercase the rest. | Uppercase the first letter, lowercase the rest. | Title-case every word. |
| Open one safe cell on each Minesweeper board. | Minimize the sum of neighboring clues. | Maximize the unopened neighbors. | Choose the cell closest to the upper-left corner. |
| Submit a revised packet with a marked title. | [r8] Title | Title [r8] | r8 - Title |
| Set the open/closed state of two drawers. | Open only the upper red drawer. | Open only the lower blue drawer. | Open both drawers. |
| Load four blocks into a 2 2 box in a given cell order. | Red, yellow, blue, green. | Red, green, blue, yellow. | Green, blue, yellow, red. |
| Move three T-blocks into a tray with the demonstrated transformation. | Preserve positions and orientations. | Preserve positions, rotate each block by 90 ∘ . | Mirror positions, preserve orientations. |
| Purpose | Digital world | Physical world |
|---|---|---|
| Observe | Screenshot of the application | Screenshot of the control panel |
| Act | Click, drag, scroll, type, or press keys at pixel coordinates | Press arm buttons with step sizes and angles, then commit |
| Demonstration | Frames of the demonstration at chosen times | Frames of the demonstration at chosen times |
| Stop | Declare completion | Press Done or Give up |
| Web | OS | Robot | |||||||
| E | M | H | E | M | H | E | M | H | |
| Subset | 9 | 8 | 8 | 4 | 4 | 4 | 2 | 7 | 8 |
| All tasks | 25 | 25 | 25 | 11 | 12 | 12 | 7 | 19 | 24 |
| Sel. | Fmt. | Lab. | Ord. | Arr. | Proc. | ||||
| Subset | 15 | 13 | 8 | 4 | 8 | 6 | |||
| All tasks | 48 | 37 | 21 | 14 | 21 | 19 | |||
| Computer use | Robot use | |||
|---|---|---|---|---|
| Model | Mean | Partial | Mean | Partial |
| Claude Opus 5.5 | 84.5 | 27.5 | 32.3 | 16.4 |
| GPT-6 Astra | 79.8 | 26.9 | 31.1 | 14.9 |
| Qwen3.8-Max | 42.1 | 26.5 | 12.3 | 13.3 |
| DeepSeek-V4.1-Flash | 29.7 | 20.2 | 13.1 | 12.3 |
| GLM-5.3-Flash | 38.7 | 20.7 | 5.3 | 9.9 |
| Task | What happened |
|---|---|
| Merge conflicting records (3 models) | A file of field timestamps is in the workspace; the models keep the newer value of each field, which coincides with the rule. |
| Deliver files (1 model) | The output folder offers several groupings; the model picks the one that best matches the goal, which coincides with the rule. |
| Add conversation shortcuts (1 model) | The interface shows unread counts; the model picks the conversation with the most unread messages, which coincides with the rule. |
| Open a safe Minesweeper cell (1 model) | The model takes the first safe cell in reading order, which coincides with the rule on all three boards. |
| Model | Gives up | Declares done | Step limit |
|---|---|---|---|
| GPT-6 Astra | 76 | 24 | 0 |
| Qwen3.8-Max | 73 | 26 | 1 |
| DeepSeek-V4.1-Flash | 55 | 45 | 0 |
| Kimi K3 | 50 | 45 | 4 |
| Claude Opus 5.5 | 44 | 56 | 0 |
| GLM-5.3-Flash | 41 | 56 | 3 |
| Comparison | Estimate | 95% CI |
| Text–video gap, computer use | ||
| Claude Opus 5.5 | 0.0 | [ 5.5, 5.5] |
| GPT-6 Astra | 1.8 | [ 9.1, 5.5] |
| Other four models, pooled | 6.1 | [1.8, 10.7] |
| Text–video gap by rule type, all models, both domains | ||
| Procedure | 9.6 | [2.6, 18.4] |
In-Context Learning
In-context learning studies how models adapt to new tasks from examples or instructions supplied at inference time, without changing their weights.
See all 448 papers