Hot-Start from Pixels: Low-Resolution Visual Tokens for Chinese Language Modeling
Shuyang Xiang, Hao Guan
TL;DR
This work questions the primacy of index-based tokenization for Chinese language modeling by leveraging the visual structure of logographic characters. It introduces a vision_token pipeline that renders characters as low_resolution grayscale images processed by a CNN-based visual encoder before feeding a GPT_2_small_style decoder, and contrasts it with a traditional token ID path. Empirically, 8x8 grayscale inputs achieve 39.2% next-character accuracy, on par with the 39.1% index baseline, and a pronounced hot_start effect accelerates learning in the visual pathway. The approach remains robust across resolutions and partial visibility, with interpretable embedding geometry and gradient analyses linking predictions to salient visual regions. Overall, the results suggest visual glyphs provide a sample-efficient inductive bias for Chinese LM, offering a complementary and potentially more interpretable representation to token-based methods.
Abstract
Large language models typically represent Chinese characters as discrete index-based tokens, largely ignoring their visual form. For logographic scripts, visual structure carries semantic and phonetic information, which may aid prediction. We investigate whether low-resolution visual inputs can serve as an alternative for character-level modeling. Instead of token IDs, our decoder receives grayscale images of individual characters, with resolutions as low as $8 \times 8$ pixels. Remarkably, these inputs achieve 39.2\% accuracy, comparable to the index-based baseline of 39.1\%. Such low-resource settings also exhibit a pronounced \emph{hot-start} effect: by 0.4\% of total training, accuracy reaches above 12\%, while index-based models lag at below 6\%. Overall, our results demonstrate that minimal visual structure can provide a robust and efficient signal for Chinese language modeling, offering an alternative perspective on character representation that complements traditional index-based approaches.
