MemCorr-DP: Counterfactual Correspondence Conditioning for a Diffusion Policy Guided by a Reference
Organizations: Southern University of Science and Technology · Sun Yat-sen University · Knowin
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 explicit 3D relations between the current scene and the reference trajectory. A counterfactual paired objective assigns opposite behaviors the same physical state and noisy action while retaining reference-specific denoising targets. Mixed-condition fine-tuning then adapts the policy from ground-truth geometry to measured correspondence errors. Our strongest evaluation places the Door in the outermost position bands beyond the training support and changes the query camera by . Under this combined shift, MemCorr-DP achieves 96.67% closed-loop success, compared with 88.00% for a visual Transformer with the same action architecture. Objective ablations and reference interventions show that behavior responds to the selected reference, while matched controls favor the complete relation set over future motion or centroid geometry alone. These results support explicit 3D reference relations as a robust conditioning interface when spatial and viewpoint changes are compounded in the evaluated task.
Figures & tables
| Condition | Position | Query camera | Scenes |
|---|---|---|---|
| Training / validation | original | 80 / 20 | |
| Boundary extrapolation | or | original | 50 |
| Extreme position | or | original | 25 |
| Camera shift | 25 | ||
| Combined shift | or | 25 |
| Condition | Extreme position | Camera shift | Combined shift |
|---|---|---|---|
| Full RoMa v2 | 145/150 (96.67%) | 148/150 (98.67%) | 145/150 (96.67%) |
| Ground-truth correspondence | 130/150 (86.67%) | 150/150 (100.00%) | 130/150 (86.67%) |
| Motion only | 113/150 (75.33%) | 119/150 (79.33%) | 114/150 (76.00%) |
| Object centroid | – | – | 117/150 (78.00%) |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Model | Component | Exact structure |
| MemCorr-DP | Relation/context encoder | Linear ; learned embeddings for 16 points and 4 offsets; 2 pre-LN Transformer encoder layers, width 128, 4 heads, MLP , GELU, dropout 0. |
| State/time/action inputs | State MLP with GELU; action Linear plus 16 learned positional embeddings for actions; sinusoidal time embedding 128 followed by GELU MLP. | |
| Action denoiser/output | 4 pre-LN blocks, each self-attention (4 heads), cross-attention to one state token plus 64 context tokens, and GELU MLP ; dropout 0; final LayerNorm and Linear . Total 1,612,804. | |
| Visual-DP-Transformer | Image/task tokenizer | RGB, depth, and mask form . One Conv2d , kernel/stride 8, yields tokens. A Linear one-hot task embedding is added to every token. Tokenizer total 5,832; no pretrained or frozen visual encoder. |
| Shared action core | The complete MemCorr-DP core above with 1,612,804 parameters, including its projection, context encoder, state encoder, time encoder, and action blocks. Total 1,618,636, or ; the visual encoder is included. | |
| Visual-DP-U-Net | Observation encoders | Five stride-2 Conv2d–GroupNorm(4)–Mish blocks: with kernel 5, then with kernel 3; global average pooling and Linear–LayerNorm–Mish. State: ; task: . Concatenated global condition is 128D. |