REGLUE Your Latents with Global and Local Semantics for Entangled Diffusion

Giorgos Petsangourakis, Christos Sgouropoulos, Bill Psomas, Theodoros Giannakopoulos, Giorgos Sfikas +1 more
12/18/2025
cs.CV

Official code: giorgospets/reglue (8 stars, last commit 2025-12-15). 1 more implementation below.

Abstract

Latent diffusion models (LDMs) achieve state-of-the-art image synthesis, yet their reconstruction-style denoising objective provides only indirect semantic supervision: high-level semantics emerge slowly, requiring longer training and limiting sample quality. Recent works inject semantics from Vision Foundation Models (VFMs) either externally via representation alignment or internally by jointly modeling only a narrow slice of VFM features inside the diffusion process, under-utilizing the rich, nonlinear, multi-layer spatial semantics available. We introduce REGLUE (Representation Entanglement with Global-Local Unified Encoding), a unified latent diffusion framework that jointly models (i) VAE image latents, (ii) compact local (patch-level) VFM semantics, and (iii) a global (image-level) [CLS] token within a single SiT backbone. A lightweight convolutional semantic compressor nonlinearly aggregates multi-layer VFM features into a low-dimensional, spatially structured representation, which is entangled with the VAE latents in the diffusion process. An external alignment loss further regularizes internal representations toward frozen VFM targets. On ImageNet 256x256, REGLUE consistently improves FID and accelerates convergence over SiT-B/2 and SiT-XL/2 baselines, as well as over REPA, ReDi, and REG. Extensive experiments show that (a) spatial VFM semantics are crucial, (b) non-linear compression is key to unlocking their full benefit, and (c) global tokens and external alignment act as complementary, lightweight enhancements within our global-local-latent joint modeling framework. The code is available at https://github.com/giorgospets/reglue .

View on arXivView PDF

Code Implementations(2)

giorgospets/reglueOfficial100%
80Dec 15, 202510 months ago

This is the Github Page of the Paper : REGLUE Your Latents with Global and Local Semantics for Entangled Diffusion

10CSS, HTMLDec 22, 202510 months ago

Similar Papers

Cite this paper

@article{petsangourakis2025reglue,
  title  = {REGLUE Your Latents with Global and Local Semantics for Entangled Diffusion},
  author = {Giorgos Petsangourakis and Christos Sgouropoulos and Bill Psomas and Theodoros Giannakopoulos and Giorgos Sfikas and Ioannis Kakogeorgiou},
  year   = {2025},
  eprint = {2512.16636},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.16636v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.16636.svg)](https://codeofpaper.com/paper/2512.16636)

Discussion