FeaTok: Feature-Loss Tokenization
for Image Generation

Zhang Xiaofeng1,2,3 Samuel Lavoie1,2,† Nicolas Beltran-Velez3,6,† Jianhao Yuan3,7 Felix Friedrich3 Jakob Verbeek3 Aaron Courville1,2,5,‡ Michal Drozdzal3,‡ Adriana Romero-Soriano1,3,4,5,‡

1 Mila - Québec AI Institute 2 Université de Montréal 3 FAIR at Meta 4 McGill University 5 Canada CIFAR AI chair 6 Columbia University 7 University of Oxford

† Equal contribution   ·   ‡ Co-senior authors   ·   xiaofeng.zhang@mila.quebec

Read the paper ↗Code & model checkpoints · Awaiting open-source approval

01 / Core idea

Learn representations
in feature space.

Learning visual representations in feature space improves downstream image generation. We observe this trend across both discrete and continuous representations.

FeaTok learns to reconstruct pretrained visual features. A separate decoder learns to turn the tokens into images, while pixel reconstruction gradients are kept out of the tokenizer.

The comparison below shows a clear trend across pixel-based, mixed, and feature-based representations: learning discrete token representations in feature space improves the quality–compute trade-off for image generation.

Paper teaser comparing generation quality and sampling compute for pixel-based, mixed, and feature-based image generation models.
Generation quality versus sampling cost on ImageNet, without guidance. Better results lie toward the lower left.

02 / Visual samples

03 / Method

Learn discrete tokens from visual features.

Feature reconstruction trains the tokenizer. Pixel reconstruction trains the image decoder.

FeaTok training pipeline with separate global and patch quantizers. Feature losses train the tokenizer, while pixel losses train only the image decoder.
01 / Feature loss

Train tokens with feature loss only

Train the tokenizer to reconstruct pretrained visual features. Stop gradients at the pixel decoder’s input so that pixel losses train only the decoder.

02 / Global to local

Discretize global and patch tokens

Use separate quantizers for global and patch features. Sample the global token first, then generate patch tokens conditioned on it.

03 / Encoder layers

Combine encoder layers

Average normalized features from four evenly spaced encoder layers to combine visual detail with semantic information.

04 / Controlled ablations

Tokenizer-target ablation comparing pixel, mixed, and feature targets.

01 / Feature loss

Feature targets

With patch tokens alone, feature targets improve generation over pixel targets for SigLIP, DINOv2, and DINOv3. SigLIP2 does not improve in this setting.

Global augmentation ablation across four vision encoders.

02 / Global to local

Global conditioning

With the tokenizer held fixed, conditioning patch generation on a global token improves results for all four encoders.

Feature-target depth ablation comparing first layer, last layer, and four-layer average.

03 / Encoder layers

Multi-layer features

Averaging four encoder layers gives lower gFID than using the first or last layer alone. This holds for all four encoders when generation includes a global token.

05 / Experimental results

Image generation results

We compare generation quality at two resolutions, sampling cost, and scores from human-preference models.

We report gFDr6 ↓, the mean Fréchet-distance ratio across six feature spaces. Lower scores are better. Sampling cost includes generation and one decoder pass. The best scores in each table are shown in bold.

ImageNet-1k · 256 × 256

All four FeaTok-L variants outperform the discrete baselines shown below. FeaTok-L-DINOv3 achieves the lowest gFDr6, both with and without guidance.

Discrete generation · selected models from Table 1
ModelGenerator sizeTFLOPs/image
without guidance
gFDr6 ↓
without guidance
gFDr6 ↓
with guidance
VAR-d302.0B2.2912.146.75
LlamaGen-3B3.1B4.1813.705.97
Gigatok-XXL1.4B1.204.824.24
VFMTok2-XXL1.4B1.094.384.37
BAR-B0.4B0.675.154.89
BAR-L1.1B1.144.574.11
FeaTok-B-DINOv30.4B0.713.583.39
FeaTok-L-SigLIP1.1B1.274.003.92
FeaTok-L-SigLIP21.1B1.273.453.27
FeaTok-L-DINOv21.1B1.273.473.20
FeaTok-L-DINOv31.1B1.273.133.08

ImageNet-1k · 512 × 512

At 512 × 512, FeaTok-L-DINOv3 also outperforms BAR-L and RAE on gFDr6, both with and without guidance.

Higher-resolution generation · Table 4
ModelgFDr6 ↓
without guidance
gFDr6 ↓
with guidance
RAE-XL3.032.13
BAR-L3.822.94
FeaTok-L-DINOv32.171.80

Generation quality at lower sampling cost

Without guidance, FeaTok-L-DINOv3 achieves lower gFDr6 than RAEv2 at substantially lower sampling cost. With guidance and its standard sampling budget, RAEv2 achieves the lowest gFDr6 in this comparison.

Continuous-model comparison · selected models from Table 2
ModelTFLOPs/image
without guidance
gFDr6 ↓
without guidance
gFDr6 ↓
with guidance
REPA-E-XL/159.574.323.04
RAE-XL15.594.323.26
RAEv2-XL47.723.952.17
FeaTok-L-DINOv31.273.133.08

Human-preference reward models

We also evaluate generated images with PickScore, HPSv2, and HPSv3, which are trained on human preferences. On PickScore and HPSv2, FeaTok’s SigLIP2, DINOv2, and DINOv3 variants score closer to the training images than any baseline. On HPSv3, FeaTok-DINOv3 and FeaTok-SigLIP are closest. These gains come without training on reward scores.

PickScore, HPSv2, and HPSv3 comparisons for generated ImageNet samples, with confidence intervals and real-data reference lines.

BibTeX

Download .bib
@misc{featok2026xiaofeng,
  title  = {{FeaTok}: Feature-Loss Tokenization for Image Generation},
  author = {Xiaofeng, Zhang and Lavoie, Samuel and
            Beltran-Velez, Nicolas and Yuan, Jianhao and
            Friedrich, Felix and Verbeek, Jakob and
            Courville, Aaron and Drozdzal, Michal and
            Romero-Soriano, Adriana},
  note   = {Manuscript}
}