Beyond Atomic Tokens: Factorizing Syllables for Language Model Pretraining
Authors: Nghia Hieu Nguyen, Thai Bao Huynh, Binh-An Dinh-Le, Phu Gia Hoang, Dat Tien Nguyen, Kiet Van Nguyen, Ngan Luu-Thuy Nguyen
Organizations: University of Information Technology, Vietnam National University, Ho Chi Minh city, Viet Nam · Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, UAE, Abu Dhabi, UEA
Conventional tokenizers represent text as characters or statistically derived subwords, overlooking the internal phonological structure of syllables and often requiring large vocabularies. We introduce Phonemic Tokenizer, a linguistically motivated tokenizer for Vietnamese and Chinese that converts each syllable into IPA and factorizes it into three phonological components: onset, rime, and tone. The three components jointly occupy one contextual position, preserving syllable-level sequence length while enabling representation sharing across phonologically related syllables. Non-phonological and unsupported units are handled through character-level fallback. This deterministic design requires no corpus-dependent vocabulary learning and yields vocabularies of only 112 entries for Chinese and 256 for Vietnamese. Intrinsic evaluation shows that the tokenizer achieves substantially higher Rényi efficiency in both languages, represents every entry in a standard Vietnamese syllable dictionary with a Fertility of exactly one, and generally produces shorter Vietnamese sequences than existing pretrained tokenizers. We further instantiate the tokenizer in PhonemicBERT, which combines factorized component embeddings and reconstructs complete masked syllables using three prediction heads. Under a controlled Chinese pretraining setup, PhonemicBERT-Zh is competitive with or outperforms character, subword, and SubChar alternatives across diverse language-understanding tasks. PhonemicBERT-Vi also achieves competitive or superior results to established Vietnamese and multilingual pretrained models. These results establish phonemic factorization as a compact, efficient, and interpretable alternative to atomic and statistically segmented text representations.
Figures & tables
Configuration
Zh
Vi
Source size
2.3 GB
20 GB
Retained size
2.1 GB
18.54 GB
Transformer layers
6 / 12
12
Hidden size
768
768
Attention heads
12
12
FFN size
3,072
3,072
Table 1: Pretraining data and model configurations. Both models use AdamW, 1% warmup, and 15% tuple masking.
Tokenizer
Vocabulary
Pretraining corpus
PhoBERT
64,000
20 GB
WikiBERT
30,000
-
mBERT
119,537
-
XLM-RoBERTa
250,002
2.5 TB
Phonemic
256
18.54 GB
Table 2: Vocabulary sizes and pretraining-corpus scales of the Vietnamese tokenizers. Corpus sizes describe the complete pretraining resources of the corresponding models and are not directly comparable across monolingual and multilingual settings.
#
Dataset
PhoBERT
WikiBERT
mBERT
XLM-R
Phonemic
1
VSMEC
1.0882
1.3356
1.2771
1.1848
1.0562
2
ViHOS
2.4561
1.2973
1.4405
1.3880
1.0116
3
ViHSD
2.4374
1.3254
1.4394
1.3942
1.0280
4
NIIVTB POS
1.0200
1.3426
1.1694
1.1674
1.0422
5
PhoNER
1.0341
1.3611
1.1558
1.1834
1.0974
6
UIT-ViSFD
1.2428
1.5039
1.3991
1.2948
1.1643
Table 3: Syllable-normalized Fertility on Vietnamese downstream datasets and the Standard Dictionary. Lower values indicate fewer contextual positions per input syllabic unit. For the Phonemic Tokenizer, an onset–rime–tone tuple counts as one contextual position. Values below one for statistical tokenizers can result from merging multiple syllabic units into a single token.
#
Dataset
PhoBERT
WikiBERT
mBERT
XLM-R
Phonemic
1
VSMEC
0.4740
0.4876
0.4354
0.3863
0.5661
2
ViHOS
0.2702
0.4923
0.1701
0.3535
0.5777
3
ViHSD
0.2710
0.4945
0.1720
0.3572
0.5819
4
NIIVTB POS
0.4405
0.4706
0.4150
0.3412
0.5300
5
PhoNER
0.3831
0.4315
0.3734
0.3046
0.4692
6
UIT-ViSFD
0.4895
0.4481
0.4006
0.3907
0.4996
Table 4: Rényi efficiency of Vietnamese tokenizers. Higher values indicate more balanced utilization of the corresponding vocabulary.
#
Dataset
Input
PhoBERT
WikiBERT
mBERT
XLM-R
Phonemic
1
VSMEC
14.01
15.24 (+01.23)
18.71 (+04.70)
17.89 (+03.88)
16.59 (+02.58)
14.79 (+00.78)
2
ViHOS
14.32
35.16 (+20.84)
18.57 (+04.25)
20.62 (+06.30)
19.87 (+05.55)
14.48 (+00.16)
3
ViHSD
13.11
31.96 (+18.85)
17.38 (+04.27)
18.87 (+05.76)
18.28 (+05.17)
13.48 (+00.37)
4
NIIVTB POS
28.86
29.43 (+00.57)
38.74 (+09.88)
33.74 (+04.88)
33.68 (+04.82)
30.07 (+01.21)
5
PhoNER
34.63
35.81 (+01.18)
47.13 (+12.50)
40.02 (+05.39)
40.98 (+06.35)
38.00 (+03.37)
6
UIT-ViSFD
36.19
44.97 (+08.78)
54.42 (+18.23)
50.63 (+14.44)
46.85 (+10.66)
42.13 (+05.94)
Table 5: Average input and tokenized sequence lengths on Vietnamese downstream datasets. Parenthesized values indicate the absolute change relative to the average input length. A positive value denotes sequence expansion. Bold indicates the shortest tokenized sequence for each dataset. Lengths count contextual positions and exclude model-specific special tokens.
Dataset
Unique types
Vietnamese
Coverage
VSMEC
4,750
3,577
75%
ViHOS
7,301
4,455
61%
ViHSD
11,852
5,624
47%
NIIVTB POS
8,316
4,698
56%
PhoNER
2,706
2,122
78%
UIT-ViSFD
6,473
3,775
58%
Table 6: Type-level coverage of phonologically analyzable Vietnamese units. Coverage is the proportion of unique observed types recognized as standard Vietnamese syllables.
Dataset
Occurrences
Vietnamese
Coverage
VSMEC
102,462
85,080
83%
ViHOS
160,121
124,233
78%
ViHSD
450,182
333,658
74%
NIIVTB POS
617,413
503,242
82%
PhoNER
381,038
264,019
69%
UIT-ViSFD
468,599
350,340
75%
Table 7: Token-level coverage of phonologically analyzable Vietnamese units. Unlike Table 6 , repeated occurrences are retained.
#
Dataset
Character
Subword
SubChar-Wubi
SubChar-Pinyin
Phonemic
1
TNEWS
0.5002
0.4920
0.4927
0.5158
0.6993
2
IFLYTEK
0.5242
0.5389
0.5507
0.5497
0.6861
3
CLUEWSC
0.4376
0.4688
0.5206
0.5063
0.6745
4
AFQMC
0.3741
0.3667
0.3256
0.3482
0.6607
5
OCNLI
0.4772
0.4915
0.5257
0.5202
0.6651
6
CSL
0.5064
0.5100
0.5359
0.5096
0.6874
Table 8: Rényi efficiency of Chinese tokenizers. Higher values indicate more balanced utilization of the corresponding vocabulary. For the Phonemic Tokenizer, the distribution is computed over identifiers occurring in the three aligned component slots.
#
Dataset
Input
Character
Subword
SubChar-Wubi
SubChar-Pinyin
Phonemic
1
TNEWS
22.24
22.24
20.32
15.96
16.18
22.24
2
IFLYTEK
288.17
288.17
254.35
182.46
184.49
288.17
3
CLUEWSC
66.64
66.64
61.81
52.27
51.93
66.64
4
AFQMC
13.35
13.35
12.51
10.98
10.53
13.35
5
OCNLI
17.82
17.82
15.58
12.03
12.41
17.82
6
CSL
206.08
206.08
176.40
125.39
130.61
206.08
Table 9: Average input and tokenized sequence lengths on Chinese benchmarks. Lengths count contextual positions and exclude model-specific special tokens. Bold indicates the shortest tokenized sequence. The Phonemic and Character tokenizers preserve one position per input character.
Tokenizer
Vocabulary size
Character
22,675
Subword
22,675
SubChar-Wubi
22,675
SubChar-Pinyin
22,675
Phonemic
112
Table 10: Vocabulary sizes of the Chinese tokenizers under the controlled configuration. The Phonemic count includes phonological, fallback, and special entries.
Model
ViHOS
NIIVTB POS
VietMed
PhoNER
WikiBERT
77.05
75.52
–
–
PhoBERT
75.69
77.60
56.04±4.44
83.83±0.15
mBERT
76.22
81.34
59.81±0.57
72.82±0.43
DistilBERT
75.72
80.05
–
–
XLM-RoBERTa
74.67
81.76
61.76±0.88
69.75±0.38
PhonemicBERT-Vi
83.40±1.28
82.64±1.02
60.20±0.84
84.66±1.10
Table 11: Results on Vietnamese token- and span-level tasks. ViHOS uses token-level macro-F1, NIIVTB POS uses macro-F1, and VietMed and PhoNER use span-level F1. PhonemicBERT-Vi results are means over four random seeds. Bold and underlining indicate the highest and second-highest reported means, respectively. Results on ViHOS and NIIVTB POS are reported from [ 6 ] , while results on the VietMed and PhoNER are from [ 5 ] .
Model
VSMEC
ViHSD
ViSFD
ViOCD
ViCTSD
UIT-VSFC
Cons.
Toxic
Topic
Sent.
WikiBERT
57.64
–
71.46
–
–
–
–
–
PhoBERT
59.91
–
–
–
82.11±1.00
72.53±1.66
78.78±0.71
80.95±1.26
mBERT
54.59
64.20
70.27
91.61
81.62±0.72
68.53±3.67
75.80±0.71
78.30±1.46
DistilBERT
53.83
62.50
70.97
90.50
–
–
–
–
XLM-RoBERTa
61.89
63.68
–
–
81.62±0.61
73.29±2.09
77.66±1.79
80.57±1.72
Table 12: Macro-F1 results on Vietnamese social-media and feedback benchmarks. ViCTSD includes constructiveness and toxicity detection, while UIT-VSFC includes topic and sentiment classification. Results on VSMEC, ViHSD, ViSFD, and ViOCD are reported from [ 6 ] , while results on the ViCTSD and UIT-VSFC are from [ 5 ] .
Model
ViNewsQA
ViNLI
WikiBERT
82.85
–
PhoBERT
–
78.05
mBERT
83.19
73.62
DistilBERT
–
66.77
XLM-RoBERTa
–
77.01
PhonemicBERT-Vi
82.16±1.35
73.47±1.20
Table 13: Results on Vietnamese inference and question-answering benchmarks. ViNewsQA is evaluated using extractive QA F1, while ViNLI uses macro-F1.
Pretrained model
#Params
#Layers
#Heads
Hidden
Vocab.
Language
Pretraining source
mBERT
179M
12
12
768
119,547
Multilingual
Wikipedia
Multilingual DistilBERT
134M
6
12
768
119,547
Multilingual
Wikipedia
XLM-RoBERTa-base
270M
12
12
768
250,002
Multilingual
CommonCrawl
WikiBERT
–
12
12
768
20,101
Monolingual
Wikipedia
PhoBERT-base
135M
12
12
768
64,001
Monolingual
Wikipedia, news
PhonemicBERT-Vi
87.94M
12
12
768
256
Monolingual
Wikipedia, news
Table 14: Architectural and pretraining characteristics of the Vietnamese and multilingual pretrained models. Parameter and vocabulary counts correspond to the evaluated checkpoints. A dash indicates that the parameter count is not reported.
Tokenizer
TNEWS
IFLYTEK
THUCNews
6-layer encoder
CharTokenizer
64.19±0.18
55.83±0.50
96.95±0.04
Subword
64.09±0.28
54.88±0.39
97.14±0.03
SubChar-Wubi
63.89±0.25
58.64±0.27
97.02±0.04
SubChar-Pinyin
63.68±0.25
58.81±0.28
97.04±0.04
PhonemicBERT-Zh
64.13±0.21
58.14±0.31
97.02±0.04
Table 15: Accuracy on Chinese text-classification benchmarks, reported as mean ± standard deviation. Bold and underlining indicate the highest and second-highest means within each encoder configuration.
Tokenizer
CLUEWSC
AFQMC
OCNLI
CSL
BQ
6-layer encoder
CharTokenizer
63.39±1.95
68.68±0.46
68.19±0.39
82.67±0.46
81.99±0.47
Subword
62.67±2.87
69.25±0.42
69.03±0.44
83.20±0.27
81.94±0.28
SubChar-Wubi
64.61±2.09
68.75±0.59
68.93±0.38
82.81±0.46
81.70±0.29
SubChar-Pinyin
65.90±1.45
68.89±0.42
67.98±0.45
82.87±0.40
81.74±0.24
PhonemicBERT-Zh
65.17±1.62
69.25±0.38
67.73±0.40
83.22±0.23
83.08±0.27
Table 16: Accuracy on Chinese sentence-pair and reasoning benchmarks, reported as mean ± standard deviation.
Tokenizer
C3
CMRC †
CLUENER †
6-layer encoder
CharTokenizer
53.17±0.56
56.58
69.61
Subword
53.32±0.44
55.85
67.94
SubChar-Wubi
54.68±0.77
54.45
70.63
SubChar-Pinyin
53.03±0.47
55.18
70.77
PhonemicBERT-Zh
53.69±0.56
55.49±0.11
70.71±0.03
Table 17: Results on Chinese reading-comprehension and sequence-labeling benchmarks. C3 is evaluated using accuracy, CMRC using exact match (EM), and CLUENER using entity-level F1. All results are reported as mean ± standard deviation except the published CMRC and CLUENER baselines marked with † , for which Si et al. [17] report single-run results. Twelve-layer CMRC and CLUENER baseline results are unavailable.
Table 18: Accuracy under synthetic homophone substitutions. Corruption percentages indicate the proportion of Chinese characters replaced with different characters having the same Pinyin pronunciation and tone. Baseline results are taken from Si et al. [17] . Bold value indicate the best result within the pronunciation-based representations for each setting.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Grapheme(s)
Phoneme
Example
Example IPA
b
/b/
ba
/ba /
t
/t/
ta
/ta /
th
/t h /
tha
/t h a /
c , k , q
/k/
ca , kim , qua
/ka /, /kim /, /kwa /
ph
/f/
pha
/fa /
đ
/d/
đa
/da /
Appendix
Table 19: Orthographic onset-to-phoneme correspondences under the composite Vietnamese pronunciation standard. Tone contours in the examples describe phonetic realizations
Component
Grapheme(s)
Phoneme
Examples
Medial
o , u
/ u ı /
hoa , thuê , khuyên
Monophthong
a
/a/
ba , an
Monophthong
ă ; a before y, u
/ă/
ăn , tay , cau
Monophthong
â
/9̆/
ân , cây
Monophthong
i , y
/i/
tin , y
Monophthong
ê
/e/
êm , kết
Appendix
Table 20: Orthographic correspondences for the Vietnamese medial glide and vocalic nuclei. Multiple spellings in the same row are normalized to the same phonemic category.
Grapheme(s)
Phoneme
Examples
i , y
/ i ı /
mai , tay
o , u
/ u ı /
sao , đau
m
/m/
nam , êm
n
/n/
an , ên
ng
/ŋ/
ang , ông
nh
//
anh , ênh
Appendix
Table 21: Orthographic coda-to-phoneme correspondences used in the Vietnamese pronunciation normalization.
Tone
Mark
Example
Ngang
Unmarked
ma
Huyền
Grave
mà
Sắc
Acute
má
Hỏi
Hook above
mả
Ngã
Tilde
mã
Nặng
Dot below
mạ
Appendix
Table 22: Mapping from Vietnamese orthographic tone marks to the tone representations used by Phonemic Tokenizer.
Pinyin initial
Normalized IPA
Example
Example IPA
b
/p/
bā
/pa /
p
/p h /
pā
/p h a /
m
/m/
mā
/ma /
f
/f/
fā
/fa /
d
/t/
dā
/ta /
t
/t h /
tā
/t h a /
Appendix
Table 23: Mapping from Pinyin initials to the normalized IPA onsets used by Phonemic Tokenizer.
Pinyin final
Normalized IPA
Example
a
/a/
mā
o
/wo/
bō
e
/7/
gē
ê
/E/
ê
ai
/ai/
lái
ei
/ei/
lèi
Appendix
Table 24: Mapping from basic Pinyin finals to normalized atomic rimes.
Pinyin final
Normalized IPA
Example
i
/i/
mǐ
ia
/ia/
jiā
ie
/iE/
xiě
iao
/iau/
xiǎo
iou
/iou/
liú
ian
/iEn/
tiān
Appendix
Table 25: Mapping of Pinyin finals containing the i medial. The underlying final iou is written as iu after an initial.
Group
Pinyin final
Normalized IPA
Example
u
u
/u/
lù
ua
/ua/
huā
uo
/uo/
guó
uai
/uai/
kuài
uei
/uei/
duì
uan
/uan/
guān
Appendix
Table 26: Mapping of Pinyin finals containing the u and ü medials. The table shows underlying final forms before Pinyin spelling contractions are applied.
Surface form
Normalized final
Example
Normalized IPA
iu after an initial
iou
liú
/liou /
ui after an initial
uei
duì
/tuei /
un after an initial
uen
lùn
/lu9n /
yi , ya , ye
i , ia , ie
yī , yā , yè
/i /, /ia /, /iE /
yao , you
iao , iou
yào , yǒu
/iau /, /iou /
yan , yin , yang , ying
ian , in , iang , ing
yán , yīn , yáng , yīng
Corresponding i -group rimes
Appendix
Table 27: Context-conditioned Pinyin spellings normalized before IPA conversion. Initial y and w in these forms are treated as orthographic markers rather than consonantal onset tokens.
Tone
Pinyin mark
Example
Tokenizer value
First
Macron
mā
/ /
Second
Acute
má
/ /
Third
Caron
mǎ
/ /
Fourth
Grave
mà
/ /
Neutral
Unmarked
ma
[EMPTY]
Appendix
Table 28: Mapping from Pinyin tone marks to the normalized tone representations used by Phonemic Tokenizer. The neutral tone is assigned [EMPTY] because it has no overt tone mark.
Tokenization is the first step in every language model (LM), yet it never takes the sounds of words into account. We investigate how tokenization influences text-only LMs' ability to represent phonological knowledge. Through a series of probing experiments, we show that subword-based tokenization systematically weakens the encoding of both local (e.g., rhyme) and global (e.g., syllabification) phonological features. To quantify this effect, we introduce the syllabification-tokenization alignment distance (STAD), a metric that measures the misalignment between a model's tokenization and the natural syllable boundaries of words, and find that higher misalignment correlates with poorer phonological representations, providing a simple diagnostic for phonology-aware tokenization. To address these limitations, we propose a lightweight IPA-based fine-tuning method that infuses phonological awareness into LMs, leading to consistent improvements across three phonology-related tasks while largely preserving math and general reasoning ability, with 1.1% and 0.9% drops on GSM8K and MMLU, respectively.
Pure speech language models aim to learn language directly from raw audio without textual resources. A key challenge is that discrete tokens from self-supervised speech encoders result in excessively long sequences, motivating recent work on syllable-like units. However, methods like Sylber and SyllableLM rely on intricate multi-stage training pipelines. We propose ZeroSyl, a simple training-free method to extract syllable boundaries and embeddings directly from a frozen WavLM model. Using L2 norms of features in WavLM's intermediate layers, ZeroSyl achieves competitive syllable segmentation performance. The resulting segments are mean-pooled, discretized using K-means, and used to train a language model. ZeroSyl outperforms prior syllabic tokenizers across lexical, syntactic, and narrative benchmarks. Scaling experiments show that while finer-grained units are beneficial for lexical tasks, our discovered syllabic units exhibit better scaling behavior for syntactic modeling.
Nicol Visser, Simon Malan, Danel Slabbert +1
Electrical and Electronic Engineering, Stellenbosch University, South Africa
German is a morphologically rich language whose syllable structure is exceptionally well-predicted by the Knuth--Liang hyphenation algorithm. We ask whether phonologically informed tokenization can serve as a competitive target for end-to-end speech recognition. We compare three tokenizer families on the Omnilingual ASR wav2vec 2.0 backbone fine-tuned with CTC: the pretrained multilingual character inventory, a data-driven Byte-Pair Encoding (BPE) over orthography, and phonologically informed units from Pyphen syllabification and grapheme-to-phoneme conversion. Across 40 fine-tunes, we evaluate on three German test sets spanning orthogonal shifts: in-domain read speech, dialectal spontaneous speech, and standard-German spontaneous speech. In-domain, all phonologically informed tokenizers match BPE and the multilingual character baseline on both WER and CER. Under domain shift the picture splits along vocabulary size rather than the linguistic axis of variation: at small vocabularies, syllable-aware tokenization improves on dialectal speech, where phonetic surface forms vary but syllable structure is preserved, and stays ahead on spontaneous speech, where new word-forms violate vocabulary closure. A phoneme-level confusion analysis further shows that all tokenizers commit the same canonical function-word errors, indicating that the acoustic encoder, not the tokenizer, dominates the error topology. Our findings suggest that tokenizer choice may depend on the vocabulary budget as much as on the distribution shift expected at deployment rather than reducing to a single universal optimum.
Christopher Witzl, Tobias Bocklet, Korbinian Riedhammer
Technische Hochschule Nürnberg Georg Simon Ohm, Nürnberg, Germany