CoolFace
Modelpublic

FuhaiLiAiLab/GALAX

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes32downloads
Model Card

GALAX: Graph-Augmented Language Model for Explainable Reinforcement-Guided Subgraph Reasoning in Precision Medicine

<div align="center"> <img src="https://github.com/FuhaiLiAiLab/GALAX/blob/main/Figures/GALAX-logo.png?raw=true" width="40%" alt="GALAX" /> </div>

<div align="center" style="line-height: 1;"> <!-- GitHub --> <a href="https://github.com/FuhaiLiAiLab/GALAX" target="_blank" style="margin: 2px;"> <img alt="GitHub" src="https://img.shields.io/badge/GitHub-GALAX%20Code-181717?logo=github&logoColor=white" style="display: inline-block; vertical-align: middle;"/> </a>

<!-- Hugging Face Model --> <a href="https://huggingface.co/FuhaiLiAiLab/GALAX" target="_blank" style="margin: 2px;"> <img alt="Hugging Face Model" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-GALAX%20Model-ffc107?color=ffc107&logoColor=white" style="display: inline-block; vertical-align: middle;"/> </a>

<!-- Hugging Face Dataset --> <a href="https://huggingface.co/datasets/FuhaiLiAiLab/Target-QA" target="_blank" style="margin: 2px;"> <img alt="Hugging Face Dataset" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Target--QA%20Dataset-ff6f61?color=ffc107&logoColor=white" style="display: inline-block; vertical-align: middle;"/> </a> </div>

<div align="center" style="line-height: 1;"> <!-- arXiv --> <a href="https://arxiv.org/abs/2509.20935" target="_blank" style="margin: 2px;"> <img alt="arXiv" src="https://img.shields.io/badge/arXiv-GALAX%20Paper-b31b1b?logo=arxiv&logoColor=white" style="display: inline-block; vertical-align: middle;"/> </a>

<!-- License --> <a href="LICENSE" style="margin: 2px;"> <img alt="License" src="https://img.shields.io/badge/License-MIT-0a4d92?logo=open-source-initiative&logoColor=white" style="display: inline-block; vertical-align: middle;"/> </a> </div>


🧩 Model Overview

GALAX Overall Architecture

GALAX is a graph-augmented language model designed for explainable target prioritization in precision medicine. It combines three key components:

  • —LLaMA3-8B-Instruct as the language backbone, further adapted with the BioMedGraphica corpus and fine-tuned on Target-QA.
  • —Graph Attention Network (GAT) pretrained on integrated multi-omics data and BioMedGraphica knowledge graphs.
  • —A reinforcement-guided subgraph generator that enables interpretable reasoning by constructing biologically meaningful subgraphs from multi-omics and knowledge graph signals.

By jointly leveraging multi-omics features, protein–protein interactions, and disease–target associations, GALAX provides an interpretable framework for CRISPR target prioritization across diverse cancer cell lines. To support benchmarking and reproducibility, we also introduce the [Target-QA dataset](https://huggingface.co/datasets/FuhaiLiAiLab/Target-QA).


🚀 How to Use

python
from transformers import AutoModelForCausalLM, AutoTokenizer
from huggingface_hub import snapshot_download
import os, torch

# 1. Load GALAX language model
model_id = "FuhaiLiAiLab/GALAX"
tokenizer = AutoTokenizer.from_pretrained(model_id)
lm_model = AutoModelForCausalLM.from_pretrained(
    model_id,
    device_map="auto",
    torch_dtype="auto"
)

# 2. Access graph foundation model
repo_path = snapshot_download(model_id)
combined_model_path = os.path.join(repo_path, "best_combined_model.pt")
device = "cuda" if torch.cuda.is_available() else "cpu"
best_combined_model = torch.load(combined_model_path, map_location=device)

⚙️ Experimental Setup

  • —Backbone LM: LLaMA3-8B-Instruct (QA-tuned).
  • —Graph Encoder: BioBERT-v1.1 embeddings + GAT with edge masking.
  • —Training: Adam optimizer on 2× NVIDIA H100 (80GB).
  • —Top features per omics modality: K = 10.
  • —Subgraph rollout depth: L = 5, candidate nodes η = 20.
  • —Evaluation: Precision, Recall, F1, Jaccard, Hit@5, Hit@10.

📊 Results

GALAX consistently outperforms baselines and ablation variants.

  • —Overall Precision: 0.5472
  • —Overall Recall: 0.5332
  • —Hit@10: 0.8815
  • —Hit@5: 0.9249

Table 1. Precision and Recall across datasets

ModelOverall Precision ↑Overall Recall ↑LUAD Precision ↑LUAD Recall ↑BRCA Precision ↑BRCA Recall ↑
M2T0.00160.00110.00200.00140.00000.0000
GAT0.0006 ± 0.00000.0006 ± 0.00000.0000 ± 0.00000.0000 ± 0.00000.0033 ± 0.00000.0033 ± 0.0000
L3 + Omics0.0071 ± 0.00320.0013 ± 0.00020.0079 ± 0.01370.0005 ± 0.00080.0020 ± 0.00350.0017 ± 0.0029
L3 + Omics + KG0.0125 ± 0.00320.0029 ± 0.00030.0014 ± 0.00250.0010 ± 0.00170.0073 ± 0.00680.0033 ± 0.0029
L3-FT(Med) + Omics0.0179 ± 0.00450.0133 ± 0.00640.0091 ± 0.00180.0105 ± 0.00440.0110 ± 0.00860.0106 ± 0.0075
L3-FT(Med) + Omics + KG0.0158 ± 0.00300.0058 ± 0.00110.0081 ± 0.00710.0024 ± 0.00170.0149 ± 0.00570.0050 ± 0.0000
L3-FT(QA) + Omics0.5250 ± 0.02820.4959 ± 0.04350.5201 ± 0.04080.4905 ± 0.05320.5074 ± 0.04980.4856 ± 0.0570
L3-FT(QA) + Omics + KG0.5185 ± 0.02400.4908 ± 0.04020.5214 ± 0.02420.4952 ± 0.04320.4856 ± 0.03950.4656 ± 0.0436
G-Retriever + pre-GAT0.4763 ± 0.00040.3929 ± 0.00630.4642 ± 0.01810.3881 ± 0.02640.4414 ± 0.00990.3772 ± 0.0010
GALAX0.5472 ± 0.00530.5332 ± 0.00310.5345 ± 0.01850.5157 ± 0.00430.5608 ± 0.00310.5533 ± 0.0033

Table 2. Hit@10 and Hit@5 across datasets

ModelOverall Hit@10 ↑Overall Hit@5 ↑LUAD Hit@10 ↑LUAD Hit@5 ↑BRCA Hit@10 ↑BRCA Hit@5 ↑
M2T0.00290.00000.00000.00000.00000.0000
GAT0.0000 ± 0.00000.0000 ± 0.00000.0000 ± 0.00000.0000 ± 0.00000.0000 ± 0.00000.0000 ± 0.0000
L3 + Omics0.0021 ± 0.00370.0032 ± 0.00550.0048 ± 0.00820.0095 ± 0.01650.0000 ± 0.00000.0000 ± 0.0000
L3 + Omics + KG0.0122 ± 0.00330.0085 ± 0.00370.0000 ± 0.00000.0000 ± 0.00000.0056 ± 0.00960.0111 ± 0.0192
L3-FT(Med) + Omics0.0122 ± 0.00720.0116 ± 0.00970.0000 ± 0.00000.0000 ± 0.00000.0111 ± 0.01920.0000 ± 0.0000
L3-FT(Med) + Omics + KG0.0132 ± 0.00400.0106 ± 0.00480.0048 ± 0.00820.0095 ± 0.01650.0111 ± 0.01920.0000 ± 0.0000
L3-FT(QA) + Omics0.8693 ± 0.01570.8889 ± 0.01680.8667 ± 0.02180.8476 ± 0.01650.8389 ± 0.00960.8889 ± 0.0509
L3-FT(QA) + Omics + KG0.8529 ± 0.01530.8794 ± 0.01140.8048 ± 0.05410.7905 ± 0.04360.8222 ± 0.03470.8778 ± 0.0192
G-Retriever + pre-GAT0.8550 ± 0.00460.8804 ± 0.00370.8524 ± 0.01650.8857 ± 0.00000.8667 ± 0.00000.8667 ± 0.0000
GALAX0.8815 ± 0.00330.9249 ± 0.00480.8810 ± 0.00820.9238 ± 0.04360.8500 ± 0.04410.8889 ± 0.0839

🔬 Intended Uses

  • —Research use only
  • —Benchmarking graph-language foundation models in target priorization
  • —Target prioritization in cancer biology

📜 Citation

If you use this model, please cite:

bibtex
@article{zhang2025galax,
  title     = {GALAX: Graph-Augmented Language Model for Explainable Reinforcement-Guided Subgraph Reasoning in Precision Medicine},
  author    = {Zhang, Heming and Huang, Di and Li, Wenyu and Province, Michael and Chen, Yixin and Payne, Philip and Li, Fuhai},
  journal   = {arXiv preprint arXiv:2509.20935},
  year      = {2025},
  doi       = {10.48550/arXiv.2509.20935},
  url       = {https://arxiv.org/abs/2509.20935}
}