Local counts, or the number of objects in a local area, is a continuous value by nature. Yet recent state-of-the-art methods show that formulating counting as a classification task performs better than regression. Through a series of experiments on carefully controlled synthetic data, we show that this counter-intuitive result is caused by imprecise ground truth local counts. Factors such as biased dot annotations and incorrectly matched Gaussian kernels used to generate ground truth counts introduce deviations from the true local counts. Standard continuous regression is highly sensitive to these errors, explaining the performance gap between classification and regression. To mitigate the sensitivity, we loosen the regression formulation from a continuous scale to a discrete ordering and propose a novel discrete-constrained (DC) regression. Applied to crowd counting, DC-regression is more accurate than both classification and standard regression on three public benchmarks. A similar advantage also holds for the age estimation task, verifying the overall effectiveness of DC-regression.
翻译:本地计数或本地区域天体数是自然的连续值。 但最近的最先进的方法显示,作为分类任务进行计数比回归要好。 通过对仔细控制的合成数据进行的一系列实验,我们表明,这种反直觉的结果是由不精确的地面真象局部计数造成的。 偏差点注解和错误匹配的高斯内核等用于生成地面真象计数的因素与真实的本地计数产生偏差。 标准连续回归对于这些错误非常敏感,可以解释分类和回归之间的性能差距。 为了减轻敏感度,我们将回归公式从连续的尺度调整为离散的顺序,并提出一种新的离散(DC)回归。应用到人群计数,DC反差点比三种公共基准的分类和标准回归都准确。 同样的优势也适用于年龄估计任务,核查DC回归的总体效果。