Skip to content

Latest commit

Β 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TER Project: Learning Interatomic Potentials and their Gradients

Python Status

Welcome to the repository of my TER (Travail d'Γ‰tude et de Recherche / Research Study Project). This project explores the use of Deep Learning to simultaneously predict the energy of a system and its associated forces.

In molecular dynamics, force is defined as the negative gradient of the energy with respect to atomic coordinates: $$F = -\nabla E$$

The goal of this project is to evaluate different training strategies (Classic, Auto-differentiation, Multitask) to optimize the learning of energy and its derivatives. We start with a simple mathematical problem before scaling up to complex molecules.


πŸ”¬ Scientific Approach

The project is divided into two progressive phases:

Phase Study Environment Main Objective
1. Theory Himmelblau Function (Toy Function) Rigorously understand and validate different gradient learning strategies, study the impact of hyperparameters ($\lambda$), and validate the results via statistical tests (Mann-Whitney).
2. Application MD17 Dataset (Molecules) Apply the validated concepts to real molecules (Paracetamol, Aspirin, ect...) using the TorchANI architecture. Study the impact of loss function weights ($\alpha$ and $\beta$).

πŸ“‚ Repository Architecture

The code is organized chronologically to follow the scientific reasoning:

β”œβ”€β”€ notebooks/                   
β”‚   β”œβ”€β”€ Phase_1_Himmelblau/
β”‚   β”‚   β”œβ”€β”€ 01_training_strategies_himmelblau.ipynb
β”‚   β”‚   β”œβ”€β”€ 02_lambda_finetuning_himmelblau.ipynb
β”‚   β”‚   β”œβ”€β”€ 03_loss_by_epoch_classic.ipynb         
β”‚   β”‚   β”œβ”€β”€ 04_loss_by_epoch_multitask.ipynb       
β”‚   β”‚   β”œβ”€β”€ 05_loss_by_epoch_gradient.ipynb        
β”‚   β”‚   └── 06_statistical_analysis_himmelblau.ipynb
β”‚   β”‚
β”‚   └── Phase_2_Molecules/
β”‚       β”œβ”€β”€ 07_training_ANI_molecule.ipynb
β”‚       β”œβ”€β”€ 08_loss_by_epoch_ANI_gradient.ipynb    
β”‚       └── 09_optimisation_alpha_beta.ipynb       
β”‚
β”œβ”€β”€ dashboards/                  
β”‚   β”œβ”€β”€ dashboard_himmelblau.py  # Interactive visualization for Phase 1
β”‚   └── dashboard_molecule.py    # Interactive visualization for Phase 2
β”‚          
β”œβ”€β”€ csv/
β”‚   β”œβ”€β”€ metrics_md17_7reps_aspirin.csv
β”‚   β”œβ”€β”€ metrics_md17_7reps_benzene.csv
β”‚   └── metrics_md17_7reps_paracetamol.csv
β”‚                 
└── README.md

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages