Robot learning · In-context adaptation

MXI-MemICLTowards In-Context Robot Manipulation through Self-Retrieved Interaction Memory

Remember interactions. Retrieve experience.
Guide the next action.

Jialong Peng1,2Shihao Zhou1Feng Yan1Wen Xiao1Haozheng Wang1Wenqi Ren2Wenyuan Sheng1Jian Qiao1Jiaxu Miao2,*Lin Ma1,*Chao Yang1

1 1011.ai2 Sun Yat-sen University* Corresponding authors

Bottle manipulation: a human demonstration, MXI-MemICL with that demonstration, and MXI-MemICL without it, with corresponding trajectory illustrations.
A demonstration becomes experience the robot can retrieve during execution. Frames and trajectory illustrations from the paper. Select any figure to view it at full resolution.

The idea

Give a VLA model a memory of what it did and what changed—then retrieve the experience relevant to its next step.

From one demonstration to reusable experience

In-context learning offers robots a way to adapt from a demonstration without updating model parameters at deployment. MXI-MemICL treats demonstrations and completed interactions as retrievable memory, bringing experience into vision–language–action models without additional large-scale pretraining or specialized annotations.

A visual–action causal encoder records actions together with their observed effects. An intention predictor anticipates the next stage, helping the robot retrieve relevant experience. Experience-token prefixes and gated cross-attention then guide action generation.

Interaction memory

Remember what happened,
not just what was seen.

The visual–action causal encoder combines executed controls with observations before and after execution. Each completed interaction becomes a key–memory pair: a searchable record of an action and its observed effect.

The latest execution records supply short-term context. Earlier interactions and the supplied demonstration form the long-term retrieval candidates. Demonstration memory remains read-only while the robot adds completed interactions from its own execution.

MXI-MemICL architecture: observations and language form a gated query; a causal encoder writes interaction memory; retrieved experience enters the language backbone through token prefixes and gated cross-attention; an action expert generates controls and an intention predictor anticipates the next stage.
The memory loop connects interaction encoding, intention-guided retrieval, and experience-conditioned action generation.

Retrieve & act

Let the next intention
guide the search.

Anticipate the stage

A learned gate combines the current stage embedding with the intent predicted at the preceding decision. The query reflects both the current observation and anticipated progress.

Retrieve useful experience

Soft retrieval slots read complementary records from long-term memory. Retrieved experience is fused with recent execution context into experience tokens.

Condition the action

The tokens enter as prefixes and through gated cross-attention. The action expert generates the next action chunk, while the intention predictor prepares the next query.

Attention visualizations from the paper compare the base policy and MXI-MemICL across manipulation scenes.
Attention visualizations provide a qualitative view of experience-conditioned execution. See the paper for the visualization setup.

In-context execution

One successful demonstration.
No deployment-time updates.

The same memory interface supports execution with or without a demonstration. When a demonstration is available, its completed interactions are encoded before the target execution and become additional retrieval candidates. The target robot run maintains its own execution state and queries the shared experience as it proceeds.

On the ARX X5 bimanual platform, the paper evaluates battery insertion, block induction, clothes folding, bottle-cap twisting, and water pouring. Demonstrations improve the mean success rate on both seen tasks and unseen evaluation conditions.

Seen tasks69.0 → 74.0%

+5.0 percentage points with a demonstration

Unseen tasks25.0 → 41.7%

+16.7 percentage points with a demonstration

Per-task real-robot success rates compare the base policy, MXI-MemICL without a demonstration, and MXI-MemICL with one successful demonstration, on seen and unseen tasks.
Real-robot in-context learning. The paper reports 20 evaluation trials per task, with randomized initial object positions.

Results

Experience improves execution.

Success rates from the paper’s main result tables, compared with the π0.5 baseline.

π0.5MXI-MemICL

RoboCasa365

5 tasks · 50 rollouts per task per run

+8.2 pp
π0.5
70.4%
MXI-MemICL
78.6%

RoboTwin 2.0 · Hard

10 tasks · 100 rollouts per task

+14.4 pp
π0.5
37.5%
MXI-MemICL
51.9%

Real-robot manipulation

5 tasks · ARX X5 · without a test-time demonstration

+9.0 pp
π0.5
60.0%
MXI-MemICL
69.0%

pp = percentage points. Simulation means cover the task subsets in the main tables, not the full benchmark suites. The supplementary material includes additional tasks and evaluation details.

Ablations

Recent context and retrieved history
work together.

On the five-task RoboCasa365 evaluation, combining memory timescales and both experience-injection routes gives the strongest result.

Memory timescales
ConfigurationMean SR
π0.5 baseline70.4%
Short-term only74.4%
Long-term only72.8%
Short-term + long-term78.6%
Experience injection
ConfigurationMean SR
π0.5 baseline70.4%
Token prefixes only75.2%
Gated cross-attention only74.8%
Both routes78.6%

Reference

Build on this work.

If MXI-MemICL is useful for your research, please cite our paper.

BibTeX
Download .bib
@misc{peng2026mximemicl,
  title={MXI-MemICL: Towards In-Context Robot Manipulation
         through Self-Retrieved Interaction Memory},
  author={Jialong Peng and Shihao Zhou and Feng Yan and Wen Xiao
          and Haozheng Wang and Wenqi Ren and Wenyuan Sheng
          and Jian Qiao and Jiaxu Miao and Lin Ma and Chao Yang},
  year={2026},
  eprint={2611.32564},
  archivePrefix={arXiv},
  primaryClass={cs.RO},
  url={https://arxiv.org/abs/2611.32564}
}