Text Generation
PEFT
Safetensors
English
brain-computer-interface
eeg
eeg-to-text
neural-decoding
residual-vector-quantization
riemannian-geometry
qwen2.5
lora
Instructions to use RUSH0100/RUSH-EEG2Text-Qwen2.5-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use RUSH0100/RUSH-EEG2Text-Qwen2.5-7B with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
RUSH-EEG2Text-Qwen2.5-7B
Riemannian Connectome-Guided Hierarchical Quantization for Teacher-Forcing-Free Cross-Subject EEG-to-Text Decoding
- Project Status: Pre-Submission Working Draft & Academic Collaboration Proposal (KMITL Overseas Research Mobility Grant)
- GitHub Repository (Code, Preprocessing, & LaTeX Draft): github.com/rush0100/RUSH-EEG2Text
- Conceptual Video Explainer: Watch on GitHub
- Primary Authors: Ratchaphon Khaemphukhiao (Ph.D. Candidate, KMITL) & Assoc. Prof. Pattarapong Phasukkit, D.Eng. (Principal Advisor, KMITL)
- Invited Co-Author Slots (Open for Joint Collaboration):
[Invited Co-Author Slot: Dr. Zhenxi Song, Harbin Institute of Technology, Shenzhen][Invited Co-Author & Co-Corresponding Author Slot: Prof. Zhiguo Zhang, Harbin Institute of Technology, Shenzhen]
- Base Causal LLM:
Qwen/Qwen2.5-7B-Instruct(adapted via Rank-16 BF16 LoRA + 50% Scheduled Target-Word Dropout) - Training Corpus: All 4 Naturalistic Reading Tasks of ZuCo 1.0 & ZuCo 2.0 (
task1-SR,task2-NR,task3-TSR,task2-NR-2.0β 18,276 trials across 30 unique subjects) - Evaluation Protocol: Strictly Subject-Independent (4 completely unseen test subjects:
ZMG,ZPH,YTL,YSLβ 2,717 test trials) & 100% Teacher-Forcing-Free Beam Search (num_beams=4) verified against a Pure Gaussian Noise ($\mathcal{N}(0, \mathbf{I})$) Sanity Audit.
1. Benchmark Results on Unseen Human Test Subjects
Stage 1: Zero-Shot 1,313-Sentence Retrieval (ZMG, ZPH, YTL, YSL)
| Input Condition | R@1 (%) | R@5 (%) | R@10 (%) | MRR (%) | Median Rank (out of 1,313) |
|---|---|---|---|---|---|
| Real Unseen-Subject EEG | 9.90% | 35.08% | 56.09% | 23.14% | 9.0 |
| Pure Gaussian Noise ($\mathcal{N}(0, \mathbf{I})$) | 0.11% | 0.55% | 1.14% | 0.77% | 647.0 |
| Neural Sanity Gap ($\Delta$) | +9.79% | +34.53% | +54.95% | +22.37% | β |
Stage 2: Strict Teacher-Forcing-Free Open-Vocabulary Generation (Qwen2.5-7B-Instruct LoRA)
| Input Condition | BLEU-1 (%) | BLEU-2 (%) | BLEU-3 (%) | BLEU-4 (%) | ROUGE-1 F1 (%) | WER (%) $\downarrow$ |
|---|---|---|---|---|---|---|
| Real Unseen-Subject EEG (TF-Free) | 19.60% | 12.82% | 10.81% | 9.89% | 19.58% | 90.85% |
| Pure Gaussian Noise ($\mathcal{N}(0, \mathbf{I})$) | 8.77% | 2.17% | 0.78% | 0.43% | 11.15% | 182.92% |
| Neural Sanity Gap ($\Delta$) | +10.83% | β | β | +9.46% | +8.43% | β |
2. Included Checkpoints & Files
stage1_cet_rvq_best.pt: Pretrained Stage 1 3D 12-ROI + Late Connectome Bottleneck + 6-Book Euclidean EMA-RVQ checkpoint.stage2_cet_rvq_best.pt: End-to-end Stage 2 fine-tuned neural encoder + RVQ weights.stage2_projector_best.pt: 2-layerBrainToLLMProjector(768 -> 3584) mapping discrete brain tokens intoQwen2.5-7Bembedding space.stage2_lora_adapter/: PEFT LoRA adapter (r=16, alpha=32) forQwen/Qwen2.5-7B-Instruct.spark_full4task_champion_qwen7b.yaml: Exact training & evaluation configuration.stage1_summary.json,stage2_history.json,test_evaluation_report.json: Full machine-readable benchmark reports.
3. Sample Unseen-Subject Teacher-Forcing-Free Outputs
| Unseen Subject | Ground-Truth Sentence | RUSH-EEG2Text Decoded Output (Zero Teacher Forcing) |
|---|---|---|
ZMG |
Presents a good case while failing to provide a reason for us to care beyond the very basic dictums of human decency. | Despite the holes in the story and the somewhat predictable plot, moments of the movie caused me to jump in my chair... |
ZMG |
Beautifully crafted, engaging filmmaking that should attract upscale audiences hungry for quality and a nostalgic, twisty yarn that will keep them guessing. | Beautifully crafted, engaging filmmaking that should attract upscale audiences hungry for quality and a nostalgic, twisty yarn that will keep them guessing. |
ZMG |
Bread, My Sweet has so many flaws it would be easy for critics to shred it. | Bread, My Sweet has so many flaws it would be easy for critics to shred it. |
ZMG |
Slow, silly and unintentionally hilarious. | It's a fanboy `what if?' |
ZMG |
Ultimately feels empty and unsatisfying, like swallowing a Communion wafer without the wine. | It's not a particularly good film, but neither is it a monsterous one. |
Acknowledgment
This work is supported by King Mongkut's Institute of Technology Ladkrabang.
- Downloads last month
- -