利用大型语言模型进行神经信号解码的前沿方法。实现从脑活动到自然语言的直接转换,支持脑-文本接口。
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill neural-decoding-llm --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Neural Decoding Llm?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-neural-decoding-llm)More formats (shields.io, HTML) on the badges page.
---
name: neural-decoding-llm
description: "利用大型语言模型进行神经信号解码的前沿方法。实现从脑活动到自然语言的直接转换,支持脑-文本接口。"
---
# 基于LLM的神经解码 (Neural Decoding with LLMs)
## 概述
利用大型语言模型进行神经信号解码的前沿方法。实现从脑活动到自然语言的直接转换,支持脑-文本接口。
本技能整合了神经科学领域的前沿方法论,为研究人员和开发者提供实用的技术指导。
## 核心概念
- **脑-文本解码 (Brain-to-Text)**
- **语义神经表征 (Semantic Neural Representation)**
- **对比脑-语言对齐 (Brain-Language Alignment)**
- **少样本脑适应 (Few-shot Brain Adaptation)**
- **脑CLIP (BrainCLIP)**
## 应用场景
- 失语症患者交流辅助
- 脑机接口文本输入
- 思维到语音转换
- 认知状态语义解码
## 方法论
- 预训练LLM微调
- 脑-文本对比学习
- VQ-VAE脑信号编码
- Transformer脑编码器
## 代码示例
```python
import torch
from transformers import CLIPModel, CLIPTokenizer
class BrainCLIP(nn.Module):
"""脑信号与语言的对比学习模型"""
def __init__(self, brain_dim=1000, embed_dim=512):
super().__init__()
self.brain_encoder = nn.Sequential(
nn.Linear(brain_dim, 2048),
nn.ReLU(),
nn.Dropout(0.3),
nn.Linear(2048, embed_dim)
)
self.text_encoder = CLIPModel.from_pretrained("openai/clip-vit-base-patch32")
self.logit_scale = nn.Parameter(torch.ones([]) * np.log(1 / 0.07))
def forward(self, brain_data, text_tokens):
brain_embed = self.brain_encoder(brain_data)
brain_embed = F.normalize(brain_embed, dim=-1)
text_embed = self.text_encoder.get_text_features(**text_tokens)
text_embed = F.normalize(text_embed, dim=-1)
# 对比损失
logits = self.logit_scale * brain_embed @ text_embed.T
return logits
```
## 相关工具与库
- **Python**: NumPy, SciPy, scikit-learn
- **深度学习**: PyTorch, TensorFlow
- **神经影像**: Nilearn, MNE-Python, ANTsPy
- **拓扑分析**: GUDHI, Ripser, scikit-tda
- **信息论**: PyInform, JIDT
## 学习资源
### 论文
- 相关领域的经典和最新论文
- 建议关注 NeurIPS, ICML, Nature Neuroscience, PLOS Computational Biology
### 数据集
- Human Connectome Project (HCP)
- OpenNeuro
- EEG-BIDS 标准数据集
## 激活关键词
- neural decoding llm
- 基于LLM的神经解码
- 脑-文本解码
## 备注
本技能基于神经科学领域的前沿研究方法论创建,反映了当前该领域的最新发展趋势。
由于网络限制,技能内容基于领域专业知识整理,建议在实际应用时参考最新文献。
---
*技能生成时间: 2026-04-12*
*来源: 自动化神经科学研究工作流*
## Activation Keywords
- neural-decoding-llm
- neural decoding llm
- neural decoding llm
## Tools Used
- `read` - 读取技能文档
- `write` - 创建输出
- `exec` - 执行相关命令
## Instructions for Agents
1. 理解技能的核心方法论
2. 根据用户问题提供针对性回答
3. 遵循最佳实践
## Examples
### Example 1: 基本查询
**User:** 请解释 Neural Decoding Llm
**Agent:** Neural Decoding Llm 是关于...
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!