Anchoring and Rescaling Attention for Semantically Coherent Inbetweening

Tae Eun Choi, Sumin Shim, Junhyeok Kim, Seong Jae HwangCVPR 2026

TL;DR

This paper introduces a training-free, plug-and-play approach to improve text-conditioned generative inbetweening using Diffusion Transformers (DiTs). By introducing Keyframe-anchored Attention Bias (KAB) and Rescaled Temporal RoPE (ReTRo), the method achieves state-of-the-art frame consistency, semantic alignment, and smooth motion pacing without any fine-tuning. The authors also release TGI-Bench, the first benchmark specifically designed to evaluate text-conditioned video inbetweening.

What Problem Does This Paper Address?

Generative Inbetweening (GI) goes beyond traditional video frame interpolation. Instead of merely blending adjacent frames to increase a frame rate, GI aims to synthesize entirely new, highly non-linear, and realistic intermediate frames across sparse gaps between a starting and an ending keyframe.

However, existing state-of-the-art video models face three major hurdles when performing GI over long horizons:

  1. Semantic Misalignment: The generated video often drifts away from the instructions in the text prompt over time.
  2. Frame Inconsistency: Intermediate frames can suffer from sudden blurring, warping, or object collapse.
  3. Pace Instability: The motion pacing can become erratic, causing objects to unnaturally accelerate or decelerate between the two fixed endpoints.

Because there are infinite plausible paths an object can take between two keyframes, models require precise semantic and temporal guidance to stay on the intended track.

Methods

The authors propose two novel, training-free mechanisms designed to manipulate the attention layers of Diffusion Transformer (DiT) video models:

1. Keyframe-anchored Attention Bias (KAB)

KAB targets the cross-attention layers to maintain semantic fidelity and stable pacing. It extracts the cross-attention maps from the first and last frames (the "keyframe anchors") and linearly interpolates them across the timeline to create frame-wise target anchors. These anchors are applied as a subtle logit bias, gently guiding intermediate frames to distribute their attention appropriately. To prevent the asymmetric fusion common in baseline models (which often group the last frame and text together), the authors introduce Triple Isolated Cross-attention, computing separate, symmetric cross-attentions for the first frame, last frame, and text prompt.

2. Rescaled Temporal RoPE (ReTRo)

ReTRo modifies the self-attention layers by dynamically adjusting the scale of Rotary Position Embeddings (RoPE) along the temporal axis. Standard RoPE treats all frames uniformly. ReTRo, however, applies a higher scale near the keyframes to sharpen local attention (preserving keyframe details) and a lower scale for the middle frames to broaden their attention span, allowing them to anchor themselves securely to both endpoints.

Figure 3. Overall Pipeline of Our Method. Our model is built upon a video DiT pipeline that consists of DiT blocks with self-attention and cross-attention layers. Left: Keyframe-anchored Attention Bias is performed for each condition’s cross-attention, which aggregates cross- attention maps from each keyframes to form keyframe anchors. These keyframe anchors are interpolated to frame-wise target anchors, which are used as a small logit bias to guide each intermediate frames. Right: Furthermore, we introduce Rescaled Temporal RoPE, which increases temporal RoPE scale at the edges and reduces in the middle. As a result, edge frames place most of their attention on nearby frames while middle frames spread their attention across a wider temporal range.

Datasets

To rigorously evaluate text-conditioned GI, the authors introduced TGI-Bench, the first benchmark of its kind.

  • Composition: 220 curated video sequences from DAVIS, Pexels, and Pixabay, each paired with a highly descriptive, GPT-4-generated (and manually verified) text prompt.
  • Challenges: Each video is categorized into one of four distinct difficulty subsets: dynamic motion, linear motion, occlusion, and near-static.
  • Scalability: It supports evaluation across four sequence lengths: 25, 33, 65, and 81 frames.
Figure 4. TGI-Bench. (a) One example from each challenge of our TGI-Bench is presented. For each example, the first and last frames of the video along with its text description are shown. (b) The distribution of challenges according to the number of frames is illustrated.

Key Insights and Ideas

  • Combating Signal Decay: As a video generation pipeline moves further from its conditioning endpoints, the guiding signal naturally weakens. KAB acts as an explicit "gravitational pull," keeping intermediate frames aligned with a smooth semantic trajectory.
  • Non-Uniform Temporal Scaling: Uniform positional embeddings are sub-optimal for interpolation tasks. Keyframes require high-fidelity local attention, whereas intermediate frames require a wide-angle view of both the past and the future to maintain consistency.
  • Symmetry is Essential: Treating the first frame, last frame, and text prompt as equal, isolated components in cross-attention prevents the model from favoring one endpoint over the other, eliminating abrupt motion jumps.

Key Results

The proposed method was evaluated against leading baselines (including Wan2.1, TRF, and FCVG) on 65- and 81-frame generation tasks:

  • Quantitative Metrics: On the 81-frame benchmark, the method achieved state-of-the-art performance across the board, reaching a VBench score of 10.022 (outperforming the Wan baseline of 9.904) and an FVD of 0.2458 (improving upon Wan's 0.2769).
  • Human Evaluation: In user studies evaluating frame consistency (FC), semantic fidelity (SF), and pace stability (PS), the proposed method significantly outperformed all baselines, scoring 4.38, 4.27, and 4.34 respectively (out of 5).
Pace stability comparison demonstrating that the proposed method eliminates erratic acceleration and closely matches the ground truth.

Limitations and Future Work

While highly effective, the method has a few limitations:

  • Architecture Dependent: Because it relies on manipulating cross-attention maps and RoPE scales, it is strictly applicable to DiT-based architectures and cannot be directly backported to older U-Net video generators.
  • Inference Overhead: Computing triple isolated cross-attentions separately adds a minor computational cost during inference.
  • Static Scaling Factors: The scaling factors for ReTRo ($\text{s}_{\text{edge}}$ and $\text{s}_{\text{mid}}$) are currently fixed hyperparameters. The authors note that dynamically adapting these scales based on the velocity or complexity of the text-described motion is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{choi2026anchoring,
  author = {Tae Eun Choi and Sumin Shim and Junhyeok Kim and Seong Jae Hwang},
  title = {{Anchoring and Rescaling Attention for Semantically Coherent Inbetweening}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=bQgNy7pfA3},
}
Figure