TL;DR
The Torque Adaptation Module (TAM) is a plug-and-play architecture that bridges the sim-to-real gap by modifying low-level torque commands to match an ideal robot model. Operating directly at the torque interface, a single trained TAM can be reused zero-shot across entirely different control policies (RL, BC, and MPC) without requiring policy-side domain randomization or real-world data collection.
What Problem Does This Paper Address?
Deploying robotic policies trained in simulation onto real hardware is notoriously difficult due to the "sim-to-real gap." Discrepancies in joint friction, link masses, actuator delays, and unexpected payloads alter the robot's dynamics. In contact-rich, high-speed manipulation tasks, even tiny tracking errors can completely disrupt the timing of a task, causing catastrophic failure.
Existing solutions fall short in terms of flexibility:
- Domain Randomization (DR): Training policies across a wide range of simulated physics often results in overly conservative, sluggish behaviors.
- Online System Identification (SysID): Explicitly estimating physical parameters requires continuous data collection and struggles with complex, unmodeled actuator dynamics.
- Policy-Side Adaptation (e.g., RMA): While effective, these methods couple the adaptation module directly to the policy's specific observation and action spaces. If you change the task or the controller, you have to retrain the entire system from scratch.
TAM solves this by moving the adaptation layer below both the policy and the low-level controller, right at the torque interface level.
Methods
TAM acts as a local transition aligner that intercepts the nominal torque ($\tau^0$) calculated for an ideal robot and outputs a residual correction ($\Delta\tau$) to make the real robot behave like the ideal one. It consists of two components operating at different timescales:
- History Encoder (~5 Hz): Processes a long-horizon buffer (up to 12 seconds) of proprioceptive data (positions, velocities, and applied torques). Crucially, it augments this history with a physics residual feature ($e^\tau$), which calculates the torque discrepancy using the ideal inverse dynamics model. This history is tokenized into temporal patches and compressed into a latent state $z$ using a causal Transformer.
- Torque Adaptor (1 kHz): A lightweight MLP that runs at the hardware control rate. It takes the latent state $z$, a short local window of recent states, and the current nominal torque command to predict the instantaneous residual torque correction. It uses adaptive layer normalization (AdaLN) to modulate its layers based on the inferred dynamics.
Training Paradigm: TAM is trained entirely in simulation using task-agnostic, free-space joint-motion rollouts. The authors use multi-robot pretraining across diverse robot morphologies, followed by robot-specific simulation fine-tuning. To combat distribution shifts caused by TAM's own corrections, they employ DAgger-style fine-tuning in simulation.
Datasets
The model does not rely on static real-world datasets. Instead, it utilizes:
- Synthetic Task-Agnostic Rollouts: Generated using MuJoCo/MJX simulation.
- Cross-Robot Pretraining: Simulated data pooled from five distinct robot models from the MuJoCo Menagerie: Franka Panda, Piper, RBY-1, KUKA iiwa14, and Flexiv Rizon4.
- Generalization Testing: Evaluated in simulation on two completely unseen morphologies (Google Robot and Unitree Z1) and validated zero-shot on a physical Franka Emika Panda robot.
Key Insights and Ideas
- Torque-Level Decoupling: By placing adaptation at the torque interface, the module becomes entirely agnostic to the upstream policy's architecture, rewards, or action spaces (whether joint targets, end-effector targets, or direct torques).
- Task-Agnostic Data Sufficiency: TAM doesn't need task demonstrations to succeed. Learning the fundamental mapping of local transition alignment in free space is enough to generalize to complex downstream tasks like box pushing or cube flipping.
- The Power of Physics Residuals: Explicitly feeding the encoder the difference between actual torque and ideal inverse dynamics torque ($e^\tau$) provides a strong inductive bias, significantly outperforming networks that try to learn physics purely from raw state histories.
Key Results
TAM was evaluated zero-shot on a real Franka Panda robot across three distinct control paradigms, significantly outperforming online SysID and RMA baselines:
- Vision-Based Box Pushing (Reinforcement Learning): TAM achieved a 76.2% success rate, compared to 47.6% for direct transfer, 57.1% for Online SysID, and 52.4% for an RMA baseline.
- Cube Flipping (Behavior Cloning via ACT): TAM reached a 72.0% success rate (nearly matching the ideal simulation upper bound of 73.5%), while direct transfer achieved 50.0% and Online SysID dropped to 34.0%.
- Ball-on-Plate Balancing (Model Predictive Control): TAM successfully cleared 13.6 goals within 15 seconds, outperforming direct execution (8.8 goals).
Limitations and Future Work
- Hardware Requirements: TAM assumes high-frequency access to a direct torque interface and a reliable analytical inverse dynamics model of the ideal robot. It cannot be easily deployed on position-controlled robots without an inversion layer.
- Torque Saturation: If compensating for a massive payload or disturbance requires more torque than the physical motors can provide, the residual commands will clip, leaving the mismatch unresolved.
- Contact Confusion: Because TAM relies purely on proprioception, it can occasionally confuse external environmental forces (like hitting an obstacle) with internal robot-side dynamics mismatches (like joint friction). Integrating external wrench estimates remains an open direction for future work.
Summary updated