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-adaptive-flow-routing-brain-networksgit clone https://github.com/hiyenwong/ai_collection.gitcp ai_collection/SKILL.MD ~/.claude/skills/hiyenwong-ai-collection-collection-skills-adaptive-flow-routing-brain-networks/SKILL.md---
name: adaptive-flow-routing-brain-networks
description: "Adaptive flow routing methodology for uncovering latent communication patterns in brain networks. Models information flow through structural connectivity to reveal hidden communication pathways. Activation: brain network communication, flow routing, latent patterns, structural-functional mapping."
---
# Adaptive Flow Routing for Brain Network Communication
> Methodology for uncovering latent communication patterns in brain networks using adaptive flow routing, bridging microscopic neuronal connectivity to macroscopic cognitive phenotypes.
## Metadata
- **Source**: arXiv:2602.00561
- **Authors**: Tianhao Huang, Guanghui Min, Zhenyu Lei
- **Published**: 2026-02
## Core Methodology
### Key Innovation
Uses adaptive flow routing algorithms to model information propagation through structural brain connectivity, revealing latent communication patterns that are not visible through traditional pairwise connectivity analysis.
### Technical Framework
1. **Structural Connectivity Input**: Use diffusion MRI-derived structural connectome as the base graph
2. **Adaptive Flow Routing**: Implement flow routing algorithms that dynamically adjust path preferences based on network topology and task demands
3. **Pattern Extraction**: Identify latent communication pathways that emerge from the flow dynamics
4. **Cognitive Mapping**: Link discovered communication patterns to macroscopic cognitive phenotypes
### Why Traditional Methods Fall Short
- Pairwise functional connectivity misses multi-node communication pathways
- Static network analysis cannot capture dynamic information routing
- Flow routing provides a mechanistic model of how information actually propagates
## Implementation Guide
### Prerequisites
- Structural connectome data (DWI/DTI)
- Graph analysis libraries (NetworkX, Brain Connectivity Toolbox)
- Flow optimization algorithms
### Step-by-Step
1. Construct structural connectivity matrix from DWI data
2. Define source-sink pairs based on cognitive task regions
3. Apply adaptive flow routing algorithm to find optimal information pathways
4. Extract and rank communication patterns by flow throughput
5. Validate patterns against functional connectivity and behavioral measures
### Code Example
```python
import networkx as nx
import numpy as np
def adaptive_flow_routing(adj_matrix, sources, sinks, alpha=0.5):
"""Adaptive flow routing on brain network."""
G = nx.from_numpy_array(adj_matrix)
flows = {}
for src in sources:
for sink in sinks:
path_flows = nx.maximum_flow(G, src, sink)
flows[(src, sink)] = path_flows
return flows
```
## Applications
- Mapping cognitive control networks
- Identifying communication bottlenecks in neurological disorders
- Understanding how structural connectivity constrains functional dynamics
- Brain-computer interface optimization
## Pitfalls
- Flow routing assumes linear information propagation (may oversimplify neural dynamics)
- Requires high-quality structural connectome data
- Computational complexity scales with network size
## Related Skills
- brain-graph-neural
- time-varying-brain-connectivity
- higher-order-brain-networks