Goto

Collaborating Authors

 lindeberg


Scale-invariant scale-channel networks: Deep networks that generalise to previously unseen scales

arXiv.org Artificial Intelligence

The ability to handle large scale variations is crucial for many real world visual tasks. A straightforward approach for handling scale in a deep network is to process an image at several scales simultaneously in a set of scale channels. Scale invariance can then, in principle, be achieved by using weight sharing between the scale channels together with max or average pooling over the outputs from the scale channels. The ability of such scale channel networks to generalise to scales not present in the training set over significant scale ranges has, however, not previously been explored. In this paper, we present a systematic study of this methodology by implementing different types of scale channel networks and evaluating their ability to generalise to previously unseen scales. We develop a formalism for analysing the covariance and invariance properties of scale channel networks, and explore how different design choices, unique to scaling transformations, affect the overall performance of scale channel networks. We first show that two previously proposed scale channel network designs do not generalise well to scales not present in the training set. We explain theoretically and demonstrate experimentally why generalisation fails in these cases. We then propose a new type of foveated scale channel architecture}, where the scale channels process increasingly larger parts of the image with decreasing resolution. This new type of scale channel network is shown to generalise extremely well, provided sufficient image resolution and the absence of boundary effects. Our proposed FovMax and FovAvg networks perform almost identically over a scale range of 8, also when training on single scale training data, and do also give improved performance when learning from datasets with large scale variations in the small sample regime.


Scale-invariant Gaussian derivative residual networks

arXiv.org Artificial Intelligence

Generalisation across image scales remains a fundamental challenge for deep networks, which often fail to handle images at scales not seen during training (the out-of-distribution problem). In this paper, we present provably scale-invariant Gaussian derivative residual networks (GaussDerResNets), constructed out of scale-covariant Gaussian derivative residual blocks coupled in cascade, aimed at addressing this problem. By adding residual skip connections to the previous notion of Gaussian derivative layers, deeper networks with substantially increased accuracy can be constructed, while preserving very good scale generalisation properties. Explicit proofs are provided for the underlying scale-covariant and scale-invariant properties in arbitrary dimensions. To analyse the ability of GaussDerResNets to generalise to new scales, we apply them on a new rescaled version of the STL-10 dataset, where training is done at a single fixed scale and evaluation is performed on copies of the test set, each rescaled to a distinct spatial scale, with scale factors extending over a range of 4. We also conduct similar systematic experiments on the rescaled versions of Fashion-MNIST and CIFAR-10 datasets, and the existing STIR datasets. Experimentally, we demonstrate that the GaussDerResNets have strong scale generalisation and scale selection properties on all the four considered datasets with scaling variations. In our ablation studies, we investigate different architectural variants of GaussDerResNets, demonstrating that basing the architecture on depthwise-separable convolutions reduces the number of parameters and computations, with reasonably maintained accuracy and scale generalisation. We conclude by outlining how the proposed GaussDerResNets can be extended to joint local spatial and scale selection, to address the topic of multi-object detection in a provably scale-invariant manner.


Covariant spatio-temporal receptive fields for neuromorphic computing

arXiv.org Artificial Intelligence

Brain-inspired neuromorphic algorithms and hardware are heralded as a possible successor to current computational devices and algorithms [Mead, 2023, Schuman et al., 2022]. Mathematical models that approximate biological neuron dynamics are known for their computational expressivity [Maass, 1997] and neuromorphic chips have shown to operate faster and with much less energy than computers based on the von Neumann architecture [Mead, 2023]. These "biomorphic" neural systems are decentralized and sparsely connected, which renders most sequential algorithms designed for present computers intractable. A few classical algorithmic problems have successfully been recast to neuromorphic hardware, such as MAXCUT [Theilman and Aimone, 2023] and signal demodulation [Arnold et al., 2023], but no neuromorphic algorithm or application has, yet, been able to perform better than digital deep learning techniques [Schuman et al., 2022]. Before we can expect to exploit the possible advantages of neuromorphic systems, we must first discover a theory that accurately describe these systems with a similar precision as we have seen for digital computations [Aimone and Parekh, 2023]. Without such a theoretical framework, neuromorphic systems will routinely be outperformed by dense and digital deep learning models [Tayarani-Najaran and Schmuker, 2021]. Scale-space theory studies signals across scales [Koenderink, 1984] and has been widely applied in computer vision [Lindeberg, 1994], and, recently, deep learning [Jacobsen et al., 2016, Worrall and Welling, 2019, Lindeberg, 2022]. Lindeberg presented a computational theory for visual receptive fields that leverages symmetry properties over space and time [Lindeberg, 2013], which is appealing from two perspectives: it provides a normative view on visual processarXiv:2405.00318v2


Scale-covariant and scale-invariant Gaussian derivative networks

arXiv.org Artificial Intelligence

This paper presents a hybrid approach between scale-space theory and deep learning, where a deep learning architecture is constructed by coupling parameterized scale-space operations in cascade. By sharing the learnt parameters between multiple scale channels, and by using the transformation properties of the scale-space primitives under scaling transformations, the resulting network becomes provably scale covariant. By in addition performing max pooling over the multiple scale channels, a resulting network architecture for image classification also becomes provably scale invariant. We investigate the performance of such networks on the MNISTLargeScale dataset, which contains rescaled images from original MNIST over a factor of 4 concerning training data and over a factor of 16 concerning testing data. It is demonstrated that the resulting approach allows for scale generalization, enabling good performance for classifying patterns at scales not present in the training data.


Provably scale-covariant networks from oriented quasi quadrature measures in cascade

arXiv.org Artificial Intelligence

This article presents a continuous model for hierarchical networks based on a combination of mathematically derived models of receptive fields and biologically inspired computations. Based on a functional model of complex cells in terms of an oriented quasi quadrature combination of first- and second-order directional Gaussian derivatives, we couple such primitive computations in cascade over combinatorial expansions over image orientations. Scale-space properties of the computational primitives are analysed and it is shown that the resulting representation allows for provable scale and rotation covariance. A prototype application to texture analysis is developed and it is demonstrated that a simplified mean-reduced representation of the resulting QuasiQuadNet leads to promising experimental results on three texture datasets.