AdaTok: 具有质量保持动态令牌的自预算图像令牌化
AdaTok: Self-Budgeting Image Tokenization with Quality-Preserving Dynamic Tokens
AI总结:
提出AdaTok,一种自预算离散一维令牌化器,通过表示-分配协同设计(优先表示学习和自适应令牌分配)实现图像自适应令牌数量,在保持重建质量的同时减少平均令牌数。
摘要:
图像令牌化器,从二维网格到最近的一维序列,通常用相同固定数量的令牌编码每张图像。然而视觉复杂度高度异质,因此统一预算在简单输入上过度开销,在复杂输入上不足。现有的弹性令牌化器暴露了可变长度重建,但通常将令牌长度作为部署时的操作点、搜索目标或外部预测,而非令牌化器本身的输出。在这项工作中,我们询问离散视觉令牌化器能否一次性自我预算。我们的核心发现是,可操作的弹性需要表示-分配协同设计:前缀必须在不同预算下保持可解码,且令牌化器必须学习每个图像需要哪个前缀。我们提出AdaTok,一种自预算离散一维令牌化器。AdaTok结合了优先表示学习(通过嵌套尾部掩码对令牌排序,并通过多头LoRA解码器头解决预算依赖的语义偏移)和自适应令牌分配(在候选预算上训练轻量级确定性组GRPO策略)。动态帕累托加权在策略训练期间平衡保真度和效率,无需手动权衡扫描。在ImageNet-1K上,AdaTok-Full在256个令牌时达到rFID 1.31,而AdaTok-Adaptive平均仅使用约118个令牌达到rFID 1.50,在可比预算下优于离散一维基线。在自回归图像生成中,较短的适应性表示相比固定256令牌解码实现了约2.1倍的吞吐量,表明视觉令牌数量可以学习为内容条件输出,而非设置为固定超参数。
英文摘要:
Image tokenizers, from 2D grids to recent 1D sequences, typically encode every image with the same fixed number of tokens. Yet visual complexity is highly heterogeneous, so a uniform budget overspends on simple inputs and underserves complex ones. Existing elastic tokenizers expose variable-length reconstructions, but often leave token length as a deployment-time operating point, a search target, or an external prediction rather than an output of the tokenizer itself. In this work, we ask whether a discrete visual tokenizer can budget itself in one pass. Our central finding is that actionable elasticity requires a representation--allocation co-design: prefixes must remain decodable across budgets, and the tokenizer must learn which prefix each image needs. We propose AdaTok, a self-budgeting discrete 1D tokenizer. AdaTok combines Prioritized Representation Learning, which orders tokens with nested tail masking and resolves budget-dependent semantic shift through Multi-Head LoRA decoder heads, with Adaptive Token Allocation, which trains a lightweight deterministic-group GRPO policy over candidate budgets. Dynamic Pareto Weighting balances fidelity and efficiency during policy training without manual trade-off sweeps. On ImageNet-1K, AdaTok-Full reaches rFID 1.31 at 256 tokens, while AdaTok-Adaptive attains rFID 1.50 using only ~118 tokens on average, outperforming discrete 1D baselines at comparable budgets. In autoregressive image generation, the shorter adaptive representation yields ~2.1x throughput over a fixed 256-token decode, suggesting that visual token count can be learned as a content-conditioned output rather than set as a fixed hyperparameter.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。