A Vision-Language-Action (VLA) model takes:
Instruction β [Big Black Box Model] β raw motor commands
(no structure, no reuse)
Think of it like this:
Imagine writing a computer program where every task requires rewriting everything from scratch, with no functions, no libraries, no reusable code.
Two core problems:
| Problem | Explanation |
|---|---|
| Poor long-horizon performance | No ability to chain structured sub-tasks reliably |
| Poor interpretability | Cannot understand what the model learned |
Before REFACTOR-VLA, two main approaches existed:
(e.g., AtomicVLA, AtomSkill)
Action sequences β Contrastive Embeddings β Cluster similar ones
β Problem: Clustering embeddings doesn't directly answer: "Do these two action sequences produce the same behavioral outcome?"
(e.g., BLADE, LRLL)
Action sequences β Ask LLM: "Are these equivalent?" β Group them
β Problem: The LLM has no knowledge of the robot's actual physics/dynamics. It's like asking someone who has never driven a car to judge if two driving maneuvers are equivalent.
None of these methods properly define behavioral equivalence in terms of what actually happens when the robot executes the actions.
REFACTOR-VLA introduces a wake/sleep architecture β borrowed conceptually from how the human brain consolidates learning:
βββββββββββββββββββββββββββββββββββββββββββββββ
β REFACTOR-VLA β
β β
β π΄ SLEEP PHASE βοΈ WAKE PHASE β
β (Discover Skills) (Use Skills) β
β β
β Cluster motor Generate typed β
β programs using BEK β lambda programs β
β from skill library β
βββββββββββββββββββββββββββββββββββββββββββββββ
The BEK answers: "Are two action sequences behaviorally equivalent?"
It does this by simulating outcomes in a learned latent world model (MΟ):
Action Sequence A βββ
ββββΊ MΟ (World Model) βββΊ Predicted Outcome A βββ
Action Sequence B βββ Predicted Outcome B βββ΄βββΊ Compare β Similarity Score
Analogy:
Instead of asking "do these two recipes look similar on paper?", you actually cook both dishes (in simulation) and compare the results.
Similar action segments β grouped into reusable skills
These are structured, composable mini-programs inspired by the Hindley-Milner type system (a formal system from programming language theory).
Simple analogy:
# Instead of raw commands:
[move_x: 2, move_y: 0, gripper: close, move_x: -1, ...]
# You get structured programs:
Ξ» pick(object: Cup) β Ξ» place(location: Table) β done
Why types matter:
| Feature | Benefit |
|---|---|
| Typed | Prevents nonsensical combinations (e.g., "pick a location") |
| Lambda terms | Skills are composable and reusable |
| Structured | Interpretable β you can read what the robot plans to do |
The typed lambda terms are fed into a library-conditioned rectified-flow action decoder that converts the structured program back into actual motor commands.
Typed Lambda Term β [Rectified Flow Decoder] β Motor Commands
(structured) (conditioned on skill library) (executable)
REFACTOR-VLA uses two filters before adding a skill to the library:
"Does adding this skill actually compress our description of behavior?"
Analogy: Only add a word to a dictionary if it saves space overall β not if it's so specific it's only used once.
MDL Check: Length(library + skill) < Length(without skill)?
YES β Keep skill | NO β Discard
"Does using this skill maintain task performance?"
Performance with skill β₯ threshold?
YES β Accept | NO β Reject
Together: These gates ensure the library stays compact, useful, and performance-preserving.
Phase A Phase B Phase C
ββββββββ ββββββββ ββββββββ
World Model β Policy β Skill
Warmup Optimization Discovery
Train MΟ Train policy Cluster action
(+ InfoNCE using skill fragments into
loss) library reusable skills
| World Model Size | Performance on 4 Suites |
|---|---|
| 188M parameters | β Better |
| 430M parameters | β Worse on all 4 |
Lesson: Simply scaling up the world model hurts performance. Architecture and training objectives matter more than raw size.
Measured by Normalized Mutual Information (NMI) β scores closer to 1.0 = better clustering:
| Benchmark Suite | NMI Score |
|---|---|
| Object | 0.462 Β± 0.021 |
| Spatial | 0.867 Β± 0.025 |
| Goal | 0.915 Β± 0.013 |
| LIBERO-10 | 0.754 Β± 0.010 |
Lesson: The training objective (adding InfoNCE) is a high-leverage design choice β more impactful than model size.
REFACTOR-VLA System
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
INPUT: Raw demonstrations (video + language + actions)
PHASE A: Train World Model MΟ with InfoNCE loss
β Learns to simulate robot outcomes accurately
PHASE C: Sleep β Use BEK + MΟ to cluster action segments
β Discover behaviorally equivalent skill groups
β Filter with MDL + Return-Preservation gates
β Build reusable SKILL LIBRARY
PHASE B: Wake β Policy generates typed lambda terms
β Selects and composes skills from library
β Rectified-flow decoder produces motor commands
OUTPUT: Structured, interpretable, reusable robot behaviors
that work on long-horizon tasks
| Concept | One-Line Summary |
|---|---|
| Monolithic VLA | Raw command generation, no reusable structure |
| BEK | Measures behavioral equivalence via world model simulation |
| Latent World Model (MΟ) | Simulates robot outcomes cheaply |
| Typed Lambda Terms | Structured, composable skill programs |
| MDL Criterion | Keeps library compact and non-redundant |
| Return-Preservation Gate | Ensures skills don't hurt performance |
| Wake/Sleep Architecture | Alternates between using and discovering skills |
| InfoNCE Loss | Contrastive objective that improves skill clustering quality |
| NMI | Metric measuring clustering quality (0=random, 1=perfect) |