Lune

OOPSLA2025顶会

Efficient Algorithms for the Uniform Tokenization Problem

Angela W. Li, Konstantinos Mamouras

摘要

Tokenization (also known as scanning or lexing) is a computational task that has applications in the lexical analysis of programs during compilation and in data extraction and analysis for unstructured or semistructured data (e.g., data represented using the JSON and CSV data formats). We propose two algorithms for the tokenization problem that have linear time complexity (in the length of the input text) without using large amounts of memory. We also show that an optimized version of one of these algorithms performs well compared to prior approaches on practical tokenization workloads.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Linear Matching of JavaScript Regular Expressions 引用了 Regular Expression Matching using Bit Vector Automata
  • Linear Matching of JavaScript Regular Expressions 引用了 Efficient Matching of Regular Expressions with Lookaround Assertions
  • Static Analysis for Efficient Streaming Tokenization 引用了 BVAP: Energy and Memory Efficient Automata Processing for Regular Expressions with Bounded Repetitions
  • Static Analysis for Efficient Streaming Tokenization 引用了 Software-hardware codesign for efficient in-memory regular pattern matching
  • Static Analysis for Efficient Streaming Tokenization 引用了 Streaming Validation of JSON Documents Against Schemas
  • Static Analysis for Efficient Streaming Tokenization 引用了 Regular Expression Matching using Bit Vector Automata
  • Static Analysis for Efficient Streaming Tokenization 引用了 Efficient Matching of Regular Expressions with Lookaround Assertions
  • BVAP: Energy and Memory Efficient Automata Processing for Regular Expressions with Bounded Repetitions 引用了 Software-hardware codesign for efficient in-memory regular pattern matching
  • BVAP: Energy and Memory Efficient Automata Processing for Regular Expressions with Bounded Repetitions 引用了 Regular Expression Matching using Bit Vector Automata
  • BVAP: Energy and Memory Efficient Automata Processing for Regular Expressions with Bounded Repetitions 引用了 Efficient Matching of Regular Expressions with Lookaround Assertions
  • Streaming Validation of JSON Documents Against Schemas 引用了 Software-hardware codesign for efficient in-memory regular pattern matching
  • Streaming Validation of JSON Documents Against Schemas 引用了 Regular Expression Matching using Bit Vector Automata
  • Streaming Validation of JSON Documents Against Schemas 引用了 Efficient Matching of Regular Expressions with Lookaround Assertions
  • Regular Expression Matching using Bit Vector Automata 引用了 Software-hardware codesign for efficient in-memory regular pattern matching
  • Efficient Matching of Regular Expressions with Lookaround Assertions 引用了 Software-hardware codesign for efficient in-memory regular pattern matching
  • Efficient Matching of Regular Expressions with Lookaround Assertions 引用了 Regular Expression Matching using Bit Vector Automata
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Streaming Validation of JSON Documents Against SchemasAlexis Le Glaunec, Angela W. Li, Konstantinos MamourasVLDB 2026 · 2 次引用
  2. Static Analysis for Efficient Streaming TokenizationAngela W. Li, Yudi Yang, Konstantinos MamourasASPLOS 2026 · 1 次引用
  3. Formally Verified Linear-Time Invertible LexingSamuel Chassot, Viktor KuncakCAV 2026

它引用的 Paper6

  1. Software-hardware codesign for efficient in-memory regular pattern matchingLingkun Kong, Qixuan Yu, Agnishom Chattopadhyay, Alexis Le Glaunec 等PLDI 2022 · 23 次引用
  2. Regular Expression Matching using Bit Vector AutomataAlexis Le Glaunec, Lingkun Kong, Konstantinos MamourasOOPSLA 2023 · 22 次引用
  3. Efficient Matching of Regular Expressions with Lookaround AssertionsKonstantinos Mamouras, Agnishom ChattopadhyayPOPL 2024 · 19 次引用
  4. Linear Matching of JavaScript Regular ExpressionsAurèle Barrière, Clément Pit-ClaudelPLDI 2024 · 11 次引用
  5. BVAP: Energy and Memory Efficient Automata Processing for Regular Expressions with Bounded RepetitionsZiyuan Wen, Lingkun Kong, Alexis Le Glaunec, Konstantinos Mamouras 等ASPLOS 2024 · 11 次引用

相关 Paper

  1. A Partition Cover Approach to TokenizationJia Peng Lim, Shawn Tan, Davin Choo, Hady W. LauwNeurIPS 2025 · 6 次引用
  2. Tokenisation is NP-CompletePhilip Whittington, Gregor Bachmann, Tiago PimentelACL 2025 · 6 次引用
  3. LoPT: Lossless Parallel Tokenization Acceleration for Long Context Inference of Large Language ModelWei Shao, Lingchao Zheng, Pengyu Wang, Peizhen Zheng 等ACL 2026 · 1 次引用
  4. Tokenisation over Bounded Alphabets is HardVioleta Kastreva, Philip Whittington, Dennis Komm, Tiago PimentelICLR 2026 · 6 次引用
  5. An Efficient Algorithm for Streaming BPE TokenizationKonstantinos Mamouras, Angela W. Li, Yudi YangPLDI 2026
黄昏的海面,两侧是细线勾勒的悬崖