Free SKILL.md scraped from GitHub. Clone the repo or copy the file directly into your Claude Code skills directory.
npx versuz@latest install hiyenwong-ai-collection-collection-skills-beyond-pairwise-high-order-fbn-gcmgit clone https://github.com/hiyenwong/ai_collection.gitcp ai_collection/SKILL.MD ~/.claude/skills/hiyenwong-ai-collection-collection-skills-beyond-pairwise-high-order-fbn-gcm/SKILL.md---
name: beyond-pairwise-high-order-fbn-gcm
description: "Global Constraints oriented Multi-resolution (GCM) framework for extracting high-order functional brain network structures beyond pairwise connections. Incorporates 4 global constraint types and 4 modeling resolution levels. Activation: functional brain network, high-order brain network, FBN structure learning, hypergraph brain network, global constraints multi-resolution."
---
# Beyond Pairwise Connections: High-Order FBN via Global Constraints
> GCM framework that extracts high-order functional brain network (FBN) structures under global constraints, achieving up to 30.6% accuracy improvement and 96.3% computational time reduction.
## Metadata
- **Source**: arXiv:2510.09175
- **Authors**: Ling Zhan, Junjie Huang, Xiaoyao Yu, Wenyu Chen, Tao Jia
- **Published**: 2025-10-10
- **Code**: https://github.com/lzhan94swu/GCM
## Core Methodology
### Key Innovation
The paper theoretically analyzes limitations of local pairwise interactions in FBN modeling and proposes extracting high-order FBN structures under **global constraints** rather than local heuristics. This enables end-to-end learning of FBN structures directly from data distributions.
### Global Constraint Types (4 types)
1. **Signal Synchronization**: Constrains network structure based on signal correlation patterns
2. **Subject Identity**: Preserves individual-level network characteristics
3. **Expected Edge Numbers**: Controls network sparsity/density
4. **Data Labels**: Incorporates supervised information into structure learning
### Modeling Resolution Levels (4 levels)
1. **Sample level**: Individual data point network structure
2. **Subject level**: Per-subject FBN construction
3. **Group level**: Population-level network patterns
4. **Project level**: Cross-dataset unified structures
### Technical Framework
- Replaces local pairwise correlation with global constraint optimization
- Supports multi-resolution FBN construction in a unified framework
- End-to-end differentiable — learns FBN structure from data distribution directly
- Avoids heuristic hypergraph construction approaches
## Implementation Guide
### Prerequisites
- Python 3.8+
- PyTorch
- NumPy, SciPy
- Brain connectivity datasets (e.g., ABIDE, ADNI, UK Biobank)
### Step-by-Step
1. **Data Preparation**: Load neuroimaging data (fMRI time series), define ROI parcellation
2. **Constraint Configuration**: Select relevant global constraints (synchronization, identity, edge count, labels)
3. **Resolution Selection**: Choose modeling resolution level (sample/subject/group/project)
4. **Model Training**: Train GCM framework with selected constraints and resolution
5. **Network Extraction**: Extract learned high-order FBN structures
6. **Downstream Tasks**: Use extracted FBNs for classification, regression, or analysis
### Code Example
```python
# Minimal usage pattern based on GCM framework
# Reference: https://github.com/lzhan94swu/GCM
import torch
from gcm import GCMModel, GlobalConstraint, ResolutionLevel
# Configure global constraints
constraints = [
GlobalConstraint.SIGNAL_SYNC,
GlobalConstraint.SUBJECT_IDENTITY,
GlobalConstraint.EXPECTED_EDGES,
GlobalConstraint.DATA_LABELS
]
# Initialize model at subject-level resolution
model = GCMModel(
constraints=constraints,
resolution=ResolutionLevel.SUBJECT,
roi_count=116, # e.g., AAL atlas
hidden_dim=128
)
# Train end-to-end
optimizer = torch.optim.Adam(model.parameters(), lr=1e-3)
for epoch in range(200):
fbn_structure = model(fmri_data)
loss = model.compute_loss(fbn_structure, labels)
loss.backward()
optimizer.step()
```
## Applications
- **High-order brain connectivity analysis**: Capture dependencies beyond pairwise correlations
- **Neuroimaging classification**: AD/autism/psychiatric disorder diagnosis
- **Cognitive neuroscience**: Study group-level brain network patterns
- **Multi-site neuroimaging studies**: Project-level FBN construction across datasets
- **Brain network biomarker discovery**: Identify interpretable high-order network features
## Pitfalls
- Global constraint selection requires domain knowledge — wrong constraints may degrade performance
- Computational complexity increases with resolution level
- Higher-order interactions may be harder to interpret biologically than pairwise connections
- Requires sufficient sample size for group/project level resolution
## Performance Highlights
- Up to **30.6%** relative accuracy improvement over baselines
- Up to **96.3%** computational time reduction
- Evaluated on 5 datasets, 2 task settings, 9 baselines, 10 state-of-the-art methods
## Related Skills
- higher-order-brain-networks
- multimodal-higher-order-brain-networks
- brain-graph-neural
- brain-network-controllability