Skip to content

research

CNM-BERT

BERT treats 樹 as an arbitrary ID and throws away the components a reader sees instantly. CNM-BERT feeds that structure back in and lifts out-of-vocabulary accuracy by 9.8 F1 for about 5% more training time.

Research2026Under reviewBuilding ImpactDeveloping Talent
The Tree-MLP encodes a character's component tree and its output is fused into the standard BERT embedding before the unchanged transformer backbone.

A Chinese character is built from parts. 樹 contains 木, the tree radical, and a reader who has never met the character can still guess what it concerns. A tokenizer discards all of that and hands the model an arbitrary index.

The model then has to rediscover the meaning from context alone, and rare characters get the fewest chances to do so. Characters the tokenizer cannot represent at all stay opaque no matter how large the model grows, because the information was destroyed at the input layer.

CNM-BERT restores it. The model parses each character's Ideographic Description Sequence into a tree, encodes that tree with a recursive Tree-MLP, and adds the result to the standard embedding. The transformer, the vocabulary, and the output head stay exactly as they were, so it drops into an existing fine-tuning pipeline unchanged.

The interesting result is the shape of the gain. On familiar text CNM-BERT wins by 1.3 F1. On the long tail it wins by 4.0. On characters outside the vocabulary it wins by 9.8. A gap that widens as the data gets harder means the model has learned something structural about writing, which is exactly what scaling alone cannot buy.

On out-of-vocabulary characters CNM-BERT reaches 76.0 Structure F1 and 56.1 Radical F1, against 66.2 and 48.4 for ChineseBERT and 14.0 and 7.4 for token-only baselines.
Structure F1 gained over the strongest baseline: 1.3 in-distribution, 4.0 on the long tail, 9.8 out-of-vocabulary.

Results

Structural probing, out-of-vocabulary slice

ModelStructure F1Radical F1
Token-only baselines≤ 14.0≤ 7.4
SubChar-Wubi65.245.0
ChineseBERT66.248.4
CNM-BERT76.056.1

Baselines were re-run from official checkpoints under one protocol: five seeds, the same grid, the same hardware. ChineseBERT still wins on visual stroke metrics, which suits its pixel-based design; the two approaches capture different signals. Figures are those reported in the submitted manuscript.

Venue

ACL Rolling Review 2027

Status

Submitted, decision pending

Authors

Liqian Yan and Thomas Sing-wing Wu, equal contribution

Training overhead

About 5%

Backbone

Unmodified BERT

Built with

PyTorchBERTTree-MLPIDSCLUE