TRIBE v2 tri-modal foundation model for in-situ fMRI brain-to-image decoding with synthetic data augmentation. Addresses low-data regime challenges in brain decoding.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill tribev2-brain-foundation-model --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Tribev2 Brain Foundation Model?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-tribev2-brain-foundation-model-ai-collection)More formats (shields.io, HTML) on the badges page.
---
name: tribev2-brain-foundation-model
description: TRIBE v2 tri-modal foundation model for in-situ fMRI brain-to-image decoding with synthetic data augmentation. Addresses low-data regime challenges in brain decoding.
category: neuroscience
tags:
- brain decoding
- fMRI
- foundation model
- data augmentation
- multimodal
- encoding model
- video
- audio
- language
version: 1.0
arxiv_id: 2606.06345v1
authors: Yohann Benchetrit, Marlène Careil, Simon Dahan, Hubert Banville, Stéphane d'Ascoli
published: 2026-06-04
activation_keywords:
- brain decoding
- fMRI
- TRIBE
- foundation model
- data augmentation
- brain-to-image
- encoding model
---
# TRIBE v2: Tri-modal Foundation Model for Brain Decoding
## Overview
TRIBE v2 is a large encoding model pretrained on more than 1000 hours of fMRI responses to video, audio, and language stimuli. It enables synthetic data augmentation for boosting brain-to-image decoding in low-data regimes.
**arXiv**: [2606.06345v1](http://arxiv.org/abs/2606.06345v1)
**Key Contribution**: Addresses the fundamental limitation in brain decoding — availability of labeled neural data — by using pretrained foundation models to generate synthetic fMRI data for augmentation.
## Core Methodology
### 1. Tri-modal Foundation Model Architecture
- **Pretraining**: 1000+ hours of fMRI responses to:
- Video stimuli
- Audio stimuli
- Language stimuli
- **Encoding model**: Maps stimuli → fMRI responses
- **Synthetic generation**: Given new stimuli, generate predicted fMRI responses
### 2. Data Augmentation Strategy
**Grid-based evaluation**:
- Systematic grids showing how augmentation effectiveness varies with:
- Amount of synthetic data added
- Quality threshold for synthetic samples
- Domain mismatch between pretrained model and target dataset
- Training strategy (augment vs. pretrain)
### 3. Low-Data Regime Applications
**When augmentation helps**:
- Small fMRI datasets (< 50 subjects)
- Limited labeled stimuli
- Novel stimulus types not in pretraining
- Cross-subject generalization
**When augmentation is less effective**:
- Large datasets (> 500 subjects)
- Domain mismatch without adaptation
- Very different stimulus modalities
## Technical Details
### Synthetic Data Generation Pipeline
```
Input Stimuli → TRIBE v2 Encoder → Predicted fMRI → Quality Filter → Augmented Training Set
```
**Quality filtering criteria**:
- Prediction confidence threshold
- Activation pattern similarity to real data
- Region-of-interest consistency
### Training Strategies
**Option A: Direct Augmentation**
```python
# Mix real and synthetic fMRI data
augmented_dataset = real_fMRI + synthetic_fMRI[quality > threshold]
model.train(augmented_dataset)
```
**Option B: Pretrain-then-Finetune**
```python
# Use TRIBE v2 as pretrained backbone
pretrained_encoder = TRIBE_v2.load()
finetuned_decoder = pretrained_encoder.adapt(target_dataset)
```
### Brain-to-Image Decoding
**Traditional limitation**:
- Requires large fMRI-to-image paired datasets
- Subject-specific training expensive
- Limited stimulus diversity
**TRIBE v2 solution**:
- Generate synthetic fMRI for any image/video stimulus
- Expand training set without additional scanning
- Enable zero-shot or few-shot decoding for novel stimuli
## Use Cases
### 1. Visual Reconstruction from fMRI
**Problem**: Reconstruct viewed images from brain activity
**TRIBE v2 approach**: Augment with synthetic fMRI generated from image dataset
### 2. Cross-subject Transfer
**Problem**: Train decoder on few subjects, generalize to new subjects
**Solution**: Use TRIBE v2 pretrained representations as shared basis
### 3. Novel Stimulus Modalities
**Problem**: Decode brain responses to stimuli not in training set
**Approach**: Generate synthetic fMRI for new stimuli using TRIBE v2 encoder
## Implementation Considerations
### Quality Threshold Optimization
```python
def optimal_quality_threshold(real_data, synthetic_data):
"""
Find threshold maximizing augmentation benefit
"""
thresholds = np.linspace(0.5, 0.95, 20)
best_threshold = None
best_accuracy = 0
for thresh in thresholds:
filtered_synthetic = synthetic_data[quality > thresh]
augmented = real_data + filtered_synthetic
accuracy = evaluate_decoder(augmented)
if accuracy > best_accuracy:
best_accuracy = accuracy
best_threshold = thresh
return best_threshold, best_accuracy
```
### Domain Adaptation
When target dataset differs from TRIBE v2 pretraining distribution:
1. **Fine-tune encoder** on small target dataset samples
2. **Adjust quality thresholds** for domain-specific patterns
3. **Use domain adaptation losses** to align representations
## Key Findings from Paper
### When Augmentation Helps Most
1. **Small datasets**: < 50 subjects → 20-40% accuracy boost
2. **Similar domains**: Stimuli similar to pretraining → high-quality synthetic
3. **Balanced mixing**: 30-70% synthetic ratio optimal
### When Augmentation is Less Effective
1. **Domain mismatch**: Novel stimulus types → synthetic quality drops
2. **Large datasets**: > 500 subjects → augmentation unnecessary
3. **Quality filtering critical**: Including low-quality synthetic hurts performance
### Recommended Augmentation Grid
| Dataset Size | Recommended Synthetic Ratio | Quality Threshold |
|-------------|---------------------------|-------------------|
| < 10 subjects | 50-70% | > 0.85 |
| 10-50 subjects | 30-50% | > 0.80 |
| 50-100 subjects | 20-30% | > 0.75 |
| > 100 subjects | 10-20% | > 0.70 |
## Pitfalls & Best Practices
### ⚠️ Common Mistakes
1. **Including all synthetic data**: Low-quality predictions hurt more than help
- Solution: Strict quality filtering (> 0.80 confidence)
2. **Ignoring domain mismatch**: TRIBE v2 trained on video/audio/language
- Solution: Assess stimulus similarity before augmentation
3. **Over-augmenting**: Too much synthetic data overwhelms real signal
- Solution: Balance 30-50% synthetic for small datasets
4. **No validation of synthetic quality**: Synthetic may not match real patterns
- Solution: Validate synthetic fMRI against real subject responses
### ✓ Best Practices
1. **Grid search**: Systematically test augmentation ratios and thresholds
2. **Quality filtering**: Use confidence-based filtering
3. **Domain assessment**: Check stimulus similarity before augmentation
4. **Incremental augmentation**: Start small, increase synthetic if beneficial
## Related Work
### Foundation Models for Neuroscience
- **Brain-DiT**: Multi-state fMRI foundation model
- **NeuroSTORM**: Neuroimaging foundation model with spatial-temporal optimization
- **TRIBE v1**: Earlier version focused on video stimuli
### Data Augmentation in Brain Decoding
- Traditional: Subject-level augmentation via anatomical transforms
- Modern: Synthetic fMRI generation via encoding models
- Future: Multi-modal foundation models for universal brain decoding
## Example Code Pattern
```python
# Brain-to-image decoding with TRIBE v2 augmentation
class TRIBEv2AugmentedDecoder:
def __init__(self, pretrained_encoder_path):
self.encoder = load_tribe_v2(pretrained_encoder_path)
self.decoder = ImageDecoder()
def augment_dataset(self, real_fmri, stimuli_pool, quality_threshold=0.80):
"""
Generate synthetic fMRI for stimuli and filter by quality
"""
synthetic_fmri = []
for stimulus in stimuli_pool:
predicted_fmri = self.encoder.predict(stimulus)
quality = self.encoder.confidence(stimulus)
if quality > quality_threshold:
synthetic_fmri.append((predicted_fmri, stimulus))
# Mix real and synthetic
augmented = real_fmri + synthetic_fmri
return augmented
def train(self, real_fmri, stimuli_pool):
"""
Train decoder with augmented data
"""
augmented = self.augment_dataset(real_fmri, stimuli_pool)
self.decoder.fit(augmented)
return self.decoder
def decode(self, fmri_signal):
"""
Decode image from fMRI
"""
return self.decoder.predict(fmri_signal)
# Usage
decoder = TRIBEv2AugmentedDecoder('tribe_v2_pretrained.pt')
decoder.train(subject_fmri, image_dataset)
reconstructed_image = decoder.decode(new_fmri)
```
## Future Directions
1. **Multi-modal decoding**: Beyond visual → audio, language, cross-modal
2. **Real-time decoding**: Faster inference for online applications
3. **Personalized adaptation**: Subject-specific quality thresholds
4. **Universal brain decoder**: Foundation model trained on all modalities
## References
- arXiv paper: [2606.06345v1](http://arxiv.org/abs/2606.06345v1)
- TRIBE v1: Earlier video-focused encoding model
- Related: Brain-DiT, NeuroSTORM, fMRI foundation models
---
**Activation**: Use this skill when working on brain decoding, fMRI data augmentation, foundation models for neuroscience, or low-data regime brain-to-image reconstruction.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!