Skip to content
Ding1119Public

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Repository files navigation

NeuroTree: Hierarchical Functional Brain Pathway Decoding for Mental Health Disorders (ICML2025)

🧠 Overview

Mental disorders are among the most widespread diseases globally. In this work, we propose a novel framework called $\textbf{NuroTree}$ that contributes to computational neuroscience by integrating demographic information into Neural ODEs for brain network modeling via k-hop graph convolution, investigating addiction and schizophrenia datasets to decode fMRI signals and construct disease-specific brain trees with hierarchical functional subnetworks, and achieving state-of-the-art classification performance while effectively interpreting how these disorders alter functional connectivity related to brain age.

🔧 Installation

  1. Clone the repository:
    git clone https://github.com/Ding1119/NeuroTree.git
    cd NeuroTree
  2. Install dependencies:
    pip install -r requirements.txt

🌟 Download Processed Data

  • Cannabis: Stanford (90 ROIs)
  • COBRE: Harvard-Oxford (118 ROIs)

Processed data data file can be download from Lab google drive Here and put your local path ./datasets.

🗂️ Repository Structure

NEUROTREE/
├── brain_tree_cobre_visualization/     # Visualization scripts for COBRE dataset
├── datasets/                           # Please place the fMRI and .csv files downloaded from Google Drive here 
├── data_handler/                       # Dataset preprocessing and loading utilities
├── models/                             # ODE-bsed GCN model architectures
├── Tutorial/                           # Example jupyter notebooks 
├── visualization/                      # Plotting and visualization .py code
├── main.py                             # Main training pipeline
├── run_main_cannabis.sh                # Shell script to run training on Cannabis dataset
├── run_main_COBRE.sh                   # Shell script to run training on COBRE dataset
├── training_eval_utils.py              # Training and evaluation helper functions
├── tree_trunk_utils.py                 # High-order tree path extraction utilities
├── utils.py                            # Miscellaneous utility functions
└── README.md                           # Project documentation

📝 TODO List

  • ⬜ Jupyter Notebook Tutorial
  • ⬜ Upload Video

🚀 Getting Started

To run the training script with configurable parameters, using the cannabis dataset as an example:

bash run_main_cannabis.sh

🔬 NeuroTasks: Classifying Brain Disorders & Estimating Brain Age

You can set the argparse classes=2 for graph classification or classes=1 for brain age prediction task in our framework.

To estimate brain age, we trained exclusively on healthy controls (label = 0) and tested on individuals with neurological or psychiatric disorders (label = 1), such as those with addiction or schizophrenia. This setup aims to assess whether the age-related patterns learned from healthy brains can predict deviations in brain aging observed in disease groups. The results are shown in Brain Age Estimation.

data_type=cannabis
brain_tree_plot=False
num_epochs=5
batch_size=4
num_timesteps=2
num_nodes=90
input_dim=405
hidden_dim=64
num_classes=2

python main.py \
  --data_type ${data_type} \
  --brain_tree_plot ${brain_tree_plot} \
  --num_epochs ${num_epochs} \
  --batch_size ${batch_size} \
  --num_timesteps ${num_timesteps} \
  --num_nodes ${num_nodes} \
  --input_dim ${input_dim} \
  --hidden_dim ${hidden_dim} \
  --num_classes ${num_classes}

Plot Brain Tree

You can set the brain_tree_plot argument to either True or False to plot the brain tree after model training.

parser.add_argument('--brain_tree_plot', type=str, default=True)  

📊 Main Results

🌳 Visualize the Brain Tree of Different Mental Disorders

The visualization shows different brain trees in mental health disorders, structured into three hierarchical trunk levels.

🕒 Brain Age Estimation

The scatterplot shows the gaps between fMRI-predicted brain age and chronological age for healthy control and mental disorder groups. These gaps can effectively measure brain differences between disease populations and healthy controls.

🔍 Convergence Analysis

$\textbf{The visualization of different decay meanings in spectral norm convergence.}$ The left side of the curve (blue section) demonstrates faster decay, which leads to more localized brain interaction patterns, visualized by a compact, hierarchical network structure with blue nodes. The right side (orange section) shows slower decay, which preserves longer-range dependencies, illustrated by a more distributed network with orange nodes connected across greater distances.
The spectral norm of $\Phi_k(t)$ reveals differential convergence rates across varying $k$-orders among distinct mental disorders, notably demonstrating that cannabis exhibits a steeper convergence gradient compared to COBRE as $\lambda$ increases.

🟢🟡 Age-Related Brain Network Changes in Addiction and Schizophrenia

Predicted FC changes in different age groups and affiliated functional subnetworks.

📄 Citation

If you use this codebase, please cite:

@article{ding2025neurotree,
  title={NeuroTree: Hierarchical Functional Brain Pathway Decoding for Mental Health Disorders},
  author={Ding, Jun-En and Luo, Dongsheng and Zilverstand, Anna and Liu, Feng},
  journal={arXiv preprint arXiv:2502.18786},
  year={2025}
}

MIT License

Copyright (c) 2025 Jun-En Ding

This repository's source code is available under the MIT License.

📬 Contact

Welcome to contact the Jun-En Ding at jding17@stevens.edu or collaborations if you have any questions about using the code. Note that experimental performance may vary slightly due to differences in computer hardware and environment.

👨🏻‍💻 Acknowledgement

We would like to express our sincere gratitude to Kaustubh R. Kulkarni and Dr. Xiaosi Gu from Mount Sinai for generously providing open-access addiction-related neuroimaging data and for their valuable contributions to addiction neuroscience research.

cat gif

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages