# Pay Attention to Those Sets! Learning Quantification from Images

**Authors:** Ionut Sorodoc, Sandro Pezzelle, Aur\'elie Herbelot, Mariella, Dimiccoli, Raffaella Bernardi

arXiv: 1704.02923 · 2017-04-11

## TL;DR

This paper investigates how current vision-language models learn quantifiers like 'few' or 'most' from images, highlighting the effectiveness of attention mechanisms and the importance of gist representations in set-based reasoning.

## Contribution

It demonstrates that attention-based models with formal linguistic quantifier representations excel at learning quantification from images, emphasizing the role of gist in the process.

## Key findings

- Attention mechanisms outperform traditional methods in quantification tasks.
- Gist representations significantly aid in understanding set proportions.
- Precise set composition identification may hinder quantification performance.

## Abstract

Major advances have recently been made in merging language and vision representations. But most tasks considered so far have confined themselves to the processing of objects and lexicalised relations amongst objects (content words). We know, however, that humans (even pre-school children) can abstract over raw data to perform certain types of higher-level reasoning, expressed in natural language by function words. A case in point is given by their ability to learn quantifiers, i.e. expressions like 'few', 'some' and 'all'. From formal semantics and cognitive linguistics, we know that quantifiers are relations over sets which, as a simplification, we can see as proportions. For instance, in 'most fish are red', most encodes the proportion of fish which are red fish. In this paper, we study how well current language and vision strategies model such relations. We show that state-of-the-art attention mechanisms coupled with a traditional linguistic formalisation of quantifiers gives best performance on the task. Additionally, we provide insights on the role of 'gist' representations in quantification. A 'logical' strategy to tackle the task would be to first obtain a numerosity estimation for the two involved sets and then compare their cardinalities. We however argue that precisely identifying the composition of the sets is not only beyond current state-of-the-art models but perhaps even detrimental to a task that is most efficiently performed by refining the approximate numerosity estimator of the system.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1704.02923/full.md

## Figures

17 figures with captions in the complete paper: https://tomesphere.com/paper/1704.02923/full.md

## References

53 references — full list in the complete paper: https://tomesphere.com/paper/1704.02923/full.md

---
Source: https://tomesphere.com/paper/1704.02923