Test-time verifier for a frozen SmolVLA policy on LIBERO

A 5.03M-parameter verifier that scores candidate action chunks of a frozen SmolVLA policy. At every decision step the policy samples K candidate chunks, the verifier assigns each candidate an episode outcome score, and the highest-scoring candidate is executed. The policy weights are not changed.

One model covers all 40 LIBERO tasks (libero_spatial, libero_object, libero_goal, libero_10); the task is given through the language input.

This is the verifier of the paper A Test-Time Verification Model for Robot Manipulation Tasks with Frozen Vision-Language-Action Models. Code for data collection, training and evaluation: https://github.com/Dowon-Study/recovering-latent-capability-in-frozen-vision-language-action-policies-via-test-time-verification

Files

File Content
model.safetensors Weights and input-normalisation buffers
config.json Model configuration, input sizes, training summary
verifier.py Model definition (PaperGate: dynamics MLP + state-attention classifier)
features.py Feature extractors for the image, language and robot-state inputs
load.py load_verifier, score_candidates
example.py Loading and shape check
LICENSE Apache License 2.0

Model

Module Parameters Description
Language projection 61,504 Linear 960 → 64
Dynamics MLP 3,927,972 Input layer, 4 residual MLP blocks (width 512, inner width 808, LayerNorm, ReLU, dropout 0.1), predicts the change of the 26-d robot state for each of the 10 steps; changes are accumulated onto the current state
State-attention classifier 1,039,493 Learned positions, one self-attention layer (8 heads, width 256), FFN 512, learned-query pooling, head 256 → 128 → 64 → 1
Total 5,028,969

Inputs and predicted state changes are standardised with fixed statistics stored in the checkpoint (buffers, not trained).

Inputs

Input Shape Definition
robot (26,) 8-d proprioceptive state given to the policy, 9 joint positions, 9 joint velocities
image (768,) DINOv2 ViT-S/14 (facebook/dinov2-small) CLS features of the agent-view and wrist-view images, 384 each
language (960,) Mean of the SmolVLA language-token embeddings of the instruction
actions (10, 7) First 10 steps (H = 10) of a 50-step candidate action chunk

Output: one logit per candidate; sigmoid(logit) is the episode outcome score in [0, 1]. The score is meant for ranking the candidates of the same decision step. It is not a calibrated probability of success (expected calibration error of about 0.1 in the paper).

Usage

from load import load_verifier, score_candidates

model = load_verifier(device="cuda")
# robot (26,), image (768,), language (960,), candidates (K, 10, 7)
scores = score_candidates(model, robot, image, language, candidates)
chosen = candidates[scores.argmax()]

features.py contains the functions that produce image, language and robot from a LeRobot LIBERO observation and a loaded SmolVLA policy.

Scoring K = 5 candidates takes 1.05 ± 0.02 ms on an NVIDIA RTX PRO 6000 GPU; one decision step takes 350.6 ± 1.5 ms with the verifier and 321.3 ± 4.2 ms for the raw policy (mean ± standard deviation over 100 measurements).

Evaluation protocol

  • Policy: frozen SmolVLA (HuggingFaceVLA/smolvla_libero), 50-step chunks, the first 10 steps of the chosen candidate are executed. The raw policy uses the same protocol with one sample per decision step.
  • K = 5 candidates per decision step.
  • A test unit is 40 tasks × 10 episodes = 400 episodes. The raw policy and the verifier-guided policy use the same episode seeds and initial states.
  • Episode seed = evaluation seed + suite index × 100000 + task index × 1000 + episode index.
  • Evaluation seeds: 720000, 750000, 760000. Evaluation episodes are not used to train or validate the verifier.

Results

Paper result: 30 test units

Ten test units under each of the three evaluation seeds (12,000 episodes). Success rate as mean ± standard deviation over the test units:

Evaluation seed Raw policy With verifier (K = 5)
720000 67.7 ± 3.2% 77.6 ± 2.6%
750000 67.5 ± 2.2% 80.8 ± 2.2%
760000 67.5 ± 2.4% 78.6 ± 1.5%
All (30 test units) 67.6 ± 2.5% 79.0 ± 2.5%
95% confidence interval of the mean [66.6, 68.5] [78.1, 79.9]

By suite, raw → verifier: libero_spatial 63.7% → 76.9%, libero_object 88.9% → 95.9%, libero_goal 74.1% → 85.3%, libero_10 43.7% → 57.9%.

A single test unit varies by about 2.5 percentage points, so one 400-episode evaluation is not enough to compare two conditions.

One test unit per evaluation seed

Success out of 400 episodes per evaluation seed.

Evaluation seed Raw policy With verifier (K = 5)
720000 267 (66.8%) 310 (77.5%)
750000 278 (69.5%) 338 (84.5%)
760000 268 (67.0%) 314 (78.5%)
Total (1,200) 813 (67.8%) 962 (80.2%)
  • 95% Wilson intervals over 1,200 episodes: raw [65.1, 70.3], verifier [77.8, 82.3].
  • Paired difference +12.4 percentage points, 95% bootstrap interval [9.6, 15.2]; exact McNemar test p < 0.001 (235 episodes solved only with the verifier, 86 only by the raw policy).

By suite on these 1,200 episodes (300 episodes per suite), raw → verifier: libero_spatial 63.3% → 75.7%, libero_object 91.0% → 94.7%, libero_goal 71.7% → 87.7%, libero_10 45.0% → 62.7%.

Verifiers trained with three training seeds reach 80.2%, 79.5% and 80.4% on these three test units; this checkpoint is training seed 0.

Training

Item Value
Data 6,000 rollouts of the SmolVLA policy on the 40 tasks: 4,381 successful and 1,619 failed episodes
Labels Episode outcome (success or failure) for every 10-step window of the episode
Loss Binary cross-entropy on the episode outcome + mean squared error of the predicted robot-state changes (weight 1)
Optimiser Adam, learning rate 1e-3, weight decay 1e-4, one-cycle schedule with 5% warm-up, gradient clipping 5
Batch size / steps 1,024 / 20,000
Validation Episode-level split (10% of the episodes held out); the checkpoint with the highest mean per-task validation AUC is kept (evaluated every 2,000 steps)
Selected checkpoint Step 20,000, validation AUC 0.941
Training seed 0

The training rollouts were collected over several rounds in which the policy was guided by earlier per-task verifiers, so the data contain both raw and verifier-guided behaviour.

Limitations

  • Trained and evaluated on the same 40 LIBERO tasks; LIBERO provides 50 fixed initial states per task, which are shared between training rollouts and evaluation. Behaviour on unseen tasks was not measured.
  • This checkpoint is one training seed; the spread over three training seeds is given above.
  • The score ranks candidates of the same state. It is not calibrated and should not be read as a success probability.
  • The verifier depends on the feature extractors listed above and on this SmolVLA checkpoint; other policies or camera setups need their own training data.

License

Apache License 2.0 (see LICENSE).

Citation

Downloads last month
60
Safetensors
Model size
5.03M params
Tensor type
F32
·
Video Preview
loading