SEDGE: Structural Extrapolated Data Generation

Kun Zhang, Jiaqi Sun, Yiqing Li, Ignavier Ng, Namrata Deka, Shaoan XiearXiv 2026

TL;DR

Current generative AI models excel at interpolating within their training data but struggle to extrapolate to entirely novel combinations of concepts (like a "peacock eating ice cream"). This paper introduces SEDGE (Structural Extrapolated Data GEneration), a causal framework that flips the traditional conditional generation paradigm by modeling data features as the parents of specifications ($X \rightarrow Z$). By leveraging conditional independence and structural sparsity, SEDGE provides theoretical guarantees and practical algorithms to reliably generate out-of-distribution data.

What Problem Does This Paper Address?

While modern text-to-image and generative models produce stunning results, they frequently fail when tasked with creative extrapolation—generating content that lies completely outside the support of the training distribution. For instance, if a model has seen pictures of peacocks and pictures of people eating ice cream, but never a peacock eating ice cream, it often suffers from "concept leakage" or fails to adhere to the prompt entirely.

Standard conditional generative models treat specifications (like text prompts) as the root cause that generates image features ($Z \rightarrow X$). The authors argue that under this graphical model, when a novel combination of specifications occurs, the distribution of features shared between those specifications becomes mathematically undefined without restrictive functional assumptions. SEDGE tackles this fundamental limitation by rethinking the underlying data-generating process from a structural causal perspective.

Figure 1: The two generating processes as initial thoughts.

Methods

The core innovation of SEDGE is modeling the data-generating process such that features produce specifications ($X \rightarrow Z$), rather than the other way around.

  1. Structural Formulations & Identifiability: The authors introduce a selection variable $S$ ($S=1$ for training data, $S=0$ for unobserved data) to formalize why certain concept combinations are missing. They prove that if two specifications do not share common underlying features, the novel extrapolated distribution is fully identifiable from the training data. If they do share features, the distribution is technically non-identifiable, but the authors introduce a "conservative solution" that yields an approximate distribution by assuming unseen scenarios are globally rare.

  2. Algorithmic Implementations: To actually generate data from this flipped structure, the authors propose two methods to maximize the conditional probability $p(Z|X)$:

  3. Optimization-Based Generation (OPT): For low-dimensional settings (e.g., tabular data), they initialize from an empirical prior and use gradient ascent to find features that satisfy the novel specification combination.

  4. Diffusion Posterior Sampling (DPS): For high-dimensional settings (e.g., images), they train an unconditional diffusion model on the features and use a structured $p(Z|X)$ likelihood predictor to guide the reverse denoising process step-by-step.

Datasets

The framework was validated using two distinct setups:

  • Synthetic Dataset: A custom-built dataset where features $X$ and specifications $Z$ are generated via a known structural equation model. A specific joint combination of $Z$ is intentionally withheld from the training set ($S=1$) to strictly test extrapolation performance against an "Oracle" test set ($S=0$).
  • Extrapolative T2I Benchmark: A newly introduced 75-prompt benchmark specifically designed for evaluating text-to-image extrapolation. It features highly unusual compositional prompts (e.g., "a suitcase with bird wings", "a camera with insect antennae"). This benchmark ensures zero train-test overlap, verified via prompt similarity metrics.

Key Insights and Ideas

  • The Causal Flip: Treating features as primitive properties of the world that give rise to observable concepts ($X \rightarrow Z$) allows the joint satisfaction of multiple prompts to decompose into individual constraints. This unlocks the use of conditional independence ($Z_1 \perp \!\!\! \perp Z_2 | X$).
  • Sparsity is a Superpower: Forcing the mapping from features to specifications to be sparse (meaning each concept only relies on a few features) drastically reduces gradient conflicts during optimization. It isolates which features need to change to satisfy a new prompt without destroying the rest of the image.
  • Existence vs. Identifiability: Even when a full distribution of novel data is non-identifiable due to shared features, the paper proves that individual valid samples can still be explicitly constructed as long as the individual concept distributions overlap in the shared feature space.

Key Results

Synthetic Experiments

SEDGE significantly outperformed baseline models that assumed the traditional causal direction ($Z \rightarrow X$) or ignored sparsity. Performance was measured using Maximum Mean Discrepancy (MMD) relative to the true Oracle distribution (lower is better):

  • SEDGE (OPT): Achieved an MMD of 0.0706, compared to 0.2256 for a model ignoring conditional independence.
  • SEDGE (DPS): Achieved an MMD of 0.0713, outperforming the standard conditional generation baseline (0.1346).

Text-to-Image Generation

When applied to complex image generation, SEDGE successfully avoided generating entangled or spurious components (like rendering a whole bird next to a suitcase instead of putting wings on the suitcase).

Qualitative comparison showing SEDGE successfully adhering to challenging compositional prompts compared to baselines.

Using GPT-4o for automated alignment scoring (higher is better), SEDGE achieved 53.0% alignment, outperforming both the base SANA model (51.9%) and Aligner (50.0%), despite SEDGE only utilizing 1.6B parameters compared to larger baseline architectures.

Limitations and Future Work

While powerful, SEDGE relies on the assumption that the underlying features and specifications can be cleanly mapped and that the structural assumptions (like directionality and sparsity) hold true. While the authors demonstrate that the model degrades gracefully when these assumptions are violated, performance does take a hit when features are highly dense and heavily shared across concepts. Furthermore, the finite-sample theoretical properties of this method remain an open question.

The authors suggest that the most promising future directions lie outside of image generation, proposing that SEDGE could be applied to critical scientific domains like drug discovery and novel protein structure prediction, where generating reliable out-of-distribution data is a matter of clinical importance.

Summary updated

BibTeX
@misc{zhang2026sedge,
  author = {Kun Zhang and Jiaqi Sun and Yiqing Li and Ignavier Ng and Namrata Deka and Shaoan Xie},
  title = {{SEDGE: Structural Extrapolated Data Generation}},
  year = {2026},
  eprint = {2604.02482},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.02482},
}
Figure