English Reference

Word

softmax

Definition

n. a mathematical formula that converts a list of raw numbers into probabilities that add up to one hundred percent.

n. a normalized exponential function that maps an arbitrary K-dimensional vector of real values to a valid probability distribution over K choices.

Examples

“Applying softmax turned the model's raw scores into clear percentage chances for each word.”

“The attention mechanism in transformers uses softmax to weight which tokens to focus on.”

“When logits differ by large margins, the softmax function behaves like a differentiable hard-max, collapsing probability onto the dominant element.”

Examples

simple

“Applying softmax turned the model's raw scores into clear percentage chances for each word.”

contextual

“The attention mechanism in transformers uses softmax to weight which tokens to focus on.”

complex

“When logits differ by large margins, the softmax function behaves like a differentiable hard-max, collapsing probability onto the dominant element.”

Real-World Examples

“Softmax converts a list of attention scores into a probability distribution: numbers between 0 and 1 that sum to 1: so the model can decide how much weight to give each word.”
The Neural Base 28 Sept 2024
“In standard attention, which we call soft attention, the attention weights are computed by the softmax function and cannot be exactly 0 (unless there is masking) or exactly 1 (unless there is only one position).”
aclanthology.org 28 Sept 2026
“These logits are transformed into probabilities through a softmax.”
The New Stack 27 Jun 2025

Etymology

Coined by British computer scientist John S. Bridle in 1989 for a smooth, continuously differentiable mathematical approximation to the maximum ('arg max') function.

Etymology adapted from Wiktionary, available under CC BY-SA 4.0.

Domains

AIComputing

This entry

Exam level
CambridgeCambridgeCambridge English QualificationsThe exam suite from Cambridge University Press & Assessment, from A1 Movers up to C2 Proficiency. The benchmark names double as CEFR labels.C1 AdvancedIELTSIELTSInternational English Language Testing SystemThe 0–9 band test co-owned by the British Council, IDP, and Cambridge. Used for university entry, work, and migration.7.0–8.0TOEFL iBTTOEFL iBTTest of English as a Foreign Language, Internet-Based TestETS's academic English test, the standard route for US university admissions. Scored 0–120, with a 1–6 scale since 2026.1–6 scale: 5.0–5.595–113TOEICTOEICTest of English for International CommunicationETS's workplace English test, big in Japan and Korea. Listening & Reading scores 10–990 and tops out at C1.945–990EikenEikenTest in Practical English ProficiencyThe English proficiency test from the Eiken Foundation of Japan, widely taken by Japanese students. Grades run from 5 to 1, with Pre-1 and Pre-2 between them.Grade 1
Level
C1 · Advanced
Updated

QR code

englishreference.com/q/softmax

English Reference