Attention Pooling
Definition
Bringing together several representations based on learned attention weights.
Attention-Pooling combines several representations into an overall description. A model determines weights and thus forms, for example, a weighted sum. In multiple instance learning, a group of individual examples can be classified together.
Simply explained
Several contributions result in a summary, with some contributions counting more.
Why it matters in practice
Helps to understand the merging of different important inputs in a model.
Example from business
Example scenario: An image model combines representations of several image sections into a common classification.
Limits and pitfalls
- Confuse weights with causality; compare weights for different inputs unchecked; view pooling as storing all individual information.
Origin & history
In 2018, Ilse, Tomczak and Welling published an attention-based, permutation-invariant aggregation for multiple instance learning.
Use in mid-sized companies
- For own model projects, it makes sense if groups of individual examples are to be combined into one result.
Frequently asked questions
Is that the same as a simple mean?
Not necessarily, the weights can be learned.
Are High Weights a Causal Proof?
No.
Sources
- Tomczak und Welling, Attention-based Deep Multiple Instance Learning (2018) · Ilse, Tomczak und Welling, Attention-based Deep Multiple Instance Learning (2018)
Source check: 09.10.2026. Definition and documented classification verified; examples describe possible applications.
Editorially reviewed on: