gnn-transformer-fusion

Fuse brain connectivity graphs with tabular data using time-aware transformers for longitudinal predictions.

2|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/hiyenwong/ai_collection --skill gnn-transformer-fusion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gnn-transformer-fusion
Source: https://github.com/hiyenwong/ai_collection/tree/main/collection/skills/gnn-transformer-fusion
Command: npx skills add https://github.com/hiyenwong/ai_collection --skill gnn-transformer-fusion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables a principled approach to fuse non-Euclidean brain connectivity data with Euclidean clinical and demographic data to enable time-aware longitudinal predictions.

Core Features & Use Cases

  • Multi-modal fusion: jointly encoding brain graphs and tabular data with cross-modal attention for integrated representations.
  • Time-aware modeling: captures temporal dynamics across multiple visits using a Transformer-based fusion layer.
  • End-to-end workflow: trainable, end-to-end pipeline for prediction tasks like disease progression, treatment response, and cognitive trajectory forecasting.

Quick Start

Load longitudinal brain connectivity and tabular data and run the GNN-TF pipeline to generate time-aware predictions.

Frequently Asked Questions about gnn-transformer-fusion

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I predict longitudinal disease progression from brain connectivity data?

You can predict disease progression by applying a GNN-Transformer fusion pipeline to longitudinal brain connectivity data. This approach uses cross-modal attention to jointly encode brain graphs and tabular clinical data for temporal forecasting.

How does multi-modal fusion handle non-Euclidean brain graphs and Euclidean clinical tabular data?

Multi-modal fusion handles these distinct data structures by using cross-modal attention to jointly encode non-Euclidean brain graphs and Euclidean tabular data, creating an integrated representation for end-to-end predictive modeling.

Can I use a transformer model for temporal forecasting across multiple clinical visits?

Yes, you can use a time-aware Transformer-based fusion layer to capture temporal dynamics across multiple clinical visits. This enables longitudinal predictions for cognitive trajectories and treatment response.

What is the best way to fuse brain graphs and clinical demographics for end-to-end training?

The best way to fuse these data types is an end-to-end pipeline utilizing cross-modal attention. This architecture simultaneously processes brain connectivity graphs and clinical demographics to generate time-aware longitudinal predictions.

Does this GNN-Transformer approach work for forecasting cognitive trajectories?

Yes, this approach specifically supports forecasting cognitive trajectories. By fusing longitudinal brain connectivity with clinical data through time-aware transformers, it models temporal dynamics across multiple patient visits.

Are there limitations when using cross-modal attention for non-Euclidean brain data?

The primary limitation is the requirement for longitudinal multi-visit data to effectively train the time-aware transformer layer. Without multiple temporal data points, the cross-modal attention mechanism cannot capture dynamic progression.