RESEARCH PLATFORM · QM9 / GRAPH LEARNING

See what the
molecule knows.

A transparent workspace for graph neural network predictions on the QM9 molecular dataset — from molecular graph to uncertainty-aware HOMO–LUMO gap.

How it works >
LIVE GRAPH PROJECTION • GCN · demo
QM9 MOLECULES
130,831
Small organic molecules with 19 quantum targets
BEST R² SCORE
0.934
GCN comparison run test-set performance
HELD-OUT TEST SET
13,084
10% randomized test molecules (seed 42)
MC DROPOUT CORR.
0.220
Uncertainty variance ↔ absolute prediction error
⚛

11-D Atom Features

Atomic number (H, C, N, O, F), hybridization (sp, sp2, sp3), formal charge, aromaticity, and valency degree form the node feature matrix X.

🌐

GNN Message Passing

GCN aggregates normalized localized degree neighborhoods. Benchmarked alongside GraphSAGE sampling and GAT attention architectures.

±σ

MC Dropout Uncertainty

Test-time stochastic forward passes (p=0.2) quantify epistemic uncertainty, stratifying high error molecules (MAE 0.306 eV vs 0.243 eV).

🔬

Gradient Explainability

Backpropagates loss gradients to atom features, producing interpretable L2 attribution maps across conjugated systems and heteroatoms.

02 · DATASET EXPLORER

Find a molecular starting point.

Common small molecules for quick demos. Property values are illustrative approximations, not QM9 ground truth.

showing 17 of 17 curated records
Molecule library
illustrative values
SELECTED RECORD

Ethanol

CCO
MOLECULAR WEIGHT
46.07 u
HEAVY ATOMS
3
DIPOLE
1.69 D
GAP (ILLUSTRATIVE)
5.42 eV
LOGP (LIPOPHILICITY)
-0.00
TPSA (POLAR SURFACE)
20.23 Ų
CUSTOM DATASET CSV INSPECTOR

Bring your own molecular CSV

Supports CSVs with a smiles column and numeric targets. Validates molecular structures using RDKit.

03 · INTERACTIVE WORKSPACE

Predict a property. Inspect the confidence.

Use a library record or enter a custom SMILES string. Without trained weights mounted, results come from a clearly labeled heuristic.

INFERENCE INPUT Graph encoded from SMILES
Try
?
Heuristic fallback is active. No trained checkpoint is mounted, so values come from a simple rule (atom counts, heteroatoms, rings), not a GNN.
OUTPUT

Ready for inference

Your result will appear here

Enter a SMILES string such as CCO and run the prediction.

03B · RESEARCH ASSISTANT

Ask the project.

It knows the supplied results and this app's caveats. It can explain the prediction in your workspace, compare architectures, or help you read the uncertainty.

Research assistant

context: C6H6 · 5.96 eV
AI Assistant

Ask about this project's models, metrics, or the prediction in your workspace.

AI

Hello! I am your QM9-GraphMol Research Assistant.

I can help explain any molecular prediction in your workspace, compare GCN vs GAT vs GraphSAGE, explain Monte Carlo Dropout uncertainty, or detail the 11 QM9 atom features.

AI answers can be wrong. Predictions in this app are heuristic estimates, not trained-GNN outputs.
04 · EXPLAINABILITY

Every prediction should show its work.

Atom weights here come from an element-and-connectivity heuristic, not from the model. Gradient-based attribution needs the trained checkpoint.

higher heuristic weight lower heuristic weight
Atom-level attribution
c1ccccc1 · HOMO–LUMO gap
Heuristic attribution
lower weight higher weight · heuristic
MODEL INTERPRETABILITY & MECHANICS

Downside Working Analysis: How the Models Work

Active: C6H6

Deep dive into the neural mechanics: how molecular geometry is mapped to tensor embeddings, how message-passing layers aggregate neighborhood features, and why this chemical topology leads to the predicted HOMO–LUMO gap.

1

Graph Representation & 11-D Encoding

Molecule mapped into a graph where atoms are nodes and covalent bonds are edges. Features encode atomic number, hybridization (sp/sp2/sp3), formal charge, aromaticity, and valency degree.

2

GNN Message Passing Dynamics

Across 3 GCN convolution layers, node embeddings propagate using normalized adjacency D^{-1/2} A D^{-1/2}. Global pooling flattens atom embeddings into a unified molecular invariant.

3

Frontier Molecular Orbital (FMO) Theory

Conjugated π-systems and electronegative heteroatoms modulate highest occupied (HOMO) and lowest unoccupied (LUMO) energy eigenvalues, determining the excitation energy gap.

4

Monte Carlo Dropout Epistemic Variance

50 stochastic forward passes at test time (p=0.2) quantify model parameter variance, correlating with held-out prediction residual errors across QM9 test molecules.

05 · MODEL BENCHMARKS

Measure the trade-offs.

Supplied test-set results for the three comparison architectures, plus the improved GCN experiment.

VIEW METRIC SCHEMA >
Evaluation snapshot
MODEL MAE / EV RMSE R²
GCN 0.249 0.333 0.934
GraphSAGE 0.255 0.348 0.927
Improved GCN 0.265 0.356 0.924
GAT 0.652 0.829 0.588
R² BY ARCHITECTURE
test split · higher is better
GCN 0.934
GraphSAGE 0.927
Improved GCN 0.924
GAT 0.588
MC Dropout · uncertainty–error correlation 0.220 · low-uncertainty MAE 0.243
RESEARCH EXPERIMENT FIGURES Results Gallery