기본 정보
- 저자
- DOI
- 10.18653/v1/2025.acl-long.474
- 저널
- –
- 발행년도
- 2025
- 발행기관
- –
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.18653/v1/2025.acl-long.474
- 토픽
- Injection Molding Process and Properties
- OpenAlex ID
- W4412945548
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- –
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- materials science, tokenization, language models, material concepts, materials informatics
- 판단 근거
- 이 논문은 재료 과학 분야의 텍스트 데이터를 더 정확하게 처리하기 위한 언어 모델용 토큰화(Tokenization) 기법을 다룹니다. 특정 제품을 연구하는 것은 아니나, 재료 정보 추출 및 인포매틱스(Materials Informatics)를 위한 분석 방법론을 제시하므로 R&D 데이터 활용 측면에서 간접적 관련성이 있습니다.
- R&D 활용 포인트
- 신소재 개발 과정에서 발생하는 방대한 논문 및 특허 데이터를 AI로 분석할 때, 화학식이나 소재 명칭의 왜곡 없이 정확하게 정보를 추출하고 지식 베이스를 구축하는 데 활용 가능합니다.
- 평가 입력
- 본문 82,325자 중 30,032자 발췌
초록
본문 82,325자
본문 펼치기
섹션 본문 106문단 · 46,268자
(제목 없음)
1While 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 4% and 2% in the generation and classification tasks, respectively.These results underscore the importance of domain knowledge for tokenization strategies in scientific text processing. 1
Introduction
2Recent advances in language models have expanded their applications in materials science (Pilania, 2021;Olivetti et al., 2020).However, typical language models for materials science utilize frequency-centric subword tokenization methods originally developed for general natural language processing (NLP) tasks (Trewartha et al., 2022;Gupta et al., 2022;Huang and Cole, 2022).These methods prioritize high-frequency words in tokenization, resulting in misrepresentation of lowfrequency words (Yuan et al., 2024;Lee et al., 2024;Liang et al., 2023), which is particularly problematic in material corpora. 1 Our code is available at https://github.com/yerimoh/MATTER Material concepts-such as material names and chemical formulas-tend to appear infrequently in materials-related scientific papers as shown in Figure 1(a).This can lead to the oversight of material concepts in frequency-centric tokenization methods, whereas high-frequency general words dominate the subword vocabulary.As a result, material concepts are indeed fragmented into semantically unrelated subwords.For example, as shown in Figure 1(b), the word germanium , which means a chemical element, is split into semantically unrelated subwords german and -ium.Such fragmentation may cause language models to misinterpret the meaning of material concepts, resulting in performance degradation in materials science tasks.Several previous studies have also shown that preserving domain-specific subwords is crucial for maintaining model effectiveness (Gutiérrez et al., 2023;Gu et al., 2021;Hofmann et al., 2021), but how to identify and preserve such words remains unexplored in the materials science domain.
3To address this issue, we propose MATTER (Materials Tokenization Framework), a novel approach that integrates material knowledge into tokenization.MATTER involves carefully designed frequency computation and merging processes to effectively capture the material concepts.We present MatDetector, a material concept identifier that scores each concept by its relevance to the materials domain, trained on a corpus of material knowledge that we carefully constructed.Subsequently, jointly considering the relevance scores and statistics of words, MATTER re-ranks the score of multiple possible merged tokens, prioritizing material-related subwords to be preserved.By integrating material knowledge into frequency computation and restructuring token merging, MATTER addresses the limitations of standard frequencycentric tokenization and enhances the representation of material concepts.
4To verify the efficacy of MATTER, we conduct comprehensive experiments across diverse downstream tasks in materials science, including both generation and classification.The results demonstrate that MATTER significantly enhances performance on material-specific tasks while preserving the unique characteristics of material terminology.By integrating material knowledge into tokenization training, MATTER enables more precise learning of domain-specific concepts, underscoring the effectiveness of this tailored approach.In summary, this paper presents the following key contributions:
5• We introduce MATTER, a novel domainspecific tokenization framework that integrates material knowledge into the tokenization process.
6• We develop a novel scheme for materials tokenization based on MatDetector trained on our materials knowledge corpus integrated into our re-ranked token merging process.
7• We demonstrate that MATTER outperforms existing tokenization methods, achieving an average improvement of 4% on generation tasks and 2% on classification tasks through extensive experiments.
82 Related Work
Subword Tokenization
9Tokenization plays a crucial role in the performance of language models (Rust et al., 2021;Singh and Strouse, 2024;Wang et al., 2024a).One significant advancement in this area is subword tokenization, a pivotal approach in NLP.Various subword tokenization techniques exist, among which frequencycentric methods, such as Byte Pair Encoding (BPE; Gage 1994;Sennrich et al. 2016) and WordPiece (Wu et al., 2016), construct subword vocabularies by merging frequently co-occurring character sequences.Recent studies have explored integrating additional linguistic and contextual signals into tokenization.SAGE (Yehezkel and Pinter, 2023) introduces contextual embeddings to guide token segmentation, while PickyBPE (Chizhov et al., 2024) refines intermediate "junk" tokens.However, while these methods effectively preserve high-frequency words, they often fragment low-frequency words, obscuring their meaning (Schmidt et al., 2024;Wu et al., 2016;Sennrich, 2015;Mikolov et al., 2012).Additionally, they are designed for general-domain corpora and fail to account for specialized terminology in the materials domain, where key concepts are both semantically significant and infrequent.As a result, conventional tokenization methods frequently split material concepts into unrelated subwords, disrupting their meaning.In contrast, MATTER is designed to address these domain-specific challenges in materials science.
Language Models in Materials Science
10The discovery and practical application of materials is a time-intensive process, often spanning decades (Science and , US; Jain et al., 2013).To accelerate this process, leveraging the wealth of knowledge captured in textual datasets has become essential.NLP-based approaches have potential in materials informatics, enabling advancements in extracting and utilizing domain-specific knowledge (Wang et al., 2024b;Friedrich et al., 2020;Weston et al., 2019;Mysore et al., 2019).Tshitoyan et al. (2019) introduced embedding-based unsupervised methods, effectively capturing chemical knowledge and understanding chemical properties.Building on this foundation, Trewartha et al. (2022) introduced pre-trained language models trained on a materials science corpus, utilizing BERT (Devlin et al., 2019).Further extending the capabilities of BERT-based models, SciBERT (Beltagy et al., 2019), trained on material and battery-specific corpora, was adapted into MatSciBERT (Gupta et al., 2022) and BatteryBERT (Huang and Cole, 2022), respectively.
Create vocabulary based on frequency t h e
11The However, these models rely on tokenization strategies originally designed for general NLP tasks, which can be suboptimal for material specialized terminology.In contrast, MATTER introduces a tokenization approach tailored to the unique linguistic characteristics of the materials domain.
MATTER
12We propose a materials-aware tokenization approach that integrates material knowledge into tokenization training and re-ranks token merging order.The overall procedure is illustrated in Figure 2.
Word Frequency Calculation
13MATTER incorporates the WordPiece algorithm, a frequency-centric tokenization method, with material domain knowledge.The standard WordPiece algorithm first computes the frequency of each word in the corpus.Then, it tokenizes words into sequences of characters or byte units and iteratively merges the most frequent pair of tokens.Similarly, MATTER also computes word frequencies, denoted as freq origin (w) for a word w:
14where count(w) represents the number of occurrences of word w in the corpus.However, MAT-TER further incorporates material knowledge ( § 3.2) and re-ranks the token merging order ( § 3.3) to better preserve domain-specific terminology.
Material Knowledge Incorporation
15To integrate material knowledge into MATTER, we adjust word frequencies ( § 3.1) by assigning weights to material concepts.Therefore, precise identification of material concepts is crucial.Traditionally, ChemDataExtractor (Kumar et al., 2024) has been widely used in materials science for this purpose, but since it was trained on biomedical data, its accuracy in identifying material concepts is limited (Kim et al., 2024;Kumar et al., 2024;Tran et al., 2024;Xu et al., 2023).
16To address this, we introduce MatDetector, a material-agnostic tool that detects material concepts in a target corpus and assigns probability scores to each concept.Developed using the architecture of Trewartha et al. (2022), MatDetector is optimized for material concept detection.The dataset creation process is as follows:
17Material Concept Extraction The MatDetector searches the PubChem database (Kim et al., 2019) for material-related concepts, extracting 80K material concepts (chemical names, IUPAC names, synonyms, and molecular formulas).
18Material Corpus Crawling Using these concepts extracted from PubChem, we crawl Semantic Scholar, collecting around 42K scientific papers.
19Crawled Data Tagging The collected corpus is tagged with PubChem material concepts, creating a NER material dataset with labels "material name", end while 20:
20return V 21: end procedure "material formula", and "other".Labels other than "other" are treated as "material concept".
21Data Augmentation While Semantic Scholar offers relatively clean data, material-related datasets from journals and repositories often contain formatting inconsistencies, OCR errors, and structural variations.To address this, we standardized common noise and expanded the dataset fourfold to enhance model robustness.Details in Appendix B.
22Using the MatDetector, we can detect material concepts and compute their probability.Specifically, for Given a word w that is split into n subword tokens {t 1 , t 2 , ..., t n }, the label for the word is determined as follows:
23where C is the set of all possible labels, and P (t i , c) denotes the probability of subword token t i being classified as label c.If the predicted label ŷ(w) falls under "material concept," we denote it as ŷmat (w).
24The equation is as follows:
25Ultimately, material concepts identified within the vocabulary are assigned ŷmat (w), representing the likelihood of a word being relevant to the material domain.A higher probability value indicates stronger relevance to material concepts, ensuring that domain-specific concepts are effectively distinguished from general words.
Vocab Creation with Re-ranked Order
26To integrate ŷmat (w) into tokenization, we adjust word frequency computations by weighting material concepts based on their assigned probability scores.This adjustment prevents material concepts from being underrepresented, preserving their structural and semantic integrity during tokenization.To incorporate material information, we assign weighted frequencies to material concepts as follows:
27Using this ŷmat (w), MATTER adjusts the original frequency to prioritize material concepts.The adjusted frequency is computed as follows:
28With the adjusted frequency incorporating material knowledge, MATTER re-ranks the merging order based on incorporated material knowledge.Words are initially decomposed into sequences of characters or byte units, and the algorithm iteratively merges token pairs according to the re-ranked order guided by material relevance.The detailed algorithm is provided in Algorithm 1.
Experimental Setups
29Baselines To verify the efficacy of MATTER, we mainly compare ours with strong tokenization method: BPE (Sennrich et al., 2016), WordPiece (Wu et al., 2016), SAGE (Yehezkel and Pinter, 2023), PickyBPE (Chizhov et al., 2024).More hyperparameters are detailed in Appendix A.1.The detailed experimental setups are described in Appendix A.2.
Pre-training
30To evaluate the impact of tokenization on performance, we trained models using both baseline and MATTER specifically for the domain of materials science.Consistent with prior methodology (Gupta et al., 2022), we adopt SciB-ERT (Beltagy et al., 2019) as the encoder backbone for all experiments, due to its widespread use in materials-specific language modeling (Gupta et al., 2022;Huang and Cole, 2022;Kim et al., 2024).All models are trained with a fixed vocabulary size of 31,090 and a corpus of 150K materials science
Downstream Tasks and Datasets
31To comprehensively evaluate the performance of MATTER, we compare models trained with different tokenization methods on both generation and classification tasks.For generation tasks, we assess each baseline on the MatSci-NLP dataset (Song et al., 2023a), which includes seven materials-related tasks.We follow the MatSci-NLP benchmark protocol, which evaluates domain-specific encoders using a transformer-based schema decoder tailored for generation-based tasks.For classification tasks, we adopt four distinct benchmarks from prior work (Gupta et al., 2022), including named entity recognition (Weston et al., 2019;Friedrich et al., 2020), paragraph classification (Venugopal et al., 2021), and slot filling (Friedrich et al., 2020).These classification models are evaluated under standard encoder-only settings as used in prior work (Gupta et al., 2022).Detailed descriptions of evaluation metrics are provided in Appendix A.3.
Main Results
32Generation Tasks Table 1 shows that MATTER outperforms existing tokenization methods, boosting Micro-F1 and Macro-F1 by 3% and 5% on average.These gains highlight MATTER's broad applicability across materials science tasks.Notably, SAGE and PickyBPE, which introduce nonmaterial-specific signals, perform worse than Word-Piece, emphasizing the need for domain-specific knowledge in tokenization.To further examine the generalizability of MATTER, we additionally evaluate its performance on materials-domain QA tasks using decoder-based and encoder-decoder models.2
33Classification Tasks Similar to the generation tasks (Table 2), classification results confirm MAT-TER's superiority, with an average Micro-F1 and Macro-F1 improvement of 1.6% and 1.8%, respectively.These consistent gains highlight its robustness and ability to generalize across diverse materials science contexts, reinforcing its impact on materials informatics.To rigorously verify that these improvements are not attributed to random variation, we conducted paired t-tests for both generation and classification tasks.The detailed statistical analysis is presented in Appendix D, confirming and Pinter, 2023) Macro-F1 82.7 ±0.2 82.5 ±0.8 87.6 ±0.2 86.1 ±0.1 69.7 ±0.3 69.5 ±0.6 86.4 ±0.7 87.1 ±0 WordPiece (Wu et al., 2016) 44.3 SAGE (Yehezkel and Pinter, 2023) 43.4 PickyBPE (Chizhov et al., 2024) 36.2MATTER (ours) 59.9 that MATTER's performance gains are statistically significant across all major benchmarks.
Material Morpheme Segmentation
34To validate MATTER's ability to segment material concepts into meaningful subwords, we evaluated its performance on the material subset of the SIG-MORPHON dataset (Batsuren et al., 2022).The SIGMORPHON 2022 Shared Task provides a reliable benchmark for assessing whether words are segmented into morphologically meaningful units.
35For this analysis, we identified material concepts shared between SIGMORPHON, PubChem, and MatKG (Venugopal et al., 2022).The resulting subset, as shown in Table 3, revealed that approximately 20% of annotated words are relevant material concepts.
36Using this subset, we evaluated the morpheme segmentation.As shown in Table 4, MATTER achieved an average improvement of 18.6% in segmentation accuracy compared to other tokenization algorithms.These results confirm that MATTER tokenization, effectively incorporates the characteristics of material corpora, enabling it to segment material concepts into meaningful subwords.
Extracted Material Concepts Validation on Training Corpus
37To validate Mat-Detector on the training corpus, we constructed a reference lexicon of 100K material-related entries from PubChem and MatKG, including names, formulas, and synonyms.These were decomposed into 1.6M normalized tokens for broader coverage.Entities extracted from 150K materials papers were matched to the lexicon, and considered valid if found in the lexicon.MatDetector extracted 6× more material concepts than ChemDataExtractor and achieved 64% higher match rate, confirming its precision and suitability for identifying material concepts in materials science corpus.
38Validation on Materials NER To quantify absolute performance, we additionally evaluate both tools on two external materials NER datasets: MatScholar (Weston et al., 2019) and SOFC (Friedrich et al., 2020).As shown in Table 5, which reports the average performance across the two datasets, MatDetector consistently outperforms ChemDataExtractor across precision, recall, and F1 score.Notably, it achieves over twice the F1 score on average, highlighting its effectiveness not only in coverage but also in accurately identifying material entities.Detailed per-dataset results are provided in Appendix E. These results further validate MatDetector's ability to accurately and comprehensively detect material concepts in domain-specific NER tasks.
Token Qualities
39To assess material token quality, we extract material-related tokens using MatDetector and compare tokenization methods.More hyperparameters are detailed in Appendix A.4.
Word-Initial Token
40One key aspect of token quality is the proportion of word-initial tokens, which help preserve word structure and meaning (Yehezkel and Pinter, 2023;Chizhov et al., 2024).For example, in tokenizing "germanium" into "german" and "-ium", the word-initial token is "german".As shown in the left part of Figure 3, MATTER preserves a higher proportion of word- initial tokens (bar) compared to other methods.To evaluate this more rigorously, we further measured the materials-related word-initial token ratio (line) using a manually annotated set of approximately 9,000 material concepts, curated for downstream evaluation only (details in Appendix F).While this represents a small fraction of the full corpus, the results consistently demonstrate that MATTER achieves a significantly higher proportion of materials-related word-initial tokens, even on unseen datasets.This indicates that its vocabulary is enriched with material-specific terms, enabling better preservation of the semantic integrity of materials-related concepts.
41Token Length According to Bostrom and Durrett (2020), longer mean token length reflects gold-standard morphologically-aligned tokenization, which enhances token quality.Based on this, we also measure mean token length.As shown in the right part of Figure 3, our method achieves a higher mean token length.Notably, it surpasses even SAGE and PickyBPE, which deliberately eliminate shorter intermediate tokens through compression at the cost of increased computational expense.This demonstrates that our approach not only maintains morphological alignment for material concepts but also preserves higher-quality tokenization.forms the tokenizer trained without material knowledge in all cases.This demonstrates that providing material-specific information during tokenization training is crucial, regardless of the token count.Further inspection reveals that the learned subword embeddings capture a variety of chemically meaningful relationships.For example, pairs such as PbI 2 and PbF 2 belong to the same chemical family of lead halides, while germanium and dithiocarbamate co-occur as known compound pairs in Ge-S coordination complexes.Other relationships reflect compositional connections, such as the coexistence of germanium and ammonium in ammonium tris(oxalato)germanate, or functional similarity, as seen in LFP and ZrF 7 , both of which are used in energy storage and sensing applications.
Subword Embedding Analysis
42These findings support the claim that the embedding space goes beyond capturing surface-level co-occurrence, instead reflecting deeper, domainrelevant semantics.A more comprehensive analysis and additional examples can be found in Appendix G.2.
Ablation Study
43Comparison of Detectors To confirm whether using MatDetector to extract material concepts and assign weights is more suitable for providing accurate and domain-relevant signals in the material domain compared to the widely used ChemDataExtractor, we performed ablation studies.Specifically, we replaced MatDetector with ChemDataExtractor to assign weights.While ChemDataExtractor is capable of partially extracting material concepts, it lacks the ability to assess the importance of the extracted concepts within the material domain.Consequently, all material concepts extracted by ChemDataExtractor were assigned the highest signal weight of 0.99.
44Table 7 show that using MatDetector outperforms ChemDataExtractor, achieving a 2% higher average Micro-F1 score and a 2.7% higher Macro-F1 score.This confirms that MatDetector is more effective in providing material domain-relevant signals.Additionally, when examining the performance of ChemDataExtractor, we observed that it achieved a 1.1% higher Micro-F1 score and a 2.3% higher Macro-F1 score compared to the baseline method, which did not incorporate any material signals.This underscores the importance of incorporating material signals into tokenization.
45However, as evidenced by the performance gap between ChemDataExtractor and MatDetector, it is clear that the accuracy of the material signals plays a critical role.These results highlight the necessity of not only incorporating material signals but also ensuring that accurate material concepts and their respective significance are properly consid- ered.The use of MatDetector effectively addresses both aspects, demonstrating its suitability for enhancing performance in the material domain.Both detectors achieved their highest performance at a λ value of 1 as show in Figure 5. 5 demonstrates that adding material signals, regardless of the weighting method used, consistently yields better performance compared to the baseline where no material signals were incorporated (λ =0).This observation aligns with previous findings and further substantiates that the inclusion of material Knowledge is beneficial.Moreover, it emphasizes the necessity of using appropriate tools to effectively assign these signals for optimal performance.Notably, both ChemDataExtractor and MatDetector achieved their highest performance at λ = 1.Based on this consistent observation across models, all preceding experiments in this study were conducted using this optimal setting.
Conclusion
46We proposed MATTER, a novel tokenization approach that incorporates material knowledge derived from material corpora into the tokenization process.MATTER has enabled the creation of vocabularies tailored to the material domain, effectively maintaining the structure and semantics of material concepts.Our extensive experiments have demonstrated that MATTER tokenization significantly improves performance across a wide range of material generation and classification tasks, outperforming conventional tokenization methods.Our work has provided a strong, adaptable foundation components for materials NLP, empowering future research on materials science.
Limitations
47While we have demonstrated that MATTER effectively enhances tokenization for pretrained language models in the materials science domain.Nevertheless, our work also opens several valuable opportunities for further improvements and exploration.
48Hyperparameter Selection.MATTER introduces a tunable hyperparameter (λ) to balance frequency statistics with material-specific signals during vocabulary construction.While we observed stable improvements across a range of λ values, the method still requires manual selection of this parameter.Although λ = 1 was found to be effective in our experiments, identifying an optimal value for different domains or corpora may require additional tuning.This reliance on hyperparameter selection may affect general usability in practice.
Further Analysis on Corpus
49The current experiments were conducted following the prior methodology outlined in (Gupta et al., 2022), which emphasizes the use of material-specialized corpora.Although this ensures consistency and relevance to domain-specific evaluation, future work may benefit from expanding the diversity of training corpora to test MATTER's generalizability across subdomains and heterogeneous sources.
50NER Dependency and Scalability Our approach relies on the identification of material concepts through NER-based classification.To support this, we constructed a high-quality NER dataset using a curated materials knowledge base, ensuring accurate detection of domain-specific terminology essential for effective vocabulary construction in materials science.However, this reliance on supervised signals may introduce challenges in scalability, particularly when applied to broader or less-structured corpora.Addressing this limitation remains an important direction for future work.
A.1 Tokenization baseline
51We compared our tokenization approach against baseline methods, including the widely used frequency-centric tokenization, WordPiece, as well as more recent and strong tokenization methods, SAGE and PickyBPE.To ensure a fair comparison, all tokenization methods adhered to the vocabulary size of 31,090, as defined in the prior methodology (Gupta et al., 2022).The implementation details are as follows:
52WordPiece (Wu et al., 2016) being one of the most widely used and fundamental frequencycentric tokenization methods, was configured with a min frequency of 2 and a limit alphabet of 6,000.
53SAGE (Yehezkel and Pinter, 2023) enhances frequency-centric tokenization by incorporating contextual signals into the process.The implementation of SAGE included several key parameters: vocabulary schedule progressively reducing from 32,000 to the target size of 31,090; an embedding schedule synchronized with the vocabulary schedule; a maximum token length of 17 bytes; and the use of skip-gram embedding training with a vector size of 50, a context window size of 5, and 15 negative samples.To ensure reproducibility, the random seed was set to 692,653.
54PickyBPE (Chizhov et al., 2024) was employed to construct the vocabulary, with a desired vocabulary size of 31,090 and an IoS (Importance of Symbols) threshold set to 0.9.The initial vocabulary ensured comprehensive coverage with a relative symbol coverage of 0.9999.During training, the frequency of merges was logged at intervals of 200 merges to monitor the tokenization process effectively.
A.2 Hyper-parameters
55Pre-Train.We follow the previous work (Gupta et al., 2022) Training Epochs Up to 20 (early stopping)
56We evaluate using metrics from MatSciNLP (Song et al., 2023a) and MatSciBERT (Gupta et al., 2022).Generation tasks use Micro-F1 and Macro-F1, averaged over five seeds.Classification tasks report Macro-F1 (SOFC-NER, SOFC-Filling), Micro-F1 (MatScholar), and accuracy (Glass Science), with cross-validation over five folds and three seeds.
A.4 Token Qualities Details
57Among 31,090 vocabulary entries, we extract material-related tokens using MatDetector and
B Details of MatDetector Construction
58MatDetector is a domain-specific Named Entity Recognition (NER) tool designed to extract material concepts from scientific texts.The detailed steps for its construction are as follows:
59Crawling Material Corpus To construct the training dataset for the MatDetector, we first extract chemical names, IUPAC names, synonyms, and molecular formulas from PubChem (Kim et al., 2019), obtaining 80K material concepts.The number of concepts by category is provided in Table (Kim et al., 2019).Using these extracted concepts as keywords, we collect 42K scientific papers from Semantic Scholar (Ammar et al., 2018), focusing on titles and abstracts that contain high-density material knowledge, with detailed comparative information in Table 9.
60Creating Train Dataset While Semantic Scholar provides relatively clean data, most materialrelated data is collected from various journals and repositories, where formatting inconsistencies, OCR errors, and structural variations introduce significant noise.To address this, we construct a Noisy NER Dataset, improving model robustness and expanding the dataset to be four times larger than the original.The details of noise augmentation are as follow:
61• Material Name Noise: This includes capitalization errors in element symbols, misplaced or duplicated digits, reordering of elements, and insertion of unnecessary characters or special symbols.These modifications reflect common errors found in chemical names and mimic the inconsistencies in scientific documents.
62• Material Formula Noise: Common formatting inconsistencies in formulas are simulated by adding spaces around special symbols such as (, ), [, and ], or by replacing digits with placeholders.Combined patterns are also introduced to replicate multiple error types.
63Using this dataset, we generate a material NER dataset by tagging the collected corpus with mate-rial concepts extracted from PubChem, ensuring precise identification of material-related terminology.In this tagging process, Material Name, IU-PAC Name, and Synonym of Material Name are categorized as Material Concept, while Material Formula is tagged separately as Material Formula.This approach maintains a clear distinction between conceptual material entities and their chemical formulas, enabling more accurate entity recognition in materials science applications.
64Training the MatDetector We train the MatDetector using the material NER dataset constructed in the previous step and the Trewartha et al. (2022) model architecture.The model achieves high accuracy in detecting material concepts, even in noisy corpora, and provides NER tagging probabilities, estimating the likelihood that a concepts belongs to materials science.
C Additional QA Experiments on MaScQA
65To evaluate the generalizability of MATTER beyond classification tasks, we conducted additional experiments on the MaScQA (Zaki et al., 2024) benchmark, which focuses on materials-domain question answering.
66Decoder-based setup.We fine-tuned two decoder-based models-Llama-3.2-1B-Instructand SciBERT-on the HoneyBEE (Song et al., 2023b) instruction dataset and evaluated their performance on MaScQA.MATTER consistently achieved higher accuracy compared to other tokenizations:
678.9
68Table 10: MaScQA benchmark accuracy using decoderbased models.
69Encoder-decoder setup.Following the setup in MatSciNLP (Song et al., 2023a), we used MatSciB-ERT as the encoder and a transformer-based decoder.We trained on 10% of the HoneyBEE QA data and evaluated on the remaining 90%, simulating a low-resource QA scenario.MATTER again yielded the best performance: These results confirm MATTER's effectiveness in enhancing QA performance across diverse model architectures and reinforce its generalizability to downstream materials tasks.
D Statistical Significance
70Generation task To quantitatively assess the statistical significance of performance improvements introduced by MATTER, we conducted paired ttests on the average F1 scores across eight generation tasks (NER, RC, EAE, PC, SAR, SC, SF, Overall), comparing MATTER against four widely-used tokenization baselines: BPE, WordPiece, SAGE, and PickyBPE.The average F1 score was computed as the arithmetic mean of the Micro-F1 and Macro-F1 values for each task.
71The paired t-test evaluates whether the mean difference in Avg-F1 scores between MATTER and a baseline is statistically significant.The t-statistic is given by:
72where d is the mean of the differences between MATTER and a baseline across tasks, s d is the standard deviation of those differences, and n = 8 is the number of generation tasks.As shown in Table 12, MATTER achieves statistically significant improvements over all four baselines in terms of average F1 score.All comparisons yield p < 0.05, confirming that MATTER's performance gains are unlikely due to random variation.These results reinforce the effectiveness of MATTER's domain-aware tokenization strategy in improving generation performance across diverse material-related tasks.
Classification task
73We conducted the same analysis for classification tasks to evaluate whether MATTER's improvements generalize to discriminative settings.Paired t-tests were performed on the average F1 scores across five classification tasks (SOFC-NER, MatScholar-NER, SF, RC, PC), using the same computation.As shown in Table 13, all comparisons again yield statistically significant results (p < 0.005), confirming that MATTER consistently outperforms all baselines in overall classification performance.This aggregated F1-based analysis further demonstrates the robustness of MATTER's tokenization advantages in both generation and classification tasks, effectively balancing frequency-weighted and class-balanced evaluation perspectives.
F Details of the Word-Initial Token Analysis
74To validate the effectiveness of our tokenization and avoid any potential circularity in evaluation, we perform an additional analysis using external and independent sources of material-related terms, separate from those used to construct the tokenization.Specifically, we collect named entities from two manually annotated materials NER datasets used in the paper: In this section, we applied WordPiece, SAGE, Pick-yBPE, and the proposed method, MATTER, to tokenization results from real materials science papers.
75As shown in Table 18, existing tokenization methods such as WordPiece, SAGE, and PickyBPE tend to overtokenize important material concepts.For instance, the chemical formula for Lead, "Pb", is split into "p-b", while "dimethylsiloxane" is divided into "dimethyl-sil-oxane or d-imethyl-sil-oxane".Such overtokenization distorts the semantic integrity of material concepts and can degrade the performance of downstream natural language processing tasks.
76In contrast, our proposed MATTER method effectively prevents the overtokenization of material concepts.When applying MATTER, essential material concepts such as "Pb", "dimethylsiloxan"e, and "barium sulfate" remain intact, preserving their contextual meaning.Notably, complex material concepts such as "perovskite" and "ethylenediaminetetraacetic acid" are properly maintained, demonstrating that MATTER provides a more suitable tokenization approach for materials science texts.
G.2 Subword Embedding Analysis
77To evaluate the impact of different tokenization methods on word representations in materials science, we analyze the nearest neighbors of material concepts based on subword embedding averaging.This experiment is conducted in conjunction with the tokenization results presented in Figure 1 and Table 18, allowing us to assess how subword segmentation affects semantic consistency in word embeddings.We compare four tokenization strategies-WordPiece, SAGE, PickyBPE, and our proposed method, MATTER-by computing word embeddings as the mean of their constituent subword embeddings.The similarity between words is measured using cosine similarity, and the five nearest neighbors (5-NN) for each concept are retrieved.The retrieved neighbors allow us to assess whether the tokenization method preserves materials science semantics or introduces artifacts from suboptimal subword segmentation.The dataset used for evaluation includes materials science terminology, chemical formulas, and domain-specific abbreviations, ensuring a realistic assessment of tokenization impact.
78The results, presented in Table 19, indicate that WordPiece and SAGE exhibit a strong tendency to retrieve words that share surface-level subword structures rather than those with true material relevance.For instance, 'germanium' is tokenized as german-ium in WordPiece, leading to nearest neighbors such as 'german' and '-ium', which lack meaningful chemical associations.PickyBPE partially alleviates this issue by merging frequent subwords, but still retrieves words that reflect tokenization artifacts rather than conceptually related material concepts.In contrast, our MATTER method significantly improves semantic alignment by retrieving chemically relevant words.For example, the nearest neighbors of 'germanium' include 'dithiocarbamate', 'ammonium', and 'borohydride', demon- strating a stronger connection to materials science concepts.Similarly, 'ethylenediaminetetra-acetic' acid retrieves '-oxycarb' and -'sulfanyl', which accurately reflect its chemical properties.These results suggest that MATTER effectively mitigates tokenization-induced distortions, leading to more precise materials science word representations that enhance performance in downstream NLP tasks such as entity linking, material property prediction, and knowledge graph construction.
G.3 Comparison of Lambda Details
79The Macro-F1 scores for ChemDataExtractor and MatDetector were compared across different λ values to evaluate their performance.The specific numerical values are detailed in Table 20 and Table 21, while Figure 6 provides a visual representation for easier interpretation.Origin it should be described that the ers signals derived from perovskite layers cannot be observed because of their pauli paramagnetism nature, resulting in low ers intensity, and because of the heavy-atom effects of pb or sn, leading to short spin-lattice relaxation time and broad ers linewidths.(Chen et al., 2025) WordPiece it should be described that the esr signals derived from perovsk-ite layers cannot be observed because of their paul-i param-agne-tism nature , resulting in low ers intensity , and because of the heavy -atom effects of p-b or sn , leading to short spin -lattice relaxation time and broad ers line-width-s.SAGE it should be described that the e-sr signals derived from per-o-v-skite layers cannot be ob-served because of their paul-i param-agnetism nature , resulting in low e-sr intens-ity , and because of the heavy -atom effects of p-b or sn , leading to short spin -lattice relaxation time and broad e-sr linewidth-s.PickyBPE it should be described that the es-r signals derived from perovskite layers cannot be observed because of their pa-uli param-agnetism nature , resulting in low es-r intensity , and because of the heavy -atom effects of p-b or sn , leading to short spin -lattice relaxation time and broad es-r linewidths.MATTER (ours) it should be described that the esr signals derived from perovskite layers cannot be observed because of their pauli paramagnetism nature , resulting in low esr intensity , and because of the heavy -atom effects of pb or sn , leading to short spin -lattice relaxation time and broad esr linewidths.
80Origin in this study, the nanoparticles of the zinc and cobalt imidazolate framework ( znco-zif ) were synthesized and directly incorporated into polylactide ( pla ) to prepare pla / znco-zif fibrous membranes through electrospinning methodology.(Deng et al., 2024) WordPiece in this study , the nanoparticles of the zinc and cobalt im-ida-zol-ate framework ( zn-cozi-f ) were synthesized and directly incorporated into polylact-ide ( pl-a ) to prepare pla / zn-co -zi-f fibrous membranes through electros-pin-ning methodology.
81SAGE in this study , the nanoparticles of the zinc and cobalt imid-azol-ate framework ( z-nc-oz-if ) were synthesized and directly incorporated into polyl-act-ide ( pl-a ) to prepare pl-a / z-nc-o -z-if fibrous membranes through electrospinning methodology.PickyBPE in this study, the nanoparticles of the zinc and cobalt imid-az-olate framework ( z-n-coz-if ) were synthesized and directly incorporated into pol-yl-actide ( pl-a ) to prepare pl-a / z-n-co -z-if fibrous membranes through electrospinning methodology.MATTER (ours) in this study , the nanoparticles of the zinc and cobalt imidazol-ate framework ( zn-cozif ) were synthesized and directly incorporated into polylactide ( pla ) to prepare pla / zn-co -zif fibrous membranes through electrospinning methodology.
82Table 18: Boldface and pink concepts are important material concepts extracted using MatDetector.Boldface concepts are correctly tokenized in both the baseline and our method, indicating no issues.In contrast, pink concepts are highly important but are often split into unrelated subwords or overtokenized in conventional tokenization.However, as shown in this table, our method, MATTER, effectively prevents the overtokenization of important material concepts, preserving their semantic integrity.
Figure 1 :
83Figure 1: (a) Frequency histograms of material concepts and general words on 150K materials-related scientific papers.(b) Tokenization results of material concepts using conventional tokenization and MATTER (ours).
Figure 2 :
84Figure 2: Comparison of the overall methodology between the existing frequency-centric tokenization and MATTER: (a) The existing frequency-centric tokenization creates the vocabularies based on word frequency.(b) In contrast, our approach, MATTER, incorporates material knowledge from MatDetector into subword vocabularies.
Figure 3 :
85Figure 3: Comparison tokenization methods by wordinitial token ratio (bar), materials token ratio (line), and average token length.
Figure 4 :
86Figure 4: Comparison of Macro-F1 scores for MATTER and w/o material knowledge across during tokenization training different number of tokens.
87Figure 4 presents the experimental results comparing MATTER with a tokenizer trained without material knowledge during tokenization training.The number of tokens was varied from 0.5x to 1.5x of the original size.The results show that MATTER consistently outper-
Figure 5 :
88Figure 5: Comparison of Macro-F1 scores for Chem-DataExtractor and MatDetector across λ values.
Figure 6 :
89Figure 6: of Micro-F1 scores for Chem-DataExtractor and MatDetector across different λ values.
Table 1 :
90(Sennrich et al., 2016)8 67.3 ±0.1 61.1 ±1.8 90.7 ±2.4 36.3 ±1.4 63.5 ±0.5 BPE(Sennrich et al., 2016)Macro-F1 47.1 ±0.5 47.2 ±0.9 36.3 ±0.3 40.2 ±0.0 41.8 ±1.3 47.6 ±0.0 16.7 ±1.6 42.0 ±0.9 Micro-F1 76.6 ±0.2 80.9 ±0.3 48.5 ±0.2 73.1 ±0.5 81.9 ±0.4 90.0 ±0.1 57.4 ±0.2 72.6 ±0.1 WordPiece (Wu et al., 2016) Macro-F1 56.1 ±0.2 58.5 ±0.6 29.4 ±0.3 58.9 ±1.0 74.6 ±0.9 60.3 ±0.8 32.6 ±0.2 52.9 ±0.2 Micro-F1 77.0 ±0.2 82.3 ±0.4 47.3 ±0.1 68.3 ±0.8 77.1 ±0.4 90.9 ±0.1 57.1 ±0.3 71.4 ±0.2 SAGE (Yehezkel and Pinter, 2023) Macro-F1 57.0 ±0.3 61.6 ±0.4 28.3 ±0.3 59.6 ±1.3 67.4 ±0.9 61.6 ±0.8 35.0 ±0.3 52.9 ±0.3 Micro-F1 55.4 ±0.1 92.1 ±0.1 47.9 ±0.4 67.2 ±0.0 75.7 ±0.2 90.7 ±0.0 43.6 ±0.1 67.5 ±0.1 PickyBPE (Chizhov et al., 2024) Macro-F1 41.7 ±0.1 65.1 ±0.2 36.5 ±0.6 40.2 ±0.0 66.1 ±0.7 47.6 ±0.0 23.1 ±0.1 45.8 ±0.1 Micro-F1 80.0 ±0.0 83.8 ±0.1 53.1 ±0.2 73.7 ±0.2 85.5 ±0.3 91.2 ±0.1 61.9 ±0.3 75.6 ±0.1 MATTER (ours) Macro-F1 59.3 ±0.2 59.1 ±0.5 36.9 ±0.3 67.6 ±0.6 79.3 ±0.7 64.9 ±0.5 38.0 ±0.3 57.9 ±0.1
91Evaluation results on MatSci-NLP (generation tasks): The tasks encompass Named Entity Recognition (NER), Relation Classification (RC), Event Argument Extraction (EAE), Paragraph Classification (PC), Synthesis Action Retrieval (SAR), Sentence Classification (SC), and Slot Filling (SF).The best-performing results are highlighted in boldface.papers.All training conditions-including model architecture, optimizer, and learning rate-are held constant across tokenizers to ensure fair comparison.In MATTER, the weighting parameter λ was set to 1 based on empirical analysis (see § 4.6), and further implementation details are provided in Appendix A.2.
92(Sennrich et al., 2016)3 84.3 ±0.5 68.1 ±0.5 68.3 ±0.6 90.2 ±0.4 89.9 ±0.0 BPE(Sennrich et al., 2016)Macro-F1 80.7 ±0.2 78.9 ±0.1 85.0 ±0.6 82.9 ±0.7 65.5 ±0.4 59.3 ±0.8 86.4 ±0.1 85.5 ±0.1 95.5 ±0.0 95.6 ±0.0 Micro-F1 82.0 ±0.6 80.9 ±0.4 88.8 ±0.2 86.1 ±0.3 67.4 ±0.5 60.4 ±0.7 90.6 ±0.2 91.0 ±0.7 WordPiece (Wu et al., 2016) Macro-F1 83.0 ±0.2 83.0 ±0.4 87.6 ±0.3 85.8 ±0.2 69.2 ±0.4 69.6 ±0.4 86.3 ±0.3 87.5 ±0.1 95.2 ±0.1 95.2 ±0.1 Micro-F1 82.0 ±0.2 79.7 ±0.4 88.4 ±0.3 86.7 ±0.4 67.9 ±0.5 60.3 ±0.4 89.8 ±0.4 90.6 ±0.3 SAGE (Yehezkel
Table 2 :
93Evaluation results are presented across five classification tasks.Here, PC* represents accuracy, while the remaining metrics are reported as Micro-F1 and Macro-F1 scores.The best-performing results are highlighted in boldface.
Table 3 :
94Statistics for the SIGMORPHON 2022 morpheme segmentation dataset and the material dataset, as described in Section 4.3.
Table 4 :
95Material morpheme segmentation performance for different tokenization of the MatSciBERT model.The best-performing results are highlighted in boldface.
Table 5 :
96Average performance of two material concept extraction tools on external materials NER datasets across all evaluation metrics.
Table 6 :
97Comparison of subword embedding averaging results across different tokenization methods.The table presents the five nearest neighbor words based on subword embedding averages for each method.The similarity scores (Sim.)indicate the relevance of the nearest neighbors to the target material concept.Boldface highlights words that are directly related to materials.
Table 7 :
98Ablation results on different detectors for the MatSci-NLP dataset across multiple tasks.w/o material knowledge represents frequency-centric tokenization without any additional signal.ChemDataExtractor and MatDetector incorporate additional signals using their respective tools.Bold values indicate the highest scores for each metric-task pair, while underline represent the second-highest scores.
99. The detailed configuration of the main model and training hyperparameters is summarized as follows:
Table 8 :
100Detailed configuration of the main model and training hyperparameters for classification task.
Table 9 :
101Comparison of Extractable Entity Types and Training Data in ChemDataExtractor and MatDetector.
Table 12 :
102Paired t-test results comparing the average F1 score between MATTER and each baseline across generation tasks.
Table 14 :
103Recall of two material concept extraction tools on external materials NER datasets-MatScholar and SOFC.
Table 15 :
104Precision of two material concept extraction tools on external materials NER datasets-MatScholar and SOFC.
Table 16 :
105F1 Score of two material concept extraction tools on external materials NER datasets-MatScholar and SOFC.
Table 19 :
106Comparison of subword embedding averaging results across different tokenization methods, including WordPiece, SAGE, PickyBPE, and our proposed method, MATTER.The table presents the five nearest neighbor words based on subword embedding averages for each method, illustrating how different tokenization strategies impact semantic similarity in word embeddings.The similarity scores (Sim.)indicate the relevance of the nearest neighbors to the target material concept.Boldface highlights words that are directly related to materials.
참고문헌
참고문헌 정보가 없습니다.