Imitating What the Object Does, Not What the Hand Did

Teaching a robot hand with many joints to manipulate objects usually means someone writes a reward function by hand: points for reaching the right spot, then for grasping, then for moving the object along a path, with each stage tuned until the learner stops cheating. Adversarial imitation learning offers a way out. A second network, the discriminator, learns to tell the robot's behavior apart from expert demonstrations, and its confusion becomes the reward. In practice this has worked for legged robots and single-arm tool use. It has not replaced the staged rewards used for dexterous hands. We argue that one reason is a mismatch: discriminators are asked to match the demonstrator's body motion, and that motion is often physically impossible for the robot. The demonstrator may be a retargeted human hand, a scene may contain clutter the demonstrator never faced, or the joint limits may be tighter.

We propose to discriminate on a different quantity, the motion of the object and the geometric relations between fingertips and object surface. Environmental constraints such as obstacles, joint limits and self-collision are handled by a geometric fabric, a smooth dynamical-system layer that turns the policy's commands into motions that cannot violate them. The robot is then never asked to imitate something it cannot do. It is asked to make the object behave as in the demonstration, using whatever hand motion the constraints allow. The central test is whether this one discriminator can replace the hand-designed grasp-alignment stage that current bimanual pipelines cannot do without, and whether it keeps working when the test scene contains obstacles the demonstrations never had.

Core Claim

Standard adversarial imitation fits the learner's distribution over states and actions to the expert's. In this file it takes two main forms. Generative Adversarial Imitation Learning matches state-action pairs. Adversarial Motion Priors Make Good Substitutes for Complex Reward Functions matches state transitions of the robot body and adds a task reward. Action-Constrained Imitation Learning shows that when the learner faces tighter constraints than the expert, this matching distorts the distribution of states the learner visits and drives it into failure. Their fix, DTWIL, is a model-predictive planner that relies on a learned forward dynamics model. Such a model is exactly what breaks under stiff, discontinuous finger-object contact.

Our claim is that, for manipulation, most of this distortion can be avoided without a dynamics model. The idea is to choose discriminator inputs that the constraints leave achievable. Concretely, the reward is

$$r_t = -\log\big(1 - D_\phi(g(s_t), g(s_{t+1}))\big) + \beta\,\mathbb{1}[\text{success}],$$

where $D_\phi$ is the discriminator. The feature map $g$ keeps the object's pose change in its own frame, signed distances from each fingertip and the palm to sampled points on the object surface, and binary contact flags. It deliberately drops world-frame wrist pose and joint angles. $\beta$ is a single sparse success bonus, held fixed across all tasks rather than tuned per task.

The policy outputs fingertip and palm targets to a geometric fabric, following Geometric Fabrics: a Safe Guiding Medium for Policy Learning. The fabric adds obstacle-avoidance terms generated from the scene's signed distance field, a function giving each point's distance to the nearest surface. The fabric guarantees the constraints. The relational discriminator supplies a dense reward that never asks for a constraint-violating pose.

Relation to Prior Work

Three works supply the method. AMP for locomotion and its manipulation variant, Manipulate as human: learning task-oriented manipulation skills by adversarial motion priors (HMAMP), show that a motion discriminator can replace penalty terms. Both, however, discriminate on body kinematics in obstacle-free scenes, and HMAMP covers a single arm with a rigid tool. We keep the adversarial reward and change what it looks at. The fabric work and ADEPT show that a fabric layer makes reinforcement learning on 23–29 degree-of-freedom hands stable and safe. Both still rely on hand-written task rewards; ADEPT needs a critic warm-up phase and about 3 billion steps to absorb a new reward. We supply the task signal through the discriminator instead.

Three works motivate the proposal. Learning Diverse Bimanual Dexterous Manipulation Skills from Human Demonstrations (BiDexHD) already uses object-trajectory tracking as its second stage. When its hand-designed first stage, reaching "functional grasping centers", is removed, success falls from 74.59% to 17%. That stage is precisely what a learned hand-object relation should replace. DexArt uses a hand-written three-stage reward for articulated objects. A Comparison of Imitation Learning Algorithms for Bimanual Manipulation is the main constraining result. GAIL needed about 128,000 rollouts, was hyperparameter-sensitive, and lost to action-chunking cloning. We take this seriously. Our bet is that the fabric's restricted, collision-free action space and the low-dimensional relational features address both the exploration cost and the instability. The experiments are designed so that this bet can fail visibly.

Research Program

We will build the system in Isaac Gym on dual LEAP hands, reusing the TACO demonstrations retargeted in BiDexHD across its six skill categories. Since those demonstrations come from human hands, only object trajectories and retargeted hand keypoints are trustworthy. That is an argument for object-centric discrimination in its own right. We also use the four DexArt tasks (faucet, bucket, laptop, toilet), with demonstrations rolled out from DexArt's reported staged-reward policies.

We will build the fabric layer with joint-limit, self-collision and SDF-based obstacle terms, so that adding clutter changes only the fabric's inputs and not the policy interface. We will then train the relational discriminator with gradient penalty on expert transitions from clean scenes.

The analysis has three parts. First, a constraint-mismatch protocol: demonstrations always come from clean scenes. Evaluation and training scenes add a shelf over the object, side walls, or joint limits reduced by a fixed fraction, producing graded levels of mismatch. Second, a reward-exploitation audit. We log discriminator score against true success throughout training, and flag runs where the score rises while success falls, which is the failure mode noted for learned rewards. Third, a feature ablation. We swap $g$ for full joint-space features, for object-only features, and for relations only, which tells us which part of the representation carries the gain.

Baselines

The naive reference point is PPO through the same fabric with only the sparse success bonus $\beta$. It shows how much the dense signal matters at all. Given the exploration argument for high-dimensional hands, we expect it to be near zero on most tasks.

The strongest existing method on the bimanual tasks is BiDexHD's two-stage manual reward, trained with independent PPO teachers as in the paper. BiDexHD reports 74.59% success on trained tasks and 51.07% zero-shot on unseen tasks and objects, with its stage-one ablation at 17%. We will rerun it in our setup through the same fabric, with the same environment-step budget and the same eight-configuration tuning sweep given to our method. This makes the comparison about the reward and not about the controller. Beating it means matching its seen-task success within noise without any stage-one reward, and exceeding it on unseen tasks or under clutter. Clearly exceeding its 17% stage-one ablation is the minimum bar for the discriminator to count as a replacement for stage one.

On DexArt, the comparison is the paper's three-stage reward. DexArt reports, for example, 79% seen and 58% unseen on Faucet with pretraining, against 30% and 28% from scratch. We run the from-scratch variant under our budget so that both methods share the same point-cloud encoder.

The key ablation is joint-space AMP through the same fabric, which is HMAMP-style discrimination on hand kinematics. It isolates our central ingredient. If it matches the relational discriminator under clutter and reduced joint limits, the claim is wrong. A second ablation runs the relational discriminator without the fabric, sending direct joint targets. It separates the contribution of the constraint layer from that of the reward.

DTWIL is the existing constraint-aware imitation method. It reports a return of 2669 against 1222 for the next best baseline on box-constrained HalfCheetah, and GAIL and BC failed under mismatch in that study. We run it with a learned dynamics model trained on the same interaction budget. No reported result was found on Lacuna for DTWIL on dexterous hands.

Finally, diffusion policy and the Action Chunking Transformer, trained on robot-executed demonstrations, are the supervised reference. The bimanual comparison reports them as the most robust methods on precise insertion, but gives no exact per-noise success numbers.

Why not just…?

Why not just train a diffusion policy or action-chunking transformer on the demonstrations? In matched settings this is a real threat, and the bimanual comparison shows such policies beating GAIL at a fraction of the cost. Two facts limit it here. The TACO demonstrations are human hands, so there are no robot actions to clone without first solving the problem with reinforcement learning. And cloned actions carry no way to find a new hand path when an obstacle blocks the demonstrated one; ACIL shows BC failing under constraint mismatch. The clutter protocol settles this directly. If cloning through the fabric holds up as well as our method under mismatch, the adversarial loop is not worth its cost and we will report that.

Why not just use BiDexHD's object-tracking reward and drop the alignment stage, or learn the alignment target by regression? This is the closest competitor, because BiDexHD's second stage is already object-centric. What it lacks is a signal for how the hand should approach before the object moves, and its own ablation shows that this gap is fatal. Our discriminator's fingertip-to-surface relations target that pre-contact phase. A further baseline regresses grasp centers from demonstrations and plugs them into stage one. It tests whether the adversarial part adds anything beyond learned targets. If it matches us, the honest conclusion is that relational features matter and the adversarial game does not.

Why not just use DTWIL, which was designed for constraint mismatch? DTWIL plans with a learned forward model, and that model has to predict contact onset with fingertip-level precision on a 32-dimensional bimanual system. We will run it, but we expect model error at contact to dominate. If it does not, it is the simpler answer.

Why not just use the ADEPT recipe, with pretraining plus a fabric and hand-written rewards? ADEPT works, but it keeps per-task reward writing and needs a critic warm-up because changing reward functions destabilizes training. Our goal is one reward recipe across all six skills and four articulated tasks with a fixed $\beta$. That is a different question, so ADEPT is not a substitute.

Decisive Checks

The proposal stands or falls on two measurements. The first is the gap between relational and joint-space discrimination as constraint mismatch increases. It should be small in clean scenes and should grow with clutter and tighter joint limits. If it stays flat, the occupancy-distortion explanation is wrong. The second is success without any stage-one reward relative to BiDexHD's 74.59% seen and 51.07% unseen. Matching it shows that hand-designed alignment can be learned from demonstrations. Landing near the 17% ablation shows it cannot. Alongside these, we report the environment steps each method needs to reach its final success, set against the roughly 128,000 rollouts reported for GAIL in the bimanual study. If GAIL's instability simply reappears under the fabric, that is the outcome a skeptic would predict, and the step count will show it.