Predicting Space Groups of Double Perovskites by LLM with Dynamic Few-Shot Learning
Jongwon Park, Inhyo Lee, Junhyeong Lee, Seunghwa Ryu
Key points
From the paper's conclusion- We introduce Dynamic and Diversity-enhanced Few-shot Retrieval and Rule-Guided Inference for Space-Group Prediction (DyRIS), an LLM-agent-based framework that predicts ranked SG candidates from a given DP composition.
Abstract
Double perovskites (DPs) offer broad compositional tunability, but predicting the space groups (SGs) of stable structures remains difficult because available datasets are often strongly imbalanced toward dominant SG classes. We refer to dominant SG classes as major SGs and underrepresented classes as minor SGs. We introduce Dynamic and Diversity-enhanced Few-shot Retrieval and Rule-Guided Inference for Space-Group Prediction (DyRIS), an LLM-agent-based framework that predicts ranked SG candidates from a given DP composition. DyRIS uses diversity-enhanced dynamic few-shot prompting to retrieve relevant in-context examples while limiting the dominance of frequently represented SGs. It further incorporates rule-guided inference based on B/B' cation ordering, quantitative indicators, and major-SG bias control to refine and rank the final Top-3 SG candidates. We evaluate DyRIS on 3,528 thermodynamically filtered DP entries and compare it with composition-based and descriptor-based baselines. At a training-data ratio of 0.5, DyRIS achieves competitive overall accuracy while obtaining the best Overall Top-1 macro-F1 score and the best performance across all Minor-SG metrics. DyRIS improves Minor-SG Top-1 accuracy by 3.26 percentage points relative to CrabNet and achieves higher Minor-SG Top-3 accuracy than the strongest PyCaret-based baseline. Ablation studies show that diversity-enhanced retrieval, quantitative indicators, major-SG bias control, and B/B' ordering information each contribute to prediction performance. Additional experiments show that the final rule-guided inference step is not easily replaced by conventional classifier- or ranker-based models. These findings demonstrate the potential of combining retrieval-based LLM reasoning with crystallographic domain knowledge for SG prediction in imbalanced materials datasets.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Accelerating the Discovery of Synthesizable 2D Hybrid Double Perovskites through Human-LLM Collaborative Descriptor Engineering.ACS nano · 2026
- PiDF: Physics-informed descriptor framework for stability screening of multicomponent oxide ABO3 perovskitesAIP Advances · 2026
- Learning Crystallographic Disorder: Bridging Prediction and Experiment in Materials DiscoveryAdvanced Materials · 2025
- EP-Flow: Disordered Crystal Structure Prediction without Site-Level AnnotationsarXiv · 2026
- Machine Learning of Band Gaps and Thermodynamic Stability in A2BB'X6 (X = F, Cl, Br, I) Double Perovskites with Uncertainty-Aware Multi-Objective Screening.Nanomaterials (Basel, Switzerland) · 2026
- InformedXRD: Reproducible Benchmarks and Physics-Informed Evaluation for Powder Diffraction Symmetry ClassificationarXiv · 2026