Enhancing LLM Character-Level Manipulation via Divide and Conquer
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated strong generalization capabilities across a wide range of natural language processing (NLP) tasks. However, they exhibit notable weaknesses in character-level string manipulation, struggling with fundamental operations such as character deletion, insertion, and substitution. These challenges stem primarily from tokenization constraints, despite the critical role of such operations in data preprocessing and code generation. Through systematic analysis, we derive two key insights: (1) LLMs face significant difficulties in leveraging intrinsic token knowledge for character-level reasoning, and (2) atomized word structures can substantially enhance LLMs' ability to process token-level structural information. Building on these insights, we propose Character-Level Manipulation via Divide and Conquer, a novel approach designed to bridge the gap between token-level processing and character-level manipulation. Our method decomposes complex operations into explicit character-level subtasks coupled with controlled token reconstruction phases, leading to significant improvements in accuracy. Without additional training, our method significantly improves accuracies on the textttDeletion, textttInsertion, and textttSubstitution tasks. To support further research, we open-source our implementation and benchmarks.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 16 of its 24 references that are in the map. First posted on arXiv 12 Feb 2025.
Builds on
16 of 24 references.
References · 16
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
- 2020GECToR -- Grammatical Error Correction: Tag, Not Rewritecited by 177
4 more
- 2024From Tokens to Words: On the Inner Lexicon of LLMscited by 48
- 2024CUTE: Measuring LLMs' Understanding of Their Tokenscited by 31
- 2023On the application of Large Language Models for language teaching and assessment technologycited by 27
- 2023Exploring the Robustness of Large Language Models for Solving Programming Problemscited by 16
Built on by
Citing papers per year: 2026: 1.
1 paper.