Papers › Hita: Holistic Tokenizer for Autoregressive Image Generation

Hita: Holistic Tokenizer for Autoregressive Image Generation

3 Jul 2025arXiv:2507.02358archive 2025-07-28

Anlin Zheng, Haochen Wang, Yucheng Zhao, Weipeng Deng, Tiancai Wang, Xiangyu Zhang, Xiaojuan Qi

Vanilla autoregressive image generation models generate visual tokens step-by-step, limiting their ability to capture holistic relationships among token sequences. Moreover, because most visual tokenizers map local image patches into latent tokens, global information is limited. To address this, we introduce \textit{Hita}, a novel image tokenizer for autoregressive (AR) image generation. It introduces a holistic-to-local tokenization scheme with learnable holistic queries and local patch tokens. Hita incorporates two key strategies to better align with the AR generation process: 1) {arranging} a sequential structure with holistic tokens at the beginning, followed by patch-level tokens, and using causal attention to maintain awareness of previous tokens; and 2) adopting a lightweight fusion module before feeding the de-quantized tokens into the decoder to control information flow and prioritize holistic tokens. Extensive experiments show that Hita accelerates the training speed of AR generators and outperforms those trained with vanilla tokenizers, achieving \textbf{2.59 FID} and \textbf{281.9 IS} on the ImageNet benchmark. Detailed analysis of the holistic representation highlights its ability to capture global image properties, such as textures, materials, and shapes. Additionally, Hita also demonstrates effectiveness in zero-shot style transfer and image in-painting. The code is available at \href{https://github.com/CVMI-Lab/Hita}{https://github.com/CVMI-Lab/Hita}.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2507.02358")

Code

Syntology Ran 4 of 11 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

CVMI-Lab/Hita found in paper text by Syntology report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 4 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
1ran
7unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from CVMI-Lab/Hita. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ResnetBlock CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology ran MIT (permissive) · a24bc3f008abf6dc · report
compute_entropy_loss CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 18f299635e1403d0 · report
get_obj_from_str CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · ce0cea52e4db5e7c · report
nonlinearity CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 95e759219bcd1ec6 · report
AttnBlock CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology unverified MIT (permissive) · 7cbb211518a363dd · report
Decoder CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology unverified MIT (permissive) · 7c5bf091a2004b88 · report
Encoder CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology unverified MIT (permissive) · bc9598464461a9b6 · report
ModelArgs CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology unverified MIT (permissive) · 3178f73bb7451cbd · report
VQModel CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology unverified MIT (permissive) · 033fb16e7ea4003f · report
VectorQuantizer CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology unverified MIT (permissive) · 34bc3c152c7cea14 · report
instantiate_from_config CVMI-Lab/Hita/hita/tokenizer/tokenizer_image/vq_model.py found in paper text by Syntology unverified MIT (permissive) · 57f372e8c0555c75 · report

Tasks

Image GenerationStyle Transfer

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNSPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections