potentialpaper

Nonlinearity Leaks Position Through the Mean Pool: A Mechanistic Account of Aggregation in Protein Representations

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. A per-token nonlinearity followed by mean pooling recovers position-dependent signal that linear pooling discards, confirmed causally in a synthetic model, and observed as a matching signature in protein language models of peptide selectivity.

Abstract. Mean pooling of protein language model (PLM) representations is a linear, permutation-invariant operation that is position-blind; the standard fix is attention pooling, which reweights residues non-uniformly. We start from a puzzle: on antimicrobial peptide activity data, a per-token MLP followed by \emph{ordinary} mean pooling --- still permutation-invariant with respect to token order --- matches attention pooling and far exceeds linear mean pooling. We identify the mechanism: when a nonlinearity is applied to embeddings that encode position, it creates token--position cross-terms that survive averaging, so the pooled vector becomes sensitive to which residue sits where. We confirm this causally in a controlled synthetic model: a nonlinear-then-mean representation solves a position-relational task perfectly, but \textbf{scrambling residue order collapses its accuracy from 1.000 to 0.507} (chance), while linear mean pooling is unaffected in both directions. A scaling analysis shows the effect operates at the $\sim$20-symbol amino-acid alphabet (Δ=+0.062\Delta = +0.062 over chance with an adequately powered probe, recovering 13% of the oracle's signal), diminishing only as the vocabulary grows far past biological scale. On GRAMPA, a multi-pathogen peptide dataset, the same signature appears: a per-token MLP and attention pooling both recover a pathogen-selectivity component (ρ=0.148±0.024\rho = 0.148 \pm 0.024, 10-seed CI [0.11,0.18][0.11, 0.18] for attention) that linear mean pooling (ρ=0.00\rho = 0.00) and a hand-crafted physicochemical baseline (ρ=−0.02\rho = -0.02, CI includes zero) both miss, and this translates to a multi-seed-confirmed doubling of downstream predictive R2R^2 (0.33→0.560.33 \to 0.56 for \textit{E.\ coli}, 5-seed, disjoint intervals). We situate the mechanism as a domain-specific instance of the Deep Sets representational result, and are explicit that the causal test is established synthetically; the corresponding real-embedding scrambling experiment is specified as the primary follow-up. The reframing is practical: the operative choice is not mean-vs-attention but linear-vs-nonlinear aggregation of position-carrying embeddings.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
19 Sep 2026ICLR 2027submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 17:14 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…