An Analysis of Human Alignment of Latent Diffusion Models

Lorenz Linhardt, Marco Morik, Sidney Bender, Naima Elosegui Borras

TL;DR

Despite their massive training scale and impressive generative capabilities, Stable Diffusion models learn internal representations that align with human similarity judgments only about as well as standard ImageNet-trained models. Furthermore, human conceptual alignment does not peak in the U-Net's bottleneck layer as previously hypothesized, but rather in intermediate upsampling blocks. However, providing text conditioning counteracts noise degradation, keeping alignment stable even at extreme noise levels.

What Problem Does This Paper Address?

Large-scale latent diffusion models like Stable Diffusion (SD) produce strikingly realistic images, show low texture bias, and make human-like classification errors. Prior work on smaller, unconditional diffusion models suggested that semantic representations are neatly packaged in the U-Net’s bottleneck layer (the so-called "h-space").

However, we still lack a principled understanding of how concepts are organized across U-Net layers and noise timesteps in modern text-to-image models. Do these massive generative models actually internalize human-like conceptual spaces, or is their apparent understanding merely skin-deep? This paper investigates how well the internal representations of latent diffusion models align with human perceptual and conceptual similarity judgments.

Methods

The authors assess representational alignment through the following pipeline:

  • Representation Extraction: Using pretrained Stable Diffusion models (SD1.5, SD2.1, and SD-Turbo), the authors encode images into latent representations, add noise across scheduled steps $t \in [5\%, 90\%]$, and pass them through the denoising U-Net (with or without text conditioning). Internal feature maps from each block (Down 0–3, Mid, Up 0–3) are spatially average-pooled into layer-wise representation vectors.
  • Triplet Odd-One-Out Task: Alignment is evaluated using behavioral data where humans were shown image triplets $\{i, j, k\}$ and asked to pick the "odd one out." Model alignment is quantified as Odd-One-Out Accuracy (OOOA): the percentage of triplets where the model's cosine similarity ranks the same two images as most similar as humans did.
  • Affine Probing: To test whether human-aligned features exist but are linearly scrambled, the authors train a regularized affine transformation ($Wr + b$) per layer using cross-validation to maximize OOOA without distorting original representations.
  • Semantic Dimension Regression: To understand which concepts are represented where, they predict 45 human-interpretable concept dimensions (from the VICE framework) across layers and noise levels via multinomial ridge regression.

Datasets

  • Pretraining Data: LAION-5B (used to pretrain the evaluated Stable Diffusion models).
  • Evaluation Benchmark: The THINGS dataset, which contains 4.70 million unique triplet choices crowdsourced from 12,340 participants across 1,854 natural object images.
  • No new benchmarks were introduced.

Key Insights and Ideas

  • The Bottleneck Myth in Large Models: Previous literature on smaller unconditional diffusion models concluded that the central bottleneck layer (Mid) serves as the primary semantic control hub. For Stable Diffusion, this does not hold. The highest alignment consistently occurs downstream in the second up-sampling block (Up 1), closely followed by its symmetric counterpart (Down 2).
  • Scale Doesn't Guarantee Human Alignment: Despite training on billions of image-text pairs, zero-shot SD representations perform worse than classic supervised vision models (e.g., VGG-16, AlexNet) and only match self-supervised models trained on ImageNet-1k.
  • Text Conditioning Acts as a Scaffold: In unconditional denoising, representational alignment rapidly degrades past 40–50% noise as image structure is destroyed. Supplying a prompt (e.g., "a photo of a <OBJ>" or BLIP-generated captions) stabilizes OOOA across all noise levels, demonstrating that text inputs anchor abstract semantics early in the diffusion trajectory when visual cues are purely noise.
  • Layer Depth vs. Concept Abstraction: Rather than segregating abstract concepts to deeper layers and low-level features to shallow layers, almost all high-level concepts peak at Up 1. The primary exceptions are color dimensions (red, green, yellow), which are best decoded from shallower layers and only migrate to inner layers at high noise levels.

Key Results

  • Zero-Shot Alignment (OOOA): Peak zero-shot OOOA across layers reached 43.29% for SD2.1, 45.31% for SD1.5, and 45.47% for SD-Turbo (human agreement ceiling is 67.22%; random chance is 33.3%). For comparison, ImageNet-trained models like ResNet-50 (49.44%) and VGG-16 (52.09%), or multimodal models like CLIP-Image (47.64%), exhibit higher zero-shot alignment.
  • Affine Probing: Affine transformations substantially boosted alignment (e.g., SD2.1 jumping from 43.29% to 54.48%, and 57.24% with text conditioning), surpassing unimodal classifiers but still trailing probed CLIP-Image features (61.07%).
  • Text Conditioning at Extreme Noise: At 90% noise, unconditional SD2.1 Up 1 accuracy drops to 36.5%. With label conditioning, it stays at 41.7%, nearly identical to its low-noise performance.

Limitations and Future Work

  • Linearity Assumption: The study relies on cosine similarity and affine probing. The rich multi-modal representations learned by diffusion models may be organized non-linearly, meaning linear probes could underestimate the presence of human-aligned concepts.
  • Architecture Constraints: It remains unclear how much the U-Net's skip connections specifically cause intermediate upsampling blocks to dominate over the bottleneck.
  • Objective Mismatch: The standard visual reconstruction loss in diffusion models may simply optimize for features that are orthogonal to human behavioral similarity metrics, pointing toward future work exploring alternative distance metrics or non-linear alignment mappings.

Summary updated

BibTeX
@inproceedings{linhardt2024analysis,
  author = {Lorenz Linhardt and Marco Morik and Sidney Bender and Naima Elosegui Borras},
  title = {{An Analysis of Human Alignment of Latent Diffusion Models}},
  booktitle = {Re-Align @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=PFnoxcKh33},
}
Figure