Flow-matching-based vision-language-action (VLA) models have emerged as powerful policies for robotic manipulation, yet a critical capability remains underexplored: fine-grained behavioral control, the ability to govern how a robot performs a task by intervening on its internal representations. Representation steering is a well-established interpretability tool for language and vision-language models, where behavioral features are typically encoded as linear directions, but we show that these classic methods fall short in VLAs. We propose DiMaS, a Distribution Matching Steerubf strategy tailored to flow-matching VLAs, which transports between representation distributions rather than shifting along a fixed direction, and show that it effectively controls behavior across two state-of-the-art VLAs.
| Baseline (unsteered) | Steered (high → low) |
|---|---|
![]() |
![]() |
The end-effector moves noticeably slower after steering.
| Baseline (unsteered) | Steered (low → high) |
|---|---|
![]() |
![]() |
The end-effector moves higher (larger |Δz| per step) after steering.
-
Install
xl_vlasitself, from the repo root:pip install -e . -
Install
lerobot, version0.5.0.Follow the official installation guide: https://huggingface.co/docs/lerobot/installation The package versions pinned by
lerobotshould work correctly. -
Install LIBERO separately, then make sure Python can find it. Open
src/lerobot/envs/libero.py(inside yourlerobotinstall) and add at the top of the file:import sys sys.path.append("/path/to/LIBERO")
⚠️ Required for extraction/steering to work. xl-vlas patches twolerobotfiles to expose the hook points used throughout this repo (model.vlm_with_expert.layer_hooks.{0,1}.*, seescripts/examples/). Copy both files fromsrc/xl_vlas/lerobot_changes/over the matching files in yourlerobotinstall:File in lerobot_changes/Target in your lerobotinstalllibero.pysrc/lerobot/envs/libero.pysmolvlm_with_expert.pysrc/lerobot/policies/smolvla/smolvlm_with_expert.pyWithout this,
layer_hooksdoesn't exist on the model and every--modules_to_hook/--hook_namesflag inscripts/examples/will silently attach to nothing. -
LIBERO rendering requires a GPU and headless EGL rendering:
export MUJOCO_GL=egl
No separate dataset download is needed, all experiments run on the
LIBERO simulation
benchmark (task suites such as libero_object, libero_spatial,
libero_goal), which is installed as part of the Environment setup above.
xl-vlas steers pretrained VLA policies. The
checkpoints are pulled automatically from the Hugging Face Hub the first
time you run a script (set HF_HOME to control the cache location):
| Policy | Hugging Face Hub id |
|---|---|
| SmolVLA | HuggingFaceVLA/smolvla_libero |
| PI-0.5 | lerobot/pi05-libero |
Pass the checkpoint via --policy.path=<hub-id-or-local-path> to
src/xl_vlas/save_features.py (see scripts/examples/ below).
The scripts that produced the full sweep of results in the paper are not
part of this public release. To reproduce the method end to end
extraction, steering-vector training, and steered inference see the
Examples section below, which walks through the same pipeline
on a smaller scale (libero_object, 10 episodes/task) that runs on a single
GPU.
- speed : steers the robot's end-effector to move faster/slower.
- z-displacement : steers the robot's end-effector to move more or less vertically.
Both use the exact same underlying mechanism (mapping between a "low" and "high" activation cluster), only the quantity used to define "low" vs "high" differs, so the two pipelines are structurally identical.
extraction/{SmolVLA,PI_0.5}/{FM,VLM}/extract_baseline.sh
│
│ Extracts and saves hidden states representations for
│ (VLM = vision-language backbone,FM = flow-matching / action-expert layers)
│
▼
steering/{speed,z-displacement}/{SmolVLA,PI_0.5}/01_train_steering_vector.sh
│
│ reads the saved representations, and trains DiMas map between the two designed groups
│
│
▼
steering/{speed,z-displacement}/{SmolVLA,PI_0.5}/02_apply_steering.sh
│
│ runs rollouts on held-out tasks, this time injecting the
│ steering vector into the model's activations at inference time
▼
If you use this code, please cite:
@inproceedings{khayatan2026dimas,
title = {{DiMaS}: Distribution Matching for Steering Vision-Language-Action Models},
author = {Khayatan, Pegah and Meziane, Sara and Parekh, Jayneel and Cord, Matthieu},
booktitle = {ECCV 2026 Workshop on Explainable Computer Vision: Challenges and Opportunities in the Era of Foundation Models (Proceedings Track)},
year = {2026},
url = {https://openreview.net/forum?id=dksx9PtSZ1},
}



