Teaching 500 Hz Torque Reflexes with a Slow Learned Value

Robots that catch, throw, or absorb impacts need controllers that react within a few milliseconds, which means a neural policy that outputs motor torques hundreds of times per second. Today every such controller is trained with a hand-written reward: tracking errors, torque penalties, foot-clearance terms, all with carefully tuned weights. The alternative, rewarding the robot only when it succeeds, fails at these rates. With 2,000 or more tiny decisions per episode, random torque noise cancels itself out, so the robot vibrates in place instead of exploring. The single success bit at the end also cannot tell which of those thousands of decisions mattered. This proposal argues that the two problems can be separated by timescale. A slow learner, acting about 30 times per second, can learn from the sparse success signal alone how promising each state is. That learned estimate can then serve as the moment-to-moment reward for the fast reflex. No reward terms are hand-written at either level.

Concretely, a slow goal-conditioned critic is trained from binary success with hindsight relabeling or a contrastive objective. Its value of the current state is used as a potential: the fast reflex's reward over each short window is the change in that value. Potential-based shaping provably leaves the best policy unchanged for any potential, so this densifies the reward without biasing the solution. The learned value is anchored to actual success rather than to elapsed time or distance. It can therefore reward a reflex that briefly retreats from the goal after a collision, which neither distance shaping nor time-monotone progress critics can do.

Core Claim

Let $V_\psi(s, g)$ be a value-like score for reaching goal $g$ from state $s$, learned at the slow rate from sparse success only. The fast reflex, running at 500 Hz, receives at micro-step $t$ the reward

$$r^{\text{fast}}_t = \gamma\, V_\psi(s_{t+1}, g) - V_\psi(s_t, g) + \mathbb{1}[\text{success}],$$

where $\gamma$ is the discount and $\mathbb{1}[\text{success}]$ is the only external signal. We claim three things about this signal on tasks with sudden contacts or perturbations, in a direct-torque regime with no engineered reward terms:

  1. It lets reflexes learn at all, where training on the sparse signal alone does not.
  2. It beats a low-rate position-target policy given the same success signal.
  3. It produces recovery behavior that moves away from the goal when that is the right thing to do.

Reusing a value estimate as a shaping potential is not a new trick in general. What is untested is using it across control rates. In that setting it removes the need for any hand-designed low-level reward and addresses the "curse of high frequency" from the reward side rather than only from the optimizer side.

Relation to Prior Work

The closest work is EvoControl. It splits control into a 31.25 Hz PPO "brain" and a 500 Hz torque reflex trained with evolution strategies, annealed from a PD (proportional-derivative tracking) controller. It also proves that high rates are needed for optimal return in some continuous-time tasks. This paper supplies our architecture and motivates the frequency question. However, it trains both levels on dense engineered rewards and never tests sparse success. We keep its two-rate structure and its PD-annealing initialization, and replace what each level is optimizing.

Learning Torque Control for Quadrupedal Locomotion shows that 200 Hz torque policies survive downward kicks that position-controlled policies do not. Whole-body Throwing with a High-frequency Residual Policy stacks a 100 Hz policy, a 400 Hz residual, and a 1 kHz optimizer to beat human throwers. Both motivate fast reflexes, and both rely on heavily shaped rewards and analytic models.

On the reward side, VLAC trains a large vision-language critic to score progress between frame pairs and lifts real-robot RL success from 30% to 90%. It runs at low rates, and it assumes progress rises over time, which it admits breaks on corrections and backward steps. This limitation constrains our design: we avoid time-anchored progress and use a success-anchored value instead. VICE-RAQ learns success classifiers from about 80 goal images plus a few dozen queries, but commands low-rate Cartesian targets. Its classifier is a natural source of our success bit in vision settings. AMP replaces style penalties with a motion discriminator but still needs an engineered task reward. HPRS derives prioritized potentials from formal specifications, which moves the engineering effort into logic rules. Both show that potential-based shaping is the right vehicle. Our potential is learned rather than written.

For learning the slow value from sparse signal, two lines supply the method. Single-goal contrastive RL shows that a contrastive goal critic induces exploration without shaping. Hierarchical language-abstraction RL contributes hindsight relabeling at the high level. CIM solves sparse MuJoCo tasks with subspace-constrained exploration, but needs a hand-specified task subspace and runs only at 20–50 Hz. We use it as a slow-level exploration baseline, not as our method.

Research Program

Architecture. The slow policy runs at 31.25 Hz and outputs joint targets. It is trained on sparse success with hindsight-relabeled goals. Its critic $V_\psi$ is a contrastive goal-conditioned score, the log-ratio of future-goal likelihood. The fast reflex runs at 500 Hz, outputs torques, and is initialized from PD tracking via EvoControl's annealing. It is trained on $r^{\text{fast}}$ over windows of 16 micro-steps, which keeps fast-level credit assignment within about 32 ms.

Coupling. The two levels change each other's training data. Reflexes alter which slow states occur, and those states retrain the critic. To limit this drift we use a target network for $V_\psi$ in the fast reward, refreshed every $N$ slow updates. We also study when the shaping hurts.

Analysis. Three questions are examined directly:

  • Whether the learned potential assigns higher value to post-collision retreat states than to pushing on.
  • How fast-level learning degrades as $V_\psi$ is deliberately corrupted with noise or bias. Shaping is optimality-preserving only in the infinite-sample limit, so we need to know how much critic error the reflex tolerates.
  • Whether gradient-based training (PPO) of the reflex becomes viable once the reward is dense over short windows, or whether evolution strategies remain necessary.

Environments. Simulation uses Isaac Gym, whose up to 700K steps per second on a single GPU makes 500 Hz rollouts affordable (Isaac Gym). We build sparse-success versions of EvoControl's 500 Hz MuJoCo-style suite:

  • SparseAnt-x10 and SparseHalfCheetah-x20, following CIM's thresholds, but with direct torque actuation.
  • A Safety-Critical Reacher in which collision force above a limit ends the episode as failure.
  • Franka Cube Stacking with only a stacked/not-stacked bit.

Each task is run both unperturbed and with random impulse perturbations mid-episode. If simulation results hold, a hardware test on a Franka arm with contact disturbances follows, mirroring EvoControl's physical setup.

Baselines

Naive reference. PPO acting directly at 500 Hz on torques, with only the success bit. We expect near-zero success here. That outcome confirms the problem is real rather than an artifact of our task design.

Strongest existing method. EvoControl run unchanged on the sparse versions: PPO high level and PGPE reflex, both optimizing sparse episode return. EvoControl reports a normalized return of 368 on 500 Hz Ant against 100 for the best non-EvoControl baseline (EvoControl), but under dense engineered rewards. No reported result was found on Lacuna for EvoControl under sparse success. We therefore run it ourselves with its published hyperparameters and an equal tuning budget of the same number of sweep trials. Every method gets the same environment-step budget and the same GPU count. EvoControl's evolution-strategies reflex optimizes whole-episode return, so it is not obviously broken by sparse rewards; it is a real competitor. Beating it means one of two things across five seeds: higher final success rate, or at least 2× fewer environment steps to reach 50% success on perturbed tasks.

Low-rate alternative. A 31.25 Hz policy outputting PD targets, trained with the same slow critic and relabeling, with no reflex at all. Beating it means higher success and higher recovery rate under impulse perturbations. Comparable performance on unperturbed tasks is expected and acceptable.

Upper reference. EvoControl with its original dense engineered rewards, but scored by the sparse success metric. This shows how much of the gap to hand engineering we close.

Ablations. These isolate the key ingredient, the success-anchored learned potential:

  • Distance potential: replace $V_\psi$ in $r^{\text{fast}}$ with negative goal distance.
  • Time-monotone progress potential: a learned critic trained VLAC-style to predict normalized time-to-success.
  • Tracking reward: a reward for reaching the slow policy's commanded target, as in standard hierarchical RL.
  • Slow-level exploration swap: CIM at the slow level in place of the contrastive critic, with its task subspace hand-specified as in its paper.

Why not just…?

Why not just run a low-rate policy with a tuned PD controller? On unperturbed tasks this may well match us, and we will report that honestly. The evidence that it falls short is specific to sudden contacts. Position-controlled quadrupeds fail kick tests that 200 Hz torque policies survive (Learning Torque Control). Fixed PD tracking keeps pushing into obstacles where learned reflexes retreat (EvoControl). The perturbed-versus-unperturbed comparison settles whether the reflex earns its cost.

Why not just give EvoControl the sparse reward, since evolution strategies only see episode return? This is the most serious threat. Evolution strategies are indifferent to reward density in principle. The risk lies in the variance of return estimates when nearly every rollout scores zero, and in the slow PPO level, which still faces the full sparse problem. If sparse EvoControl matches our method, the conclusion is that the learned potential is unnecessary. The head-to-head comparison is designed to show exactly this.

Why not just shape with distance to goal? Distance potentials are cheap and preserve the optimal policy. However, they reward pushing toward the target through a collision. This is the failure HPRS documents for unprioritized shaping (HPRS), and CIM's baselines fail outright on sparse high-dimensional MuJoCo tasks (CIM). The distance-potential ablation on the Safety-Critical Reacher tests this directly.

Why not just use a pretrained progress critic like VLAC as the fast reward? It cannot run at 500 Hz. More fundamentally, it assumes progress grows with time, and its authors note this breaks on recoveries (VLAC). The time-monotone ablation measures that cost.

Decisive Checks

The proposal succeeds if three results hold together:

  1. On perturbed sparse tasks, the learned-potential reflex beats both sparse EvoControl and the low-rate PD policy on success rate.
  2. Swapping in a distance or time-monotone potential removes most of that gain, specifically on the collision task.
  3. Corrupting $V_\psi$ degrades performance gracefully rather than producing confident reward hacking.

We also measure torque jerk, since unregularized torque policies are known to chatter. A method that wins on success but triples jerk would not count as removing reward engineering, because it would need a smoothness penalty added back.