TransPolymer: a Transformer-based language model for polymer property predictions
About
Accurate and efficient prediction of polymer properties is of great significance in polymer design. Conventionally, expensive and time-consuming experiments or simulations are required to evaluate polymer functions. Recently, Transformer models, equipped with self-attention mechanisms, have exhibited superior performance in natural language processing. However, such methods have not been investigated in polymer sciences. Herein, we report TransPolymer, a Transformer-based language model for polymer property prediction. Our proposed polymer tokenizer with chemical awareness enables learning representations from polymer sequences. Rigorous experiments on ten polymer property prediction benchmarks demonstrate the superior performance of TransPolymer. Moreover, we show that TransPolymer benefits from pretraining on large unlabeled dataset via Masked Language Modeling. Experimental results further manifest the important role of self-attention in modeling polymer sequences. We highlight this model as a promising computational tool for promoting rational polymer design and understanding structure-property relationships from a data science view.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Chemical Property Prediction | Polymers (5-fold cross-val) | Eea R2 Score0.89 | 50 | |
| Ionization energy (Eib) prediction | polymer electronic property dataset (test) | RMSE (eV)0.454 | 18 | |
| Crystallinity (Xc) prediction | polymer electronic/optical/physical property dataset (test) | RMSE (%)19.19 | 9 | |
| Polymer property prediction | Xc S1 (test) | Test R2 Score33.8 | 9 | |
| Band gap (Egc) prediction | polymer electronic property dataset (test) | RMSE (eV)0.462 | 9 | |
| Polymer property prediction | Egc Bandgap (chain) S1 (test) | R2 Score (Test)0.896 | 9 | |
| Polymer property prediction | Ei Ionization energy S1 (test) | R2 Score (Test)0.783 | 9 | |
| Band gap (Egb) prediction | polymer electronic/optical/physical property dataset (test) | RMSE (eV)0.609 | 9 | |
| Electron affinity (Eea) prediction | polymer electronic/optical/physical property dataset (test) | RMSE (eV)0.34 | 9 | |
| Glass transition temperature (Tg) prediction | polymer thermal property dataset (test) | RMSE (°C)35.81 | 9 |