TL;DR
KeyStone is a training-free, judge-free inference wrapper that boosts the success rate of diffusion-based physical AI models by up to 13.3%. By parallel-sampling multiple action trajectories and using simple geometric clustering to select the most representative one, it eliminates stochastic sampling failures with virtually zero latency overhead.
What Problem Does This Paper Address?
State-of-the-art physical AI models—such as Vision-Language-Action models (VLAs) and World-Action Models (WAMs)—typically generate robot controls using diffusion or flow matching. Instead of predicting a single next action, they generate an "action chunk" (a short trajectory of future actions) by iteratively denoising a random noise sample.
While highly effective at capturing complex, multimodal behaviors, this process is inherently stochastic. A model might generate a perfect action chunk in round one, but land in a "failure region" during round two due to bad random initialization. Because a single robotic task requires executing multiple action chunks sequentially, these small per-round failure probabilities compound, leading to high episode-level failure rates.
Previous attempts to fix this via "test-time scaling" (sampling multiple trajectories and picking the best one) mirror language model techniques by training an auxiliary model to act as a "judge." However, training these selectors is incredibly expensive—often requiring hundreds of GPU hours per task—and adds significant computational latency during inference.
Methods
KeyStone introduces a simple, model-free alternative that acts as an inference-time wrapper around existing policies. The pipeline operates in four main steps at each decision round:
- Shared Context Expansion: The environment observations (images, robot states) and language instructions are processed once to generate a conditioning context. This context is logically expanded across a batch using
torch.expandwithout duplicating memory. - Batched Candidate Sampling: The model draws $K$ independent noise samples and runs them through the denoising loop simultaneously as a single batched forward pass.
- Unimodality Guard: Before clustering, KeyStone checks if the generated candidates are already in agreement. It measures the distance between the sample mean and the global medoid. If this distance falls below a threshold ($\tau = 0.3$), the distribution is deemed unimodal, and it skips clustering to avoid artificially splitting a good consensus.
- Cluster-Medoid Selection: If the distribution is multimodal, KeyStone runs a lightweight $k$-means algorithm ($C=2$) using Euclidean distance over the flattened action chunks. It identifies the largest cluster and returns its medoid (the actual sampled trajectory closest to the cluster's center). Crucially, selecting the medoid ensures the final action is a real output from the model's data manifold, avoiding the physically impossible or erratic behaviors that averaging trajectories (centroids) might cause.
Datasets
The authors evaluated KeyStone across three diverse simulation testbeds:
- LIBERO: Used for evaluating tabletop manipulation and long-horizon instruction following.
- SimplerEnv: Evaluated across both WidowX and Google Robot embodiments.
- RoboTwin 2.0: Used to test complex, dual-arm manipulation tasks.
Key Insights and Ideas
- Action Space Geometry is Meaningful: Unlike token spaces in LLMs or pixel spaces in image generators—where Euclidean distance lacks semantic meaning—action spaces are physically constrained and low-dimensional. Therefore, Euclidean distance directly maps to behavioral similarity. Successful actions naturally cluster tightly together, while failures scatter randomly. This geometric structure makes an expensive learned judge entirely unnecessary.
- Parallel Sampling is "Free": In image or video generation, diffusion is heavily compute-bound. In robotics, however, action trajectories are highly compact (typically around 100 dimensions). This shifts the bottleneck from compute to memory bandwidth. Because the heavy context processing is shared, GPUs have plenty of idle compute cores capable of running multiple ($K$) diffusion chains in parallel with near-zero wall-clock latency overhead.
Key Results
KeyStone consistently improved task success rates across all tested VLAs (such as $\pi_{0.5}$, SmolVLA, GR00T N1.6, X-VLA) and WAMs (Fast-WAM):
- Substantial Performance Gains: The largest improvement was seen with GR00T N1.6 on SimplerEnv-WidowX, where task success jumped by 13.3% (from 50.0% to 63.3%).
- Variance Reduction: KeyStone significantly tightened the standard deviation across evaluation runs, stabilizing robot behavior against random sampling noise.
- Matches Learned Selectors: On RoboTwin 2.0, KeyStone achieved a macro success rate of 64.4%, performing on par with TACO (66.0%), a state-of-the-art learned selector, but at zero training cost.
- Negligible Latency Overhead: As shown in the profiling results, choosing an optimal $K$ (e.g., $K=4$ for GR00T, $K=16$ for $\pi_{0.5}$) keeps the per-round latency and peak GPU memory virtually identical to the single-sample baseline.
Limitations and Future Work
- Dependence on Base Model Quality: KeyStone cannot fix a fundamentally broken model. If a policy is confidently wrong and clusters around an incorrect action, or if it fails to generate even a single successful candidate trajectory, cluster-medoid selection will still fail.
- Batch Size Assumptions: The latency-neutral benefits of KeyStone rely on a batch size of one (e.g., a dedicated GPU serving a single robot). If an accelerator is shared across a large fleet of robots, the available compute headroom will shrink, meaning $K$ would have to be scaled down to prevent latency spikes.
Summary updated