Research
MemCorr-DP: Counterfactual Correspondence Conditioning for a Diffusion Policy Guided by a Reference
Behavior-cloned visuomotor policies tend to work near their training data but break when an object's position and the camera viewpoint change at the same time, because the image statistics shift even…

- arXiv
- 2609.06615 · Preprint · not peer-reviewed
- Published
- 2026-09-06
- Authors
- Tan Su, Haoxiang Yang, Ruxin Wang, Binghui Xie
In plain words
Behavior-cloned visuomotor policies tend to work near their training data but break when an object's position and the camera viewpoint change at the same time, because the image statistics shift even though the physical task does not.
AI summary
Overview
- Research area: Robot learning — visuomotor imitation learning with diffusion policies, and geometric transfer from a demonstrated reference trajectory via dense pixel correspondence.
- Technical level: Advanced. The paper assumes familiarity with diffusion models (DDPM/DDIM, classifier-free guidance), Transformer denoisers, and 3D lifting from RGB-D.
- Scope (one sentence): The paper proposes and evaluates MemCorr-DP, a 1.61M-parameter diffusion policy that conditions action denoising on explicit 3D relations between a live scene and a recorded successful reference trajectory, tested on a single articulated Door task in Meta-World under object-position and camera-viewpoint shift.
What This Paper Is About
Behavior-cloned visuomotor policies tend to work near their training data but break when an object's position and the camera viewpoint change at the same time, because the image statistics shift even though the physical task does not. The authors' premise is that a previously recorded successful trajectory contains the geometry of the required interaction, so a policy should be able to transfer that interaction to a new scene rather than re-learn it from pixels. The goal is to build a conditioning interface that (a) aligns the recorded trajectory to the current scene in 3D and (b) forces the action denoiser to actually depend on that reference instead of ignoring it.
Key Contributions
- A 3D relation token representation for diffusion control. Sixteen matched reference points, each with four future offsets (τ ∈ {0, 5, 10, 15} frames), produce a fixed 64 × 18 token array encoding live gripper around live geometry, recorded gripper around reference geometry, future reference gripper motion, and query-to-reference scene displacement, plus match confidence and a phase index.
- A counterfactual paired denoising objective. Opposite behaviors (opening vs. closing) are trained with an identical robot state and identical noisy action
z_tbut different references and denoising targets, so the shared noisy input cannot leak behavior identity and the reference must resolve the two targets. - A two-stage training strategy. Stage one trains 20,000 updates on exact ground-truth relations; stage two fine-tunes 10,000 updates on a mixture of 25% ground-truth, 50% cached RoMa v2, and 25% corrupted relation conditions, where corruptions resample measured matching residuals.
- Systematic ablations isolating the representation. Matched motion-only and object-centroid controls, correct/empty/opposite reference interventions, and a point-permutation diagnostic test what part of the conditioning actually drives behavior.
Main Findings
- Combined position + viewpoint shift is where the method wins. MemCorr-DP reached 145/150 (96.67%) versus 132/150 (88.00%) for Visual-DP-Transformer with the same action denoiser, a difference of +8.67 points with a 95% configuration-bootstrap interval of [4.00, 12.67].
- Boundary extrapolation slightly favors the visual baseline. MemCorr-DP scored 292/300 (97.33%) against 300/300 (100.00%) for the visual Transformer, a difference of −2.67 points with interval [−4.33, −1.00].
- The gap is localized to opening. Under the combined shift, MemCorr-DP solved 70/75 opening rollouts versus 57/75 for the visual Transformer; both solved all 75 closing rollouts.
- The conventional U-Net policy is weakest. Visual-DP-U-Net (1.556M parameters) reached 274/300 (91.33%) on boundary extrapolation and 112/150 (74.67%) on the combined shift.
- Full relations beat simpler reference information. With architecture and schedule fixed, motion-only reached 234/300 (78.00%) and 114/150 (76.00%); object-centroid reached 241/300 (80.33%) and 117/150 (78.00%); every paired 95% interval excluded zero.
- Standard diffusion training ignores the reference. With standard training, success was 148/300 (49.33%) with the correct reference, 76/300 (25.33%) with an empty condition, and 165/300 (55.00%) with the opposite reference — i.e., the wrong reference helped.
- Paired training reverses that ordering. With counterfactual paired training, correct reference gave 224/300 (74.67%), empty gave 118/300 (39.33%), and opposite gave 26/300 (8.67%) across all three seeds; the first action chunk followed the supplied reference direction in every rollout.
- Behavior tracks reference content, not mere condition presence. At the final mixed-condition checkpoint, ground-truth correct reached 277/300 (92.33%), RoMa v2 correct 292/300 (97.33%), empty 95/300 (31.67%), and RoMa v2 opposite 5/150-success-scale 5/300 (1.67%), with final Door displacement following the supplied direction in 292/300.
- RoMa v2 conditions outperform ground truth after fine-tuning. Full RoMa v2 scored 145/150 (96.67%) on extreme position, 148/150 (98.67%) on camera shift, and 145/150 (96.67%) on the combined shift; ground-truth correspondence scored 130/150 (86.67%), 150/150 (100.00%), and 130/150 (86.67%) respectively.
- Success holds as matching error grows. Mean 3D correspondence error rose from 11.78 mm (boundary extrapolation) to 43.66 mm (combined shift); fallback triggered on 14 of 3,399 and 39 of 1,731 replanning decisions. The cached residual distribution over 149,063 valid points had median 3.72 mm, 95th percentile 20.03 mm, 99th percentile 79.62 mm, and mean 7.95 mm.
- Correct point pairing is not required for success. Reassigning query to reference points while holding the point sets fixed gave 130/150 with correct pairing and 148/150 after permutation.
- Phase sensitivity is moderate. Fixed phase offsets and speed multipliers were tolerated up to a point, but a reference lead of 16 frames reduced success.
Methodology in Plain English
The system is given two things at every replanning step: what the robot currently sees (RGB, depth, an object mask, a 9D state, and gripper position) and a stored successful trajectory of the same skill.
First, a frozen off-the-shelf dense matcher (RoMa v2) is run on object-centered crops of the reference image and the live image, producing sixteen matched pixel pairs. Using depth and camera calibration, both points of each pair are back-projected into a shared 3D world frame.
Second, each matched point becomes a short numeric vector describing the geometry around it: where the live gripper is relative to the live point, where the recorded gripper was relative to the reference point, where the recorded gripper will be 0, 5, 10, or 15 frames later, and how far apart the live and reference scenes are. Sixteen points times four offsets gives 64 tokens of 18 numbers each; invalid matches are masked out.
Third, a small Transformer-based action denoiser (1.61M parameters, four blocks) attends to these 64 tokens and the robot state while denoising a chunk of 16 actions (each a 3D end-effector displacement plus a gripper command). It predicts 16 actions, executes 8, then re-matches and replans. Inference uses 20 DDIM steps with classifier-free guidance.
The distinctive training trick: because the noisy action in standard diffusion partially reveals which behavior is being performed, the denoiser can coast on that cue and ignore the reference. The authors therefore construct a shared noisy input from the average of the opening and closing clean action chunks, feed the same noisy input and same state to both directions, and require the model to produce different noise predictions depending on which reference is supplied.
Finally, because real matching is imperfect, the clean-geometry model is fine-tuned on a mixture of exact relations, cached RoMa v2 output, and synthetic corruptions drawn from the empirically measured error distribution.
Evaluation uses 100 paired physical configurations (one open and one close trajectory of 200 steps each); pairs 0–79 are training (160 trajectories, 29,600 action windows) and 80–99 validation. Test positions are drawn from bands outside the training region [0.2, 0.8], and camera tests rotate only the query camera by ±15°.
Why This Matters
For robot learning research, the paper makes a specific and testable claim: the useful signal for transfer is not pixels but the geometric relation between the demonstration and the live scene, and conditioning must be designed so the denoiser cannot bypass it. The counterfactual paired objective is a general diagnostic and remedy for a failure mode that likely affects other conditional diffusion policies, and the reference-intervention protocol gives a way to measure whether a policy actually uses its conditioning.
Real-world applications:
- Household manipulation of doors, drawers, and appliances where the same articulated motion must be reproduced from new approach positions and camera mounts.
- Small-batch manufacturing and assembly, where one human demonstration of an insertion or mating motion could be retargeted across part positions without collecting new teleoperation data.
- Warehouse picking and placement, where camera placement varies by station and objects appear at band edges rather than in a centered training distribution.
- Field or service robots with one-shot teach-by-demonstration, where re-recording demonstrations for every new scene arrangement is impractical.
Industry relevance: the method adds only a frozen, off-the-shelf matcher and 1.61M trainable parameters, and it explicitly reports inference cost and observation bandwidth as differences from the baseline, which matters for deployment on compute-constrained robot hardware. The dependence on simulator-provided masks and calibrated RGB-D, noted in the limitations, is the main gap before industrial use.
Future Directions
- Extend beyond one Door instance. The paper states that transfer across instances, categories, rotations, sensing domains, and physical robots is untested; the natural next step is multi-object and multi-category evaluation.
- Remove the scaffolding assumptions. Known task identity, one fixed reference per task, simulator-provided object masks, and an elapsed-time reference phase are all assumed; learning reference selection and phase alignment from observation would broaden applicability.
- Address the sensing gap. Robustness to segmentation errors, depth noise, and calibration drift, plus a validated safety mechanism for physical deployment, are named as prerequisites for hardware use.
- Reconcile the boundary-extrapolation result. MemCorr-DP trails the visual Transformer on boundary extrapolation (97.33% vs 100.00%) while leading under the combined shift; understanding why a purely visual policy saturates at 300/300 on the easier condition, and whether the two conditioning modalities can be combined, is an open question.
Target Audience
Robotics and embodied-AI researchers working on imitation learning, diffusion policies, and demonstration transfer; graduate students who already know diffusion models and want a worked example of diagnosing conditioning bypass; and engineers building teach-by-demonstration systems who need evidence about where geometric conditioning helps and where it does not. Readers looking for multi-task, multi-embodiment, or real-robot results will find the scope deliberately narrow, with those limits stated explicitly by the authors.
Authors’ abstract
Behavior-cloned visuomotor policies can remain accurate near their training distribution yet fail when object position and camera viewpoint change together. A successful reference trajectory contains the geometry needed to transfer the same interaction, but the policy must align that geometry with the current scene and remain sensitive to it during denoising. To address these challenges, we present MemCorr-DP, a diffusion policy that lifts frozen RoMa v2 matches into…
The full abstract on arXivRelated papers
- Attention-DP3: Spatially Object-aware 3D Diffusion Policy via Geometry-aligned Attentional Conditioning 2026-09-10 · cs.RO · Key terms of the title in common
- ContactDP: Contact-Guided Diffusion Policy for Tight Insertion Tasks 2026-09-20 · cs.RO · Key terms of the title in common
- Robo-Harness K1: Harnessing Robot-Use Agents via Perception Augmentation 2026-09-24 · cs.RO · Also by Binghui Xie
- In-Context Learning for Robots: Methods and Applications 2026-09-28 · cs.RO · Also by Binghui Xie
- MulDP: Multimodal Diffusion Policy for Autonomous Quadruped Parkour Navigation across Complex Terrains 2026-09-03 · cs.RO · Key terms of the title in common