arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.08191cs.LGcs.AIq-bio.QM
收藏

频域潜在注意力门控用于跨域令牌聚合

Frequency-Domain Latent Attention Gating for Cross-Domain Token Aggregation

College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, Jilin University(教育部符号计算与知识工程重点实验室);Institute for Quantitative and Computational Biology, University of California(加州大学定量与计算生物学研究所);Greenwich High School(格林威治高中);BCPM Data Limited(BCPM数据有限公司)

Kewei Li, Rongying Zhang, Xueli Wang, Xiwen Gong, Zhongjian Wang, Lan Huang, Ruochi Zhang, Fengfeng Zhou

AI总结:

提出FLaG模块,通过实FFT变换、可学习潜在查询的频谱分量汇总、通道门控和时域重建,实现跨域令牌聚合,在AMP预测、图像分类和文本分类任务上取得提升。

摘要:

令牌聚合是将令牌表示映射到样本级预测的模型中的常见瓶颈,然而大多数池化方法仅在原始令牌域中操作。我们提出FLaG,一个即插即用的聚合模块,它使用实FFT变换令牌表示,用可学习的潜在查询汇总频谱分量,应用通道门控,并重建增强的时域令牌以进行最终池化。我们在使用ESM2的抗菌肽(AMP)活性预测、使用ResNet18在CIFAR-10和CIFAR-100上的图像分类,以及使用RoBERTa在IMDB和GLUE上的文本分类中评估FLaG。FLaG在ESM2-8M抗菌肽任务和CIFAR-100上取得了最明显的提升,同时在IMDB和GLUE上与强文本基线保持竞争力。然后,我们通过频带消融、门控汇总、残基扰动、潜在查询读出和结构代理分层来探究其在AMP设置中的行为。我们发现低频带贡献最大,其余高频带模式更具样本特异性。门控充当广泛共享的频谱重加权阶段,交叉注意力模式是样本特异性的,具有轻微的查询差异,并且高螺旋肽在两种细菌中表现出更强的平均频谱敏感性。补充材料、源代码和数据发布在https://www.healthinformaticslab.org/supp/ 和 https://github.com/Kewei2023/AMPCliff/tree/FLaG。

英文摘要:

Token aggregation is a common bottleneck in models that map token representations to sample-level predictions, yet most pooling methods operate only in the original token domain. We propose FLaG, a plug-in aggregation module that transforms token representations with the real FFT, summarizes spectral components with learnable latent queries, applies a channel-wise gate, and reconstructs enhanced time-domain tokens for final pooling. We evaluate FLaG on antimicrobial peptide (AMP) activity prediction with ESM2, image classification with ResNet18 on CIFAR-10 and CIFAR-100, and text classification with RoBERTa on IMDB and GLUE. FLaG achieves its clearest gains on the ESM2-8M antimicrobial peptide tasks and on CIFAR-100, while remaining competitive with strong text baselines on IMDB and GLUE. Then we probe its behavior on the AMP setting with band knockouts, gate summaries, residue perturbations, latent-query readouts, and structure-proxy stratification. We find that low-frequency bands contribute the most overall, and the remaining higher-band pattern is more sample-specific. The gate acts as a broadly shared spectral reweighting stage and the cross-attention patterns are sample-specific with mild query-wise differentiation, and higher-helix peptides exhibit stronger average spectral sensitivity in both bacteria. The supplementary materials, source code and data are released at https://www.healthinformaticslab.org/supp/ and https://github.com/Kewei2023/AMPCliff/tree/FLaG.

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

↑