CLCS : Contrastive Learning between Compositions and Structures for practical Li-ion battery electrodes design

Jaewan Lee, Changyoung Park, Hongjun Yang, Sehui Han, Woohyung LimAI4Mat @ NeurIPS 2023

TL;DR

This paper introduces CLCS, a novel contrastive learning framework that bridges the gap between material composition and structure for predicting Li-ion battery voltage. By pretraining a composition encoder to understand structural information, CLCS significantly improves voltage prediction accuracy using only composition data, making it more practical for real-world applications.

What Problem Does This Paper Address?

Predicting the voltage of cathode materials is crucial for designing high-energy-density Li-ion batteries. However, developing accurate predictive models is challenging due to limited experimental data and the difficulty in obtaining detailed structural information for all materials. While material structure is known to be highly informative for property prediction, it's often inaccessible or costly to acquire. Existing models that rely solely on composition data often underperform compared to structure-based models, creating a trade-off between practicality and predictive power. This paper aims to resolve this by enabling composition-based models to implicitly learn structural information.

Methods

The core of this work is the CLCS (Contrastive Learning between Compositions and Structures) pretraining method. This approach trains two encoders simultaneously: a composition encoder (using the CrabNet model) and a structure encoder (using the DimeNet model). The training objective is to ensure that representations of paired compositions and structures are similar, while dissimilar pairs have distant representations. This is achieved using an InfoNCE loss, similar to contrastive language-image pretraining (CLIP).

The key innovation is that this pretraining allows the composition encoder to learn latent representations that are informed by structural characteristics, even though it doesn't directly process structural data during the downstream task. After pretraining, the composition encoder is "transferred" to a voltage prediction task, where it's fine-tuned to predict average voltage using only material compositions.

Datasets

  • Pretraining Datasets:
    • A dataset of lithium oxides (6,530 materials).
  • A comprehensive dataset of all materials from the Materials Project (105,583 materials).
  • Both datasets were cleaned by removing unstable structures based on energy above hull ($E_{hull}$).
  • Voltage Prediction Dataset:
    • 2,440 Li-ion battery data points from the Materials Project.
  • This dataset was further refined to 2,286 data points after outlier removal using the interquartile range (IQR) method.

Key Insights and Ideas

  • Bridging the Composition-Structure Gap: The most significant insight is that contrastive learning can effectively imbue a composition encoder with structural understanding, even without direct structural input during the final prediction task. This is a clever way to leverage the predictive power of structure without the practical limitations of acquiring it.
  • Improved Practicality: By enhancing composition-based models, CLCS offers a more practical solution for battery material design, as composition data is generally easier to obtain than detailed structural information.
  • Focus on Lithium: The attention score analysis revealed that the CLCS-pretrained model pays more attention to lithium (Li) atoms in Li-TM-O systems. This is crucial because the average voltage of Li-ion batteries is directly related to lithium's intercalation and deintercalation behavior.

Key Results

  • Performance Improvement: The transferred CLCS-pretrained composition encoder (Transferred C2P) achieved a 9.7% reduction in Mean Absolute Error (MAE) for voltage prediction compared to a model trained from scratch (C2P).
  • Competitive Performance: While structure-based models (S2P) still showed the lowest MAE, CLCS-pretrained composition models (Transferred C2P) significantly outperformed other composition-based approaches, including a previous study's model (Reduced ER).
  • Attention Analysis: In Li-TM-O systems, the CLCS-pretrained model showed higher attention scores for Li and O tokens compared to the non-pretrained model, indicating a learned focus on key elements relevant to voltage prediction.

Limitations and Future Work

  • Limited Downstream Task: The study focused solely on voltage prediction. The authors suggest exploring CLCS's applicability to other battery-related tasks.
  • Structure Encoder Knowledge Distillation: The paper mentions that instead of training both encoders jointly, knowledge from a pretrained structure encoder could be "distilled" into the composition encoder. This is proposed as a future research direction.
  • Handling Structural Variability: The pretraining process removed duplicate compositions by selecting only the most stable structures. Future work could explore methods for learning from the variability of structures within the same composition.
  • Dataset Limitations: The authors note that the Reduced ER model had to exclude data containing Uranium due to limitations in the Matminer library.

Summary updated

BibTeX
@inproceedings{lee2023clcs,
  author = {Jaewan Lee and Changyoung Park and Hongjun Yang and Sehui Han and Woohyung Lim},
  title = {{CLCS : Contrastive Learning between Compositions and Structures for practical Li-ion battery electrodes design}},
  booktitle = {AI4Mat @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=FfvByyoVAO},
}
Figure