Paper 01 · Natural language processing
Reading a character by its parts
A drop-in structural embedding that lets a language model see inside a Chinese character, using decompositions Unicode already publishes.
What a tokenizer throws away
Read 樹 and you will notice 木 on the left, the tree radical. Even on first meeting the character, you can place it: something wooden, something growing. A tokenizer notices none of this. It looks the character up in a table, hands the model an integer, and the anatomy is gone before the first layer runs.
For a common character that loss is affordable, because context will eventually teach the model
what it means. A rare one appears too seldom to accumulate those updates. A
character outside the vocabulary altogether reaches the model as [UNK], an empty token. Scale
leaves this untouched, because pre-training only ever sees what the input interface has kept.
| Character | IDS decomposition | Meaning |
|---|---|---|
| 语 | 讠 吾 | Language |
| 湖 | 氵 胡 | Lake |
| 森 | 木 林 | Forest |
What the model is given
Unicode already publishes the decomposition. An Ideographic Description Sequence writes 辯 as ((立,十), (亠,二,口), (立,十)): a left-middle-right operator over three branches, every one of which splits again. CNM-BERT parses that string into a tree, walks it from the leaves upward with a small recursive network, and folds the resulting vector into the standard embedding before the first transformer layer sees anything.
Everything downstream is left alone: same tokenizer, same 21,128-token vocabulary, same output head, same twelve or twenty-four transformer layers. The structural pathway adds about 2.5 million parameters against BERT-base's 110 million, and roughly 5% to training time, because the tree is evaluated once per distinct character in a batch rather than once per token position. It drops into an existing fine-tuning pipeline and leaves it as it was.
What happened
On ordinary text the gain is modest: 1.3 points of Structure F1 over the strongest baseline. On the rarest tier of characters it widens to 4.0. On characters outside the tokenizer's vocabulary it reaches 9.8, and by that point the models that lack a structural pathway have collapsed to near chance, scoring 14.0 against CNM-BERT's 76.0.
The pattern matters more than any single number in it. A margin that widens as the data gets harder is what you would expect if the structural pathway is doing real work. Whether it is, or whether it is propagating a resource the benchmark also inherits, is the question the Limitations section of the manuscript takes up.
| Model | Structure ↑ | Radical ↑ | Stroke MAE ↓ | Stroke-type ↑ |
|---|---|---|---|---|
| BERT-wwm-ext | 12.4 | 6.1 | 2.10 | 10.3 |
| RoBERTa-wwm-ext | 13.1 | 6.8 | 2.02 | 11.0 |
| MacBERT | 14.0 | 7.4 | 1.98 | 11.8 |
| SubChar-Pinyin | 32.7 | 21.5 | 1.46 | 30.1 |
| SubChar-Wubi | 65.2 | 45.0 | 1.10 | 50.8 |
| ChineseBERT | 66.2 | 48.4 | 0.75 | 61.2 |
| CNM-BERT | 76.0 | 56.1 | 1.05 | 52.4 |
Baselines re-run from official checkpoints under one protocol: five seeds, one grid, the same hardware; the full diagnostic is Table 1 of the manuscript. ChineseBERT keeps the stroke columns, which suits a model that sees rendered pixels. The two approaches capture different signals.