Incorporating Domain Knowledge into Materials Tokenization

While language models are increasingly utilized in materials science, typical models rely on frequency-centric tokenization methods originally developed for natural language processing. However, these methods frequently produce excessive fragmentation and semantic loss, failing to maintain the structural and semantic integrity of material concepts. To address this issue, we propose MATTER, a novel tokenization approach that integrates material knowledge into tokenization. Based on MatDetector trained on our materials knowledge base and a re-ranking method prioritizing material concepts in token merging, MATTER maintains the structural integrity of identified material concepts and prevents fragmentation during tokenization, ensuring their semantic meaning remains intact. The experimental results demonstrate that MATTER outperforms existing tokenization methods, achieving an average performance gain of and in the generation and classification tasks, respectively. These results underscore the importance of domain knowledge for tokenization strategies in scientific text processing. Our code is available atthis https URL
View on arXiv@article{oh2025_2506.11115, title={ Incorporating Domain Knowledge into Materials Tokenization }, author={ Yerim Oh and Jun-Hyung Park and Junho Kim and SungHo Kim and SangKeun Lee }, journal={arXiv preprint arXiv:2506.11115}, year={ 2025 } }