更好的查询,更便宜的注意力:适配Transformer用于高效稀疏重建
Better Queries, Cheaper Attention: Adapting Transformers for Efficient Sparse Reconstruction
AI总结:
提出几何感知动态查询解码器,通过输入条件查询构建和结构化稀疏交叉注意力,在简化高亮度大型强子对撞机探测器中实现更高效率、更低延迟和内存占用的带电粒子轨迹重建。
摘要:
基于查询的Transformer解码器对于从稀疏科学传感器测量中重建对象是有效的,但它们扩展到高多重性数据的能力受到固定的、与输入无关的查询集和昂贵的解码器交叉注意力的限制。我们引入了一种几何感知的动态查询解码器,它将输入条件查询构建与结构化稀疏交叉注意力相结合。解码器查询从选定的编码器级测量表示中初始化,这些表示作为候选轨迹种子,使得查询内容和查询多重性都依赖于输入。局部步长交叉注意力(LSCA)利用诱导的几何排序,用几何定义的局部支持替换学习的掩码门控交叉注意力,该局部支持将注意力限制在物理上合理的查询-命中相互作用上,并暴露稀疏性以进行块稀疏执行。我们研究了这种架构在简化的高亮度大型强子对撞机探测器中的带电粒子轨迹重建,其中必须从数万个稀疏测量中重建数千条轨迹。在标称配置中,相对于固定查询基线,动态查询(DQ)架构将轨迹重建效率从94.1%提高到98.1%,并将假率降低超过两倍。DQ+LSCA模型相对于固定查询基线,将端到端推理延迟降低了近50%,并将峰值分配推理内存降低了超过10倍。
英文摘要:
Query-based transformer decoders are effective for object reconstruction from sparse scientific sensor measurements, but their scalability to high-multiplicity data is limited by fixed, input-independent query sets and costly decoder cross-attention. We introduce a geometry-aware dynamic-query decoder that couples input-conditioned query construction with structured sparse cross-attention. Decoder queries are initialised from selected encoder-level measurement representations that serve as candidate trajectory seeds, making both query content and query multiplicity input-dependent. Local Strided Cross-Attention (LSCA) exploits the induced geometric ordering by replacing learned mask-gated cross-attention with a geometry-defined local support that restricts attention to physically plausible query-hit interactions and exposes sparsity for block-sparse execution. We study this architecture for charged-particle trajectory reconstruction in a simplified High-Luminosity Large Hadron Collider detector, where thousands of trajectories must be reconstructed from tens of thousands of sparse measurements. In the nominal configuration, the dynamic-query (DQ) architecture increases trajectory reconstruction efficiency from 94.1% to 98.1% and reduces the fake rate by more than a factor of two relative to the fixed-query baseline. The DQ+LSCA model reduces end-to-end inference latency by nearly 50% and peak allocated inference memory by more than a factor of 10 relative to the fixed-query baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。