liveBook · Manning

Geometric inconsistency problem

As explained in Build a Text-to-Image Generator (from Scratch)

The geometric inconsistency problem is the difficulty of producing generated images whose spatial structure and geometric relationships are coherent.

The geometric inconsistency problem is the difficulty text-to-image models have maintaining coherent spatial relationships among objects, depths, viewpoints, and perspectives. These models learn associations between pixels and text, but generally lack an internal representation of three-dimensional structure and physical rules. section 1.5.2 section 13.2

The inconsistency develops through several connected limitations:

  • Training primarily on large, diverse collections of two-dimensional images does not provide a deep understanding of 3D geometry or spatial relationships. section 1.5.2
  • Transformer positional encodings represent spatial relationships, but do not reliably enforce strict geometric constraints across complex objects. section 1.5.2
  • Missing robust depth and perspective mechanisms can produce distortions, physically impossible objects, and inconsistent appearances from different angles. section 13.2

A viewpoint-dependent distortion

A generated object may appear plausible in one image but become visibly distorted when viewed from another angle, because the model does not consistently apply 3D geometry, perspective, lighting, or physics. section 1.5.2

Improving geometric consistency likely requires explicit 3D structure, physics simulations, or other mechanisms that enforce spatial coherence rather than relying only on learned two-dimensional patterns. section 1.5.2 section 13.2

How Build a Text-to-Image Generator (from Scratch) covers it

How deep it goes
Explains causes, manifestations, and possible remedies, but stops short of specifying an implemented 3D-consistency mechanism.
Examples
Uses distorted objects, broken perspective, inconsistent viewpoints, and violations of physical laws as concrete failure cases.
What you can do after
Evaluate generated images for inconsistent depth, perspective, viewpoints, spatial relationships, and physical plausibility.
How it connects
Connects text-to-image generation with diffusion models, transformer architectures, positional encodings, depth, perspective, physics, and 3D structure.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build a Text-to-Image Generator (from Scratch). The section links point to the parts of the book it draws on.