arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.15453cs.CVcs.AIcs.LG
收藏

(1D) 有序标记实现高效的测试时搜索

(1D) Ordered Tokens Enable Efficient Test-Time Search

Swiss Federal Institute of Technology Lausanne (EPFL)(瑞士联邦理工学院洛桑分校);Apple(苹果公司)

Zhitong Gao, Parham Rezaei, Ali Cy, Mingqiao Ye, Nataša Jovanović, Jesse Allardice, Afshin Dehghan, Amir Zamir, Roman Bachmann, Oğuzhan Fatih Kar

AI总结:

本文研究了有序标记对测试时搜索能力的影响,发现粗到细的1D结构比传统2D网格结构更易进行搜索,通过实验验证了有序结构在生成过程中能提升测试时扩展性。

摘要:

标记化是自回归生成模型的关键组成部分,将原始数据转换为更易处理的单元。通常,标记描述局部信息,如图像中的像素区域或文本中的词块,并按固定顺序进行预测。一个值得探讨的问题是,标记结构是否影响通过测试时搜索引导生成的能力,其中多个候选生成方案被验证器评估。使用图像生成作为测试平台,我们假设最近的1D有序标记器具有粗到细的结构,比传统2D网格结构更易于搜索。这源于粗到细序列中的中间状态具有语义意义,验证器可以可靠评估,从而在生成过程中实现有效的引导。通过受控实验,我们发现训练于粗到细有序标记的AR模型在测试时扩展性方面优于基于网格的模型。此外,我们证明了通过标记序列的纯测试时搜索(即不训练AR模型)可在图像-文本验证器的引导下实现免训练的文本到图像生成。此外,我们系统研究了经典搜索算法(最佳-N、束搜索、前瞻搜索)与不同标记结构的交互,以及不同验证器和AR先验的作用。我们的结果突显了标记结构对推理时扩展性的影响,并为AR模型的测试时扩展性提供了实用指导。

英文摘要:

Tokenization is a key component of autoregressive (AR) generative models, converting raw data into more manageable units for modeling. Commonly, tokens describe local information, such as regions of pixels in images or word pieces in text, and AR generation predicts these tokens in a fixed order. A worthwhile question is whether token structures affect the ability to steer the generation through test-time search, where multiple candidate generations are explored and evaluated by a verifier. Using image generation as our testbed, we hypothesize that recent 1D ordered tokenizers with coarse-to-fine structure can be more amenable to search than classical 2D grid structures. This is rooted in the fact that the intermediate states in coarse-to-fine sequences carry semantic meaning that verifiers can reliably evaluate, enabling effective steering during generation. Through controlled experiments, we find that AR models trained on coarse-to-fine ordered tokens exhibit improved test-time scaling behavior compared to grid-based counterparts. Moreover, we demonstrate that, thanks to the ordered structure, pure test-time search over token sequences (i.e., without training an AR model) can perform training-free text-to-image generation when guided by an image-text verifier. Beyond this, we systematically study how classical search algorithms (best-of-N, beam search, lookahead search) interact with different token structures, as well as the role of different verifiers and AR priors. Our results highlight the impact of token structure on inference-time scalability and provide practical guidance for test-time scaling in AR models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑