{"ID":2880254,"CreatedAt":"2026-06-01T04:54:23.091178241Z","UpdatedAt":"2026-06-01T04:54:23.091178241Z","DeletedAt":null,"paper_url":"https://arxiv.org/abs/2508.14685","arxiv_id":"2508.14685","title":"SSA: Improving Performance With a Better Scoring Function","abstract":"While transformer models exhibit strong in-context learning (ICL) abilities, they often fail to generalize under simple distribution shifts. We analyze these failures and identify Softmax, the scoring function in the attention mechanism, as a contributing factor. We propose \\textbf{Scaled Signed Averaging (SSA)}, a novel attention scoring function that mitigates these failures. SSA significantly improves performance on our ICL tasks and outperforms transformer models with Softmax on several NLP benchmarks and linguistic probing tasks, in both decoder-only and encoder-only architectures.","short_abstract":"While transformer models exhibit strong in-context learning (ICL) abilities, they often fail to generalize under simple distribution shifts. We analyze these failures and identify Softmax, the scoring function in the attention mechanism, as a contributing factor. We propose \\textbf{Scaled Signed Averaging (SSA)}, a nov...","url_abs":"https://arxiv.org/abs/2508.14685","url_pdf":"https://arxiv.org/pdf/2508.14685v4","authors":"[\"Omar Naim\",\"Swarnadeep Bhar\",\"Jérôme Bolte\",\"Nicholas Asher\"]","published":"2025-08-20T13:01:34Z","proceeding":"cs.CL","tasks":"[\"cs.CL\"]","methods":"[\"Transformer\"]","has_code":false}
