Overcoming Statistical Shortcuts for Open-ended Visual Counting

06/17/2020
by   Corentin Dancette, et al.
12

Machine learning models tend to over-rely on statistical shortcuts. These spurious correlations between parts of the input and the output labels does not hold in real-world settings. We target this issue on the recent open-ended visual counting task which is well suited to study statistical shortcuts. We aim to develop models that learn a proper mechanism of counting regardless of the output label. First, we propose the Modifying Count Distribution (MCD) protocol, which penalizes models that over-rely on statistical shortcuts. It is based on pairs of training and testing sets that do not follow the same count label distribution such as the odd-even sets. Intuitively, models that have learned a proper mechanism of counting on odd numbers should perform well on even numbers. Secondly, we introduce the Spatial Counting Network (SCN), which is dedicated to visual analysis and counting based on natural language questions. Our model selects relevant image regions, scores them with fusion and self-attention mechanisms, and provides a final counting score. We apply our protocol on the recent dataset, TallyQA, and show superior performances compared to state-of-the-art models. We also demonstrate the ability of our model to select the correct instances to count in the image. Code and datasets are available: https://github.com/cdancette/spatial-counting-network

READ FULL TEXT

page 8

page 16

research
03/12/2019

Counting Polygon Triangulations is Hard

We prove that it is #P-complete to count the triangulations of a (non-si...
research
04/16/2021

Learning To Count Everything

Existing works on visual counting primarily focus on one specific catego...
research
06/02/2023

Open-world Text-specified Object Counting

Our objective is open-world object counting in images, where the target ...
research
08/15/2019

From Open Set to Closed Set: Counting Objects by Spatial Divide-and-Conquer

Visual counting, a task that predicts the number of objects from an imag...
research
04/21/2023

Can SAM Count Anything? An Empirical Study on SAM Counting

Meta AI recently released the Segment Anything model (SAM), which has ga...
research
12/11/2021

Object Counting: You Only Need to Look at One

This paper aims to tackle the challenging task of one-shot object counti...
research
07/27/2021

Uniformity in Heterogeneity:Diving Deep into Count Interval Partition for Crowd Counting

Recently, the problem of inaccurate learning targets in crowd counting d...

Please sign up or login with your details

Forgot password? Click here to reset