Abstract
State-of-the-art diffusion models (DMs) frequently produce physically inconsistent images, such as reflections on non-reflective surfaces or objects defying gravity. This paper introduces LINA (Learning INterventions Adaptively), a framework designed to enforce physical alignment and improve out-of-distribution (OOD) instruction following. By treating image generation as a causal process, LINA utilizes a lightweight Adaptive Intervention Module (AIM) to intervene in the model's latent space during the early stages of denoising. Experimental results on the new Physical Alignment Probe (PAP) and Winoground benchmarks demonstrate that LINA significantly enhances the logical consistency of models like SD-3.5, FLUX, and Wan2.2 without requiring base model fine-tuning.
Introduction
Despite their ability to generate high-fidelity textures, modern diffusion models often lack a fundamental understanding of physical laws. They treat the denoising process as a symmetric pixel-level task, failing to distinguish between a cause (e.g., a tree) and its effect (e.g., a shadow). This leads to "hallucinated" reflections and "attribute leakage," where spatial relations described in prompts are ignored or misinterpreted. For instance, a person described as being near water might be rendered inside it because the model strongly correlates the two concepts without understanding their causal relationship.
LINA addresses this by introducing a causal perspective to the generation process, ensuring that structural logic is prioritized before the model focuses on fine-grained texture.
Methodology
LINA operates through three primary components:
1. Causal Scene Graph (CSG)
The framework represents scenes using a Causal Scene Graph, which explicitly links objects (direct elements) to their physical manifestations like shadows or reflections (indirect elements). This structure helps the model understand that certain visual features are dependent on others, preventing redundant or impossible effects.
2. Adaptive Intervention Module (AIM)
Instead of manual prompt engineering, LINA employs a T5-based adapter called the Adaptive Intervention Module. AIM predicts optimal intervention strengths for two mechanisms:
- Token-Embedding Intervention: Amplifies relation tokens (e.g., "on", "in") to enforce spatial logic.
- Visual-Latent Contrastive Guidance: Uses a neutral prompt as a negative baseline to filter out generic correlations and emphasize specific causal dependencies.
3. The "Golden Window" of Denoising
Diagnostic probing revealed that the causal structure of an image is established within the first 10-15% of the denoising process (e.g., steps 26-24 of a 28-step schedule). LINA exploits this "Golden Window" by front-loading its interventions, allowing the model to spend the remaining steps refining textures within a physically sound structural framework.
Experimental Results
LINA was evaluated using the Physical Alignment Probe (PAP), a dataset of 287 complex prompts covering optics, density, and OOD scenarios.
- Physical Realism: On optics tasks (reflections), LINA improved SD-3.5's success rate from 80.4% to 97.4%.
- Buoyancy and Density: In density-related tasks, success rates jumped from 54.2% to 92.3%.
- Compositional Reasoning: On the Winoground benchmark, LINA boosted performance from 54.4% to 79.5%, demonstrating a superior grasp of visual-linguistic compositionality.
- Video Consistency: Applied to the Wan2.2 video model, LINA effectively prevented attribute leakage, ensuring temporal and physical consistency in generated sequences.
Conclusion
LINA demonstrates that diffusion models possess latent world knowledge that can be activated through targeted causal interventions. By bridging the "identification-correction gap"—where models can identify physical errors but fail to correct them during generation—LINA provides a scalable, fine-tuning-free solution for creating more reliable and physically grounded AI-generated content. Future work will expand the framework to handle more complex dynamics like fluid simulation and multi-object collisions.
Summary updated