MSGL-Transformer:一种多尺度全局-局部Transformer用于啮齿类动物社会行为识别
MSGL-Transformer: A Multi-Scale Global-Local Transformer for Rodent Social Behavior Recognition
AI总结:
本文提出MSGL-Transformer,通过多尺度注意力机制捕捉啮齿类动物行为的动态特征,采用行为感知调制模块提升特征表达,在两个数据集上均取得优于现有方法的准确率和F1分数。
摘要:
啮齿类动物行为识别对于理解神经和行为机制至关重要。传统手动评分耗时且容易产生人为误差。我们提出了MSGL-Transformer,一种多尺度全局-局部Transformer,用于从基于姿态的时序序列中识别啮齿类动物社会行为。该模型采用轻量级的Transformer编码器,结合多尺度注意力机制,以捕捉不同时间尺度上的运动动态。架构集成了并行的短程、中程和全局注意力分支,以显式捕捉多时间尺度的行为动态。我们还引入了行为感知调制模块(BAM),受SE网络启发,通过调制时间嵌入来强调行为相关特征。我们在两个数据集上进行了评估:RatSI(5种行为类别,12D姿态输入)和CalMS21(4种行为类别,28D姿态输入)。在RatSI上,MSGL-Transformer在九次交叉验证分割中实现了75.4%的平均准确率和0.745的F1分数,优于TCN、LSTM和Bi-LSTM。在CalMS21上,其达到了87.1%的准确率和0.8745的F1分数,比HSTWFormer提高了10.7%,并优于ST-GCN、MS-G3D、CTR-GCN和STGAT。相同的架构仅通过调整输入维度和类别数量即可在两个数据集上泛化。
英文摘要:
Recognition of rodent behavior is important for understanding neural and behavioral mechanisms. Traditional manual scoring is time-consuming and prone to human error. We propose MSGL-Transformer, a Multi-Scale Global-Local Transformer for recognizing rodent social behaviors from pose-based temporal sequences. The model employs a lightweight transformer encoder with multi-scale attention to capture motion dynamics across different temporal scales. The architecture integrates parallel short-range, medium-range, and global attention branches to explicitly capture behavior dynamics at multiple temporal scales. We also introduce a Behavior-Aware Modulation (BAM) block, inspired by SE-Networks, which modulates temporal embeddings to emphasize behavior-relevant features prior to attention. We evaluate on two datasets: RatSI (5 behavior classes, 12D pose inputs) and CalMS21 (4 behavior classes, 28D pose inputs). On RatSI, MSGL-Transformer achieves 75.4% mean accuracy and F1-score of 0.745 across nine cross-validation splits, outperforming TCN, LSTM, and Bi-LSTM. On CalMS21, it achieves 87.1% accuracy and F1-score of 0.8745, a +10.7% improvement over HSTWFormer, and outperforms ST-GCN, MS-G3D, CTR-GCN, and STGAT. The same architecture generalizes across both datasets with only input dimensionality and number of classes adjusted.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。