Skip to content
AI-generated research idea🟠Medium💡Moderate InnovationNo close match found

Lightweight Perception Distillation and Hierarchical Agent Caching for Budget-Efficient Dexterous Program Synthesis

Replace heavy test-time foundation segmentation with distilled lightweight vision modules and use hierarchical agent caching to cut coding-agent synthesis costs.

Time

a couple of months

Compute level

Large cluster

Resources

Multi-GPU cluster (B200 or RTX PRO 6000 class) for Bench2Dex/DexJoCo synthesis, open-weight coding LLM hosting, and vision distillation training

What the paper used

11.7B tokens (615 agent hours) for exploration and 6.6B tokens (362 agent hours) for refinement across 26 Bench2Dex tasks using GPT-6 Astra, running simulators alongside SAM 3 workers on 8-GPU B200 nodes.

Prerequisites

Knowledge distillation for computer vision, multi-agent LLM routing, efficient model serving, and robotic perception

Scope

Modify codebox perception backend and Stage 1/2 LLM client routing in existing codebase

The Gap

Appendix A and Appendix C report that developing PyRUA-Dex across 26 Bench2Dex tasks required 18.3B tokens of GPT-6 Astra (median 641M tokens and 36.4 agent hours per task) on B200 GPU nodes where every simulator shares a GPU with a SAM 3 worker. Although frozen programs make zero LLM calls at test time, they still depend on SAM 3 for object segmentation inside codebox.segment, imposing high test-time GPU memory overhead and fragility under viewpoint randomization (such as DexJoCo Click mouse dropping to 0.0% without a fixed-camera fallback).

“Exploration ran 208 agent sessions, 11.7B tokens and 615 agent hours over the 26 tasks, a median of 427M tokens and 21.6 agent hours per task.”
From the paper, Appendix C, page 19. Matched against the PDF text.

Limitation

Program synthesis incurs prohibitive frontier-model token costs, while deployed frozen programs remain dependent on heavyweight foundation segmentation inference with brittle multi-camera fallback behavior.

Proposed Solution

During Stage 2 refinement, harvest RGB-D frames and SAM 3 pseudo-labels generated across successful randomized rollouts to distill a compact, task-specific segmentation and 3D keypoint network (such as a MobileSAM or lightweight ViT-tiny head) with learned multi-view confidence weighting, replacing SAM 3 in the deployed codebox. Simultaneously, introduce a two-tier coding-agent router during exploration and refinement that delegates syntax fixes, replay parsing, and routine primitive edits to a smaller open-weight coding model while reserving frontier reasoning models exclusively for high-level bottleneck planning.

Why This Matters

Expected to significantly reduce test-time compute footprint and inference latency for edge deployment while lowering per-task development token costs without degrading benchmark robustness.

How to Get Started

How to test it: Test the hypothesis that distilled per-task vision detectors and two-tier agent routing match the 72.9 Bench2Dex Score and 81.0% DexJoCo rand-full success rate while cutting test-time perception VRAM by at least 5x and development frontier tokens by 50%; stop if distilled vision degrades Bench2Dex four-channel SR by more than 3 points.

  1. Profile the VRAM consumption and per-frame latency of SAM 3 inside codebox.segment on five representative Bench2Dex tasks and DexJoCo Click mouse.
  2. Log camera observations and SAM 3 masks from Stage 2 validation rollouts to train a compact student segmentation and keypoint network per task with multi-camera confidence fusion.
  3. Substitute the distilled student model into the frozen codebox runner and benchmark four-channel SR on Bench2Dex and rand-full SR on DexJoCo.
  4. Implement a hierarchical two-tier LLM router in the Codex CLI harness for Stage 2 refinement and compare total token cost and Bench2Dex Score against Table 4.

Suggested by AI. Adapt it to your setup.

Has This Been Done?

No close match in 10 results

The provided literature covers knowledge distillation and agent surveys [7, 8], but none of the listed papers address the specific distillation of SAM 3 pseudo-labels into a lightweight ViT-tiny head combined with a hierarchical coding-agent router for dexterous program synthesis.

We searched OpenAlex and arXiv for “perception distillation token efficient LLM robot synthesis” and “Lightweight Perception Distillation and Hierarchical Agent Caching for Budget-Efficient Dexterous Program Synthesis” and an AI compared the idea with the top 10 results. A small search can miss relevant work.

Source Paper

PyRUA-Dex: Learning Programmatic Policies for Dexterous Bimanual Manipulation with Coding Agents

Feixiang Ruan, Guodong Lv, Kewei Zhang +17 more · 2026

PyRUA-Dex introduces a demonstration-free framework in which coding agents synthesize and iteratively refine Python programmatic policies for dexterous bimanual manipulation in simulation, achieving state-of-the-art performance on Bench2Dex (72.9 score) and DexJoCo (81.0% full-randomization success). At test time, the resulting frozen programs run at the robot control rate with zero language-model calls, and transfer to a physical bimanual 22-DoF platform via calibrated real-to-sim-to-real refinement rounds.

Related Ideas

Is this a good idea?

Share onXLinkedIn