Multi-modal conditioning project · status at 28 Nov 2026, 07:15 IST

Image Twigs Report

This report covers three parts of the project, all built on a frozen generator with small learned add-ons.

  • Part A, image from conditions: writing the supplied classes into the text prompt (H6) raised layout match by 37% and cut invented content by a quarter. The original twig-feedback idea did not help.
  • Part B, next-frame editing: a fine-tuned video model (Wan W1) keeps the moved object's identity far better than any image-model editor, but it sometimes under-applies the change.
  • Part C, Diffusion Twigs end to end: two twig loops work on held-out data.
    • Images: a twig self-prompting loop makes samples more legible and more realistic: unconditional KID 3.86 → 1.63; depth-only CLIP +0.36 and KID 5.05 → 3.91.
    • Video: a silhouette twig with a two-pass restart improves pose and text edits (mask IoU +0.05, PSNR +0.6, identity +0.03).
    The theory we derived predicted both the wins and the nulls.
Part A · H6 vs v1 baseline0.48 +0.13layout match, mIoU (baseline 0.35, real photos 0.58)
Part A · H6 vs v1 baseline20% −6.6 ptsimage area covered by invented classes (baseline 27%)
Part B · W1 vs best Sana editor0.80 +0.27identity of the moved object (Sana 0.53, real frame 0.85)
Part B · W1 vs best Sana editor0.51 −0.05mask IoU, shape and position (Sana 0.55)
Part C · twig loop vs none, unconditional1.63 −2.23KID ×100 on 200 held-out images (shuffled-list control 3.36)
Part C · twig restart vs W1, pose+text+0.048 mask IoUPSNR +0.63, identity +0.033 (shifted twig −0.084)

Part A

Image from conditions

Segmentation, depth, boxes and caption, given in any combination, produce a photo. Two stages of work: the original twigs study, then a method search.

The task: draw a photo that obeys whatever conditions are given

The model receives any subset of four conditions, which gives 15 combinations:

  • Segmentation map: 133 COCO panoptic classes, giving what is where.
  • Depth map: relative depth from Depth Anything V2.
  • Boxes: object boxes with one of 80 class labels.
  • Caption: one sentence of text.

It must produce a 512 px image consistent with all of them, and must not invent things the conditions don't call for.

Setup. Sana-0.6B (a text-to-image diffusion model) stays frozen. What is trained:

  • small encoders that turn each condition into tokens;
  • a rank-8 LoRA on the attention layers.

Data and sampler: 15k COCO training images, 6k steps, sampled with DPM-Solver++ in 20 steps at guidance 3. Evaluation: 200 untouched test images × all 15 combinations, giving 3,000 outputs per method. A 440-image reserve split is used for screening.

How Part A methods are compared

MetricQuestion it answersReal photos
mIoUDoes the layout match the given segmentation? (Mask2Former on the output vs the map)0.58
Box recallIs each given box filled by the right object? (detector IoU ≥ 0.5)0.69
Depth RMSE / ρDoes the 3-D layout match the given depth?ρ 0.90
CLIPScoreDoes it match the caption?25.8
Hallucinated areaShare of the image covered by classes in neither the map nor the caption9%
VLM legibilityQwen2.5-VL, 1–5: are the objects recognisable and real?–
KIDOverall realism vs real COCO photos–

"Real photos" means the same evaluators run on the real test photos against their own conditions, which gives the practical ceiling. All differences are paired bootstraps over image IDs, with * meaning the 95% interval excludes zero.

Stage 1: do "twigs" help? No.

The project's original idea is the twig. Alongside the image, the model also predicts coarse 16×16 versions of the segmentation, depth and box maps at every denoising step. Three variants were trained with identical data, seeds and budget:

  • A: conditions in, image out. No twigs.
  • B: A plus twig heads, trained as auxiliary outputs.
  • C: B, plus the evolving twig predictions fed back into the model at the next step. This is the hypothesis: the model sees its own emerging layout.
Test, 200 × 15ABCB_sgC_sg
CLIPScore25.2825.0625.1725.1725.21
mIoU0.3520.3210.3140.3460.341
Box recall0.2900.2680.2640.2860.280
Depth ρ0.8750.8670.8590.8750.881
KID ×10³ ↓9.1710.3510.178.889.59

The "_sg" variants stop the twig losses from flowing into the shared LoRA.

  • Twig training hurt the image (B < A on mIoU, box recall and CLIP, all *). Stopping the gradient removes that harm (B_sg ≈ A).
  • Feedback gave nothing: C − B and C_sg − B_sg are not significant on any metric.
  • The model leans on the feedback without using its content. Switching it off at inference hurts a lot (CLIP −1.2 to −1.8*). But swapping in another image's twig states barely matters, and even ground-truth twig states don't help.

Conclusion: A is the best Stage 1 model. Its weakness, measured in Stage 2, is class identity: it draws the right shapes (class-agnostic IoU 0.71) with the wrong things in them (class mIoU 0.32), and fills 27% of the image with classes nobody asked for.

Twig states for one test image across variants B, C and C_sg
What twigs look like. For one test image, each row shows the generated RGB and the model's own 16×16 segmentation, depth and box predictions for B, C and C_sg under three condition sets. The top row is ground truth.

Stage 2: class words fixed what extra capacity couldn't

Each step adds exactly one idea to A, keeping data, seeds and budget fixed. Pilots ran on 50 images × 7 combinations, and winners were confirmed on the full test.

IDIdeaResult vs AVerdict
H2Render seg, depth and boxes at full 512 px, encode them with Sana's own autoencoder, and add learned per-pixel class embeddingsmIoU +0.025*, box +0.040*, depth ρ +0.049*small
H2r32H2 with LoRA rank 32no adherence gain, legibility −0.07*no
H3H2 plus a ControlNet-style branch (a trainable copy of 7 blocks)best validation loss, but class mIoU n.s. and more invented objectsno
H4With no caption, write the supplied classes as a prompt, "a photo containing: dog, frisbee, sea", through Sana's own text encodermIoU +0.100*, box +0.099*, hallucination −5.7 pts*big
H5H3 + H4: extra capacity and class wordsbox +0.114*, depth best, but CLIP −0.44*trade-off
H6H4, plus append the class words to the caption when one existsmIoU +0.129* (+37%), box +0.105* (+36%), hallucination −6.6 pts* (−25%), legibility +0.05*, CLIP −0.29*best
H7 / H8H6 trained 2× / 3.3× longerPilot +0.040 mIoU did not hold: full test +0.003 (n.s.). H8: box +0.016*, legibility −0.05*plateau
H9Separate guidance strengths for layout and captionworse on every measure (CLIP −0.5 to −1.1*)no

Why H4 and H6 work. The class identity was already in the segmentation map, but the model couldn't read it from coloured pixels. Written as words, it goes through the text encoder Sana was trained to obey. The prompt adds no new information, only a better route for it. More rank or a bigger branch did not help, so the bottleneck was representation, not capacity.

Where the gain comes from: settings without a caption

Full test, 200 images per setting. Layout match is pooled mIoU and appears only where a segmentation map is given. Invented area is the mean share of each image covered by classes in neither the map nor the caption (lower is better).

Look at Part A outputs yourself

These are 8 consecutive images from the shuffled test split (not selected), across 4 condition settings and 5 methods. The first tile shows exactly what the model received: the segmentation colours, the yellow boxes with their labels, the depth inset, the caption, and the class-list prompt the H-models add. The second tile is the real photo, which no model saw. Press and hold an output to lay the supplied segmentation (or boxes) over it and check the layout. Blind mode hides names and shuffles the order.

Part A: works

  • Class words through the text encoder (H4/H6). With only a segmentation map, layout match rises from 0.24 to 0.52. With only boxes, invented area falls from 57% to 29%.
  • Consistency improved along with adherence. There is less invented content, fewer unrecognisable regions and higher VLM legibility.
  • Full-resolution conditions with class embeddings (H2) give a small, real gain in depth and boxes.

Part A: doesn't

  • Twig feedback (Stage 1). The model depends on it but doesn't use what's in it.
  • More capacity or longer training (rank 32, ControlNet branch, 2–3× steps). No class-identity gain.
  • Separate layout and caption guidance (H9).
  • Remaining gaps. CLIP is 0.3 lower than the baseline, and box recall is 0.39 against 0.69 on real photos. With all four conditions the methods are close, because the caption already names the objects.

Part B

Next-frame editing

Given a video frame and a description of how one object changes, produce the next frame.

On unseen DAVIS videos, W1 wins on identity and realism and loses a little on shape

96 held-out DAVIS pairs, never used for training or for choosing any setting. Each dot is a mean over the pairs. Dashed lines are reference points: copying the source frame unchanged, and the real next frame scored by the same metric.

Dots rather than bars, because PSNR has no meaningful zero. Hover a row for the exact value. The table further down has every number.

The task: given a frame and a change, produce the next frame

Input is a video frame plus a description of what changes about one object. Output is the next frame: the object moved or changed as asked, everything else untouched. The change can be given as:

  • Mask: the object's exact new silhouette.
  • Box: only where it goes and how big it is.
  • Pose: a body skeleton, for people.
  • Text: a sentence such as "the object moves to the right and towards the camera". These are templated from the measured motion.
  • All: everything above together.

Data: 8,188 training pairs from YouTube-VOS (frames 2–20 apart). Test sets: 113 YouTube-VOS pairs, plus 96 DAVIS 2017 pairs from 14 videos, held out entirely.

How Part B methods are compared

MetricQuestion it answersCopy sourceReal frame
Mask IoUIs the object in the requested place and shape?0.380.60
IdentityIs it still the same object? (DINOv2 similarity to the source crop)0.910.85
PSNR / LPIPSHow close is the whole frame to what actually happened?19.2 dB–
Background PSNRWas everything outside the edit left alone?22.9 dB–
VLM judgeChange done? Same scene? Legible (1–5)?––

Copying scores perfectly on faithfulness and badly on following, so no single number decides. Settings were chosen on YouTube-VOS and confirmed once on DAVIS, with success bars pre-registered.

where the object must go (target mask)white dashes: where it is now

Look at Part B outputs yourself

These are 12 DAVIS pairs, one random pair from each of 12 random videos (seed 0), not hand-picked. The first tile shows what the editor was told, and the second shows what really happened. Press and hold an output to flash the source frame in its place. Click an output to load it into the swipe comparison. Blind mode hides names, and your picks stay in this browser.

Swipe comparison

The editors, end to end

1. Sana editors: good at moving things, poor at keeping them recognisable

These reuse Part A's frozen Sana with a LoRA. The source frame is encoded and fed in beside the change conditions, and the model learns the next frame by flow matching. Three pieces made it work:

  • Region blend (E0b). Only the region covering the source and target may change. Outside it, the original pixels are pasted back.
  • Source as tokens (E4). The source is given position-by-position and also as extra attention tokens, so the model can fetch the object's look from where it was.
  • Dual guidance (E6). At sampling there are two dials: how strongly to stay faithful to the source, and how strongly to apply the change. During training the source is randomly hidden 10% of the time, so both directions can be computed. v = u(∅) + 1.5·[u(src) − u(∅)] + 2·[v(src, change) − u(src)]. Identity rose by 0.13–0.33, with no retraining.

The ceiling. Sana compresses 512 px into a 16×16 grid of tokens. A moved person or dog spans a handful of tokens and must be redrawn from scratch, losing fur, faces and patterns. Longer training (E8), warp-anchoring (E7) and a motion-plan twig (E5) did not move it.

The same DAVIS frame, gridded at each model's token size.

Sana E4 with and without dual guidance
Sana E4: joint guidance vs dual guidance 1.5 and 2.0. Identity improves, but bodies stay soft.

2. Wan 2.1 VACE: a video model as the editor

Wan 2.1 VACE (1.3B) is a video generator with a built-in "edit this region of this clip" mode. It has three advantages for this task:

  • 4× the tokens: 32×32 per frame.
  • A motion prior: objects keep their look while they move.
  • Native region editing.

Each edit becomes a 5-frame clip. Frame 0 is the source. In frames 1–4 the edit region is greyed out, with a hint drawn on top built only from what was supplied:

  • the source object warped into the requested box or mask;
  • the pose skeleton, if given;
  • for text-only, plain grey, with the sentence as the prompt.

The last generated frame is the answer, and the outside is pasted back.

Real example (dogs-jump). The grey box is the edit region, and the yellow outline is where the warped dog goes. The model learns to turn the top row into the bottom row.

3. What each Wan step did

W0 · zero-shot mixed

No training. It already beats Sana on identity (+0.06) and closeness to the real frame. But objects come out translucent and the old pose ghosts through, because the model has never seen this clip format. Mask IoU 0.37.

W1 · LoRA fine-tune new best

Rank-32 LoRA, 3,000 steps (~5 h on one L40S), 10% source dropout for dual guidance. The ghosting is gone, and identity reaches 0.80 on DAVIS against 0.85 for the real frame. Rank 64 and 1k → 3k more steps changed little.

Motion guidance mild gain

A second negative at sampling: "the same region with the object drawn where it already is". Sampling is pushed away from "nothing moved". At strength 1: mask IoU +0.02 ✓, legibility +0.06 ✓, identity −0.01 (n.s.). Now being confirmed on DAVIS.

Wan zero-shot outputs showing ghosting
W0, zero-shot: appearance is kept, but the old pose shows through (ghosting).

Full numbers on DAVIS

Means over 96 held-out pairs for the setting chosen in the chart above. Higher is better except LPIPS. Bold marks the best editor per column.

W1 + dual against the pre-registered bar (vs Sana E4 + dual, all conditions)

CriterionBarResultPass
Identity of the moved object≥ +0.10+0.27 ✓pass
PSNR vs real next framenot lower+0.57 dB ✓pass
Mask IoUwithin 0.02−0.045 ✗fail

Also significant for W1: LPIPS −0.027, SSIM +0.036, background PSNR +0.38, image quality +0.05, legibility +0.18. Against it: VLM "change done" −0.10.

Part B: works

  • Video prior for identity. Wan keeps the dog's fur, the dancer's clothes and the car's livery: 0.53 → 0.80.
  • Fine-tuning on the clip format. 1,000 steps removed the zero-shot ghosting: image quality +0.17, legibility +0.17 to +0.26.
  • Dual guidance works for both Sana and Wan, with no training cost.
  • Region paste-back keeps the background exact for every method.

Part B: doesn't, or not yet

  • W1 is conservative. On 30% of DAVIS pairs its result is no closer to the target than copying the source (Sana: 18%). It keeps old poses for non-rigid motion, and on YouTube-VOS it sometimes doesn't move the object at all.
  • More capacity or longer training. Rank 64 ≈ rank 32, and 3k ≈ 1k steps. That matches Part A's H7/H8.
  • Region artefacts. People inside the edit region but not being moved can be partly erased (dogs-jump in the viewer).
W1 failure cases where the object is not moved
The worst W1 pairs on YouTube-VOS (mask setting, step 1000). W1 returns the source unchanged where Sana moves the object. These were hand-picked as failures, unlike the viewers.

Part C

Diffusion Twigs, end to end

The core ideas of Diffusion Twigs (Mercatali et al., NeurIPS 2024) carried into image generation and next-frame editing. No bounding boxes: the inputs are text, segmentation and depth for images, and text, mask and pose for video. Every claim on this part comes from the held-out test split (200 images that were never used to choose a method), with a shuffled-twig control.

What we took from the paper, and where it landed

In Twigs, a shared trunk diffusion process generates the main object, and small stem processes generate its properties. During sampling, loop guidance reads the stems from the current joint state and feeds them back into the trunk. Our trunk is Sana-0.6B for images and Wan VACE 1.3B for video. Our stems are a segmentation stem, a depth stem, a class-presence "property" stem and a video silhouette stem, all trained on the frozen trunk's features with stop-gradient, as in the paper.

Twigs ideaOur adaptationSettingHeld-out outcome
Stems co-evolve with the trunk (continuous loop)Noisy seg/depth stem states injected into the trunk at three blocks (variant C), loop scale wImage, all inputsNo effect Shuffled stems = true stems. w=1 hurts CLIP (−0.67).
Loop guidance: read the stem, feed it backDiscrete class-list loop. The seg stem's clean estimate is read at 3 sampling steps, turned into class words and fed back through the text encoder.Image, no captionWorks Unconditional: KID 3.86 → 1.63, legibility +0.36, unrecognisable area −0.21. Depth only: CLIP +0.36, KID 5.05 → 3.91.
Stems as properties of the objectPresence twig: a BCE head on frozen trunk features predicts which of 133 classes are present. Read as top-3 or as Bernoulli samples.Image, no captionKey piece Training the twig 15k instead of 2k steps raised its recall from 0.37 to 0.51, and that made the depth-only gain replicate.
Stem posterior, not a point estimateSampled reads instead of argmax. Our theory predicted argmax reads collapse diversity.UnconditionalConfirmed Early argmax: vocabulary 225 → 103, 17% sky-only images. Sampled: KID 3.86 → 2.64.
Feed the stem into the trunk's strongest inputRouting: the twig layout is written into the segmentation-condition pathway. Also tried with loop-aware fine-tuning (T-L).ImageNo effect As Prop. 3 predicts: a supplied stem adds no information.
Loop guidance for videoSilhouette twig: predicts the target object mask from the editor's x̂₀, fed back as a supplied mask at steps 4/8 or 10/14. Then a two-pass restart.Video, text / poseInner loop: no effect Even the true mask fed in mid-trajectory moves mask IoU only +0.015. Restart with a text-reading twig: works Text mask IoU +0.059✓ (YouTube-VOS) and +0.038✓ (DAVIS), identity ✓, change done not significantly lower once the read is extrapolated away from “stay”. Pose+text (V-P twig): +0.048✓.

The twig loop makes generated images more legible and more realistic

Without a caption, Sana draws half-formed things: on the test split a third of each unconditional image is unrecognisable. The twig loop reads which objects the model has started drawing ("person, surfboard, sea"), using a small presence head on the frozen model's features. At three sampling steps it gives those words back to the model as its prompt. The model then finishes what it started.

A shuffled control feeds another image's list instead. It shows two things:

Test split, n=200 per settingCLIP ↑Unrecognisable area ↓VLM legibility ↑CLIP-IQA ↑KID ×100 ↓
Unconditional, no loop–0.3373.060.7983.86
  shuffled list (control)–−0.052✓+0.300✓+0.052✓3.36
  twig loop, presence thr .5–−0.207✓+0.355✓+0.027✓1.63
  twig loop, presence sampled–−0.081✓+0.400✓+0.065✓2.68
Depth only, no loop20.330.2523.310.7835.05
  shuffled list (control)−0.715✗+0.016−0.120✗−0.0145.88
  twig loop, presence sampled (pre-registered)+0.355✓−0.022+0.035+0.023✓3.91
  twig loop, presence thr .5+0.168−0.035✓+0.055+0.022✓3.72
  oracle list (the real photo's classes)+1.310✓−0.027+0.150✓+0.043✓3.45

Paired against no loop. ✓ means the 95% bootstrap CI excludes zero. KID is computed per setting. Object vocabulary across the 200 unconditional images: 278 with no loop, 255 sampled, 208 thr .5. The share of images with a person rises from 0.14 to 0.33; real COCO, judged on the oracle-list images, is 0.23.

How we got there, honestly

Look at the twig loop yourself

These are 10 images drawn at random (seeded) from the held-out test split; nothing was hand-picked. Under each loop output is the class list the twig read from the model and fed back. Things to look for:

Blind mode hides the names and shuffles the order.

Video: the editor commits early, so the twig must act from step 0, and then it helps

The video editor W1 often fails text and pose edits by copying the source (it under-applies the change). We trained a silhouette twig on the frozen editor. It reads the editor's clean estimate x̂₀ and predicts where the edited object should end up. On validation its IoU is 0.69 vs 0.59 for "the object stays" on text, and 0.66 vs 0.48 on pose. Fed back as a supplied mask, it should tell the editor where to put the object.

It does not. Even the true target mask, fed in mid-trajectory, barely moves the result. Yet the same mask supplied from step 0 is the editor's strongest input. Our theory explains why: the edit "mode" (move vs stay) is decided within the first few of 25 steps, and a late loop cannot switch modes. That is why we tried a two-pass restart: read the twig at the end of pass 1, then re-sample from the same noise with that silhouette as the mask from step 0.

vs W1 + dual guidanceFed back atText: mask IoUPose: mask IoUPose+text: mask IoUNote
Silhouette twigsteps 10, 14+0.007+0.004+0.003change_done −0.035✗ on text
Shifted twig (control)steps 10, 14+0.003−0.003+0.001
True mask (oracle)steps 10, 14+0.015✓+0.015✓+0.011✓the late ceiling
Silhouette twigsteps 4, 8+0.009+0.004+0.004bg PSNR +0.18✓ on pose+text
Twig + loop guidance w=1steps 4, 8+0.017−0.001+0.014
Two-pass restart: the silhouette is supplied as a mask from step 0 of a second pass
Restart, twig read at step 20pass 2, from step 0+0.015−0.006–the late twig echoes pass 1 (predicted ≈ 0)
Restart, twig read at step 4pass 2, from step 0–+0.002–bg PSNR +0.12✓
Restart, shifted silhouette (control)pass 2, from step 0−0.094✗––PSNR −1.14✗: pass 2 follows the mask
Restart, true silhouette (oracle)pass 2, from step 0+0.171✓+0.114✓–PSNR +2.03✓ / +1.38✓, pose PCK +0.41✓ / +0.14✓ (predicted +0.10 to +0.16)
V-P: a better twig. It sees the pose skeleton and is trained only at high noise, so it cannot copy the answer from x̂₀. Read at step 1, then restart.
Restart, V-P twigpass 2, from step 0+0.054✓+0.021+0.041✓pose+text: PSNR +0.59✓, bg PSNR +0.65✓, LPIPS −0.022✓, identity +0.027✓ · pose: PSNR +0.52✓, identity +0.030✓ · text: PSNR +0.60✓, identity +0.033✓, but the VLM judge says “change done” less often (−0.062✗), so on text the gain partly comes from a more conservative edit
Restart, V-P shifted (control)pass 2, from step 0−0.084✗−0.037−0.084✗identity −0.106✗, PSNR −0.91✗ on pose+text
Restart, V-P twig, final checkpointpass 2, from step 0––+0.048✓PSNR +0.63✓, identity +0.033✓, pose PCK +0.054✓. Without the skeleton: +0.036✓.
Restart, V-P twig, on DAVIS (unseen videos, text edits, n=96)pass 2, from step 0+0.021✓––PSNR +0.32✓, bg PSNR +0.41✓, LPIPS −0.009✓, identity +0.027✓, VLM change done +0.010
Gated restart (only when the twig predicts a move), textpass 2, from step 0+0.026✓––PSNR +0.20✓, legibility +0.044✓, change done −0.018 (n.s.). On real next frames the judge says “done” for 0.973.
V-T: the twig also reads the edit text (FiLM from umT5), and its read is extrapolated away from “stay”: mask = 1[p + λ(p − source) > ½]. That is CFG on the twig, with the source silhouette as the null-edit prediction (theory H5).
Restart, V-T twig, plain read (λ=0)pass 2, from step 0+0.065✓––PSNR +0.75✓, identity +0.045✓, pose PCK +0.166✓, but change done 0.894✗ vs 0.947. The ½ read hedges toward the source silhouette (stay-IoU 0.78). The true-silhouette restart keeps 0.947. DAVIS: +0.042✓, change done 0.656✗ vs 0.760.
Restart, V-T twig, extrapolated read λ=0.5 (recommended)pass 2, from step 0+0.059✓+0.045✓+0.050✓Text: PSNR +0.59✓, bg PSNR +0.54✓, identity +0.025✓, pose PCK +0.162✓, change done 0.912 (n.s.). DAVIS (confirmation): mask IoU +0.038✓, PSNR +0.38✓, identity +0.038✓, change done 0.708 (n.s.). λ chosen on YouTube-VOS by a rule fixed before the runs. Pose+text: PSNR +0.59✓, identity +0.020✓, pose PCK +0.046✓. One twig covers all three settings.
Restart, V-T twig, λ=3 (label-free: read's stay rate matched to validation, 0.592)pass 2, from step 0+0.056✓––change done 0.903 · DAVIS +0.041✓, change done 0.740 (n.s.). Change done plateaus at 0.90–0.91 on YouTube-VOS for every λ ≥ 0.5.
Twig-gated restart (recommended): the twig's read picks λ=3 + motion guidance where it predicts a move, λ=0.5 elsewherepass 2, from step 0+0.036✓–+0.045✓Pre-registered fresh-noise confirmation: YouTube-VOS PSNR +0.26✓, identity +0.008, change done 0.947 vs 0.938. DAVIS mask IoU +0.044✓, PSNR +0.25✓, identity +0.019, change done 0.781 vs 0.771. The only setting with localisation and fidelity gains and no loss in edit strength or identity.
Restart, V-T twig λ=3 + motion guidance (twig decides where, guidance decides how much)pass 2, from step 0+0.038✓––Change done 0.947 = W1. DAVIS: mask IoU +0.039✓, change done 0.823 vs 0.760. First setting with no change-done loss on either dataset. Fresh-noise replicate (pre-registered): YT +0.036✓, change done 0.965 vs 0.938; DAVIS +0.047✓, 0.833 vs 0.771. vs motion guidance alone: mask IoU +0.084✓ / +0.082✓, PSNR +0.75✓ / +0.57✓. With λ=0.5 instead: +0.055✓, change done 0.920 · DAVIS +0.032✓, 0.750.
Twig mask released after step 4 / 8 of pass 2 (no-go)pass 2, steps 0–3 / 0–7+0.035✓ / +0.049✓––change done 0.885 / 0.912: dropping the mask late does not restore the change
Restart, V-T twig, λ=1pass 2, from step 0+0.055✓––change done 0.903 (n.s.) · DAVIS +0.044✓, change done 0.740 (n.s.)
Restart, V-T shifted (control)pass 2, from step 0−0.082✗––identity −0.101✗, pose PCK −0.287✗
Edits that are both visible and correctly placed (judge says done AND mask IoU ≥ 0.3; post-hoc diagnostic). W1: 0.496 on YouTube-VOS, 0.365 on DAVIS.
V-T twig restart, λ = 0 / 0.5 / 1 / 2 / 3pass 2, from step 0YT: +0.106✓ / +0.088✓ / +0.080✓ / +0.080✓ / +0.044 · DAVIS: +0.031 / +0.062 / +0.104✓ / +0.062 / +0.125✓The raw change-done gap on YouTube-VOS sits in pairs that both methods fail (IoU < 0.2), where W1 scores “done” by damaging the scene (an erased bucket, a cropped deer).

YouTube-VOS test pairs without a supplied mask (text n=114, pose n=27, pose+text n=113). All variants use the same seeded noise per pair. Paired bootstrap; ✓/✗ = 95% CI excludes 0.

Pose+text edits: source, real next frame, W1, twig restart, shifted control
8 random pose+text pairs (seeded, not picked). The twig restart's gain shows mostly as fidelity. For the cat, W1 adds an extra paw that the restart does not. For the parrot, W1 shifts the colour. The shifted control drags objects to the wrong place, which shows pass 2 follows the twig.
Text edits on YouTube-VOS and DAVIS: source, real next frame, W1, V-T twig restart with extrapolated read
V-T twig restart, λ=0.5: 6 YouTube-VOS and 4 DAVIS text edits (seeded random, not picked). Outcomes are mixed, as in the averages. DAVIS dogs-jump goes from mask IoU 0.11 to 0.59. The motorbike keeps its real size where W1 shrinks it. The cow edit gets worse (0.36 to 0.12). Most others are close.

Theory: when a twig loop can help, and how to read it

The paper has no theorems and no loop ablations. We derived the results below and checked each one against a small simulation and against the experiments. Full statements and proofs are in docs/twigs_theory.md, docs/twigs_theory_ext.md and docs/twigs_theory_r5b.md.

A supplied stem is redundant (Props 1, 3)

If the condition already contains the stem (a seg map is given), feeding back a twig estimate adds no information (data processing). A loop can only help by routing the trunk's own information into a pathway it uses better, or by amortising computation.

Seen: Δ̂(t) ≈ 0 where seg is supplied, >0 only where it is absent. Routing into the seg pathway was neutral, and the shuffled-vs-true gap matched.

When the stem carries information (Prop. 2)

By the law of total variance, the value of an oracle stem Δ(t) peaks at intermediate noise: near t=1 the stem is unknown, near t=0 the trunk already knows it.

Seen: Δ̂ peaks at t ≈ 0.65–0.8. Twig list precision rises 0.63 → 0.81 as t falls.

Error bound (Prop. 4)

By Girsanov, the KL cost of feeding an imperfect twig is at most ½∫ g⁻² L² E‖ŷ − y‖² dt. Gains are bounded by twig accuracy.

Seen: oracle list ≫ twig list in depth-only, a gap of about 1.3 CLIP.

Argmax reads collapse diversity (G1–G3)

An argmax read is mode-seeking, and its distortion is bounded by the twig's Bayes error at the read, which is larger early. A sampled read is a posterior sample, so the loop keeps the trunk's distribution. Realism (KID) therefore has an interior optimum in read time and sharpness.

Seen: early argmax gives vocabulary 103 and worse KID. Sampled early gives KID 3.86 → 2.64.

Set conditioning (F1)

With a class list as conditioning, the excess hallucination depends only on wrong classes and the missed objects only on missed classes. Each wrong class costs about 0.07 CLIP, and the two shuffled controls agree on this out of sample (0.066, 0.074).

The depth-only gap to the oracle is mostly recall of salient things.

Video outer loop as a Gibbs step (H1–H4)

Re-sampling with the twig's own silhouette is one step of a two-block Gibbs sampler on (frame, mask). A twig read late from pass 1 mostly echoes pass 1. One restart helps only if 0.89 × (twig IoU on pass-1 states) exceeds the pass-1 IoU. A mask arriving after the commitment time is inert.

Predicted for the restart: twig ≈ 0, oracle +0.10 to +0.16, shifted < 0.

The extrapolated read is a change-favouring Bayes read (H5)

Thresholding the twig at ½ is the pixel-accuracy Bayes read, so under “does it move?” uncertainty it returns the source silhouette. Reading 1[p + λ(p − source) > ½] is the Bayes read when an error toward the source costs 1+2λ times an error away from it. With λ=0.5 the twig commits to a move whenever P(stay) < 2/3.

Predicted before the runs: stay-IoU of the read falls, change done rises, mask IoU stays positive. All three held on YouTube-VOS and DAVIS.

Part C: works

  • Twig self-prompting. A discrete loop-guidance analogue on held-out images. Unconditional: KID 3.86 → 1.63, legibility +0.36. Depth only: CLIP +0.36, KID 5.05 → 3.91. Shuffled controls show the twig's content matters.
  • Presence "property" twig (the paper's stems as properties). Its recall is the lever: longer training turned a non-replicating depth-only gain into a confirmed one.
  • Sampled reads keep diversity where argmax reads collapse it, as the theory predicted.
  • Text-reading video twig with an extrapolated read (V-T, λ=0.5). The twig reads the edit text, and its silhouette is pushed away from the source before pass 2 (CFG on the twig; theory H5 predicted the fix in advance). Text: mask IoU +0.059✓ on YouTube-VOS and +0.038✓ on DAVIS, identity ✓, judge “change done” no longer significantly lower. Adding motion guidance (λ=3) brings change done to W1’s level or above (0.947 = 0.947; DAVIS 0.823 vs 0.760), with mask IoU +0.038✓ / +0.039✓. Letting the twig decide per clip when to add the guidance removes the identity cost; confirmed on fresh noise.
  • Video twig restart (V-P). A silhouette twig that sees the pose skeleton and is trained only at high noise (so it cannot echo the target), read at step 1 and supplied as a mask from step 0 of a second pass. Mask IoU +0.048✓, PSNR +0.63✓, identity +0.033✓ on pose+text, with a shifted control that hurts.
  • Theory that predicts the null results (supplied stem redundant, routing neutral, late video loop inert) as well as the positive one.

Part C: doesn't

  • The continuous co-evolving loop (the paper's literal mechanism): shuffled = true, w=1 hurts.
  • Twig loops with a caption: adding class words to a caption lowers CLIP, even with the oracle list, so the loop runs only on caption-free rows.
  • Routing the twig into the seg pathway, with or without loop-aware training.
  • Video silhouette loop inside one trajectory, at any step: the editor commits too early. The original twig also failed in the restart, because it echoed pass 1.

Status and next steps

Part A · done

H6 is the final conditional image model. H7 is an equal alternative.

Part B · done

W1 + dual guidance is the video editor. Motion guidance trades shape against identity. The region-weighted W2 was a no-go.

Part C · done

Twig self-prompting (image) and the twig restart (video: V-P for pose, V-T with an extrapolated read for text) are confirmed on held-out data with content controls. The continuous loop, routing, loop-aware training and the in-trajectory video loop were no-gos, each predicted by the theory.

Open

Depth only: the twig closes about a quarter of the CLIP gap to the oracle list, so recall is still the limit. Text-only video: the text-reading twig with an extrapolated read keeps fidelity gains (YT +0.059✓, DAVIS +0.038✓) with change done no longer significantly lower (0.912 vs 0.947; 0.708 vs 0.760). Adding W1’s motion guidance to the twig restart (λ=3) closes it: change done 0.947 = W1 on YouTube-VOS and 0.823 vs 0.760 on DAVIS, with mask IoU +0.038✓ / +0.039✓. The twig decides where the object goes, the guidance how much it changes. The recommended twig-gated policy (the twig decides per clip when to add motion guidance) passed a pre-registered fresh-noise confirmation with no identity cost: mask IoU +0.036✓ / +0.044✓, change done 0.947 vs 0.938 and 0.781 vs 0.771.

Sources: docs/RESULTS.md (Stage 1), docs/RESULTS_v2.md §4 (Part C), docs/autoresearch_ledger.md (R5-* rows), docs/twigs_theory*.md, docs/results/r5/. Compute: Modal for Stage 1 and early Stage 2 ($44.59 in total), then Turing node08 (at most 4× L40S).