Red-Teaming of Vision-Language-Action Models via Quality Diversity Environment Generation

Q-DEG (Quality Diversity for Diverse Environment Generation) searches for diverse adversarial environments that expose VLA failures and uses them to improve robustness.

Anonymous Authors

Motivation and approach

Vision-Language-Action (VLA) models perform well on robotic pick-and-place tasks when the environment is within or near their training distribution. However, they can fail when the environment is perturbed in ways such as object positions, background, lighting, and camera angle. Different VLAs have different vulnerabilities, so hand-designed benchmarks may miss failure modes that are specific to a model. Red-teaming methods probe a target model for vulnerabilities, but existing approaches have yet to use interpretable simulator parameters as the search space.

By running Quality-Diversity (QD) search on environment parameterizations, Q-DEG generates a collection of diverse adversarial environments targeting a VLA model. Environments in the collection cause the VLA to fail while inducing diverse pre-action layer activations from the VLA. The latter represents the VLA's experience in an environment, so diversifying these activations allows Q-DEG to capture a range of failure modes.

After QD search, Q-DEG patches discovered failure modes by fine-tuning the VLA to imitate its own successful trajectories collected in these environments. This improves its robustness to environmental changes without requiring additional data collection.

Q-DEG pipeline

  1. Generate environments.

    CMA-ES proposes environment parameters such as object locations, background, lighting, and camera pose. A MIQP repair step ensures the environments' validity.

  2. Evaluate the VLA.

    Target VLA is rolled out multiple times in each proposed environment to estimate the failure rate and the VLA's "experience" encoded through policy embeddings (VLA's pre-action layer activations).

  3. Update the archive.

    Each environment is added to the QD archive based on its policy embeddings, and rewarded with its failure rate improvement over predecessors with similar embeddings. CMA-ES learns from these rewards to propose diverse adversarial environments.

  4. Fine-tune through self-imitation.

    Target VLA is fine-tuned to imitate its own successful trajectories on archived environments that are feasibly adversarial (on which the VLA neither succeeds nor fails all the time).

Simulation experiments

We evaluate Q-DEG in two stages: first as a red-teaming method for discovering diverse, feasibly adversarial environments based on LIBERO-Spatial tasks, then as a source of self-imitation data for robustness fine-tuning. The evaluation is performed across three target VLA models: π0-FAST, OpenVLA-OFT, and π0.5. We compare Q-DEG against two baselines using the same environment parameterization and VLA rollout budget.

Rand(omization) Samples from fixed Gaussian distributions centered on each task's default parameters; it does not adapt or perform QD search.
CMA-ES Adapts the environment parameter distributions toward high VLA failure rates, but disregards embedding diversity and does not perform QD search.

Environment count and diversity

Q-DEG matches or exceeds baselines in the number of feasibly adversarial environments found, but its environments are more diverse across all three VLAs. We measure diversity by obtaining the DINOv2 embedding for each environment's initial overview, and then computing the average pairwise embedding distance across environments found by each method.

Q-DEG Rand CMA-ES
Environment countNum. of feasibly adversarial environments
Loading chart…
Environment diversityAvg. pairwise DINOv2 embedding distance
Loading chart…

Lines show the mean over three trials. Shaded regions show 95% confidence intervals.

VLA success rates on default and adversarial evaluation sets

Across all three target VLAs, the checkpoints fine-tuned on Q-DEG data achieve the highest average success rates across the four evaluation sets. They consistently outperform the corresponding base checkpoints on adversarial evaluation sets and retain high success rates on environments generated by the baseline methods. In contrast, the baseline-fine-tuned checkpoints transfer poorly across evaluation sets, suggesting that the limited diversity of their fine-tuning data restricts generalization.

Rows denote the default LIBERO-Spatial tasks and adversarial evaluation sets generated by each method; columns denote the base VLA and checkpoints fine-tuned on successful trajectories collected during each method's rollouts.

π0.5 success rates, in percent
Evaluation setBaseRandCMA-ESQ-DEG
Default98.4085.6093.6095.60
Rand77.3877.9883.3388.09
CMA-ES54.9849.3969.1758.00
Q-DEG38.0361.8270.4581.81
Average67.2068.7079.1480.88

Feasibly adversarial environments found by each method

To visualize a target VLA's vulnerabilities, Q-DEG organizes generated adversarial environments into a heatmap that maps the VLA's experience of each environment, represented by policy embeddings, to its failure rate. We create comparable heatmaps for the baseline methods. Intermediate colors indicate feasibly adversarial environments, where the VLA sometimes succeeds and sometimes fails. Across three VLAs, the feasibly adversarial environments found by Q-DEG generally show better coverage over (PCA-reduced) embedding space. Randomization found few such environments, whereas CMA-ES focused on clusters of similar embeddings.

The heatmap positions environments using the first two principal components of the policy embeddings, so nearby cells represent environments that are similar from the VLA's perspective. Hover over a marked cell to compare its behavior before and after robustness fine-tuning.

Sim-to-real evaluations

We examine whether the robustness gains observed in simulation transfer to the real world. For two custom tasks, we red-team π0.5 with Q-DEG and the same baselines, fine-tune separate checkpoints on each method's successful rollouts, and evaluate them on a physical robot over 20 trials per task.

The checkpoint fine-tuned with Q-DEG performs best among the policies evaluated, outperforming the base π0.5 model and both baselines' checkpoints. These results are preliminary, but provide an initial indication that the robustness gained through Q-DEG in simulation can facilitate sim-to-real transfer.

The overview images show the final gripper position in each trial: green denotes success and red denotes failure.

BibTeX

            

Coming soon