Manuscript Offprint

arXiv:2610.05711

From Pixels, Without Pre-training: Joint Generative and Self-Supervised Representation Learning in One Model

Vicente Balmaseda, Ching-Long Lin, Tianbao Yang

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

Abstract

Strong image generation models today are conditioned on class labels, aligned to frozen pretrained encoders, or built on separately trained autoencoders or tokenizers. While effective, the cost is that generation becomes contingent on supervision and pretraining: labels must be annotated, and encoders, autoencoders, and tokenizers must be pretrained for the target domain. This paper studies joint generative and self-supervised representation learning in one model, such that generation is self-conditioned without any labels or pretrained models. This is challenging since the two objectives are mismatched: contrastive learning consumes clean augmented views and keeps coarse, invariant semantics, while flow matching consumes noisy images and must preserve the fine detail and spatial layout that contrastive learning discards. We propose a framework Self-conditioned Generation on Self-supervised representation (SCION), whose core is a single pixel-space encoder conditioned on both the diffusion timestep and a conditioning embedding. The encoder serves two roles that differ in what that embedding is. For representation learning, the conditioning embedding is one learned global vector shared by all images, and the encoder's [CLS] token yields the semantic embedding trained by the contrastive loss. For generative training, the conditioning embedding is the [CLS] embedding of the image itself, and the encoder's patch tokens pass through a decoder to predict the image. To sample without a reference image at inference, we also learn a prior over the embedding in the same run. With gradient-norm balancing and stop-gradient tricks, all losses are jointly optimized in a single run. The resulting method is fully self-supervised, with no pretrained model and no labels. On ImageNet 256×256256 \times 256, with the same JiT-B/16 recipe and without representation guidance, SCION reaches 8.92 FID, surpassing the class-unconditional baselines iREPA, which aligns to a pretrained DINOv2 (46.44), and RCG, which conditions on it (14.27). Under the JiT-L/16 recipe, SCION achieves the best pixel-space class-unconditional FID of 5.89 and 3.47 without and with representation guidance, outperforming RCG with the ADM recipe (6.24).

1 Introduction

Diffusion and flow matching models have achieved remarkable success in image generation (Ho et al., 2020; Song et al., 2021; Lipman et al., 2023; Liu et al., 2023). Yet many strong systems rely on class labels for semantic conditioning (Dhariwal & Nichol, 2021; Li & He, 2026), frozen pretrained encoders for conditioning or representation alignment (Li et al., 2024a; Yu et al., 2025; Singh et al.,

*https://vicentebalmaseda.com

Preprint.

2026), or separately trained autoencoders for latent-space generation (Rombach et al., 2022). These dependencies add annotation or pretraining costs and complicate extension to domains where suitable labels or pretrained models are unavailable. A central challenge is therefore to enable semantically self-conditioned generation, where the semantic representations that condition generation are learned within the diffusion model itself, jointly with the generative process.

We pursue semantic self-conditioned generation under four “S” requirements: self-contained, without pretrained components, including autoencoders and tokenizers; self-supervised, without label supervision anywhere in the pipeline, including that inherited through pretrained components; single-model, with representations produced by the generator’s own network; and single-stage, with all components learned jointly from scratch. Existing methods (cf. Table 1) address different aspects of this goal but satisfy these requirements only partially (Li & He, 2026; Yu et al., 2025; Li et al., 2024a, 2023; Preechakul et al., 2022; Hudson et al., 2024; Wang & He, 2025). These comparisons highlight the remaining challenge: achieving semantic self-conditioning under all four “S” requirements, with useful representations and unconditional synthesis learned together within one model.

A natural approach to semantically self-conditioned generation is to learn the conditioning representations through contrastive self-supervised learning, which extracts semantics directly from unlabeled images (Chen et al., 2020a; He et al., 2020; Yuan et al., 2022). However, integrating self-supervised representation learning with flow matching in one network requires reconciling their conflicting input and output requirements. Contrastive learning operates on clean augmented views and encourages compact semantic embeddings that suppress variations in appearance and spatial layout. Flow matching instead operates on noisy images and requires dense predictions that recover fine visual detail and spatial structure. The shared network must therefore accommodate both clean and noisy inputs while supporting semantic invariance without discarding information needed for synthesis. Joint training further couples the generator to an evolving conditioning representation, and sampling requires obtaining conditioning embeddings without a reference image.

To address these challenges, we propose Self-

Conditioned Generation on Self-Supervised Representation (SCION), a framework for semantically self-conditioned generation through joint generative and self-supervised representation learning. At its core is a single pixel-space transformer encoder conditioned on both a timestep and a conditioning embedding. Our key idea is to use this encoder in two conditioning modes with different readouts. For representation learning, the encoder processes clean augmented views using a learned global conditioning vector shared across all images, and a contrastive objective trains its [CLS] embedding. For generative learning, the same encoder processes noisy images conditioned on the clean image's own [CLS] embedding, and a decoder maps its patch tokens to a clean-image prediction under a flow matching objective. This design keeps contrastive inputs clean while using spatial features for generation, allowing both objectives to train the shared encoder.

Figure

Figure 1: Generation and Representation capabilities of different models trained on ImageNet 256×256256 \times 256 with 400 epochs. FID under the ADM evaluation protocol. A segment joins a method's class-conditional and class-unconditional variants, so its length is what the class label buys.

To coordinate joint optimization, we employ gradient-norm balancing and stop-gradient operations. We also train a prior over the learned embeddings in the same run, enabling generation without reference images. Randomly withholding the conditioning embedding during training also supports classifier-free guidance (Ho & Salimans, 2021), with guidance supplied by learned representations rather than class labels. All components are trained jointly from scratch, without labels, pretrained teachers, latent autoencoders, or tokenizers. We evaluate on ImageNet at 256×256256 \times 256 against flow-based baselines matched on the JiT-B/16 recipe. SCION reaches 8.92 FID, improving by 6.1×6.1 \times over the strongest self-contained baseline (54.14), and outperforming methods that import pretrained semantics, either aligning with them (iREPA, 46.44) or conditioning on them (RCG at matched training budget, 14.27). Self-representation guidance further reduces SCION to 4.20 FID, outperforming representation-guided RCG (5.01) without importing a pretrained encoder. At larger scale, SCION (JiT-L/16) reaches 5.89 unguided FID, improving on the 6.24 reported by pixel-space RCG with an

Table 1: Comparison with related works under the four S requirements. Extended discussion on related works is presented in Appendix A. Self-contained means no pretrained component; self-supervised means no label supervision anywhere in the pipeline; single-model means that the representation is produced by the generator's own network; and single-stage means that all components are learned jointly from scratch. Capabilities report a learned and evaluated Representation and unconditional Synthesis with no source image to encode. All pipelines are as published, except REPA and Dispersive, which we combine with the pixel-space JiT recipe.

Methodfour S requirementscapabilities
Self-cont.Self-sup.Single-mod.Single-stageRepr.Synth.
Pixel-space generation
JiT (Li & He, 2026)✓✕-✓✕✓
JiT + REPA (Yu et al., 2025)✕✕✕✕✕✓
JiT + Dispersive (Wang & He, 2025)✓✕✓✓✕✓
Semantic conditions
RCG (ADM) (Li et al., 2024a)✕✓✕✕✕✓
Joint representation and generation
MAGE (Li et al., 2023)✕✕✓✕✓✓
DiffAE (Preechakul et al., 2022)✓✓✕✕✓✓
SODA (Hudson et al., 2024)✓✓✕✓✓✕
SCION (ours)✓✓✓✓✓✓

ADM training recipe. As Figure 1 shows, SCION's learned representation also remains competitive with contrastive-only training.

References (100)

Couldn't load all references. Reload the page to try again.