Geometry Guided Self-Consistency for Physical AI Yinwei Dai Zhuofu Chen, Lijie Yang Ravi Netravali Abstract State-of-the-art physical AI models generate a chunk of actions per inference through diffusion or flow matching, iteratively refining an initial noise sample into an action trajectory. Because this inference process is inherently stochastic, committing to a single trajectory per round is brittle, and this brittleness compounds across the many sequential rounds that comprise a complete episode. We introduce KeyStone, an inference-time self-consistency method for diffusion-based action generation that draws K K candidate action chunks in parallel from a shared model context, clusters them in continuous action space, and returns the medoid of the largest cluster – no additional model required. Two properties make this practical. First, the compact nature of action trajectories makes diffusion inference memory-bandwidth bound, leaving spare compute capacity to run K K chains in parallel with no additional wall-clock latency. Second, unlike token or pixel spaces where distance carries no semantic meaning and selection requires a learned judge, action chunks are geometrically structured such that Euclidean distance directly reflects physical similarity, making selection principled and judge-free. Across diverse vision-language-action models (VLAs) and world-action models (WAMs), KeyStone improves task success rates by up to 13.3% over single-trajectory sampling with negligible latency overhead, while having on par accuracy with model-based selectors at no training cost. We open source KeyStone at https://github.com/dywsjtu/keystone . 1 Introduction Diffusion and flow-matching models have become the dominant paradigm for action generation in physical AI. They power vision-language-action models (VLAs) ( 3 ; 8 ; 18 ; 20 ; 26 ) as well as world-action models (WAM) ( 25 ; 24 ; 10 ) that couple action generations with a future-observation prediction. Across this family, the action generation paradigm is the same: at each call, the model denoises an initial noise sample into a chunk of actions, which is then executed open-loop on the robot before the model is queried again for the next chunk. This design captures the multimodal action distributions inherent in manipulation tasks and produces a smooth, temporally coherent control over continuous action spaces. A complete physical AI task, therefore, consists of many sequential rounds of action chunk sampling and execution. This sampling-and-execution loop, however, is inherently stochastic. At each round, the policy starts from a fresh noise sample and iteratively refines it into an action chunk; different initial noises lead to different chunks, and not all of them succeed. Some fall into failure regions of the action space—chunks that, when executed, derail the task even when prior rounds were successful (Fig. 1 b). Worse, this brittleness compounds: an episode comprises many rounds of chunk sampling (Fig. 1 a), so even a small per-round probability of landing in a failure region accumulates into a substantial episode-level failure rate. Committing to a single sample per round, the standard practice today, leaves task success at the mercy of sampling noise. Figure 1: Brittleness of single-trajectory sampling in physical AI. (a) A complete episode consists of many rounds of action chunk sampling and open-loop execution. Each round’s stochastic sampling can derail the task. (b) At each round k , we draw many candidate chunks from GR00T N1.6 ( 18 ) on SIMPLER ( 13 ) , execute each to episode end, and label the outcome success or failure (chunks are projected via per-round PCA). success chunks cluster densely while failure ones scatter. The inset shows the corresponding end-effector paths in 3D: success chunks lead to closer 3D trajectories that reach the goal, while a failure one clearly diverges. KeyStone exploits this by sampling multiple action chunks and selecting the medoid of the largest cluster at each round ( green stars ); chained together, these selections form the KeyStone trajectory . A natural response to sampling stochasticity is test-time scaling: draw multiple candidates and select (e.g., self-consistency ( 21 ) ), as studied extensively in language models ( 21 ; 5 ; 14 ) . Recent work brings this paradigm to physical AI ( 12 ; 23 ) , sampling multiple action candidates and selecting among them with a learned selector trained on the physical AI model’s fine-tuning dataset to score how well a candidate matches the in-distribution success modes. This adds non-trivial costs: an extra model to train per task and embodiment (hundreds of H100 hours in TACO 23 for \pi_{0.5} on LIBERO 15 , which exceeds \pi_{0.5} ’s fine-tuning itself), plus an extra forward pass per round at inference. Our key observation is that the geometry of sampled action chunks is surprisingly powerful: it directly encodes the model’s concentration on in-distribution behaviors, making the overheads associated with explicit learned selectors largely unwarranted. Action chunks live in a continuous space whose structure is constrained – every action is bounded by the robot’s physical degrees of freedom – so the Euclidean distance between two action chunks directly reflects whether they would drive the robot to similar execution trajectories. Unlike token or pixel spaces where Euclidean distance carries no semantic meaning (necessitating judges to bridge the gap), action spaces are physically constrained and low-dimensional, making distance a direct proxy for behavioral similarity. The model’s concentration on in-distribution behaviors therefore manifests directly as a dense cluster of geometrically proximate candidates; Fig. 1 b shows this structure empirically. Capitalizing on these insights, we present KeyStone , an inference-time self-consistency method that, at each round, draws K candidate action chunks in parallel from a single shared context, clusters them in the continuous action space, and returns the medoid of the largest cluster as the chunk to execute. Importantly, because diffusion inference for action generation is memory-bandwidth bound, KeyStone’s parallel sampling fits within spare compute capacity and adds no additional wall-clock latency per round. This is because, unlike image and video diffusion, where the diffusion processes are compute-bound due to the large input dimensions, action diffusion operates over compact trajectories (typically O(100) dimensions), shifting the bottleneck from compute to memory bandwidth and leaving substantial parallel compute headroom unused. We evaluate across diverse VLAs and WAMs, and workloads, setting K to the largest value that preserves per-round latency, and find that KeyStone improves task success rates by up to 13.3% over single-trajectory sampling and is comparable with the model-based test-time scaling approach TACO at zero training cost. More broadly, KeyStone shows that physical AI models inherently possess everything needed for successful self-consistency: the geometry to select without a judge, and the compute headroom to sample without added latency. 2 Background and Related Work Action generation via diffusion and flow matching. Physical AI models map observational inputs—camera images, robot states, task instructions—to actions, low-level motor commands such as gripper signals or joint positions. To meet real-time constraints, state-of-the-art models output action chunks , or short sequences of future actions generated by iteratively refining an initial noise sample via diffusion or flow matching. This paradigm underlies VLAs such as \pi_{0} ( 8 ) , GR00T ( 18 ) , and SmolVLA ( 20 ) , as well as world-action models (WAMs) such as FastWAM ( 25 ) , Cosmos ( 10 ) , and DreamZero ( 24 ) , which additionally predict future observations such as video frames. Test-time scaling in text and image generation. Sampling multiple candidates and selecting among them is a well-established way to improve generative model outputs. Model-free approaches avoid any auxiliary scorer: they select among candidates using a property of the candidates themselves, such as exact-match agreement on discrete final answers ( 21 ) or the model’s own output confidence ( 7 ) . Model-based approaches train a separate scorer when no such property is available—verifiers and process reward models ( 5 ; 14 ) for reasoning, and for image generation ( 22 ; 11 ; 16 ) . Test-time scaling in action generation. Earlier work extended test-time scaling to autoregressive VLAs. RoboMonkey ( 12 ) samples K action candidates and selects with a VLM-based verifier; V-GPS ( 17 ) trains a value function for the same purpose; MG-Select ( 9 ) scores candidates model-free via KL divergence from a condition-masked reference distribution. As physical AI has shifted toward diffusion- and flow-matching architectures, recent work has adapted selection to this paradigm. TACO ( 23 ) trains a pseudo-count estimator on the finetuning data and selects the candidate with the highest estimated count, constraining outputs to the finetuning data distribution. However, the auxiliary estimator adds inference overhead and must be retrained from the finetuning data and model-internal features at a cost of hundreds of H100 hours per task or embodiment—prohibitive given how often physical AI models are finetuned. The existing model-free direction does not transfer either: methods such as MG-Select rely on token-level confidence signals that an autoregressive model exposes natively from its final classifier, which diffusion- and flow-matching models lack. KDPE ( 19 ) applies kernel density estimation to the final action of N independent action chunks without a learned model. However, this does not scale to the dimensionality of full action chunks, forcing selection based on a single action point and discarding geometric signal across the rest of the chunk. KDPE also requires a task-specific manifold-aware kernel for each action representation. KeyStone instead exploits the general geometric structure of continuous action spaces to cluster over complete action chunks without task specific design, capturing richer signal across the full chunk. Overall, KeyStone is, to our knowledge, the first latency-neutral, judge-free test-time scaling method for diffusion- and flow-matching VLAs and WAMs, grounded in the geometric structure of continuous action spaces. 3 KeyStone We introduce KeyStone, a drop-in inference-time wrapper for stochastic diffusion- and flow-matching physical AI models. At each round of the standard sample-and-execute loop, KeyStone draws multiple action chunks from the same encoded observations (e.g., camera images and robot states) and task instruction, identifies the largest cluster in continuous action space, and executes that cluster’s medoid – a real sampled chunk rather than a synthesized average. The method is therefore model-free: it uses only the geometry of the sampled action chunks, rather than a learned or task-specific selector. 3.1 Method Overview Let c_{t} denote the encoded context at round t , including the task instruction, camera observations, and robot state. A diffusion- or flow-matching model maps this context and an initial noise tensor \epsilon to an action chunk: a=G_{\theta}(c_{t},\epsilon),\qquad\epsilon\sim\mathcal{N}(0,I), (1) where a is the sequence of future actions that will be executed sequentially before the next model call. Standard deployment draws one \epsilon and commits to the resulting chunk. KeyStone instead draws K independent noises \{\epsilon_{i}\}_{i=1}^{K} under the same context and obtains a_{i}=G_{\theta}(c_{t},\epsilon_{i}),\qquad i=1,\dots,K. (2) It then chooses one candidate a^{\star}\in\{a_{i}\}_{i=1}^{K} to execute. We return an actual generated action chunk, rather than an averaged trajectory, so the output remains on the model’s sampled action manifold and does not interpolate between distinct modes. 3.2 Latency-Preserving Parallel Sampling The key efficiency insight is that K parallel chains can add no wall-clock latency when the dominant inference cost is context computation, because that context is shared across all candidates. Action diffusion operates over compact trajectories rather than large image or video latents, so the denoising computation is small and memory-bandwidth bound. This leaves free compute headroom for parallel sampling: once the shared prefix has been computed, adding candidates mainly adds small action-state tensors and batched denoising or flow updates. Candidates share the same conditioning context. For VLAs, the image and language inputs are identical across candidates, so KeyStone computes the vision language model prefix once and reuses the resulting features or the transformer key-value (KV) cache for all K denoising chains. For WAMs, the same idea applies. The observation is passed through the video generation backbone once to produce the shared latent world embeddings. In implementation, this is a logical batch expansion: shared prefix feature tensors are first given a candidate dimension and expanded with torch.expand , so the K candidates share the same underlying storage rather than materializing K copies of the context. At each denoising or flow update step, the model processes those K candidates as a single batched forward pass. In practice, we choose K by profiling the target model on the deployment hardware and use the largest value whose per-round latency matches single-sample inference. We discuss the implementation details in the appendix. 3.3 Candidate Selection The core insight behind our selector is that action chunks are ordered sequences of bounded robot commands. Nearby chunks in continuous action space correspond to physically similar execution trajectories by construction, so the largest dense region provides a natural model-free notion of consensus. KeyStone therefore clusters the sampled chunks in action space and executes the medoid rather than the centroid of the dominant cluster. This guarantees that the selected action is a real model output, avoiding interpolation between distinct modes that could produce trajectories that are physically invalid and inconsistent with the model’s output distribution. To achieve that, each candidate chunk is first flattened into a vector x_{i} , and all pairwise L2 distances are computed in one batched tensor operation: \Delta_{ij}=\lVert x_{i}-x_{j}\rVert_{2}. (3) Before clustering, KeyStone first checks whether clustering is needed. This guard handles a simple failure mode of forced clustering: when the candidate distribution is already unimodal, k-means can split one valid cluster into arbitrary halves, causing the selector to return the medoid of an artificial subcluster rather than the global medoid. To avoid this, KeyStone computes the global medoid m=\arg\min_{i}\sum_{j}\Delta_{ij} and measures how far the sample mean \bar{x} lies from that medoid, normalized by the median pairwise distance: s=\frac{\lVert\bar{x}-x_{m}\rVert_{2}}{\operatorname{median}_{i1 , the wrapper intercepts action generation, constructs a candidate batch from independent noise samples. The selector returns one selected action chunk, and the testbed passes that chunk through the same downstream execution path used by the baseline. We run our evaluations on NVIDIA A6000-48GB GPUs. Models. Across these three testbeds, we evaluate KeyStone on physical AI models spanning VLAs and WAMs, including \pi_{0.5} ( 8 ) , SmolVLA ( 20 ) , GR00T N1.6 ( 18 ) , X-VLA ( 26 ) , StarVLA (Qwen VLM + GR00T action diffuser) ( 6 ) , and Fast-WAM ( 25 ) . Workloads. We use simulated manipulation workloads from LIBERO ( 15 ) , SimplerEnv ( 13 ) , and RoboTwin 2.0 ( 2 ) . For SimplerEnv, we evaluate both supported robot embodiments used in our results: WidowX and Google Robot. The workloads span single-arm tabletop manipulation, long-horizon instruction following, cross-embodiment settings, and dual-arm manipulation. Metrics. Our primary metric is task success rate. Within each workload, every task is evaluated over the same number of episodes used by the baseline configuration in their papers or implementations, typically 24–100 episodes per task mentioned above. Each episode is one independent closed-loop rollout: the testbed instantiates the simulator from one of the task’s initial conditions (object poses, target configurations, scene seeds), executes the model in closed loop until the task succeeds or a fixed step budget is reached, and records a binary success label using the task’s success criterion. The per-task success rate is the fraction of these episodes that succeed, and the workload-level success rate reported in our tables is the average of the per-task rates within the workload. For each model–workload pair, we repeat this full evaluation five times unless otherwise noted—each repeat re-samples the per-episode sampling noise—and report the mean and one-standard-deviation range across the five repeats. The reported standard deviation therefore captures only the across-repeat variation ; within-repeat noise is already absorbed into each repeat’s per-task success rate. We also report end-to-end per-round latency, which includes model inference for sampling the K candidates and final selection, and peak GPU memory during the same action-generation round. 4.2 Latency and Overhead Figure 2: End-to-end per-round latency and peak GPU memory as the number of sampled action chunks increases. We measure the wall-clock latency of one action-generation round at K\in\{1,4,8,16\} , including model inference, the overhead of sampling K candidates, and KeyStone’s selection step. We also report the peak GPU memory used by the same generation round. Figure 2 reports KeyStone’s end-to-end latency and peak GPU memory as the number of sampled candidates K increases. The latency measurement includes model inference, parallel candidate sampling, and the cluster-based selection step. Drawing multiple candidate chunks in parallel adds little latency over the operating range used in our evaluations. Peak GPU memory also remains stable across these K values. This scaling comes from two properties. First, the shared model context is encoded and stored in memory once per round rather than once per candidate. Second, the per-candidate diffusion computation operates on compact action chunks. This compact action representation makes the diffusion process memory-bandwidth bound, leaving compute headroom for parallel candidate sampling without increasing latency. It also keeps the added activations and candidate-selection state small, adding little GPU memory overhead. We therefore choose the largest K whose end-to-end latency remains close to the K=1 baseline. For GR00T and X-VLA, latency begins to inflate beyond K=4 , so we use K=4 in the subsequent evaluation. For the remaining models, we set K=16 as the latency stays close to the baseline. These measurements assume the common single-robot deployment setting with a dedicated GPU; Section 5 discusses the shared-accelerator case where the spare compute headroom that KeyStone’s parallel sampling relies on may shrink, and K should be re-profiled against the actual deployment workload. 4.3 Task Success Rates Table 1 reports the workload-level success rate—computed as described in Section 4.1 —for every model–workload pair, comparing the K{=}1 baseline against KeyStone at the per-model K chosen in Section 4.2 ( K{=}4 for GR00T N1.6 and X-VLA, K{=}16 for the rest). Bold marks the higher mean per row, and the \Delta column gives the absolute success rate improvement of KeyStone over the baseline. Table 1: Aggregate task success rates (%) on simulated manipulation workloads. Mean \pm one standard deviation across 5 runs, where each run is macro-averaged across the tasks within each workload. \Delta is the absolute (percentage-point) improvement of KeyStone over the K{=}1 baseline. Workload Model K Baseline ( K{=}1 ) KeyStone \Delta LIBERO \pi_{0.5} 16 96.8 \pm 0.7 97.8 \pm 1.1 +1.0 LIBERO SmolVLA 16 50.4 \pm 2.1 57.2 \pm 1.3 +6.8 SimplerEnv – WidowX GR00T N1.6 4 50.0 \pm 4.3 63.3 \pm 2.9 +13.3 SimplerEnv – WidowX X-VLA 4 92.7 \pm 1.0 95.8 \pm 1.0 +3.1 SimplerEnv – WidowX StarVLA 16 52.8 \pm 1.6 59.7 \pm 1.3 +6.9 SimplerEnv – Google Robot GR00T N1.6 4 79.4 \pm 3.5 86.7 \pm 1.5 +7.3 Robotwin 2.0 Fast-WAM 16 90.0 \pm 1.5 93.0 \pm 1.0 +3.0 KeyStone improves every model–workload pair, with absolute gains of +1.0 to +13.3 percentage points over the single-sample baseline. The improvements hold across both VLAs and the WAM, and across LIBERO, SimplerEnv on WidowX and Google Robot, and RoboTwin 2.0. The improvements appear on two axes—a higher mean success rate and a smaller across-repeat standard deviation—both arising from KeyStone’s better per-round sampling. We describe each effect in turn, then characterize the (model, workload) regime in which the gains concentrate. Mean improvement. At each action-generation round, KeyStone selects the action chunk from the dominant sampled cluster rather than committing to a single stochastic draw, replacing the per-round failure rate of a generic random sample with that of the model’s dominant sampled mode. Because each rollout consists of many rounds, this per-round reduction compounds into the task-level success-rate gains in Table 1 . Every row improves; the largest gain is +13.3 for GR00T N1.6 on SimplerEnv–WidowX ( 50.0\%\to 63.3\% ). The gain on Fast-WAM (+3.0) confirms that KeyStone’s geometric selection generalizes beyond VLAs to WAMs, where the same geometric structure holds. Variance reduction. The same mechanism also reduces the across-repeat standard deviation of the success rate. KeyStone consistently selects from the dominant cluster across rounds, so successive evaluations yield more similar task-level outcomes. The standard deviation drops from 4.3 to 2.9 for GR00T N1.6 on SimplerEnv–WidowX, from 3.5 to 1.5 on SimplerEnv–Google Robot, from 2.1 to 1.3 for SmolVLA on LIBERO, and from 1.6 to 1.3 for StarVLA on SimplerEnv–WidowX. Region of benefit: high-variance baselines. KeyStone delivers its largest gains on workloads where the K{=}1 baseline shows visibly high across-repeat variance, the direct signature of a model whose single-sample inference is suffering from sampling randomness. The four rows with the highest K{=}1 standard deviations are exactly the four with the largest mean gains: GR00T N1.6 on SimplerEnv–WidowX ( \pm 4.3 , \Delta\!=\!+13.3 ), GR00T N1.6 on SimplerEnv–Google Robot ( \pm 3.5 , \Delta\!=\!+7.3 ), SmolVLA on LIBERO ( \pm 2.1 , \Delta\!=\!+6.8 ), and StarVLA on SimplerEnv–WidowX ( \pm 1.6 , \Delta\!=\!+6.9 ). All four also receive a meaningful variance reduction. The mechanism is consistent: workloads where single-sample inference visibly scatters across repeats are exactly the workloads where KeyStone has the most scattered failure samples to suppress, so suppressing them lifts the mean and tightens the spread together. Table 2: Breakdown on LIBERO with \pi_{0.5} ( K{=}16 ). Every suite (each has 10 tasks) is already saturated at K{=}1 , so KeyStone contributes only small deltas that average to a +1.0 overall gain. Suite Baseline ( K{=}1 ) KeyStone \Delta Spatial 96.0 \pm 1.4 98.0 \pm 1.4 +2.0 Object 99.0 \pm 1.4 99.5 \pm 0.7 +0.5 Goal 98.0 \pm 1.4 97.5 \pm 0.7 -0.5 Long 94.0 \pm 1.4 95.0 \pm 1.4 +1.0 Overall 96.8 \pm 0.7 97.8 \pm 1.1 +1.0 Table 3: Breakdown on SimplerEnv–WidowX with X-VLA ( K{=}4 ). Two tasks are already saturated at K{=}1 ( \geq 98\% ); the overall +3.1 gain comes mostly from the improvement on the two less-saturated tasks. Task Baseline ( K{=}1 ) KeyStone \Delta Put Carrot on Plate 100.0 \pm 0.0 100.0 \pm 0.0 \phantom{+}0.0 Put Eggplant in Basket 88.9 \pm 6.4 95.8 \pm 4.2 +6.9 Put Spoon on Tablecloth 98.6 \pm 2.4 100.0 \pm 0.0 +1.4 Stack Green Cube 83.3 \pm 4.2 87.5 \pm 1.6 +4.2 Overall 92.7 \pm 1.0 95.8 \pm 1.0 +3.1 Where the gains plateau. At the opposite end, the rows where the K{=}1 baseline already operates with low variance and near-perfect accuracy give KeyStone no scattered failure mass to remove. \pi_{0.5} on LIBERO, X-VLA on SimplerEnv–WidowX, and Fast-WAM on RoboTwin 2.0 all sit above 90\% at K{=}1 with K{=}1 standard deviations of 1.5 or less, and the corresponding gains are modest ( +1.0 , +3.1 , +3.0 ). Table 2 drills into the \pi_{0.5} on LIBERO case: every one of the four LIBERO suites (each has 10 tasks) is already at or above 94\% at K{=}1 , so KeyStone contributes only small per-suite deltas (ranging from -0.5 to +2.0 ) that average to a +1.0 macro gain. Table 3 shows the X-VLA on SimplerEnv–WidowX case, which is more heterogeneous: two of the four tasks are already at or above 98\% at K{=}1 and contribute essentially nothing, while the two less-saturated tasks (Eggplant in Basket at 88.9\% , Stack Green Cube at 83.3\% ) improve by 6.9\% and 4.2\% respectively, averaging to a 3.1\% macro gain. This regime is where KeyStone’s benefit asymptotes: saturated baselines with high success rates and low variance directly implies that the model is already concentrating on the dominant mode, leaving consensus selection nothing distinct to recover. Symmetrically, KeyStone’s benefit also vanishes at the opposite end of the spectrum—models where the majority of samples are confidently wrong, in which case cluster-medoid selection picks from the incorrect dominant cluster—since KeyStone only selects among the sampled candidates and cannot produce a successful chunk if none would succeed; we treat this as an assumption and discuss it in Section 5 . Table 4: Comparison with TACO on RoboTwin 2.0 with \pi_{0.5} . Each task is evaluated 50 times. Task Baseline ( K{=}1 ) TACO KeyStone Adjust Bottle 88.0% 94.0% 92.0% Beat Block Hammer 68.0% 66.0% 70.0% Handover Block 24.0% 30.0% 34.0% Move Can Pot 42.0% 60.0 % 54.0% Place Object Stand 68.0% 80.0 % 72.0% Overall 58.0% 66.0% 64.4% Comparison with TACO. On the five RoboTwin 2.0 tasks for which TACO ( 23 ) has released trained selectors, KeyStone matches TACO at the macro level ( 64.4\% vs 66.0\% , both at K{=}16 over a 58.0\% K{=}1 baseline; Table 4 ). It does so without TACO’s per-task auxiliary training (hundreds of GPU hours), demonstrating that action-chunk geometry alone is a powerful selection signal to match model based approaches. 4.4 Ablations We ablate three components of KeyStone’s selector: the distance function, the number of samples K , and the number of clusters C . To control evaluation cost we run ablations on the five vla-eval pairs in Table 1 ; each ablation varies one component while holding the rest at their defaults (L2 distance, K from Section 4.2 , C{=}2 ). Table 5 reports the resulting per-pair improvement over the K{=}1 baseline. Table 5: Ablations on KeyStone’s selector. Each cell is the absolute (percentage-point) improvement over the K{=}1 baseline. Default : L2 distance, C{=}2 , and K chosen as in Section 4.2 ( K{=}4 for GR00T N1.6 and X-VLA, K{=}16 otherwise). The ablation columns vary one component at a time. Bold marks the largest gain per column. Workload Model Default Cosine 2K C{=}4 LIBERO \pi_{0.5} +1.0 +0.3 \mathbf{+1.7} +1.1 SimplerEnv – WidowX GR00T N1.6 +13.3 +0.5 \mathbf{+14.2} +8.3 SimplerEnv – WidowX X-VLA \mathbf{+3.1} +1.7 +2.7 +1.4 SimplerEnv – WidowX StarVLA +6.9 +3.1 \mathbf{+7.5} +5.9 SimplerEnv – Google Robot GR00T N1.6 \mathbf{+7.3} +5.0 +6.8 +6.2 L2 vs cosine. Cosine distance reduces the gain on every pair, most dramatically on GR00T N1.6/WidowX ( +0.5 vs +13.3 for L2). Action chunks are bounded physical commands whose magnitude is meaningful, so a magnitude-blind metric loses the structure cluster-medoid relies on (Section 3.3 ). Number of samples: K vs 2K . Doubling K produces only small fluctuations around the default, indicating that the chosen K is already near the saturation point of mode estimation. K therefore serves as a tunable knob for trading off latency and accuracy: our chosen values sit near the accuracy saturation point while preserving the latency, and operators can dial K up for higher and more stable accuracy with higher latency overheads. Number of clusters: C{=}2 vs C{=}4 . Increasing C from 2 to 4 produces comparable or smaller gains on every pair. The default C{=}2 matches the structure we observe in our workloads often have a single dominant mode plus scattered failure samples. Therefore, additional clusters risk splitting the dominant mode itself. 5 Limitations Like other existing test-time scaling methods for both language models and physical AI models, KeyStone assumes that the underlying model is properly trained and samples useful candidate trajectories. It can choose a better action chunk among the sampled candidates, but it cannot produce a successful action if none of the sampled candidates would succeed, or if the model is confidently wrong on the majority of samples—in that case cluster-medoid selection picks from the incorrect dominant cluster and may even amplify the error rather than suppress it. Additionally, our latency measurements use batch size one, a common robot-deployment setting with a dedicated GPU. When the same accelerator is shared across multiple robots and the effective batch size is already large, the available headroom for additional parallel samples may shrink; in such cases, K should be chosen by profiling the deployment workload. 6 Conclusion Diffusion- and flow-matching physical AI models are powerful, but their standard deployment loop still commits to one stochastic action chunk at each round. KeyStone addresses this brittleness with a simple inference-time wrapper: sample several chunks from the same context, use the geometry of continuous action space to find the dominant consensus mode, and execute that mode’s medoid as a real model output. This enables judge-free self-consistency for action generation. Two properties make KeyStone effective and practical. First, action chunks are compact, so parallel sampling can reuse the shared model context and add little end-to-end latency. Second, the geometry of output action chunks provides a natural signal for model confidence. Across VLA and WAM testbeds, KeyStone improves task success over single-trajectory sampling by up to 13.3%, while remaining on par with model-based test-time scaling approaches. More broadly, KeyStone shows that test-time scaling for physical AI can be grounded with the geometry structure of the model’s own output. Appendix A Technical Appendices and Supplementary Material A.1 Implementation: KeyStone as an Inference-Time Wrapper KeyStone is implemented as a lightweight Python wrapper that intercepts each action-generation call of an existing policy and replaces it with K -sample parallel inference plus cluster-medoid selection. The wrapper does not modify model weights, retrain any component, or change the downstream control loop. Across the three testbeds we evaluate on (LeRobot, vla-eval, Fast-WAM), the integration follows the same three-step pattern at each round: 1. Shared context expansion. The current observations and task instruction are encoded once. The resulting prefix tensors (VLM features, transformer KV cache, or world embedding) are given a candidate dimension and expanded to width K via torch.expand , so that the K candidates share the same underlying storage rather than materializing K copies of the context. 2. Batched candidate sampling. We draw K independent noise tensors and run the model’s denoising or flow-matching loop as a single batched forward pass, producing K candidate action chunks \{a_{i}\}_{i=1}^{K} . 3. Cluster-medoid selection. Each candidate is flattened, the K\times K pairwise L2 distance matrix is computed in one batched tensor operation, and the threshold-guarded cluster-medoid procedure of Section 3.3 returns a single action chunk a^{\star} , which is handed to the existing controller in the original output format. LeRobot. For policies using the LeRobot inference loop ( \pi_{0.5} and SmolVLA in our evaluation), we subclass each policy and override its action-generation method. The override replaces the original noise sampling and denoising/flow-matching steps with their batched ( K -wide) versions, calls into the shared selector, and returns a single chunk in the original output format. The downstream LeRobot controller sees no change. vla-eval. For policies served from vla-eval benchmark Docker images (GR00T N1.6, X-VLA, and StarVLA in our evaluation), we wrap the inference module inside each image. The wrapper reuses the image’s existing model loading, observation pre-processing, and action post-processing, and intercepts only the function that maps an encoded observation context to an action chunk. This keeps the simulator, dependencies, and hardware setup byte-identical to the reproduced baseline. Fast-WAM. For the world-action model setting (Fast-WAM in our evaluation), we wrap the per-round generate step. The video generation backbone runs once per round to produce the shared world embedding; we expand the embedding to a K -batch and run the action decoder’s denoising loop as a single batched pass. The selector runs identically to the VLA case. Selector implementation. The cluster-medoid selector is implemented in PyTorch as a small set of batched on-GPU operations: a K\times K pairwise L2 distance matrix, a global-medoid argmin, the threshold- \tau unimodality guard (with \tau=0.3 as the default), a small k-means loop ( C{=}2 , up to 10 iterations) over the flattened action chunks, and a within-cluster medoid argmin. All steps reuse the precomputed distance matrix; the entire selection adds at most a few hundred microseconds per round at the K values used in our evaluation. Listing 1 sketches the wrapper that intercepts an existing policy’s action-generation call, and Listing 2 shows the corresponding cluster-medoid selector. Listing 1: Wrapper integration pattern. KeyStone subclasses an existing policy and replaces the per-round action call with shared-context expansion, batched K -sample generation, and cluster-medoid selection. ⬇ class KeyStonePolicy ( BasePolicy ): def __init__ ( self , base_policy , K =16, C =2, tau =0.3): self . base = base_policy self . K , self . C , self . tau = K , C , tau def predict_action ( self , observation ): # 1. Encode shared context once (VLM features, KV cache, # or world embedding -- depends on the base policy). context = self . base . encode ( observation ) # 2. Expand to a K-batch *without* materializing K copies. context_K = expand_to_K ( context , self . K ) # uses torch.expand # 3. Run K denoising or flow chains as one batched forward. noise = torch . randn ( self . K , * self . base . noise_shape , device = context . device ) candidates = self . base . sample_actions ( context_K , noise ) # candidates: [K, T, action_dim] # 4. Cluster-medoid selection -- returns one real chunk. return cluster_medoid_select ( candidates , C = self . C , tau = self . tau ) Listing 2: Cluster-medoid selector. All steps are batched on-GPU and reuse the same pairwise distance matrix. \tau guards against forced clustering of an already-unimodal candidate set (Section 3.3 ). ⬇ def cluster_medoid_select ( actions , C =2, tau =0.3, eps =1 e -8): # actions: [K, T, action_dim] X = actions . flatten ( start_dim =1) # [K, D] K = X . shape [0] # Pairwise L2 distance matrix (reused throughout). dists = torch . cdist ( X , X ) # [K, K] # Global medoid (argmin of row sums of distances). m = dists . sum ( dim =1). argmin () # scalar # Unimodality guard: how far is the mean from the medoid, # normalized by the typical pairwise distance? iu = torch . triu_indices ( K , K , offset =1) median_d = dists [ iu [0], iu [1]]. median () s = ( X . mean ( dim =0) - X [ m ]). norm () / ( median_d + eps ) if s < tau : return actions [ m ] # already unimodal # Otherwise: k-means over K compact vectors, take the # largest cluster’s medoid. z = kmeans ( X , C = C , max_iter =10) # [K] cluster ids c_star = torch . bincount ( z ). argmax () mask = ( z == c_star ) sub_dists = dists [ mask ][:, mask ] i_local = sub_dists . sum ( dim =1). argmin () i_star = mask . nonzero ( as_tuple = True )[0][ i_local ] return actions [ i_star ]