KAST-BAR methodology: Knowledge-Anchored Semantically-Dynamic Topology Brain Autoregressive Modeling for universal neural interpretation. Integrates Dual-Stream Hierarchical Attention (DSHA) encoder for brain topology, Knowledge-Anchored Semantic Profiler (KASP) for expert-level text profiles, and Semantic Text-Aware Refiner (STAR) with Latent Expert Queries. Pre-trained on 21 datasets, evaluated on 6 downstream tasks. Use when: building EEG foundation models, brain topology representation le...
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill kast-brain-autoregressive --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Kast Brain Autoregressive?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-kast-brain-autoregressive-ai-collection)More formats (shields.io, HTML) on the badges page.
---
name: kast-brain-autoregressive
description: >
KAST-BAR methodology: Knowledge-Anchored Semantically-Dynamic Topology Brain
Autoregressive Modeling for universal neural interpretation. Integrates
Dual-Stream Hierarchical Attention (DSHA) encoder for brain topology,
Knowledge-Anchored Semantic Profiler (KASP) for expert-level text profiles,
and Semantic Text-Aware Refiner (STAR) with Latent Expert Queries. Pre-trained
on 21 datasets, evaluated on 6 downstream tasks. Use when: building EEG
foundation models, brain topology representation learning, semantic-physiological
alignment, cross-task neural decoding, medical knowledge integration in BCI.
category: neuroscience
tags: [eeg-foundation-model, brain-topology, semantic-alignment, autoregressive, knowledge-anchored, neural-decoding, multi-modal]
related_skills:
- eeg-foundation-model-adapters
- eeg-foundation-lrp-interpretability
- laya-eeg-foundation
- reve-eeg-foundation
- tta-eeg-foundation-models
activation_keywords:
- kast-bar
- knowledge-anchored brain autoregressive
- eeg foundation model semantic alignment
- dual-stream hierarchical attention eeg
- brain topology representation learning
- expert-level semantic eeg profiling
- universal neural interpretation
- semantic text-aware eeg refiner
---
# KAST-BAR: Knowledge-Anchored Brain Autoregressive Modeling
**Paper**: *KAST-BAR: Knowledge-Anchored Semantically-Dynamic Topology Brain Autoregressive Modeling for Universal Neural Interpretation*
**Authors**: Haoning Wang, Wenchao Yang, Shuai Shen, Yang Li
**arXiv**: 2605.13133 (May 13, 2026)
**Category**: cs.LG, eess.SP
**Code**: https://github.com/KAST-BAR/KAST-BAR
## Overview
EEG foundation models face two bottlenecks: (1) inadequate modeling of complex spatiotemporal brain topology, and (2) the modality gap between low-level physiological signals and high-level textual semantics. KAST-BAR addresses both by dynamically aligning multi-level brain topology representations with an expert-level semantic space through a three-stage pipeline.
## Core Architecture
### Stage 1: DSHA Encoder (Dual-Stream Hierarchical Attention)
Captures the brain's intrinsic non-Euclidean topology:
```
EEG signals (C channels, T timepoints)
-> Local Temporal Stream: models fine-grained temporal dynamics per channel
-> Global Spatial Stream: captures inter-channel topological relationships
-> Hierarchical fusion: integrates local temporal + global spatial contexts
```
- Models both local temporal dynamics and global spatial contexts simultaneously
- Respects the brain's non-Euclidean topological structure (unlike standard CNNs/RNNs)
- Produces physiologically-grounded representations
### Stage 2: KASP (Knowledge-Anchored Semantic Profiler)
Synthesizes expert-level textual profiles from EEG representations:
```
DSHA representation
-> Physical grounding: links neural patterns to neurophysiological principles
-> Instance-level profiling: generates patient/session-specific text descriptions
-> Expert knowledge anchoring: incorporates medical domain expertise into semantic space
```
- Bridges the gap between low-level signals and high-level medical semantics
- Produces verifiable, interpretable text profiles
- Anchors semantic representations in established medical knowledge
### Stage 3: STAR (Semantic Text-Aware Refiner)
Dynamically reconstructs EEG representations using semantic feedback:
```
KASP text profile + DSHA representation
-> Latent Expert Queries: learned query vectors that attend to semantic knowledge
-> Cross-modal attention: text profile refines neural representation
-> Refined representation: semantically-enhanced EEG embeddings
```
- Uses Latent Expert Queries to inject semantic knowledge back into neural representations
- Creates a closed loop: EEG -> text -> refined EEG
- Enables interpretable, knowledge-grounded representations
## Training Paradigm
### Large-Scale Pre-training
- **21 diverse EEG datasets** for foundation model pre-training
- Covers multiple task types, populations, and recording protocols
- Builds universal representations that transfer across domains
### Downstream Evaluation
Evaluated on **6 downstream tasks** showing consistent superiority:
- Cross-subject transfer
- Cross-task generalization
- Clinical classification tasks
- (Specific tasks depend on available benchmarks)
## Implementation Patterns
### Pipeline Architecture
```
Raw EEG (multi-session, multi-task)
└─> DSHA Encoder (local temporal + global spatial)
└─> Physiological representation
└─> KASP (Knowledge-Anchored Semantic Profiler)
└─> Expert-level text profile
└─> STAR (Semantic Text-Aware Refiner)
└─> Refined semantic-aware EEG representation
└─> Downstream task head
```
### Key Design Principles
1. **Topology-aware**: Respect brain's non-Euclidean structure, not treat EEG as flat sequences
2. **Semantic grounding**: Bridge physiology and medical language, not just signal processing
3. **Knowledge integration**: Embed expert medical knowledge into representations
4. **Universal modeling**: Single foundation model for diverse tasks and populations
## Applications
1. **Universal EEG foundation models**: Pre-train once, fine-tune for many tasks
2. **Interpretable neural decoding**: Text profiles provide human-readable explanations
3. **Clinical decision support**: Expert-anchored semantics align with medical reasoning
4. **Cross-task transfer**: Shared representations enable transfer between different BCI/clinical tasks
5. **Neural representation learning**: New paradigm combining topology + semantics
## Comparison to Related Work
| Method | Brain Topology | Semantic Integration | Multi-task |
|--------|---------------|---------------------|------------|
| EEGNet | Limited | No | No |
| LaBraM | Partial | No | Yes |
| BENDR | Partial | No | Yes |
| **KAST-BAR** | **Full (DSHA)** | **Full (KASP+STAR)** | **Yes** |
## Pitfalls
1. **Computational cost**: Three-stage architecture (DSHA + KASP + STAR) is heavier than single-encoder models
2. **Semantic quality**: KASP output quality depends on training data diversity and medical knowledge coverage
3. **Topology modeling**: Non-Euclidean brain topology requires careful channel position encoding
4. **Cross-dataset normalization**: 21 datasets likely have different protocols; harmonization is critical
## References
- DSHA: Dual-Stream Hierarchical Attention for brain topology
- KASP: Knowledge-Anchored Semantic Profiler
- STAR: Semantic Text-Aware Refiner with Latent Expert Queries
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!