LOCUS: Causal Support Windows for Attribute Control in Autoregressive Image Generation

Zijun HuangarXiv 2026

TL;DR

LOCUS (Latent Optimization in Causal Support windows) is a new method that significantly improves attribute control in autoregressive (AR) image generators. By identifying the specific "causal support windows"—the exact points in the token sequence where attributes like color, size, or count are decided—LOCUS targets test-time optimization to the most effective latents, nearly doubling the compositional accuracy of models like Janus-Pro.

What Problem Does This Paper Address?

Autoregressive image generators, which treat images as a sequence of discrete tokens (similar to how LLMs treat text), often struggle with "compositional" prompts. For example, if you ask for "three red apples," the model might generate two green ones.

Researchers have found a "readability–steerability gap": while you can use a linear probe to "read" an object's color from its internal representations, simply steering the initial "prefix" tokens often fails to change the final image's color. This paper investigates why this happens, discovering that different attributes are "committed" at different times during the generation process. If you try to change the color by editing the beginning of the sequence, you're essentially shouting into a void because the model hasn't even started "deciding" the color yet.

Methods

The authors introduce the Causal Support Profile, a measurement of how much an intervention at a specific point in the token sequence actually affects the final output.

  1. Activation Patching: They use "minimal pairs" of prompts (e.g., "a red car" vs. "a blue car"). They take the hidden states from the "donor" (red car) and patch them into the "receiver" (blue car) at various windows along the token trajectory to see where the attribute "flips."
  2. LOCUS Algorithm: Based on these profiles, they developed a four-step repair loop:
  3. Diagnose: An external verifier identifies which attribute failed (e.g., "Color is wrong").
  4. Route: The system maps that failure to its pre-measured support window (e.g., color optimization happens in the middle of the sequence).
  5. Optimize: It uses the REINFORCE algorithm to update only the latents within that specific window while keeping the rest of the model frozen.
  6. Re-roll: The model generates a new image from the optimized latents.
Figure 2. Overview of LOCUS. §3.1 measures causal support Ca(W) by cross-prompt activation patching: donor hidden states replace the receiver’s over a window W, and the flip rate is the support. §3.2 locates each attribute’s support window on the image-token trajectory: count and position peak early and narrowly, while color, size, and material peak in the mid band over the object body. §3.3 diagnoses a failed generation, routes optimization to the union of the failed attributes’ windows under a fixed token budget, and updates only those latents with REINFORCE while the generator stays frozen.

Datasets

The researchers evaluated their method using:

  • GenEval and GenEval++: Standard benchmarks for evaluating how well text-to-image models follow complex, multi-attribute instructions.
  • Models: Primary experiments were conducted on Janus-Pro-7B, with additional validation on LlamaGen-XL and Lumina-mGPT 2.0 to ensure the findings generalize across different AR architectures.

Key Insights and Ideas

  • Temporal Hierarchy of Attributes: Structural attributes (count and position) are decided early and in narrow windows. Appearance attributes (color, size, material) are decided later and over broader windows corresponding to the object's body.
  • Spatial, Not Just Temporal: Because these models decode in a raster grid (top-to-bottom, left-to-right), the "support window" isn't just a fixed set of time steps; it follows the spatial location of the object. If an object is at the bottom of the image, its color support window shifts to the end of the token sequence.
  • Readability $\neq$ Steerability: The paper confirms that being able to decode a feature from a latent state (readability) does not mean that state is the causal lever for that feature (steerability).
Figure 3. Color is cleanly readable from the latents. SAE color- selective features are block-diagonal by preferred color, and the 148 recovered features together cover all ten colors.

Key Results

LOCUS provides a massive boost to "frozen" models without requiring any retraining:

  • Accuracy Jump: On GenEval++, LOCUS raised Janus-Pro’s overall accuracy from 24.6% to 46.8%.
  • Compositional Success: On difficult multi-attribute tags (like Color + Count), accuracy jumped from 19.5% to 40.5%.
  • Efficiency: Compared to standard prefix optimization, LOCUS repaired 48.1% of failed generations in a single attempt (vs. 37.4%) and required 14% fewer rounds of optimization to succeed.
  • Ablation: Support-routed windows outperformed "late" windows by 23.6 percentage points, proving that where you optimize is just as important as how you optimize.
Figure 1. Motivation of LOCUS. (a) AR generators often get object attributes wrong, such as color, size, material, count, and position, especially when a prompt combines them. (b) Prefix- optimization and direction-steering methods edit only the earliest latents and can miss attributes whose support window lies later, such as appearance, while (c) LOCUS diagnoses the failed at- tribute and optimizes only the latents in its support window.

Limitations and Future Work

  • Offline Profiles: Currently, the causal support windows are measured offline for a fixed set of attributes. The authors suggest that future work could involve estimating these windows dynamically per prompt.
  • Verifier Dependency: The system relies on an external verifier (like GPT-4 or a specialized detector) to diagnose failures. If the verifier is wrong, the repair will likely fail.
  • Raster-Order Specificity: The spatial findings are tied to the raster-scan decoding order of current AR models. It remains to be seen how these windows shift in models with different decoding orders (like the "next-scale" prediction in VAR).

Summary updated

Abstract

Unified autoregressive (AR) image generators struggle to satisfy multiple attribute constraints in a single prompt. Although these attributes are decodable from image-token latents, editing those latents at test time remains difficult. Adding a fixed attribute direction to the prefix can reinforce a requested attribute but rarely overrides a conflicting one, such as turning a car red when the prompt specifies blue. We investigate how the effect of an intervention depends on where it acts in the image-token sequence. We introduce the causal support profile, which measures, for each attribute, how often patching image-token states within a given window flips the rendered attribute. Structural attributes (count and position) are most responsive in early, narrow windows, while appearance attributes (color, size, and material) respond over later, broader windows. A budget-matched comparison of early and middle windows shows that the effect of window location depends on the target attribute, and two-dimensional support maps show that the responsive regions track spatial content. Based on these profiles, we propose LOCUS (Latent Optimization in Causal Support windows), which diagnoses which attribute failed and routes test-time latent optimization to its corresponding support window. With the generator, optimizer, reward, verifier, and token budget held fixed, support-routed windows outperform late windows by 23.6 percentage points in GenEval++ macro accuracy. With the generator frozen, LOCUS raises Janus-Pro's GenEval++ accuracy from 24.6% to 46.8% overall and from 19.5% to 40.5% on multi-attribute tags. On GenEval, LOCUS repairs 48.1% of failed generations in one rollout, compared with 37.4% for prefix optimization, and needs 14% fewer rounds on average to succeed.
BibTeX
@misc{huang2026locus,
  author = {Zijun Huang},
  title = {{LOCUS: Causal Support Windows for Attribute Control in Autoregressive Image Generation}},
  year = {2026},
  eprint = {2611.22867},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22867},
}
Figure