Lune

ACL Findings2024

Token Alignment via Character Matching for Subword Completion

Ben Athiwaratkun, Shiqi Wang, Mingyue Shang, Yuchen Tian, Zijian Wang, Sujan Kumar Gonugondla, Sanjay Krishna Gouda, Robert Kwiatkowski, Ramesh Nallapati, Parminder Bhatia, Bing Xiang

摘要

Generative models, widely utilized in various applications, can often struggle with prompts corresponding to partial tokens. This struggle stems from tokenization, where partial tokens fall out of distribution during inference, leading to incorrect or nonsensical outputs. This paper examines a technique to alleviate the tokenization artifact on text completion in generative models, maintaining performance even in regular non-subword cases. The method, termed token alignment, involves backtracking to the last complete tokens and ensuring the model's generation aligns with the prompt. This approach showcases marked improvement across many partial token scenarios, including nuanced cases like space-prefix and partial indentation, with only a minor time increase. The technique and analysis detailed in this paper contribute to the continuous advancement of generative models in handling partial inputs, bearing relevance for applications like code completion and text autocompletion.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Proxy Compression for Language Modeling 引用了 Sampling from Your Language Model One Byte at a Time
  • Proxy Compression for Language Modeling 引用了 Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations
  • Proxy Compression for Language Modeling 引用了 The Curious Case of Neural Text Degeneration
  • Sampling from Your Language Model One Byte at a Time 引用了 Language Models are Few-Shot Learners
  • Sampling from Your Language Model One Byte at a Time 引用了 The Curious Case of Neural Text Degeneration
  • Broken Tokens? Your Language Model can Secretly Handle Non-Canonical Tokenizations 引用了 Sampling from Your Language Model One Byte at a Time
  • Approximately Aligned Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
  • Language Models are Few-Shot Learners 引用了 Adversarial NLI: A New Benchmark for Natural Language Understanding
  • Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
  • Fast Inference from Transformers via Speculative Decoding 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Broken Tokens? Your Language Model can Secretly Handle Non-Canonical TokenizationsBrian Siyuan Zheng, Alisa Liu, Orevaoghene Ahia, Jonathan Hayase 等NeurIPS 2025 · 19 次引用
  2. Sampling from Your Language Model One Byte at a TimeJonathan Hayase, Alisa Liu, Noah Smith, Sewoong OhICML 2026 · 9 次引用
  3. TokSuite: Measuring the Impact of Tokenizer Choice on Language Model BehaviorGül Sena Altıntaş, Malikeh Ehghaghi, Brian Lester, Fengyuan Liu 等ICML 2026 · 3 次引用
  4. Proxy Compression for Language ModelingLin Zheng, Li Xinyu, Qian Liu, Xiachong Feng 等ICML 2026 · 3 次引用
  5. Approximately Aligned DecodingDaniel Melcer, Sujan Kumar Gonugondla, Pramuditha Perera, Haifeng Qian 等NeurIPS 2025 · 3 次引用

它引用的 Paper9

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
  3. Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
  4. Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and EntailmentDi Jin, Zhijing Jin, Joey Tianyi Zhou, Peter SzolovitsAAAI 2020 · 1,333 次引用
  5. Adversarial NLI: A New Benchmark for Natural Language UnderstandingYixin Nie, Adina Williams, Emily Dinan, Mohit Bansal 等ACL 2020 · 602 次引用

相关 Paper

  1. Tokenization Consistency Matters for Generative Models on Extractive NLP TasksKaiser Sun, Peng Qi, Yuhao Zhang, Lan Liu 等EMNLP Findings 2023 · 5 次引用
  2. Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image ModelsGuy Kaplan, Michael Toker, Yuval Reif, Yonatan Belinkov 等ACL 2026 · 4 次引用
  3. Empowering Character-level Text Infilling by Eliminating Sub-TokensHouxing Ren, Mingjie Zhan, Zhongyuan Wu, Hongsheng LiACL 2024
  4. LoST: Level of Semantics Tokenization for 3D ShapesNiladri Shekhar Dutt, Zifan Shi, Paul Guerrero, Chun-Hao Paul Huang 等CVPR 2026 · 4 次引用
  5. SJD-SV: Speculative Jacobi Decoding with Semantics Verification for Autoregressive Image GenerationBaoquan Zhang, Bingqi Shan, Shihao Fang, Kenghong Lin 等ICML 2026
黄昏的海面,两侧是细线勾勒的悬崖