Skip to content

jithinmathws/materialgraph

Repository files navigation

MaterialGraph

Deterministic, Explainable Materials Discovery Knowledge Graph for Scientific Exploration

MaterialGraph is an open-source platform for deterministic, explainable materials discovery and scientific decision support. It combines graph-based knowledge representation, explainable scoring, graph analytics, and research-oriented exploration to help researchers investigate scientifically plausible material alternatives.

Unlike autonomous AI systems, MaterialGraph does not replace scientific judgment. It computes, ranks, explains, and contextualizes research opportunities while keeping researchers in control of scientific decisions.


Why MaterialGraph?

Modern materials research requires balancing chemistry, stability, criticality, supply risk, and scientific plausibility.

MaterialGraph helps researchers:

  • Discover scientifically related materials
  • Explore explainable substitution pathways
  • Analyze graph relationships and communities
  • Evaluate research objectives
  • Understand risks, trade-offs, and assumptions
  • Make informed scientific decisions

Documentation

Additional project documentation is available in the docs/ directory.

Document Description
Getting Started Local development setup and project bootstrapping
System Architecture Current architecture and intelligence layer design
Scientific Principles Scientific principles and design rationale
Research Architecture Research-focused architecture and design decisions
Roadmap Future development plans and feature roadmap
Known Issues Current limitations and tracked issues
Deployment Guide Production deployment using AWS EC2, Neon PostgreSQL, systemd, and Nginx

Core Principles

  • Deterministic reasoning
  • Explainable intelligence
  • Graph-driven scientific exploration
  • Researcher-in-the-loop decision support
  • Rank, explain, warn, and score
  • No LLM reasoning in scientific computation

Current Capabilities (v1.9.6)

Foundation Intelligence

  • Material Graph Foundation
  • Material Neighborhood Intelligence
  • Material Family Intelligence
  • Similarity Engine
  • Recommendation Engine
  • Criticality Analysis
  • Scenario Policy Engine

Discovery Intelligence

  • Discovery Candidate Engine
  • Explainable Discovery Scoring
  • Discovery Warnings
  • Substitution Path Engine
  • Multi-Hop Discovery Chains
  • Discovery Path Ranking
  • Research Objective Exploration

Knowledge Graph Intelligence

  • Graph Builder
  • Graph Traversal
  • BFS / DFS / Dijkstra / K-shortest Paths
  • Community Detection
  • Community Intelligence
  • Ranked Subgraph Exploration
  • Graph Analytics
  • Material Quality
  • Node & Edge Intelligence

Research Intelligence

  • Scientific Pathway Analysis
  • Explainable Confidence
  • Research Opportunity Analysis
  • Comparative Research Intelligence
  • Endpoint-Sensitive Research Ranking

Evidence Intelligence

  • Structured Evidence Summary
  • Evidence Attribution
  • Explainable Missing Evidence
  • Structured Weak Assumptions
  • Validation Priorities
  • Evidence Readiness

Comparative Research Intelligence — v1.9.5

  • Deterministic multi-pathway comparison
  • Comparative strengths and trade-offs
  • Comparative research gaps
  • Comparative evidence readiness
  • Comparative assumptions
  • Adjacent pairwise pathway comparisons
  • Score-dimension difference explanations
  • Preservation of lower-ranked pathway advantages
  • Tie-aware pathway comparisons
  • Endpoint material comparisons
  • Neutral first-pathway / second-pathway semantics
  • Backward-compatible comparison aliases
  • Comparative element opportunity highlights
  • Introduced-element signals
  • Removed / avoided-element signals
  • Preserved-framework element signals
  • Element highlights grounded in pathway scientific facts
  • Explicit requires_validation boundaries
  • Researcher autonomy preserved

The comparative layer compares existing deterministic pathway opportunities. It does not invent a winner when pathway scores are tied, and it does not replace scientific judgment or experimental validation.

Endpoint-Sensitive Research Ranking — v1.9.6

  • Preserves original scientific_usefulness_score values
  • Groups equal-score pathway opportunities
  • Reuses existing endpoint-specific quality, stability, energy-above-hull, criticality, risk, and evidence-readiness signals
  • Differentiates tied pathways only when existing endpoint evidence justifies deterministic ordering
  • Preserves genuine ties when endpoint-specific evidence is equivalent
  • Adds no arbitrary tie-breaker
  • Adds no duplicate scientific usefulness score
  • Exposes explicit differentiation status and reasons
  • Keeps endpoint evidence auditable
  • Marks endpoint conclusions as requiring validation
  • Preserves researcher decision authority

For the LiFePO4 → Na/phosphate research objective, five scientifically distinct endpoint opportunities received the same scientific usefulness score of 94.95. MaterialGraph preserved the tie because the currently available endpoint-specific evidence was equivalent across the five endpoints. This is intentional: absence of justified differentiation is represented explicitly rather than hidden behind an arbitrary ranking rule.


Architecture

Materials Project
        │
        ▼
Material Graph Foundation
        │
        ▼
Foundation Intelligence
        │
        ▼
Discovery Intelligence
        │
        ▼
Knowledge Graph Intelligence
        │
        ▼
Research Intelligence
        │
        ▼
Evidence Intelligence
        │
        ▼
Comparative Research Intelligence
        │
        ▼
Endpoint-Sensitive Research Ranking
        │
        ▼
Scientific Knowledge Layer (Future)

Technology Stack

Backend

  • Python
  • FastAPI
  • SQLAlchemy
  • PostgreSQL
  • Alembic
  • NetworkX
  • Pydantic v2

Infrastructure

  • AWS EC2
  • Nginx
  • systemd
  • Docker

Testing

  • pytest

Quick Start

git clone https://github.com/<username>/materialgraph.git
cd materialgraph

python -m venv .venv
pip install -r requirements.txt

alembic upgrade head
python scripts/import_materials_project.py

uvicorn app.main:app --reload

Documentation

See the docs/ directory for:

  • System Architecture
  • Scientific Principles
  • Getting Started
  • Deployment Guide
  • Technical Notes
  • Roadmap

Roadmap

Phase 2.5 -- Decision Intelligence

  • Multi-element constraints
  • Application-aware exploration
  • USGS criticality enrichment
  • Geopolitical, toxicity, and recyclability policies

Phase 3 -- Knowledge Graph Intelligence

Completed:

  • Community Detection
  • Community Intelligence
  • Ranked Subgraph Exploration
  • Research Objective Exploration

Completed:

  • Scientific Pathway Analysis
  • Research Opportunity Analysis
  • Explainable Confidence
  • Evidence Intelligence
  • Comparative Research Intelligence
  • Endpoint-Sensitive Research Ranking

Future:

  • Research Validation Planning
  • Research Gap Analysis
  • Hypothesis Exploration
  • Multi-objective Optimization

Phase 4

  • PostgreSQL graph jobs
  • Go GraphCompute Worker
  • Background analytics

Phase 5

  • Rust graph engine
  • Large-scale traversal
  • High-performance scientific path search

Project Scope

MaterialGraph assists scientific exploration. It does not:

  • Replace DFT calculations
  • Guarantee synthesis feasibility
  • Replace laboratory validation
  • Replace scientific judgment

Researchers remain responsible for evaluating, selecting, and validating research opportunities.


License

MIT License

About

Graph-based material intelligence platform for battery material screening, criticality analysis, similarity search, and recommendation-driven decision support.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors