TL;DR
X-IL is an open-source, highly modular framework that lets researchers systematically mix and match components across the imitation learning (IL) design space—including observation representations, sequence backbones, macro-architectures, and generative policy heads. By benchmarking these combinations, the authors demonstrate that modern non-transformer sequence models (namely Mamba and xLSTM) paired with diffusion and flow-matching objectives consistently outperform transformer-based standards on the LIBERO and RoboCasa benchmarks.
What Problem Does This Paper Address?
Imitation learning (IL) for robotics has evolved rapidly, borrowing breakthroughs from diverse machine learning subfields:
- Multimodal inputs (language conditioning, multi-view RGB, 3D point clouds).
- Novel sequence modeling architectures (State-Space Models like Mamba, extended LSTMs like xLSTM).
- Generative action modeling (DDPM, score-based diffusion, continuous normalizing flows).
However, existing IL libraries are fragmented. Frameworks like Robomimic or CleanDiffuser either focus strictly on behavior cloning / reinforcement learning, support only low-dimensional states or 2D images, or tightly bind algorithms to specific architectures (usually Transformers or U-Nets). There has been no unified platform to answer fundamental design questions: Does xLSTM model demonstration history better than a Transformer? When does 3D point cloud data beat multi-view RGB? Is an Encoder-Decoder better than a Decoder-only policy?
Methods
The authors introduce X-IL, which decomposes the robot policy pipeline into four swappable modules:
[Observation Encoders] ➔ [Macro-Architecture] ➔ [Backbone (X-Block)] ➔ [Policy Representation]
(RGB, 3D Points, Lang) (Dec-Only vs Enc-Dec) (Transformer, Mamba, xLSTM) (BC, DDPM, BESO, RF)
- Observation Encoders: Supports multi-view RGB (ResNet-18, FiLM-ResNet-18/34, CLIP), 3D Point Clouds (Furthest Point Sampling downsampling paired with either an MLP + MaxPooling or a 4-layer Self-Attention Transformer with a
[CLS]token), and Language (frozen CLIP ViT-B/32). - Backbones (The X-Block): Generalizes the Diffusion Transformer (DiT) block into an X-Block capable of wrapping Transformers, Mamba (selective state spaces with linear complexity), or xLSTM (exponential gating with matrix memory). Observation contexts are injected using Adaptive Layer Normalization (AdaLN).
- Macro-Architectures: Supports Decoder-only (joint sequence modeling over observations and actions) and Encoder-Decoder. To bypass the challenge that Mamba and xLSTM lack standard cross-attention mechanisms, the Encoder-Decoder injects encoder embeddings into the decoder directly via AdaLN conditioning.
- Policy Representations: Implements Behavior Cloning (MSE), Denoising Diffusion Probabilistic Models (DDPM), continuous-time score-based diffusion (BESO), and flow matching / Rectified Flows (RF).
Datasets
The authors evaluated X-IL across two major simulation benchmarks:
- LIBERO: Evaluated across four 10-task suites (
LIBERO-Spatial,LIBERO-Object,LIBERO-Goal,LIBERO-Long) under both low-data (20% demonstrations, 10 demos/task) and full-data (100% demonstrations, 50 demos/task) regimes. - RoboCasa: A large-scale kitchen simulation featuring intense intra-task variation (different object shapes, positions, furniture layouts, and visual distractors). Five atomic tasks were tested using 50 human demonstrations each:
CloseSingleDoor,OpenDrawer,TurnOnStove,CoffeePressButton, andCoffeeServeMug.
Key Insights and Ideas
- xLSTM and Mamba Rival (and Beat) Transformers: At matched parameter sizes, policies built on xLSTM and Mamba frequently surpassed Transformers. They exhibited stronger sample efficiency in low-data regimes and handled long horizons with superior stability.
- AdaLN Solves the Encoder-Decoder Dilemma for SSMs/RNNs: Standard Encoder-Decoder architectures rely on cross-attention, which does not naturally fit state-space or recurrent models. Using AdaLN conditioning to modulate the decoder with the encoder’s latent features provides a clean, universal bridge that consistently outperformed Decoder-only models.
- Point Clouds Aren't a Silver Bullet: Surprisingly, point cloud policies underperformed RGB policies on RoboCasa (32.8% vs. 53.6% average success). Standard Furthest Point Sampling (FPS) distributes points uniformly across large scenes (counters, appliances), leaving tiny manipulation targets (like coffee mug handles) represented by only a handful of points.
- Multimodal Synergy: Concatenating 3D point cloud features with 2D RGB features yielded substantial improvements over either modality alone, showing they provide complementary geometric and semantic cues.
- General Vision Encoders Need Domain Adaptation: Frozen CLIP representations performed drastically worse than fine-tuned FiLM-ResNets. The broad semantic features learned by CLIP do not translate directly to fine-grained spatial and affordance reasoning without adaptation.
Key Results
- LIBERO Benchmark:
- 20% Demonstrations:
Dec-xLSTMwith BESO reached 74.5% average success (vs. 64.4% for Transformer, 71.4% for Mamba, and 60.5% for prior SOTA MaIL). - 100% Demonstrations:
Dec-Mambaachieved 92.7% andDec-xLSTMachieved 92.3% average success with BESO, outperforming published models including Octo (75.1%), OpenVLA (76.5%), MDT (76.1%), and EnerVerse (88.5%). - RoboCasa Benchmark:
- On RGB inputs,
Dec-xLSTM(BESO) achieved 53.6% average success, significantly beating the paper baseline BC-Transformer (40.0%). - Combining RGB and Point Cloud inputs with
Dec-xLSTMpushed the success rate further to 60.9%. - Inference Efficiency: Evaluating BESO, DDPM, and RF at 1, 4, 8, 12, and 16 steps demonstrated that BESO and Rectified Flow maintained robust task success with as few as 4 sampling steps (~14.6 ms latency), whereas DDPM failed on single-step inference.
Limitations and Future Work
- Uniform Point Sampling Bottlenecks: Naive Furthest Point Sampling (FPS) discards critical task-specific details in cluttered environments. Future iterations will require task-aware or object-centric 3D sampling methods.
- Naive Multimodal Fusion: Modalities were integrated via simple feature concatenation. Developing structured cross-attention or gated fusion layers tailored for mixed modalities is an open direction.
- Robotics-Specific Pretraining: Because zero-shot vision-language models (CLIP) struggled, exploring robotics-specific visual pretraining remains essential to reduce reliance on training image backbones from scratch.
Summary updated