FLaG: Frequency-Domain Latent-attention Gated Pooling for Token Aggregation

📅 2026-09-01
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出FLaG方法,通过在频域中重新表达编码器输出并使用可学习的潜在查询进行池化,解决传统池化方法仅在原始token空间操作的问题。
📝 Abstract
Token aggregation converts token-level representations into fixed-dimensional sample representations, but most pooling methods operate only in the original token space. We introduce Frequency-Domain Latent-attention Gated Pooling (FLaG), a plug-in aggregation module that re-expresses encoder outputs in the Fourier domain before final pooling. FLaG represents the nonredundant rFFT spectrum through concatenated real and imaginary components, summarizes spectral tokens with learnable latent queries, derives a sample-conditioned channel gate, and reconstructs modulated token representations for downstream aggregation. We evaluate the same architecture across ESM2-based antimicrobial peptide (AMP) activity prediction, ResNet18 image classification on CIFAR-10 and CIFAR-100, and three RoBERTa-based language tasks. FLaG achieves the best macro-averaged Spearman correlation coefficient, RMSE, and Recall@50 across four AMP backbone-species settings and the highest top-1 accuracy on CIFAR 10. It also achieves the best mean results on five of seven language metrics, although mean pooling remains strongest on STSBenchmark. AMP-side mechanistic analyses reveal low-frequency prediction sensitivity across most encoder layers, with increased relative high-frequency sensitivity in the final layer, and pronounced peptide-specific positional responses. The residual gate broadly amplifies spectral channels while preserving the low-frequency-dominated energy profile, whereas latent cross-attention exhibits sample- and species-specific spectral allocation. Overall, FLaG provides a transferable frequency-domain aggregation bias across protein, visual, and textual representations, with benefits that depend on the backbone and downstream task. Supplementary materials, source code, and data are available at https://www.healthinformaticslab.org/supp/ and https://github.com/Kewei2023/AMPCliff/tree/FLaG.
Problem

Research questions and friction points this paper is trying to address.

Token Aggregation
Pooling Methods
Fourier Domain
Innovation

Methods, ideas, or system contributions that make the work stand out.

Frequency-Domain
Latent-attention
Gated Pooling
Token Aggregation
Fourier Domain
🔎 Similar Papers
No similar papers found.
K
Kewei Li
College of Computer Science and Technology, Jilin University, Changchun, 130012, China; Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, Jilin University, Changchun, 130012, China
R
Rongying Zhang
Institute for Quantitative and Computational Biology, University of California, Los Angeles, 90024, United States of America
Xueli Wang
Xueli Wang
Shanghai Maritime University
Adaptive dynamic programmingoptimal controldiscrete-time system
Xiwen Gong
Xiwen Gong
Assistant Professor of Chemical Engineering, University of Michigan
NanomaterialsOptoelectronicsBioelectronics
Z
Zhongjian Wang
BCPM Data Limited, Chengdu 610041, China
Q
Qiuchen Zhao
Cancer Research UK Cambridge Centre and Department of Oncology, University of Cambridge, Cambridge, CB2 0XZ, UK; Department of Pathology, University of Cambridge, Cambridge, CB2 1QP, UK
L
Lan Huang
College of Computer Science and Technology, Jilin University, Changchun, 130012, China; Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education, Jilin University, Changchun, 130012, China
Ruochi Zhang
Ruochi Zhang
Broad Institute
deep learningcomputational biology
Fengfeng Zhou
Fengfeng Zhou
Bioinformatics, Data Analytics
Big datafeature engineering and selectionhealth informaticsbioinformaticsdata mining