TransPolymer: a Transformer-based language model for polymer property predictions

Changwen Xu, Yuyang Wang, Amir Barati Farimani
9/3/2022
cs.LGphysics.chem-ph
transformer-attention

Official code: ChangwenXu98/TransPolymer (98 stars, Python, MIT, PyTorch, last commit 2023-11-17).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Implementation of "TransPolymer: a Transformer-based language model for polymer property predictions" in PyTorch

9834PythonAug 31, 20223 years agoMIT
deep-learningpolymerpretrained-language-modelpytorchself-supervised-learning+1 more

Similar Papers

Cite this paper

@article{xu2022transpolymer,
  title  = {TransPolymer: a Transformer-based language model for polymer property predictions},
  author = {Changwen Xu and Yuyang Wang and Amir Barati Farimani},
  year   = {2022},
  eprint = {2209.01307},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.01307}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.01307.svg)](https://codeofpaper.com/paper/2209.01307)

Discussion