arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.22713eess.AScs.AIcs.CVcs.LGcs.SD
收藏

通过微调Transformer模型实现Chirp定位:一项概念验证研究

Chirp Localization via Fine-Tuned Transformer Model: A Proof-of-Concept Study

Krembil Research Institute(克雷比尔研究所);University Health Network(大学健康网络);Institute of Biomedical Engineering(生物医学工程研究所);University of Toronto(多伦多大学)

Nooshin Bahador, Milad Lankarany

AI总结:

本研究通过在10万张合成频谱图上结合LoRA微调ViT模型进行回归预测,实现了对EEG中chirp信号起止时间与频率的精准定位,填补了自动化检测的方法学空白。

摘要:

频谱图在时频信号分析中至关重要,广泛应用于音频处理和计算神经科学。脑电图(EEG)频谱图中的Chirp样模式(以线性或指数频率扫描为特征)是癫痫发作动力学的关键生物标志物,但缺乏用于其检测、定位和特征提取的自动化工具。本研究通过在合成频谱图上微调Vision Transformer(ViT)模型来填补这一空白,并引入Low-Rank Adaptation(LoRA)以增强适应性。我们生成了100000张带有chirp参数的合成频谱图,创建了首个用于chirp定位的大规模基准。这些频谱图利用线性或指数频率扫描、高斯噪声和平滑来模拟神经chirp。适配为回归任务的ViT模型预测了chirp参数。LoRA微调了注意力层,实现了对预训练主干网络的高效更新。训练使用MSE损失和AdamW优化器,并配合学习率调度器和早停机制以抑制过拟合。仅针对三个特征:Chirp Start Time(Onset Time)、Chirp Start Frequency(Onset Frequency)和Chirp End Frequency(Offset Frequency)。通过预测标签和实际标签之间的Pearson相关性评估性能。结果显示出强一致性:chirp开始时间的相关性为0.9841,推理时间稳定(137到140秒),且误差分布中的偏差极小。该方法为EEG时频表示中的chirp分析提供了一种工具,填补了关键的方法学空白。

英文摘要:

Spectrograms are pivotal in time-frequency signal analysis, widely used in audio processing and computational neuroscience. Chirp-like patterns in electroencephalogram (EEG) spectrograms (marked by linear or exponential frequency sweep) are key biomarkers for seizure dynamics, but automated tools for their detection, localization, and feature extraction are lacking. This study bridges this gap by fine-tuning a Vision Transformer (ViT) model on synthetic spectrograms, augmented with Low-Rank Adaptation (LoRA) to boost adaptability. We generated 100000 synthetic spectrograms with chirp parameters, creating the first large-scale benchmark for chirp localization. These spectrograms mimic neural chirps using linear or exponential frequency sweep, Gaussian noise, and smoothing. A ViT model, adapted for regression, predicted chirp parameters. LoRA fine-tuned the attention layers, enabling efficient updates to the pre-trained backbone. Training used MSE loss and the AdamW optimizer, with a learning rate scheduler and early stopping to curb overfitting. Only three features were targeted: Chirp Start Time (Onset Time), Chirp Start Frequency (Onset Frequency), and Chirp End Frequency (Offset Frequency). Performance was evaluated via Pearson correlation between predicted and actual labels. Results showed strong alignment: 0.9841 correlation for chirp start time, with stable inference times (137 to 140s) and minimal bias in error distributions. This approach offers a tool for chirp analysis in EEG time-frequency representation, filling a critical methodological void.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑