Large language models, physics-based modeling, experimental measurements: the trinity of data-scarce learning of polymer properties

Ning Liu, Siavash Jafarzadeh, Brian Y. Lattimer, Shuna Ni, Jim Lua, Yue YuarXiv 2024 · DOI

Introduction

Predicting the properties of novel polymers is a cornerstone of materials science, impacting industries from aerospace to sustainable packaging. However, the field faces a "data scarcity pathology." High-fidelity experimental data, such as cone calorimeter tests for flammability, are expensive and time-consuming to acquire. While Large Language Models (LLMs) like MoLFormer excel at processing chemical structures represented as SMILES strings, they typically require vast datasets to avoid overfitting. This paper introduces a "trinity" framework that bridges the gap between data-hungry LLMs and data-scarce experimental reality by integrating physics-based synthetic data.

Methodology: The Trinity Framework

The researchers propose a two-phase training strategy that leverages physics-based modeling to create a robust "physical prior" for the LLM before exposing it to limited experimental data.

The six-step 'trinity' framework for physics-informed LLM training.

The process follows a six-step cycle:

  1. Pretrained LLM: Starting with a chemical LLM pretrained on a large corpus of unlabeled SMILES strings.
  2. Group Contribution (GC): Using GC methods to generate a multitude of physically meaningful hypothetical polymers.
  3. Physics-Based Modeling: Building models (like Reduced-Order Models derived from Fire Dynamics Simulator) to produce synthetic labels for these polymers.
  4. Supervised Pretraining (Phase 1): Training the LLM on ~3,200 synthetic data points to align the model with physical laws.
  5. Phase-2 Finetuning: Refining the model on a small set (~45) of high-accuracy experimental data points to correct for simulation simplifications.
  6. Finetuned LLM: The final model ready for downstream applications.

Data Ecosystem

The framework utilizes a diverse data ecosystem to overcome scarcity:

  • Thermophysical Data: 1,032 points for density, thermal conductivity, and specific heat sourced from PolyInfo.
  • Pyrolysis Kinetics: 88 points used for calibrating the Group Contribution models.
  • Synthetic Data: 3,237 points generated via the authors' FDS-based reduced-order model.
  • Experimental Data: Only 45 high-accuracy points for time to ignition ($t_{ig}$) and peak heat release rate (pHRR).

Results and Uncertainty Quantification

The "trinity" approach demonstrates significant improvements over baseline models trained solely on experimental data. For predicting the Peak Heat Release Rate (pHRR), test errors were reduced by 51.2%. Similarly, accuracy for time to ignition ($t_{ig}$) improved by 25.6%. On a per-sample basis, improvements reached as high as 76.2% for pHRR.

Uncertainty quantification workflow and comparison of predicted trust regions with experimental measurements.

A critical component of this success is Uncertainty Quantification (UQ). Using the Probabilistic Collocation Method (PCM), the researchers established "trust regions" for the synthetic data. As shown in Figure 5, experimental measurements for common polymers like Polyethylene (PE) and Polyoxymethylene (POM) fall squarely within these predicted trust regions, validating the physical consistency of the synthetic data generation pipeline.

Discussion and Conclusion

The core insight of this work is that supervised pretraining on imperfect but physically consistent synthetic data provides a vital "physical prior." This allows the LLM to learn the general "grammar" of how chemical structures relate to thermal behavior before fine-tuning on scarce "ground truth" data.

While the current model shows limitations in predicting complex metrics like smoke extinction area (SEA) due to simulation constraints, the framework itself is model-agnostic. It offers a scalable path forward for applying deep learning to other data-scarce domains in materials science and chemistry, effectively turning the data scarcity pathology into a manageable engineering challenge.

Summary updated

BibTeX
@misc{liu2024large,
  author = {Ning Liu and Siavash Jafarzadeh and Brian Y. Lattimer and Shuna Ni and Jim Lua and Yue Yu},
  title = {{Large language models, physics-based modeling, experimental measurements: the trinity of data-scarce learning of polymer properties}},
  year = {2024},
  eprint = {2407.02770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.02770},
}
Figure