FAR
Class-conditional image generator that predicts continuous tokens autoregressively from low to high frequency.
Diffusion and generative · 1,231 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 426.4M
- Operations
- 1,231
- Framework
- PyTorch
- Recurrent
- No
- Published
- Transactions on machine learning research (arXiv 2025)
- Cited by
- 47 (as of 29 November 2026)
- Authors
- Hu Yu, Hao Luo, Hangjie Yuan and others
- Source
- GitHub: yuhuUSTC/FAR
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16522
- Graph hash
- b5a7f8b71d326aac8320ce3da2812e6e97ee4fef9216d378e17d1ab4b61ef69b
- Skeleton hash
- 8c505c8d3046158515a7c0935663e1ac29e685f1dd1b6a8cd323466761d402c6
- Architecture hash
- b7a0ebd51a3bdf611c9b595af5d25073634178688326fd1731ed8ce94ee0014c
- Diagram SHA-256
- 6e3ccbe851cbd7d70f4d8021c62b5de418376ab931538fd98bc3419998522b7e
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
FAR, short for frequency progressive autoregressive, generates an image from low frequencies to high ones instead of token by token in raster-scan order. Each image is decomposed into frequency levels: the first keeps only the lowest frequency component, the average of the entire image, and the last keeps all components. Generation then runs autoregressively along these levels, progressively enhancing image clarity.
Within each level, FAR uses bidirectional attention and predicts all tokens simultaneously. It follows MAR in its construction, with an autoregressive transformer and a diffusion MLP that operate on continuous tokens. To make that pairing trainable, the diffusion loss is relaxed to model only the unfiltered target x. Training also assigns higher loss weights to higher-frequency levels. The paper further describes a mask mechanism that masks more input tokens at lower-frequency levels; in the released code it is an option, described as increasing generation diversity.
The paper lists three sizes of the AR transformer: FAR-B (172M), FAR-L (406M) and FAR-H (791M). On the class-conditional ImageNet 256×256 benchmark, it reports generation quality comparable to other methods on nearly all evaluated metrics with only 10 inference steps. It attributes the lag in FID to slightly lower diversity.
Key idea. The paper introduces frequency progressive autoregressive generation, in which higher-frequency components build on lower ones, and instantiates it with a continuous tokenizer.
- FAR
- Frequency Autoregressive
- frequency progressive autoregressive
- next-frequency prediction
- autoregressive image generation
- continuous tokens
- ImageNet 256x256
- FAR-L
- class-conditional image generation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{yu2026frequencyautoregressiveimagegeneration,
title={Frequency Autoregressive Image Generation with Continuous Tokens},
author={Hu Yu and Hao Luo and Hangjie Yuan and Yu Rong and Jie Huang and Feng Zhao},
year={2026},
eprint={2503.05305},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2503.05305},
}