Motion Transfer by Conjugating Invertible Warps

Motion transfer means taking the movement in one video, such as a cartoon character dancing, and making a still image of a different entity perform it, such as a photo of a person or a sketch of a face. Current methods learn this without paired examples. They check themselves with a round trip: animate the target, then try to reconstruct the original from the result. That round trip has a known loophole. A generator can hide the information it needs to pass the check as faint, invisible high-frequency patterns in its output, while the visible output is anatomically wrong: limbs stretched, faces warped, parts folded over themselves. We propose closing the loophole by making the return trip something the network cannot cheat on. Motion is represented as a smooth, folding-free spatial warp. The return trip is the exact mathematical inverse of that warp, built into the architecture rather than learned.

The core idea fits in two sentences. First, register (spatially align) the driving character's first frame to the target image, using only appearance-free "content" features so that a sketch and a photo can be aligned. Then express the target's motion as that registration, followed by the driver's frame-to-frame warp, followed by the inverse registration. Because every piece is invertible and folding-free by construction, the transferred motion cannot tear or collapse the target's anatomy, and the round-trip check becomes an identity rather than a learned reconstruction.

Core Claim

Write $\psi$ for the cross-domain registration that maps the driver's first frame $D_0$ onto the target image $S$. Write $\phi^D_t$ for the warp that takes $D_0$ to driving frame $D_t$. The motion we impose on the target at time $t$ is the conjugate

$$\phi^S_t = \psi \circ \phi^D_t \circ \psi^{-1},$$

and the output frame is the target warped by $\phi^S_t$ and then lightly re-rendered:

$$O_t = R\big(S \circ (\phi^S_t)^{-1},\ s_S\big),$$

where $R$ is a small refinement network. It sees only the warped image and $s_S$, a global style code made of channel-wise means and variances with no spatial dimensions.

If $\psi$ and $\phi^D_t$ are diffeomorphisms (smooth maps with smooth inverses and positive Jacobian determinant everywhere), then so is $\phi^S_t$, because compositions and inverses of diffeomorphisms are diffeomorphisms. Topology of the target is therefore preserved by construction. The cycle check becomes $O_t \circ \phi^S_t \approx S$, which involves no second generator and no capacity to decode hidden signals.

We claim three things. On cross-domain transfer this formulation matches the visual quality of the strongest learned-cycle method. It eliminates hidden-signal shortcuts, as measured by a perturbation probe. And it reduces anatomical failures such as folds, limb collapse and proportion drift. We also expect its main weakness to be honest and measurable: it cannot create content that was never visible in the target, such as a turned-away face.

Why this combination, and what the prior work does

The loophole is documented. Xie et al. show that cycle-consistency losses admit steganographic shortcuts, where hidden high-frequency codes satisfy reconstruction while the intermediate image is geometrically distorted. Image Disentanglement and Uncooperative Re-Entanglement shows that an unconstrained style stream becomes a covert channel for spatial layout. These papers motivate the proposal.

The cross-domain motion transfer system closest to ours, Motion and Appearance Adaptation (MAA), does three things. It transfers Mixamo character motion to fashion models and talking faces to sketches. It preserves relative part angles rather than absolute keypoints. It trains with an image-space cyclic reconstruction, which is exactly the vulnerable construction. DisMo goes the other way, compressing motion into abstract appearance-free vectors through an information bottleneck and heavy augmentation. It gives up explicit geometry, so nothing prevents structural collapse when the target's shape differs from the driver's. Our proposal keeps MAA's unpaired setting and DisMo's appearance-invariance goal. It replaces both the learned cycle and the abstract latent with explicit invertible warps.

The warp machinery comes from registration. SITReg builds symmetry, exact inverse consistency and topology preservation into the network. It uses half-way deformations, an implicit inversion layer solved by fixed-point iteration, and B-spline displacements bounded so the Jacobian stays positive. It is, however, evaluated on same-modality brain MRI and lung CT. That fits our driver warps $\phi^D_t$, since every frame of the driving video has the same appearance, but not our cross-domain map $\psi$.

For $\psi$ we borrow from work that registers across modalities by aligning appearance-free content. LADDA disentangles anatomy from scanner style before registering MR to CT. Bayesian Unsupervised Disentanglement of Anatomy and Geometry factorizes images into shared anatomy and geometric transformations with a spatially equivariant decoder. To keep the content code from carrying style, we use the bottlenecks of ALADIN, which restricts style to pooled normalization statistics, and DSI2I, which shuffles style codes spatially. None of these registration or disentanglement papers transfers motion between entities.

Anatomy-Aware Cardiac Motion Estimation is the closest bridge. It estimates forward and backward motion with a symmetric tracker and checks warped masks against a learned shape prior. Its symmetry is a soft loss, and it tracks rather than transfers. We use its shape prior as an evaluation instrument in the cardiac experiment.

One cited result constrains how we evaluate. Konz et al. and Rethinking Perceptual Metrics for Medical Image Translation show that Fréchet Inception Distance (FID) correlates poorly with anatomical correctness. FID alone therefore cannot validate an anatomy-preservation claim, which is why we add ground-truth and geometric metrics below.

Research Program

We build three components and one training loop.

The first component is a content encoder that maps any image to a spatial feature map that is invariant to appearance. Style is forced into a separate global code of channel statistics, as in ALADIN. Training uses random spatial shuffling of style and the heavy color and crop augmentation that DisMo uses. A contrastive term in the spirit of Basak et al. pulls together content features of the same structure rendered in different styles.

The second component is a SITReg-style registration network, run in two places. On raw frames it computes $\phi^D_t$ within the driving video. On content maps it computes $\psi$ between domains. Both use the released honkamj/SITReg implementation as the starting point. The implicit inversion is computed once per driver–target pair for $\psi^{-1}$, so its fixed-point cost is paid once, not per frame.

The third component is the refinement network $R$. Its input is limited to the warped target and the global style code, which removes the obvious leak path. Its output is penalized for deviating from the warped image except inside a predicted mask of disoccluded regions, whose area is itself penalized.

Training needs no paired data. The losses are an adversarial term on outputs against the target domain and the deformation-space cycle $O_t \circ \phi^S_t \approx S$. A reconstruction term also applies when driver and target share a domain, as in same-identity training clips.

We treat proportion preservation as an open question rather than a solved one. Conjugation transports motion through correspondence, so a driver's arm rotation becomes, on a target with shorter limbs, a rotation distorted by the stretch in $\psi$. MAA's angle-preserving design addresses exactly this. We will test whether a local rigidity penalty on $\phi^S_t$, encouraging its Jacobian to stay near a rotation within segmented parts, recovers MAA-like proportion behavior. We will report the result either way.

Baselines

The naive reference is First Order Motion Model (FOMM), the single-domain keypoint-and-warp method that MAA uses as its foil. It shows what happens when no cross-domain adaptation is attempted. On Mixamo-to-Fashion, MAA reports FOMM at FID 175.9 and Average Euclidean Distance (AED, an identity-preservation distance, lower is better) of 0.359. A second naive reference is "warp only": our pipeline with $\psi$ set to an affine alignment and no refinement. It tells us how much the deformable cross-domain registration contributes.

The strongest existing competitor is MAA itself. It is the only method in the file that targets unpaired cross-domain transfer with structural consistency, and it reports FID 61.7 and AED 0.274 on Mixamo-to-Fashion. We will retrain MAA from its published description on our exact splits, at our resolution, with the same number of GPU-hours and the same hyperparameter search budget as our method. We will report both our reproduction and the paper's numbers. On Vox-Celeb-to-Cufs, no reported result was found on Lacuna for MAA, so the reproduction is the only reference there.

DisMo is the second strong competitor because it represents the opposite design choice: abstract motion with no geometry. We run it through its released adapter path under the same compute budget. No reported result was found on Lacuna for DisMo on Mixamo-to-Fashion.

Beating MAA means two things. Our FID and AED must be within noise of MAA's on our reproduction, not necessarily better, since FID is not the target. And we must be clearly better on the ground-truth retargeting error, fold rate and steganography probe defined below.

The ablation that isolates our key ingredient replaces by-construction inversion with soft symmetry. We substitute an unconstrained bidirectional registration network trained with a penalty between the forward warp and the inverse of the backward warp, as in Networks for Joint Affine and Non-Parametric Image Registration. Everything else stays the same. A second ablation removes the style bottleneck, letting $R$ see a spatial style map. This tests whether leakage returns through appearance even when the geometry is exact. As a sanity check that our registration module is faithful, SITReg reports Dice 0.818 on OASIS against 0.803 for VoxelMorph. Our reimplementation should land near this before we use it.

Why not just…?

Why not just add a forward-backward consistency penalty to MAA? This is the most serious alternative, and we treat it as a real threat. A soft penalty can be made small, and the registration literature shows that symmetric soft losses improve consistency. Our argument is that a soft penalty leaves the learned return generator in place, and that generator is what can decode hidden signals. The soft-symmetry ablation and the perturbation probe settle this directly. If the soft version matches ours on retargeting error, fold rate and probe sensitivity, then by-construction inversion is not needed and we will say so. The method would then reduce to "explicit warps plus a style bottleneck."

Why not just use DisMo's abstract motion codes, which already discard appearance? Discarding appearance is not the same as preserving the target's geometry. DisMo has no correspondence model, and its paper reports transfer across very different bodies without structural guarantees. The paired Mixamo test measures this directly: DisMo outputs can be compared to ground-truth retargeted renders, and fold and collapse rates can be counted.

Why not just add a segmentation-based shape loss, as shape-consistent GANs do? Zhang et al. and Yang et al. keep boundaries fixed with a segmentation critic, and in the cardiac experiment, where masks exist, we include this as a baseline. It needs labels in at least one domain, however. It constrains only boundaries, not point-to-point correspondence. And the critic can itself be fooled by plausible-looking but wrongly placed shapes, the same weakness the cardiac shape-VAE approach exhibits. On sketches and fashion images there are no labels. If the critic wins where labels exist, our contribution narrows to label-free settings.

Proposed Experiments

The first experiment is a paired ground-truth test that the field lacks. Mixamo can retarget one animation onto many characters. We therefore render held-out animations on held-out source characters and on held-out target characters, train every method unpaired as usual, and score outputs against the true retargeted renders. Metrics are keypoint error and masked pixel error, alongside FID and AED for continuity with MAA's Mixamo-to-Fashion protocol. We also report the fraction of output pixels whose estimated warp has a non-positive Jacobian determinant. For methods without explicit warps, the warp is estimated by registering output to target. Our method should show zero folds by construction and lower keypoint error than MAA; competitive FID is the bar on visual quality.

The second experiment is the decisive check for the central claim: a steganography probe. For each method we perturb the intermediate output with small Gaussian noise, JPEG compression or a slight blur, all invisible at the chosen strength, and measure how much the cycle reconstruction degrades. Separately, we train a small decoder to recover the driving frame from the high-pass residual of the output. A method that hides information will lose its cycle reconstruction under perturbation, and its residual will be decodable. Ours should be insensitive on both counts, since the return path never reads the output's high frequencies. If our probe numbers do not separate from MAA's, the central claim is false.

The third experiment tests transfer across appearance on Vox-Celeb-to-Cufs, where the target is a sketch. It checks whether the content encoder produces a usable $\psi$ across a large style gap. We report identity preservation, landmark error against landmarks annotated on held-out sketches, and fold rate. We also run the style-bottleneck ablation here, because this is where appearance leakage would show.

The fourth experiment is a cardiac check where anatomy is measurable. On the long-axis cine MRI data used by Anatomy-Aware Cardiac Motion Estimation, which reports Hausdorff-distance reductions of 12.3% and 14.9% for its tracker, we transfer one patient's cardiac cycle onto another patient's end-diastolic frame. We score the warped myocardial masks with that paper's shape prior and compare against the segmentation-critic baseline. As a downstream use, we train a tracker on real data augmented with transferred sequences and measure boundary Hausdorff distance on held-out patients.

Throughout, we report latency. The one-time inversion for $\psi^{-1}$ should keep per-frame cost close to that of a feed-forward warp. We also report failures on out-of-plane rotation and disocclusion, the regime where an invertible warp is structurally the wrong tool and where we expect MAA and DisMo to win.