InfiniteTalk V2V: supported way to keep non-target people pinned to the source? (noise_mask / differential diffusion is disabled when multitalk_sampling)

Author: nikitalisinCreated Aug 8, 2026Updated Aug 8, 2026

Hi Kijai, and thanks for the wrapper — we've been running InfiniteTalk V2V lip-sync on it for months and it does the hard part very well.

What we're doing

Source footage has 4–5 people sitting at a table. We drive lip-sync on exactly one of them from an audio track. Target selection already works: we track the speaker's head with SAM3, feed it as ref_target_masks, and a small custom node hard-zeroes the audio cross-attention output outside that mask, so only the target reacts to the audio.

The problem

The audio gate controls who listens to the audio, but the sampler still rebuilds the whole frame every step, so every other person drifts. Measured against the source on a 233-frame clip at 832x480 (mean absolute luma difference, 0–255 scale):

outside the target one specific bystander mouth motion on target
VAE encode/decode only (floor) 1.56 1.67 —
generated, start_step 5 9.37 12.08 1.36x source
generated, start_step 4 12.80 15.60 1.49x source
generated, start_step 3 17.67 24.29 2.07x source

So the drift is 6–15x the VAE floor, and it is visible rather than merely numeric: at start_step 3 a bystander is handed a glass of whisky that does not exist in the source, and a man in a beanie turns grey-haired. Raising start_step reduces the collateral damage but costs articulation on the target, so no single setting gives us both.

What we found in the code

There is already a differential-diffusion path that would do what we need — keep noise_mask-excluded regions locked to the input latent — but it is switched off precisely in the InfiniteTalk path. On main (86ad93d), nodes_sampler.py:

python
717:  if samples is not None and not multitalk_sampling and not wananimate_loop:
...
1715: if not multitalk_sampling and samples is not None and noise_mask is not None:

With multitalk_sampling=True the input samples and the mask are never read, so there is no supported way to pin anything.

Questions

  1. Is the exclusion deliberate? We assume the multitalk loop's windowing, motion frames and reference-latent handling conflict with per-step latent blending — we would rather understand the reason than patch around it blindly.
  2. If we blended per step inside the multitalk window loop — replacing the latent outside the mask with the source latent renoised to the current timestep — would that fight the motion-frame/context mechanism at window boundaries? Window seams are the one thing we have already fought hard, and we do not want to reintroduce them.
  3. Is there a place you would endorse instead — masking at the window-composition stage, or routing a per-window mask through the existing ref_target_masks plumbing?

Current workaround, for context

We generate the full frame and composite in pixel space afterwards: source everywhere, generation only inside a dilated, feathered mask around the target, plus a per-frame gain/offset fitted outside the mask to cancel the global exposure shift the generation introduces. Bystanders then match the source exactly (0.00 deviation) and the residual in the feather band drops from 12.90 to 7.38.

It works, but it is a post-hoc patch with a real cost: the model still spends its capacity redrawing people we throw away, and at low start_step the target's own face degrades badly, so we are forced into the conservative settings that weaken lip articulation. A latent-space solution would be both cleaner and cheaper.

Any pointer would be appreciated — including "don't, here's why".

Source: kijai/ComfyUI-WanVideoWrapper