DHGFormer
[MICCAI 2025] Source code for paper: DHGFormer: Dynamic Hierarchical Graph Transformer for Disorder Brain Disease Diagnosis
Install / Use
/learn @iMoonLab/DHGFormerREADME
Accepted by MICCAI 2025
</div>Overview
<div align="center"> <img src="figures/pipeline.png"> </div>Figure 1. The framework of the proposed DHGFormer.
Abstract - The functional brain network exhibits a hierarchical characterized organization, balancing localized specialization with global integration through multi-scale hierarchical connectivity. While graph-based methods have advanced brain network analysis, conventional graph neural networks (GNNs) face interpretational limitations when modeling functional connectivity (FC) that encodes excitatory/inhibitory distinctions, often resorting to oversimplified edge weight transformations. Existing methods usually inadequately represent the brain's hierarchical organization, potentially missing critical information about multi-scale feature interactions. To address these limitations, we propose a novel brain network generation and analysis approach--Dynamic Hierarchical Graph Transformer (DHGFormer). Specifically, our method introduces an FC-inspired dynamic attention mechanism that adaptively encodes brain excitatory/inhibitory connectivity patterns into transformer-based representations, enabling dynamic adjustment of the functional brain network. Furthermore, we design hierarchical GNNs that consider prior functional subnetwork knowledge to capture intra-subnetwork homogeneity and inter-subnetwork heterogeneity, thereby enhancing GNN performance in brain disease diagnosis tasks. Extensive experiments on the ABIDE and ADNI datasets demonstrate that DHGFormer consistently outperforms state-of-the-art methods in diagnosing neurological disorders.
Get Started
1. Data Preparation
Download the ABIDE dataset from here.
2. Usage
Run the following command to train the model.
python main.py --config_filename setting/abide_DHGFormer.yaml
Cite our work
@inproceedings{xue2025dhgformer,
title={DHGFormer: Dynamic Hierarchical Graph Transformer for Disorder Brain Disease Diagnosis},
author={Xue, Rundong and Hu, Hao and Zhang, Zeyu and Han, Xiangmin and Wang, Juan and Gao, Yue and Du, Shaoyi},
booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
pages={268--278},
year={2025},
organization={Springer}
}
License
The source code is free for research and education use only. Any comercial use should get formal permission first.
This repo benefits from FBNETGEN. Thanks for their wonderful works.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
