Research map / Architectures and efficiency / Attention and transformers
LoPT: Lossless Parallel Tokenization Acceleration for Long Context Inference of Large Language Model
Wei Shao, Lingchao Zheng, Pengyu Wang, Peizhen Zheng, Jun Li, Yuwei Fan
Huawei Technologies
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Larger batch size
increase batch size · LongBenchV2 (Qwen3) · tokenization time Mixed
What 943 accepted papers report for this change
- 539 improved
- 126 no clear effect
- 61 mixed
- 217 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use LoPT parallel tokenization instead of single-process tokenizer | HuggingFace TokenizerFast (Qwen3) · LongBenchV2 | latency (ms): 618.5 -> 116.8 | Improved |
| use LoPT instead of the single-process tokenizer | HuggingFace TokenizerFast (Qwen3) · LEval | latency (ms): 33.2 -> 7.6 | Improved |
| use character-position-based matching and dynamic chunk length (LoPT) instead of token-ID overlap matching | Overlap-based ParallelTokenizer-Ours (Qwen3) · LongBenchV2 | accuracy vs standard tokenization: 0.982 -> 1.0 | Improved |
| use LoPT instead of the optimized overlap-based merge | Overlap-based ParallelTokenizer-Ours (Qwen3) · LongBenchV2 | latency (ms): 332.4 -> 116.8 | Improved |
| use the original overlap-based ParallelTokenizer instead of single-process tokenizer | HuggingFace TokenizerFast (Qwen3) · LongBenchV2 | latency (ms): 618.5 -> 644.7 | No clear effect |
| use LoPT instead of comma-delimited splitting for accuracy | Delimiter-based ParallelTokenizer (Qwen3) · LongBenchV2 | accuracy vs standard tokenization: 0.247 -> 1.0 | Improved |
| use delimiter-based splitting with BERT tokenizers instead of BPE tokenizers | Delimiter-based ParallelTokenizer · LongBenchV2 | accuracy vs standard tokenization: whitespace 0.996 (BERT-Base-Cased) vs 0.708 (Qwen3) | Mixed |
| increase sequence length (ablation) | LoPT vs HuggingFace TokenizerFast · LongBenchV2 (4k to 128k tokens) | tokenization time | Improved |
| vary chunk length (too small or too large) (ablation) | LoPT · LongBenchV2 and ClongEval | tokenization time | Mixed |
| increase batch size (ablation) | LoPT vs multi-process HF tokenizer · LongBenchV2 (Qwen3) | tokenization time | Mixed |
| increase process pool size (ablation) | LoPT · LongBenchV2 | tokenization time | Mixed |
| run on lower-capability CPU (ablation) | LoPT vs HuggingFace TokenizerFast · LongBenchV2, LEval, ClongEval (Qwen3) | tokenization time | Improved |
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- zip2zip: Inference-Time Adaptive Tokenization via Online Compression (NeurIPS 2025 · similarity 0.88)
- UniPrefill: Universal Long-Context Prefill Acceleration via Block-wise Dynamic Sparsification (NeurIPS 2026 · similarity 0.88)
- MrT5: Dynamic Token Merging for Efficient Byte-level Language Models (ICLR 2025 · similarity 0.88)
- OrthoRank: Token Selection via Sink Token Orthogonality for Efficient LLM inference (ICML 2025 · similarity 0.88)
- SpaceByte: Towards Deleting Tokenization from Large Language Modeling (NeurIPS 2024 · similarity 0.88)
- Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers (NeurIPS 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.