Enhanced Conditional Generation of Double Perovskite by Knowledge-Guided Language Model Feedback

Inhyo Lee, Junhyeong Lee, Jongwon Park, KyungTae Lim, Seunghwa RyuarXiv 2025 · DOI

TL;DR

This paper introduces a novel multi-agent framework that leverages Large Language Models (LLMs) and domain knowledge to efficiently discover new double perovskite (DP) materials. By integrating LLM feedback with expert knowledge and machine learning predictions, the framework significantly improves the generation of stable and compositionally valid DPs, outperforming previous methods.

What Problem Does This Paper Address?

Discovering new materials with desired properties is a grand challenge, especially for complex material classes like double perovskites (DPs). DPs hold great promise for sustainable energy technologies due to their tunable properties and ease of fabrication. However, their vast compositional space makes traditional discovery methods computationally prohibitive. Existing data-driven generative models often struggle with ensuring physical plausibility and can be limited by the training data distribution. This paper aims to address these limitations by developing a more intelligent and guided approach to DP discovery.

Methods

The core of this work is a multi-agent system (MAS) that uses LLMs to generate candidate DP compositions. The novelty lies in the "knowledge-guided text gradients" approach. Instead of relying solely on the LLM's internal knowledge, the system incorporates feedback from three sources:

  • LLM-based self-evaluation: The LLM assesses its own generated compositions.
  • DP-specific domain knowledge: Expert rules and empirical criteria (like the "new tolerance factor") are used to evaluate stability.
  • ML surrogate-based feedback: Machine learning models trained on existing DP data predict properties like stability.

These feedback sources are translated into "text gradients" that guide the LLM's generation process iteratively, pushing it towards more stable and physically plausible DPs. The authors explore this framework through three incremental cases: (1) pure LLM generation, (2) LLM generation with LLM feedback, and (3) LLM generation with domain knowledge feedback. They also investigate the integration of ML surrogate models.

Datasets

The primary dataset used is from the Materials Project (MP), which contains information on known double perovskite (DP) compositions. This dataset was used for:

  • Training the ML surrogate model (CrabNet) for stability prediction.
  • Serving as a reference set for the POSCAR Matcher to find structurally similar known DPs.

The authors did not introduce a new benchmark dataset but rather evaluated their framework on existing DP data.

Key Insights and Ideas

  • Knowledge is Power (for LLMs): Simply using a pre-trained LLM is a decent starting point, but integrating domain knowledge and ML predictions dramatically improves the quality and relevance of generated materials.
  • Text Gradients are Effective Guides: Translating feedback into "text gradients" provides a powerful mechanism for iteratively refining LLM-generated compositions, steering them towards desired properties.
  • Domain Knowledge is Crucial for Stability: While LLMs can propose thermodynamically favorable structures (low formation energy), achieving true stability (low energy above hull) requires explicit domain knowledge, like the tolerance factor, to guide the search more effectively.
  • ML Surrogates are Great In-Distribution, Risky Out-of-Distribution: ML models excel when exploring chemical spaces similar to their training data. However, their reliability plummets in "out-of-distribution" (OOD) regions, potentially leading to misleading guidance. This highlights the need for careful consideration of the design space when using ML.
  • Iterative Refinement is Key: The multi-agent feedback loop allows for continuous improvement, with each iteration refining the composition based on previous feedback.

Key Results

  • The proposed framework achieved over 98% satisfaction of elemental and perovskite-type constraints.
  • It generated up to ~54% stable or metastable DPs, significantly outperforming the LLM-only baseline (~43%) and a prior GAN-based approach (~27%).
  • Case 3, incorporating domain knowledge, produced the most stable candidates with an average energy above hull of approximately 0.09 eV/atom, about 30% lower than Cases 1 and 2.
  • ML-based gradients showed high predictive performance for in-distribution (ID) cases (weighted F1 scores of ~0.85-0.88) but dropped significantly for out-of-distribution (OOD) cases (~0.4-0.5).

Limitations and Future Work

  • Balancing Multiple Gradients: The strictness of domain knowledge feedback (e.g., tolerance factor) can sometimes lead to overly restrictive searches, causing the framework to reject valid candidates or violate other constraints. Future work should focus on principled strategies for balancing multiple gradients and their influence.
  • Energy Above Hull Optimization: While formation energy consistently improved, optimizing energy above hull (a measure of thermodynamic stability against competing phases) proved more challenging. Incorporating additional agents that query materials databases for phase competition analysis is suggested.
  • ML Surrogate Robustness in OOD Regions: The unreliability of ML surrogates in OOD regions is a significant limitation. Future work should explore methods to improve surrogate model robustness, such as adaptive data acquisition and iterative refinement, to extend their usefulness for novel materials discovery.
  • Generalizability: The framework's applicability to other material systems (e.g., single perovskites, anti-perovskites) and properties (electronic, optical, mechanical) needs to be explored. This will require careful selection of domain knowledge and surrogate models tailored to the specific design problem.

Summary updated

BibTeX
@misc{lee2025enhanced,
  author = {Inhyo Lee and Junhyeong Lee and Jongwon Park and KyungTae Lim and Seunghwa Ryu},
  title = {{Enhanced Conditional Generation of Double Perovskite by Knowledge-Guided Language Model Feedback}},
  year = {2025},
  eprint = {2511.22307},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.22307},
}
Figure