Robust Noise Attenuation via Adaptive Pooling of Transformer Outputs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Brothers, Greyson
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912424482832384
author Brothers, Greyson
author_facet Brothers, Greyson
contents We investigate the design of pooling methods used to summarize the outputs of transformer embedding models, primarily motivated by reinforcement learning and vision applications. This work considers problems where a subset of the input vectors contains requisite information for a downstream task (signal) while the rest are distractors (noise). By framing pooling as vector quantization with the goal of minimizing signal loss, we demonstrate that the standard methods used to aggregate transformer outputs, AvgPool, MaxPool, and ClsToken, are vulnerable to performance collapse as the signal-to-noise ratio (SNR) of inputs fluctuates. We then show that an attention-based adaptive pooling method can approximate the signal-optimal vector quantizer within derived error bounds for any SNR. Our theoretical results are first validated by supervised experiments on a synthetic dataset designed to isolate the SNR problem, then generalized to standard relational reasoning, multi-agent reinforcement learning, and vision benchmarks with noisy observations, where transformers with adaptive pooling display superior robustness across tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2506_09215
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Robust Noise Attenuation via Adaptive Pooling of Transformer Outputs
Brothers, Greyson
Machine Learning
Artificial Intelligence
68T07 (Primary), 68P30, 68T45 (Secondary)
E.4; I.2.6; I.2.10
We investigate the design of pooling methods used to summarize the outputs of transformer embedding models, primarily motivated by reinforcement learning and vision applications. This work considers problems where a subset of the input vectors contains requisite information for a downstream task (signal) while the rest are distractors (noise). By framing pooling as vector quantization with the goal of minimizing signal loss, we demonstrate that the standard methods used to aggregate transformer outputs, AvgPool, MaxPool, and ClsToken, are vulnerable to performance collapse as the signal-to-noise ratio (SNR) of inputs fluctuates. We then show that an attention-based adaptive pooling method can approximate the signal-optimal vector quantizer within derived error bounds for any SNR. Our theoretical results are first validated by supervised experiments on a synthetic dataset designed to isolate the SNR problem, then generalized to standard relational reasoning, multi-agent reinforcement learning, and vision benchmarks with noisy observations, where transformers with adaptive pooling display superior robustness across tasks.
title Robust Noise Attenuation via Adaptive Pooling of Transformer Outputs
topic Machine Learning
Artificial Intelligence
68T07 (Primary), 68P30, 68T45 (Secondary)
E.4; I.2.6; I.2.10
url https://arxiv.org/abs/2506.09215