YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

⚑ IonCast: Physics-Constrained Screening of Solid-State Battery Electrolytes

Python 3.11+ Patent Published Materials Project Pymatgen Hugging Face License: MIT

Official Project Title:
"System and method for screening crystalline solid-electrolyte materials by physics-constrained dual-parameter prediction of ionic conductivity from crystallographic structure data"
Team Name: Solid State Batteries
Patent Status: Published under Section 11A (The Patents Act, 1970) on 10/07/2026 (Application Filed 09/07/2026; Classification: Computer Science / Materials Informatics).


πŸ“– Welcome! What is IonCast? (In Plain English)

The Big Problem:

Next-generation all-solid-state lithium and sodium batteries are the holy grail of electric vehicles and renewable energy storage. Unlike today's liquid lithium-ion batteries, solid-state batteries cannot catch fire, operate at higher voltages, and can double vehicle range.

However, finding a solid crystal that conducts lithium ions quickly at room temperature is like finding a needle in a haystack. Traditional supercomputer physics simulations (Density Functional Theory / Nudged Elastic Band) take several days to weeks to evaluate just one single material.

The IonCast Solution:

IonCast is an end-to-end artificial intelligence and physics-informed machine learning framework that evaluates any crystal structure and predicts its ionic conductivity in less than 1.5 secondsβ€”with certified physical accuracy.

+---------------------+      +------------------------+      +---------------------------+
| Candidate Material  | ---> | IonCast AI Engine      | ---> | Instant Output (1.5 sec)  |
|  - .cif 3D crystal  |      |  - 343 Descriptors     |      |  - Ea: Migration Barrier  |
|  - or formula string|      |  - Dual Arrhenius ML   |      |  - sigma: Conductivity    |
|    (e.g. Li10GeP2S12)      |  - Reality Gap Calib.  |      |  - HES: Screening Score   |
+---------------------+      +------------------------+      +---------------------------+

🎯 The 4 Models Explained Simply

IonCast features a suite of 4 complementary models designed for different stages of materials discovery:

                                  IONCAST MODEL SUITE
                                           |
        +----------------------------------+----------------------------------+
        |                                                                     |
  CORE PATENT INVENTIONS                                            UPGRADED NEXT-GEN EXTENSIONS
  (Protected u/s 11A)                                               (Open Frontier Research)
        |                                                                     |
        +---> [Model 2: V5 Base Surrogate]                                    +---> [Model 1: V4 CIF-Free Fast Screen]
        |     - Input: 3D CIF Structure                                       |     - Input: Formula String Only
        |     - Output: Ea (eV) + log10(A) prefactor                          |     - Output: Direct Room-Temp Conductivity
        |     - Cross-Val: R^2 = +0.8229                                      |     - Speed: < 0.05 seconds per formula
        |                                                                     |
        +---> [Model 3: V6 OBLiEx Corrector]                                  +---> [Model 4: V8 Pure ML Geometric]
              - Input: CIF + Baseline Prediction                                    - Input: 3D Voronoi Hopping Network
              - Output: Reality Gap Delta (True - Base)                             - Output: Minimum Hopping Barrier Ea
              - Cross-Val: R^2 = +0.9387                                            - Cross-Val: R^2 = +0.7902

Quick Model Comparison Table:

Model Status Input Needed Target Output Performance Best Used For
Model 2 (V5)
Base Surrogate
CORE PATENT
(Claims 1, 11, 14)
3D .cif file + MP elastic features Activation Energy $E_a$ + Prefactor $\log_{10} A$ $R^2 = +0.8229$
$\text{MAE} = 0.1872\text{ eV}$
Standard high-accuracy crystal screening across 200 K – 1000 K
Model 3 (V6)
OBLiEx Corrector
CORE PATENT
(Claims 1, 8, 11)
3D .cif + Model 2 baseline pred. Reality Gap Delta: $\Delta = \sigma_{\text{exp}} - \sigma_{\text{pred}}$ $R^2 = +0.9387$
$\text{MAE} = 0.4843\text{ log}$
Bridging ideal DFT crystals to real polycrystalline battery pellets
Model 1 (V4)
CIF-Free PIML
UPGRADED V1
(Next-Gen Extension)
Chemical formula only (No CIF needed!) Experimental $\log_{10} \sigma$ at 300 K $R^2 = +0.5382$
$\text{MAE} = 0.9033\text{ log}$
Ultra-fast screening of 100,000+ hypothetical compositions
Model 4 (V8)
Geometric ML
UPGRADED V2
(Next-Gen Extension)
3D Atomic Coordinates + Voronoi graph DFT Minimum Hopping Barrier $E_a$ (eV) $R^2 = +0.7902$
$\text{MAE} = 0.1210\text{ eV}$
Identifying 3D percolation bottlenecks and migration ring radii

⚑ Quick Start: How to Run in 2 Minutes

1. Clone & Set Up the Environment

# Clone the repository
git clone https://github.com/SaiSubodh27/Surrogative-Model-1.git
cd Surrogative-Model-1

# Create and activate virtual environment
python -m venv .venv
# On Windows:
.venv\Scripts\activate
# On Linux/macOS:
# source .venv/bin/activate

# Install required dependencies
pip install -r requirements.txt

2. Run Predictions

Option A: Predict from Chemical Formula (Model 1 - V4)

You don't even need a crystal file! Just pass the formula:

python models/01_model_v4_physics_hybrid/predict.py --formula Li3InCl6 --carrier Li --temp 298.15

Example Output:

{
  "formula": "Li3InCl6",
  "carrier": "Li",
  "temperature_K": 298.15,
  "predicted_log10_sigma": -3.12,
  "predicted_sigma_S_cm": 7.58e-04,
  "activation_energy_eV": 0.312,
  "screening_recommendation": "STRONG CANDIDATE (Conductivity > 10^-4 S/cm)"
}

Option B: Predict from 3D Crystal CIF File (Model 2 - V5 Base Surrogate)

python models/02_model_v5_base_surrogate/predict.py --cif path/to/crystal.cif --temp 300

Option C: Correct for Polycrystalline Reality Gap (Model 3 - V6)

python models/03_model_v6_obliex_corrector/predict.py --cif path/to/crystal.cif --temp 300

3. Reproduce All Training from Scratch

To inspect, re-train, or cross-validate all 4 models in one unified notebook:

  1. Open IonCast_Master_Full_Retrain_All_Models.ipynb.
  2. Click Run All in Jupyter Notebook or VS Code.
  3. The notebook will automatically load the dataset (datasets/), run 5-fold cross-validation, display parity plots, and serialize the models into models/.

πŸ”¬ How IonCast Works (The Science & Innovation)

1. Why Standard Machine Learning Fails

Naive machine learning attempts to predict conductivity ($\sigma$) directly as a single black-box number. This causes three critical flaws:

  • Thermodynamic Violation: Models frequently predict negative conductivities or unphysical spikes as temperature changes.
  • Loss of Crystallographic Occupancies: Standard crystal graphs discard partial site occupancies and vacancies, ignoring that lithium hops because vacancies exist!
  • The Experimental Reality Gap: Models trained on pristine single-crystal DFT calculations fail in real life where grain boundaries and porosity drop conductivity by 1–3 orders of magnitude.

2. The Physics-Constrained Dual-Parameter Decoupling

IonCast solves this by predicting two distinct physical parameters independently:

  1. Migration Barrier ($E_a$ in eV): How much energy does a lithium ion need to hop from site A to site B? (Predicted by a 6-model stacked ensemble).
  2. Conductivity Prefactor ($\log_{10} A$): Carrier concentration, attempt frequency, and jump distance. (Predicted by LightGBM using inverted Arrhenius labels).

Both parameters are recombined deterministically through the Arrhenius relation: Οƒ(T)=ATexp⁑(βˆ’EakBT)\sigma(T) = \frac{A}{T} \exp\left(-\frac{E_a}{k_B T}\right) This guarantees physical consistency across the entire temperature spectrum (200 K to 1000 K).

3. The 4-Step Feature-Correlation Accommodation Algorithm (FCAA)

From every crystal structure, IonCast extracts 343 raw multi-modal physical features (lattice geometry, Matminer elemental statistics, M3GNet graph embeddings, and Voronoi local coordination).

To prevent multicollinearity and overfitting, our patented FCAA algorithm prunes features in 4 stages:

343 Raw Features
       β”‚
       β–Ό [Step 1: Variance Filter (std < 0.01)]
278 Non-Constant Features
       β”‚
       β–Ό [Step 2: Pairwise Correlation Filter (|Pearson r| > 0.92)]
118 Orthogonal Features
       β”‚
       β–Ό [Step 3: LightGBM Cumulative Gain Ranking (> 99.5% gain)]
 80 Top Features
       β”‚
       β–Ό [Step 4: Final Cross-Validation Stability Pass]
 80 Compact, Highly Predictive Descriptors

4. Non-Compensatory Holistic Electrolyte Scoring (HES)

High conductivity alone is not enoughβ€”a material that conducts well but explodes or decomposes in air is useless. IonCast gates candidate materials using a multiplicative score: HES=(KΓ—T)Γ—(SΓ—R)\text{HES} = (K \times T) \times (S \times R)

  • $K$ = Conductivity Score ($\sigma_{300\text{K}}$)
  • $T$ = Temperature Stability Score
  • $S$ = Electrochemical Stability ($E_{\text{above hull}} \le 30\text{ meV/atom}$)
  • $R$ = Model Reliability & Applicability Domain Score

Because the terms are multiplied, a zero in any single domain immediately disqualifies the candidate.


πŸ› οΈ Tools and Technologies Learned and Used

This project was built using an advanced scientific computing and software engineering stack:

Category Tools & Libraries Learned Purpose in Project
Core Runtimes Python 3.11 / 3.13, PowerShell, Bash, C/C++ Cython Pipeline orchestration, high-speed CLI tools, Voronoi backend acceleration
Materials Informatics pymatgen, matminer, Materials Project REST API (mp-api) CIF validation, fractional coordinates, Wyckoff positions, 132 Magpie/Ward descriptors
Machine Learning scikit-learn, lightgbm, xgboost, catboost 6-model stacked ensemble, RidgeCV meta-learner, gradient boosting reality-gap corrector
Math & Data numpy, scipy, pandas, joblib Vectorized matrix operations, Pearson correlation matrices, parallel artifact serialization
Model Hosting Hugging Face Model Hub, Streamlit Cloud artifact deployment, model cards, interactive web inference interface
Documentation & CI Git, GitHub, reportlab, python-docx Distributed version control, automated generation of publication-grade PDF & DOCX reports

πŸ“‚ Repository Directory Map

Surrogative-Model-1/
β”œβ”€β”€ README.md                                          <- You are here! Complete project documentation
β”œβ”€β”€ requirements.txt                                   <- Python dependencies
β”œβ”€β”€ IonCast_Master_Full_Retrain_All_Models.ipynb       <- All-in-one reproducible master training notebook
β”œβ”€β”€ generate_review_document.py                        <- Automated PDF / DOCX / MD review document generator
β”‚
β”œβ”€β”€ Solid_State_Batteries_Project_Review_Document.docx <- Official Word Project Review Document (46.8 KB)
β”œβ”€β”€ Solid_State_Batteries_Project_Review_Document.pdf  <- High-resolution PDF with numbered canvas (8.8 KB)
β”œβ”€β”€ Solid_State_Batteries_Project_Review_Document.md   <- Markdown technical review document (18.1 KB)
β”œβ”€β”€ IonCast_Presentation.pptx                         <- Executive review presentation slide deck (3.8 MB)
β”‚
β”œβ”€β”€ datasets/                                          <- Curated training & benchmark datasets
β”‚   β”œβ”€β”€ lithium_dataset_full_cleaned.csv               <- 9,956 Materials Project structures & properties
β”‚   β”œβ”€β”€ Obliex.csv                                     <- 145 experimental solid electrolyte structures
β”‚   └── obliex_audit_ready.csv                         <- Cleaned experimental reality gap benchmark
β”‚
β”œβ”€β”€ models/                                            <- Modular model suite
β”‚   β”œβ”€β”€ 01_model_v4_physics_hybrid/                    <- [UPGRADED] CIF-Free PIML Stoichiometric Model
β”‚   β”‚   β”œβ”€β”€ predict.py, train.py, artifacts/
β”‚   β”‚
β”‚   β”œβ”€β”€ 02_model_v5_base_surrogate/                    <- [CORE PATENT] Dual-Parameter Arrhenius Surrogate
β”‚   β”‚   β”œβ”€β”€ predict.py, train.py, artifacts/
β”‚   β”‚
β”‚   β”œβ”€β”€ 03_model_v6_obliex_corrector/                  <- [CORE PATENT] OBLiEx Reality Gap Corrector
β”‚   β”‚   β”œβ”€β”€ predict.py, train.py, artifacts/
β”‚   β”‚
β”‚   └── 04_model_v8_pure_ml/                           <- [UPGRADED] 3D Pure Geometric Voronoi Model
β”‚       β”œβ”€β”€ predict.py, train.py, artifacts/
β”‚
└── tests/                                             <- Verification and unit tests

πŸ“œ Patent Traceability & Metadata

  • Invention Title: "System and method for screening crystalline solid-electrolyte materials by physics-constrained dual-parameter prediction of ionic conductivity from crystallographic structure data"
  • Team Name: Solid state batteries
  • Patent Status: Published under Section 11A (The Patents Act, 1970) on 10/07/2026 (Filing Date: 09/07/2026).
  • Legal Claims Traceability:
    • Claim 1 (System): Dual-parameter prediction engine ($E_a$ and prefactor) constrained by Arrhenius conductivity relation with uncertainty indicators.
    • Claim 6 (FCAA Algorithm): 4-stage feature refinement performing variance filtering, pairwise correlation removal ($|r| > 0.92$), importance ranking, and final accommodation.
    • Claim 10 (Non-Compensatory Gate): Multiplicative HES $= (K \times T) \times (S \times R)$ where failure in any single domain disqualifies the material.
    • Claims 11 & 14 (Method & Training): Computer-implemented screening and training methods using inverted Arrhenius prefactor derivation $\log_{10}(A) = \log_{10}(\sigma) + \log_{10}(T) + \frac{E_a}{k_B T \ln 10}$.
  • Accompanying Drawings: FIG. 1A to FIG. 8 (Sheets 1 through 8).

πŸ”— Important External Links


πŸ‘₯ Authors & Team Acknowledgments

Team: Solid State Batteries
Project Lead & Intern: Sai Subodh & Team
Field: Computational Materials Science, Machine Learning, Solid-State Electrochemistry
Institution / Review: Project Internship Review (Mandatory EOD Submission)

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support