arXiv:2610.23653cs.CVOct 2026

Manuscript Offprint

arXiv:2610.23653

A Language-Informed Loss for Visual Generation

Suchir Agarwal, Keshigeyan Chandrasegaran, Ziyu Chen, Kyle Sargent, Juan Carlos Niebles, Li Fei-Fei, Jiajun Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

End-to-end visual generation with pixel-space loss has recently achieved competitive performance without the need for learned image tokenizers. In this work, we study whether language-informed supervision can provide a richer training signal than pixel loss for visual generation. We introduce LILIE (pronounced “lily”), a Language-Informed and Lossless Image Encoder. LILIE is an invertible image transform trained such that a vision-language model can recover captions from noised features. The encoder uses a normalizing flow transformer trained jointly with a vision-language model via next token prediction. We then use the encoder to extract a simple language-informed loss for text-to-image generation. We train JiT models with LILIE loss, reducing gFD by 14 points (66.84 → 53.01) against a pixel-only baseline on the GPIC dataset. Our code, encoders, and generative models are available at suchiragarwal.com/lilie.

Figure

Number of Generator Parameters

A large fireworks burst explodes in the dark sky, glowing with bright pink and white streaks radiating outward from a central point.

A calm body of water stretches across the foreground, its surface reflecting the trees and sky above.

A large stone fortress wall with a pointed tower and crenellations... The illustration is rendered in black ink with fine lines...

A large, weathered tree root lies in the foreground, its gray bark rough and cracked with patches of green moss growing on it.

Figure 1: Generation quality with LILIE. Upper left: Pixel and LILIE supervision at two generator sizes evaluated on GPIC Test-50K with 50 Euler steps. CFG scale is selected using GPIC Validation-50K. All models are trained for one epoch on GPIC Full (Chandrasegaran et al., 2026). Mosaic: selected 256×256256 \times 256 samples from the 1.1B diffusion model with LILIE supervision. Four samples include prompt excerpts. We include randomly selected samples from GPIC Test-50K in Appendix G.

Correspondence to suchir@cs.stanford.edu.

1 INTRODUCTION

Image generators are typically built in two stages. A tokenizer first compresses images into a learned latent space, and a generative model is then trained in that space. Latent diffusion (Rombach et al., 2022; Peebles & Xie, 2023), autoregressive (Sun et al., 2024), and mixed-modal (Zhou et al., 2025) generators all follow this recipe. By reducing the dimensionality of the modeling problem, tokenization makes generation more tractable and lowers computational cost. However, the lossy tokenizer bounds achievable quality, particularly for fine-grained content (e.g. rendered text and human faces) (Yao et al., 2025; Yang et al., 2026). Recent work removes the first stage entirely. JiT (Li & He, 2026) trains a plain transformer end-to-end on raw pixels and achieves competitive performance with two-stage systems without training a tokenizer at all. Pixels are hence an appealing output space, but we ask whether generation quality can be improved by extracting a richer training signal.

Figure

Figure 2: Two perturbed image patches (additive Gaussian noise) with equal pixel Euclidean distance of 1000 from the original patches. Caption: “Three airplanes fly in the sky against a cloudy backdrop.”

Pixel loss measures squared Euclidean distance between predicted and target pixels. However, errors of equal pixel distance can vary in underlying semantic content. Figure 2 shows two perturbations, each with pixel distance of 1000 from the original patches. One perturbation degrades a subject while the other alters a background cloud, but pixel loss treats them the same. We hypothesize that language may help address this gap. Prior work suggests that language provides an inherently semantic signal (Hockett, 1960; Mikolov et al., 2013; Barbieri, 2020). Motivated by the semantic gap between language and vision (Smeulders et al., 2000; Collell & Moens, 2016), we study whether distances in a visual space shaped by language can provide a richer training signal to supervise end-to-end visual generation than pixel loss alone.

We introduce LILIE, a Language-Informed and Lossless Image Encoder. LILIE is an invertible transform from RH×W×3→RH×W×3\mathbb{R}^{H \times W \times 3} \to \mathbb{R}^{H \times W \times 3}, trained such that a vision-language model can caption the output after it is corrupted by Gaussian noise. We build LILIE on a transformer normalizing flow architecture (Zhai et al., 2025; Lu et al., 2026b), keeping the invertible architecture but replacing the generation objective with a captioning objective. Our method is trained with next token prediction over ground-truth image captions. The encoder learns to arrange its output so that caption-relevant visual information survives the corruption, while invertibility guarantees that no visual information is lost. After training, we discard the VLM and keep LILIE as a simple standalone image transform.

We finally train a family of JiT-T2I (Li & He, 2026; Ma et al., 2026) models on GPIC (Chandrasegaran et al., 2026), a large scale open dataset for text-to-image generation. We first pretrain pixel-space and perceptual loss baselines to provide references on the GPIC corpus. We then study the impact of our training signal with LILIE on generation quality by performing comprehensive ablations. We freeze the encoder, apply it to the predicted and target images, and add squared error in LILIE-space to the standard pixel-space flow-matching loss (Lipman et al., 2023). For our 1.1B parameter JiT-T2I-g, the pixel-only baseline reaches a gFD-DINOv2 (Stein et al., 2023) of 66.84 on the GPIC test set. Replacing the pixel loss entirely with LILIE loss improves this to 55.78, so language supervision alone is already enough to learn a feature space that improves pixel generation. Combining LILIE and pixel losses further improves gFD to 53.01.

(a) Encoder Pretraining

(b) Generative Model Training

Figure

Figure 3: Training and using LILIE. (a) We jointly train LILIE and VLM LoRA parameters on noise-corrupted features with next token prediction. (b) The diffusion model trains on Pixel and LILIE L2L^{2} losses, comparing its prediction with the target image in pixel space and through the learned encoder.

To summarize, we propose a language-informed loss that improves pixel-space visual generation quality, and we hope our work encourages the community to adopt language-informed losses for training visual generative models. We highlight our main contributions below.

• We pretrain language-informed and lossless image encoders.

• We pretrain generative models with perceptual losses (LPIPS, DINOv2, SigLIP 2) on the GPIC corpus to provide baseline references.

• We pretrain generative models with supervision in LILIE-space and achieve a 14-point reduction in gFD over a pixel-only baseline.

References (53)