One Unified Representation: Resolving the Appearance-Semantics Dilemma via Structural Regularization

Ruiqi Yang, Fei Zhou, Yi Zhang, Liang Li, Xiangyu YueNeurIPS 2026

TL;DR

Computer vision has long suffered from a split personality: models that excel at understanding an image (like DINO) throw away pixel-level details, while models that excel at reconstructing pixels (like VAEs) don't understand what they are looking at. If you try to force a semantic model to remember pixel details via standard fine-tuning, its conceptual understanding catastrophically collapses. This paper introduces Semantic Structure Regularization (SSR), a self-distillation recipe that lets a vision encoder learn crisp appearance details for reconstruction while preserving its rich semantic geometry—giving us one unified latent space for perception, reconstruction, and image generation.

What Problem Does This Paper Address?

Modern image generators (like Latent Diffusion Models) compress images into a compact "latent space" before generating new ones. Historically, we've had two choices for building this space:

  1. Appearance-focused autoencoders (e.g., VAEs): Great at reconstructing sharp pixels, terrible at high-level semantics.
  2. Semantics-focused encoders (e.g., DINOv3, SigLIP): Brilliant at perception tasks (classification, depth), because they intentionally discard low-level lighting and color variations.

Recently, the Representation Autoencoder (RAE) tried to bridge this gap by bolting a pixel decoder onto a frozen semantic encoder. It worked well for generation and perception, but because the encoder was frozen, reconstructions were blurry and missed fine details.

Figure 1: Comparison of autoencoder paradigms. (a) VAE jointly trains the encoder and pixel decoder for reconstruction, yielding good reconstruction but weak semantics. (b) RAE uses a frozen representation encoder, preserving semantics but limiting reconstruction fidelity. (c) SSR adapts the encoder with semantic alignment from a frozen teacher. The examples on the right show that SSR produces higher-quality reconstructions than RAE.

The obvious fix is to unfreeze the encoder and fine-tune it for pixel reconstruction. Yet when the authors tried this, they witnessed a catastrophic collapse: pixel reconstruction became nearly flawless, but classification accuracy plummeted from 83.8% to 10.6%, and image generation broke down. Even anchoring the final layer's features left noticeable damage. How do you teach an encoder to see the trees (pixels) without forgetting the forest (semantics)?

Methods

The authors propose Semantic Structure Regularization (SSR), a two-stage teacher-student framework built on DINOv3-B. First, they warm up a pixel decoder on a frozen encoder. Second, they adapt a "student" copy of the encoder using LoRA (Low-Rank Adaptation—a lightweight tuning method applied here to MLP layers) alongside standard reconstruction losses, while a frozen "teacher" encoder keeps the student honest.

Figure 2: Encoder adaptation under structure-preserving distillation. A frozen teacher encoder provides two structural targets: the original-image latent and the high-pass structural latent. The student encoder, adapted via LoRA, is constrained by structure losses to preserve relational geometry.

Instead of forcing the student's exact feature vectors to match the teacher's—which leaves no room to store new color or texture info—SSR decouples structure from appearance using two clever regularizers applied across multiple network layers:

  • Spatial Self-Similarity Distillation ($\mathcal{L}_{\text{str1}}$): Both teacher and student compute a patch-wise affinity matrix (essentially, a map of how every image patch relates to every other patch). By matching relationships rather than raw values, the student preserves object layout and part correspondence while sneaking appearance details into unused feature directions.
  • Structure-Anchored Alignment ($\mathcal{L}_{\text{str2}}$): The authors pass the input image through a Fourier high-pass filter, stripping away color and lighting to leave pure edges and contours ($x_h$). The teacher processes this edge map, and the student (looking at the normal RGB image) is nudged via cosine similarity to align with those structural features. Because the target is stripped of low-frequency appearance, the student isn't penalized for encoding color and lighting!

Datasets

No new benchmarks are introduced; SSR is trained and evaluated on established vision datasets:

  • Training & Generation/Reconstruction Evaluation: ImageNet-1K ($256 \times 256$).
  • Downstream Perception: ImageNet-1K (linear probing), ADE20K (semantic segmentation), NYU Depth V2 (monocular depth), and NAVI (3D geometric correspondence).
  • Few-Shot Transfer: 10 classification benchmarks (Caltech101, DTD, EuroSAT, FGVC-Aircraft, Food101, Flowers102, OxfordPets, StanfordCars, SUN397, UCF101).

Key Insights and Ideas

  • Maximizing reconstruction can ruin generation: Unconstrained fine-tuning achieves an astonishingly low reconstruction error (0.05 rFID), yet causes generative quality (gFID) to balloon from 2.40 to 20.95. Better pixel reconstruction does not automatically yield a better latent space for diffusion models.
  • Constrain relational geometry, not raw features: Matching final-layer features with LoRA yields zero improvement in generation over a frozen baseline. The generative boost comes entirely from preserving patch-to-patch relationships and high-frequency geometry across multiple layers.
  • Deliberate operating points: SSR intentionally accepts slightly higher reconstruction error than naive fine-tuning (0.38 vs. 0.21 rFID) in exchange for keeping the semantic topology intact—hitting a sweet spot where one representation serves three masters.

Key Results

Compared against a matched frozen RAE baseline on ImageNet $256 \times 256$:

  • Sharper Reconstructions: SSR drops reconstruction FID (rFID, lower is better) by 35.6% (from 0.59 to 0.38) and boosts PSNR from 19.27 to 22.26 dB, visibly fixing color shifts and blurry textures.
  • Preserved Semantics: SSR matches the frozen DINOv3 teacher's linear-probe accuracy (83.8%), keeps dense prediction close (e.g., 51.4 vs. 51.8 mIoU on ADE20K), and matches DINOv3 on few-shot transfer across 10 datasets.
  • Better Generation: Training a Diffusion Transformer (DiT-DH-XL) on SSR latents for 80 epochs improves unguided generation FID (gFID) from 2.40 to 2.30 (and from 1.75 to 1.63 with AutoGuidance). The method also generalizes cleanly to DINOv2 and SigLIP2 backbones.
Qualitative comparison showing SSR recovering sharper text, butterfly wing patterns, and faithful colors compared to RAE.

Limitations and Future Work

  • Training Overhead: Because SSR runs a frozen teacher and computes high-pass views during autoencoder training, it increases GPU-hours by ~14.2%, peak memory by ~16.8%, and step time by ~23.7% for a modest generation gain.
  • Slight Dense-Task Dip: While global classification is untouched, dense tasks see minor degradation compared to the frozen teacher (e.g., NYU depth RMSE worsens slightly from 0.373 to 0.389).
  • Future Directions: Concurrent methods like SVG (adding residual appearance branches) and RAEv2 (aggregating frozen layers + larger backbones) achieve lower absolute gFIDs via orthogonal tricks. Combining SSR's encoder adaptation with those architectural upgrades remains an open, promising next step.

Summary updated

Abstract

The Representation Autoencoder (RAE) shows that a frozen high-dimensional semantic ViT representation supports both image reconstruction and DiT-based generation. However, its frozen encoder omits appearance details needed for more accurate reconstruction. Unconstrained full fine-tuning can recover those details but catastrophically damages the semantic latent. In our ImageNet 256×256 evaluation, linear-probe accuracy falls from 83.8 to 10.6 and generation FID (gFID) rises from 2.40 to 20.95, even as rFID improves to 0.05. This trade-off motivates encoder adaptation that preserves the structure of the pretrained representation. We propose Semantic Structure Regularization (SSR), a self-distillation framework with a frozen semantic teacher and a student encoder adapted through LoRA. In addition to final-layer latent alignment, we introduce two complementary structural constraints. First, spatial self-similarity distillation matches the patch-wise affinity patterns of student and teacher features. These patterns describe relationships among spatial tokens, providing a target for relational structure while allowing the student to encode additional appearance information. Second, structure-anchored alignment supplies an explicit structural target from a different view of the image. A Fourier-domain high-pass transform emphasizes edges and boundaries while suppressing low-frequency appearance, and the teacher's features of this view guide the student's features of the original image. Together, these constraints allow reconstruction-driven adaptation while limiting degradation of the teacher's semantic organization. On ImageNet 256×256, SSR improves reconstruction over a matched frozen RAE baseline (rFID 0.59 to 0.38, PSNR 19.27 to 22.26), matches its linear-probe accuracy (83.8), keeps dense-task performance close, and modestly improves unguided gFID (2.40 to 2.30). The result is one latent that supports reconstruction, perception, and generation at a chosen operating point, rather than maximizing reconstruction alone. Code is available at https://github.com/reid-yeung/SSR
BibTeX
@inproceedings{yang2026one,
  author = {Ruiqi Yang and Fei Zhou and Yi Zhang and Liang Li and Xiangyu Yue},
  title = {{One Unified Representation: Resolving the Appearance-Semantics Dilemma via Structural Regularization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=h8OZt7oFDM},
}
Figure