Understanding image representations by measuring their equivariance and equivalence
Karel Lenc, Andrea Vedaldi
TL;DR
The paper formalizes image representations through the notions of equivariance, invariance, and equivalence, and develops empirical methods to measure and exploit these properties. It introduces transformation and stitching layers to learn how representations respond to image transforms and how different representations can be stitched together, respectively. Across shallow descriptors like HOG and deep CNN layers, it shows that early layers are largely equivariant and interchangeable, while deeper layers become more task-specific, yet useful equivalence relations persist. The proposed framework enables practical benefits, notably accelerating structured-output regression by exploiting learned equivariant mappings.
Abstract
Despite the importance of image representations such as histograms of oriented gradients and deep Convolutional Neural Networks (CNN), our theoretical understanding of them remains limited. Aiming at filling this gap, we investigate three key mathematical properties of representations: equivariance, invariance, and equivalence. Equivariance studies how transformations of the input image are encoded by the representation, invariance being a special case where a transformation has no effect. Equivalence studies whether two representations, for example two different parametrisations of a CNN, capture the same visual information or not. A number of methods to establish these properties empirically are proposed, including introducing transformation and stitching layers in CNNs. These methods are then applied to popular representations to reveal insightful aspects of their structure, including clarifying at which layers in a CNN certain geometric invariances are achieved. While the focus of the paper is theoretical, direct applications to structured-output regression are demonstrated too.
