Predicting Space Groups of Double Perovskites by LLM with Dynamic Few-Shot Learning
Summary
This paper introduces DyRIS, an LLM-agent framework using dynamic few-shot retrieval and rule-guided inference to predict space groups of double perovskites, achieving competitive accuracy and significantly improving performance on minority space-group classes.
View Cached Full Text
Cached at: 08/12/26, 08:24 AM
# Predicting Space Groups of Double Perovskites by LLM with Dynamic Few-Shot Learning Source: [https://arxiv.org/abs/2608.10483](https://arxiv.org/abs/2608.10483) [View PDF](https://arxiv.org/pdf/2608.10483) > 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\. ## Submission history From: Jongwon Park \[[view email](https://arxiv.org/show-email/6f9818cb/2608.10483)\] **\[v1\]**Tue, 11 Aug 2026 04:53:56 UTC \(2,034 KB\)
Similar Articles
$R^2$-dLLM: Accelerating Diffusion Large Language Models via Spatio-Temporal Redundancy Reduction
R²-dLLM introduces spatio-temporal redundancy reduction techniques that cut diffusion LLM decoding steps by up to 75% while preserving generation quality, addressing a key deployment bottleneck.
Self-Describing Structured Data with Dual-Layer Guidance: A Lightweight Alternative to RAG for Precision Retrieval in Large-Scale LLM Knowledge Navigation
SDSR proposes lightweight self-describing structured data with dual-layer guidance to exploit LLM primacy bias, achieving 100% routing accuracy without vector DBs.
Geometric Filtering of LLM-Generated Samples for Few-Shot Text Classification
This paper proposes a geometric filtering framework that selects high-quality LLM-generated samples by evaluating their Euclidean distance to real class examples in an embedding space, improving few-shot text classification performance by +2.61 percentage points over SMOTE.
ResRL: Boosting LLM Reasoning via Negative Sample Projection Residual Reinforcement Learning
This paper introduces ResRL, a method to boost LLM reasoning by decoupling semantic distributions between positive and negative responses through negative sample projection. It aims to maintain generation diversity while improving performance on various benchmarks.
Risk-Aware LLM Agents for Geospatial Data Retrieval: Design and Preliminary Adversarial Evaluation
Presents an LLM-driven framework for retrieving remote sensing data from cloud-based geospatial catalogues using natural language queries, with a focus on safety and adversarial robustness. The system integrates three agents for intent interpretation, API call generation, and risk management.