Several questions of visual generation in 2024

Shuyang GuarXiv 2024 · DOI

Introduction: The Challenge of Visual Signal Decomposition

The rapid advancement of generative AI has seen Large Language Models (LLMs) achieve remarkable scalability and predictability. However, visual generation—encompassing images and videos—remains significantly more complex and less theoretically grounded. This paper posits that the central bottleneck is Visual Signal Decomposition (VSD): the method by which high-dimensional visual data is broken down into simpler, modelable components.

The Equivariance Gap

A fundamental distinction between natural language and visual data lies in equivariance. In language, the task of predicting the next token is largely independent of its position in a sequence; the statistical properties of the task remain consistent. This "equivariant decomposition" allows LLMs to scale effectively.

In contrast, current visual generation models rely on "non-equivariant" decompositions. For instance, in spatial patch decomposition, predicting a central patch (often containing the primary subject) is a fundamentally different task than predicting a corner patch (often background). This lack of equivariance forces a single model to learn multiple, often conflicting, distributions simultaneously, hindering training efficiency and scaling.

Comparison of equivariant language decomposition versus non-equivariant visual decomposition methods.

Analyzing Decomposition Paradigms

The paper evaluates four primary decomposition strategies:

  1. Spatial/Patch Decomposition: Non-equivariant due to varying semantic importance across image regions.
  2. Depth/Frequency Decomposition: Non-equivariant as low-frequency global structures differ statistically from high-frequency textures.
  3. Noise Intensity Decomposition: Used in diffusion models; non-equivariant because denoising pure noise is a distinct task from refining nearly clean images.
  4. Learnable Decomposition: A theoretical "silver bullet" where the model learns its own optimal decomposition, though current implementations remain experimental.

The Paradox of Invalid Encoding

In two-stage generative frameworks like VQ-VAEs, it is commonly assumed that increasing the number of tokens or the depth of the encoding improves reconstruction quality. However, the author identifies a phenomenon termed "invalid encoding."

Empirical results show that as encoding depth increases, the "invalid encoding ratio" rises significantly (e.g., from 0.312 at depth 4 to 0.571 at depth 16). This suggests that beyond a certain "dominate stage," additional encoding layers may actually degrade reconstruction performance because the model's loss weighting fails to prioritize the added information correctly.

Analysis of reconstruction FID across different encoding depths, highlighting the 'dominate stage' and the invalid encoding paradox.

Scaling Laws and Diffusion Perplexity

While LLMs follow clear scaling laws, diffusion models have been harder to track. The paper notes a "perplexity" in diffusion: techniques like Classifier-Free Guidance (CFG) improve aesthetic quality by moving the model away from the true maximum likelihood distribution.

To establish a predictable scaling law, the author introduces an importance-weighted loss that applies difficulty coefficients to different noise levels. Using the COYO-700M dataset, the study fits a power-law curve ($y = 0.369 \cdot x^{-0.030}$), providing a roadmap for predicting performance gains relative to compute and parameter scaling.

Conclusion

The path toward more robust visual generation in 2024 lies in addressing the non-equivariance of visual signals. By focusing on Visual Signal Decomposition and mitigating issues like invalid encoding, the research community can move toward a more unified and scalable theory of visual generation, mirroring the success seen in natural language processing.

Summary updated

Abstract

This paper does not propose any new algorithms but instead outlines various problems in the field of visual generation based on the author's personal understanding. The core of these problems lies in how to decompose visual signals, with all other issues being closely related to this central problem and stemming from unsuitable approaches to signal decomposition. This paper aims to draw researchers' attention to the significance of Visual Signal Decomposition.
BibTeX
@misc{gu2024several,
  author = {Shuyang Gu},
  title = {{Several questions of visual generation in 2024}},
  year = {2024},
  eprint = {2407.18290},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.18290},
}
Figure