LLMs reconstruct token spelling in intermediate and later transformer layers rather than reading it directly from embeddings.
Enhancing Character-Level Understanding in LLMs through Token Internal Structure Learning
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
Tokenization methods like Byte-Pair Encoding (BPE) enhance computational efficiency in large language models (LLMs) but often obscure internal character structures within tokens. This limitation hinders LLMs' ability to predict precise character positions, which is crucial in tasks like Chinese Spelling Correction (CSC) where identifying the positions of misspelled characters accelerates correction processes. We propose Token Internal Position Awareness (TIPA), a method that significantly improves models' ability to capture character positions within tokens by training them on reverse character prediction tasks using the tokenizer's vocabulary. Experiments demonstrate that TIPA enhances position prediction accuracy in LLMs, enabling more precise identification of target characters in original text. Furthermore, when applied to downstream tasks that do not require exact position prediction, TIPA still boosts performance in tasks needing character-level information, validating its versatility and effectiveness.
fields
cs.CL 1years
2025 1verdicts
CONDITIONAL 1representative citing papers
citing papers explorer
-
Spelling-out is not Straightforward: LLMs' Capability of Tokenization from Token to Characters
LLMs reconstruct token spelling in intermediate and later transformer layers rather than reading it directly from embeddings.