원시데이터 수집 시스템
선정목록으로

Exploring the ability of CNNs to generalise to previously unseen scales over wide scale ranges

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Jansson, Ylva
  2. Lindeberg, Tony
DOI
10.48550/arxiv.2004.01536
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.2004.01536
토픽
Semiconductor Quantum Structures and Devices
OpenAlex ID
W6929465742

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

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. We, therefore, present a theoretical analysis of invariance and covariance properties of scale channel networks and perform an experimental evaluation of the ability of different types of scale channel networks to generalise to previously unseen scales. We identify limitations of previous approaches and propose a new type of foveated scale channel architecture, where the scale channels process increasingly larger parts of the image with decreasing resolution. 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 improvements in the small sample regime.

본문 89,619자

본문 펼치기
# Exploring the ability of CNNs to generalise to previously unseen scales over wide scale ranges Ylva Jansson and Tony Lindeberg Computational Brain Science Lab, Division of Computational Science and Technology KTH Royal Institute of Technology, Stockholm, Sweden _Abstract_ —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. We, therefore, present a theoretical analysis of invariance and covariance properties of scale channel networks and perform an experimental evaluation of the ability of different types of scale channel networks to generalise to previously unseen scales. We identify limitations of previous approaches and propose a new type of _foveated_ _scale_ _channel_ _architecture_ , where the scale channels process increasingly larger parts of the image with decreasing resolution. 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 improvements in the small sample regime. I. INTRODUCTION Scaling transformations are as pervasive in natural image data as translations. In any natural scene, the size of the projection of an object on the retina or a digital sensor varies continuously with the distance between the object and the observer. Convolutional neural networks (CNNs) already encode structural assumptions about translation invariance and locality. A vanilla CNN is, however, not designed for multiscale processing, since the fixed size of the filters together with the depth and max-pooling strategy applied implies a preferred scale. Encoding structural priors about visual transformations, including scale or affine invariance, is an integrated part of a range of successful classical computer vision approaches. There is also a growing body of work on invariant CNNs, especially concerning invariance to 2D/3D rotations and flips (see e.g. [1]–[3]). The possibilities for CNNs to generalise to previously unseen scales have, however, not been well explored. We propose that structural assumptions about scale could, similarly to translation covariance, be a useful prior in convolutional neural networks. _Scale-invariant_ _CNNs_ could enable both multi-scale processing and predictable behaviour when encountering objects at novel scales, without the need to fully span all possible scales in the training set. Shortened version in International Conference on Pattern Recognition (ICPR 2020), pages 1181-1188, Jan 2021. The support from the Swedish Research Council (contract 2018-03586) is gratefully acknowledged. One of the simplest CNN architectures used for covariant and invariant image processing is a channel network (also referred to as siamese network) [3]. In such an architecture, transformed copies of the input image are processed in parallel by different “channels” (subnetworks) corresponding to a set of image transformations. If combined with weight sharing and max or average pooling over the output from the channels, this approach can enable invariant recognition for finite transformation groups. An _invariant scale channel network_ is a natural extension of invariant channel networks for rotations [3]. It can equivalently be seen as a way of extending ideas underlying the classical scale-space methodology [4]–[11] to deep learning. It should be noted that a channel architecture for scale-invariant recognition poses additional challenges compared to recognition over finite groups. First, scaling transformations are, as opposed to 2D or 3D rotations, not a compact group (intuitively, there is no smallest or largest scale). Second, scaling implies a change in image size and resolution for discrete image data. The subject of this paper is to investigate the possibility for CNNs to generalise to previously unseen scales by means of a scale channel architecture. _A._ _Contribution_ _and_ _novelty_ The key contributions of our work are as follows: _•_ We perform a theoretical analysis of invariance and covariance properties of scale channel networks. _•_ We present a new family of invariant foveated scale channel networks. _•_ We evaluate different types of scale channel networks and a standard CNN on the task of _scale_ _generalisation_ _over_ _wide_ _scale_ _ranges_, using a new variation of the MNIST dataset with large scale variations. _•_ We demonstrate inherent limitations of previous scale channel approaches. _•_ We show that our proposed foveated networks can enable very good generalisation to unseen scales and improvements in the small sample regime. This is, to our knowledge, the first study to evaluate and demonstrate means for CNNs to _generalise_ _to_ _unseen_ _scales_ _over_ _significant_ _scale_ _ranges_ . _B._ _Related_ _work_ In classical scale-space theory [4]–[11], a multi-scale representation of an input image is created by convolving the image with a set of rescaled Gaussian kernels and Gaussian derivative filters, which are then often combined in non-linear ways. The scale channel networks described in this paper can be seen as an extension of this philosophy of processing an image _at_ _all_ _scales_ _simultaneously_, but using deep non-linear feature extractors learned from data. CNNs can give impressive performance but they are sensitive to scale variations. Performance degrades for scales not present in the training set [12]–[14], different network structure is optimal for small vs large images [14] and it is possible to construct adversarial examples by means of small translations rotations and scalings [12], [13]. State-of-the-art CNN based object detection approaches all employ different mechanisms to deal with scale variability, e.g. branching off classifiers at different depths [15], learning to transform the input or the filters [16], [17], or using different types of image pyramids [18]–[20]. The goal of these approaches has, however, not been to generalise to _previously_ _unseen_ _scales_ and they lack the structure necessary for true scale invariance. Examples of handcrafted scale invariant hierarchical descriptors are [21], [22]. We are, here, interested in combining scale invariance with learning. There exist some previous work aimed explicitly at scale invariant recognition in CNNs [23]–[26]. These approaches have, however, either not been evaluated for the task of generalisation to scales _not_ _present_ _in_ _the_ _training_ _set_ [24]–[26] or only across a very limited scale range [23]. Previous scale channel networks exist, but are explicitly designed for multi-scale processing [27], [28] rather than scale invariance or have not been evaluated with regard to their ability to generalise to unseen scales over any significant scale range [18], [23]. II. THEORY In this section, we will introduce a mathematical framework for scale channel networks based on a continuous model of the image space. This model enables straightforward analysis of the covariance and invariance properties of the channel networks that are later approximated in a discrete implementation. We, here, generalise previous analysis of invariance properties of channel networks [3] to scale channel networks. We further analyse covariance properties and additional options for aggregating information across transformation channels. _A._ _Images_ _and_ _image_ _transformations_ We consider images _f_ : R <sup>_N_</sup> _→_ R that are measurable functions in _L∞_ (R <sup>_N_</sup> ) and denote this space of images as _V_ . A _group of image transformations_ corresponding to a group _G_ is a family of image transformations _Tg_ ( _g_ _∈_ _G_ ) with a group structure. We denote the combination of two group elements _g, h_ _∈_ _G_ by _gh_ and the cardinality of _G_ as _|G|_ . Formally, a group _G_ induces an _action_ _on_ _functions_ by acting on the underlying space on which the function is defined (here the image domain). We are here interested in the group of _uniform_ _scalings_ around _x_ 0 with the group action ( _Ss,x_ 0 _f_ )( _x_ <sup>_′_</sup> ) = _f_ ( _x_ ), _x_ <sup>_′_</sup> = _Ss_ ( _x −_ _x_ 0) + _x_ 0 _,_ (1) where _Ss_ = diag( _s_ ). For simplicity, we often assume _x_ 0 = 0 and denote _Ss,_ 0 as _Ss_ corresponding to ( _Ssf_ )( _x_ ) = _f_ ( _Ss_ <sup>_−_</sup> <sup>1</sup> <sup>_x_</sup> <sup>) =</sup> <sup>_fs_</sup> <sup>(</sup> <sup>_x_</sup> <sup>)</sup> <sup>_._</sup> (2) We will also consider the translation group with the action (where _δ_ _∈_ R <sup>_N_</sup> ) ( _Dδf_ )( _x_ <sup>_′_</sup> ) = _f_ ( _x_ ), _x_ <sup>_′_</sup> = _x_ + _δ._ (3) _B._ _Invariance_ _and_ _covariance_ Consider a general feature extractor Λ : _V_ _→_ K that maps an image _f_ _∈_ _V_ to a feature representation _y_ _∈_ K. In our continuous model, K will typically correspond to a set of _M_ feature maps (functions) so that Λ _f_ _∈_ _V_ <sup>_M_</sup> . This is a continuous analogue of a discrete convolutional feature map with _M_ features. A feature extractor Λ is _covariant_ to a transformation group _G_ (formally to the group action) if there exists an _input_ _independent_ transformation _T_ <sup>˜</sup> _g_ that can align the feature maps of a transformed image with those of the original image Λ( _Tgf_ ) = _T_ <sup>˜</sup> _g_ (Λ _f_ ) (4) for all _g_ _∈_ _G_ and _f_ _∈_ _V_ . Thus, for a covariant feature extractor it is possible to predict the feature maps of a transformed image from the feature maps of the original image. A feature extractor Λ is _invariant_ to a transformation group _G_ if the feature representation of a transformed image is _equal_ _to_ the feature representation of the original image Λ( _Tgf_ ) = Λ( _f_ ) (5) for all _g_ _∈_ _G_ and _f_ _∈_ _V_ . Invariance is thus a special case of covariance where _T_ <sup>˜</sup> _g_ is the identity transformation. _C._ _Continuous_ _model_ _of_ _a_ _CNN_ Let _φ_ : _V_ _→_ _V_ <sup>_Mk_</sup> denote a continuous CNN with _k_ layers and _Mi_ feature channels in layer _i_ . Let _θ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> represent the transformation between layers _i −_ 1 and _i_ such that ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _f_ )( _x, c_ ) = ( _θ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _θ_ <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> _· · · θ_ <sup>(2)</sup> _θ_ <sup>(1)</sup> _f_ )( _x, c_ ) _,_ (6) where _c ∈{_ 1 _,_ 2 _, . . . Mk}_ denotes the feature channel and _φ_ = _φ_ <sup>(</sup> <sup>_k_</sup> <sup>)</sup> . We model the transformation _θ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> between two adjacent layers _φ_ <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> _f_ and _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _f_ as a convolution followed by the addition of a bias term _bi,c_ _∈_ R and the application of a pointwise non-linearity _σi_ : R _→_ R: ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _f_ )( _x, c_ ) where _gm,c_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_∈_</sup> <sup>_L_</sup> 1 <sup>(R</sup> <sup>_N_</sup> <sup>)</sup> <sup>denotes</sup> <sup>the</sup> <sup>convolution</sup> <sup>kernel</sup> <sup>that</sup> propagates information from feature channel _m_ in layer _i −_ 1 to output feature channel _c_ in layer _i_ . A final fully connected classification layer with compact support can also be modelled as a convolution combined with a non-linearity _σk_ that represents _a_ _softmax_ _operation_ over the feature channels. _Mi−_ 1 _m_ =1 _ξ∈_ R <sup>_N_</sup> <sup>(</sup> <sup>_φ_</sup> <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x −_</sup> <sup>_ξ, m_</sup> <sup>)</sup> <sup>_g_</sup> _m,c_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>   (7) = _σi_   _m,c_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>(</sup> <sup>_ξ_</sup> <sup>)</sup> <sup>_dξ_</sup> <sup>+</sup> <sup>_bi,c_</sup> 2 Fig. 1: _Foveated_ _scale_ _channel_ _networks._ a) Foveated scale channel network that process an image of the digit 2. Since each scale channel has a fixed size receptive field/support region in the scale channels, they will together process input regions corresponding to varying sizes in the original image (circles of corresponding colors). b) This corresponds to a type of foveated processing, where the center of the image is processed with high resolution, which works well to detect small objects, while larger regions are processed using gradually reduced resolution, which enables detection of larger objects. c) There is a close similarity between this model and the foveal scale space model [29], which was motivated by a combination of regular scale space axioms with a complementary assumption of a uniform limited processing capacity at all scales. _D._ _Scale_ _channel_ _networks_ The key idea underlying _channel_ _networks_ is to process transformed copies of an input image in parallel, in a set of network “channels” (subnetworks) with shared weights. For finite transformation groups, such as discrete rotations, using one channel corresponding to each group element and applying max pooling over the channel dimension can give an invariant output code. For continuous but compact groups, invariance can instead be achieved for a discrete subgroup. The scaling group does, however, imply additional challenges, since it is neither finite nor compact. The key question that we address here, is whether a scale channel network can still support invariant recognition. We will define a multi-column _scale_ _channel_ _network_ Λ : _V_ _→_ _V_ <sup>_Mk_</sup> for the group of scaling transformations _S_ by using a single base network _φ_ : _V_ _→_ _V_ <sup>_Mk_</sup> to define a set of _scale_ _channels_ _{φs}s∈S_ ( _φsf_ )( _x, c_ ) = ( _φ Ssf_ )( _x, c_ ) = ( _φfs_ )( _x, c_ ) _,_ (8) where each channel thus applies exactly the same operation to a scaled copy of the input image (see Figure 1a). We will denote the mapping from the input image to the scale channel feature maps at depth _i_ as Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> : _V_ _→_ _V_ <sup>_Mi|S|_</sup> (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _f_ )( _x, c, s_ ) = ( _φ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>) = (</sup> <sup>_φ_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_Ssf_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> <sup>_._</sup> (9) A scale channel network invariant to the continuous group of uniform scaling transformations _S_ = _{s_ _∈_ R+ _}_ can be constructed using an _infinite_ set of scale channels _{φs}s∈S_ . The following analysis also holds for a set of scale channels corresponding to a discrete subgroup of the group of uniform scaling transformations such that _S_ = _{γ_ <sup>_i_</sup> _|i ∈_ Z _}_, _γ_ _>_ 1. The final output Λ _f_ from the scale channel network is an aggregation across the scale dimension of the last layer scale channel feature maps. In our theoretical treatment, we combine the output of the scale channels by the supremum (Λsup _f_ )( _x, c_ ) = sup [( _φsf_ )( _x, c, s_ )] _._ (10) _s∈S_ Other permutation invariant operators such as averaging operations, could also be used. For this construction, the network output will be invariant to _rescalings_ _around_ _x_ 0 = 0 _for_ _all_ _x_ such that (Λsup _f_ )( _x, c_ ) = (Λsup _Ssf_ )( _x, c_ ) (global scale invariance). This architecture is appropriate when characterising a single centered object that might vary in scale and it is the main architecture we explore in this paper. Alternatively, one may instead pool over _corresponding_ _image_ _points_ in the original image by operations of the form (Λ <sup>local</sup> sup _{_ ( _φsf_ )( _Ssx, c_ ) _}_ (11) <sup>local</sup> sup <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>) = sup</sup> _s∈S_ This descriptor instead has the invariance property (Λ <sup>local</sup> sup <sup>_f_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_, c_</sup> <sup>)</sup> = (Λ <sup>local</sup> sup <sup>_Ss,x_</sup> 0 <sup>_f_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>0</sup> <sup>_, c_</sup> <sup>)</sup> <sup>_for_</sup> <sup>_all_</sup> <sup>_x_</sup> <sup>0,</sup> <sup>i.e.</sup> when scaling around an arbitrary image point, the output _at_ _that_ _specific_ _point_ does not change (local scale invariance). This property makes it more suitable to describe scenes with multiple objects. _1)_ _Scale_ _covariance:_ Consider a scale channel network Λ (10) that expands the input over the group of uniform scaling transformations _S_ . We can relate the feature map representation Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> for a scaled image copy _Stf_ for _t_ _∈_ _S_ and its original _f_ in terms of operator notation as (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Stf_ )( _x, c, s_ ) = ( _φ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> <sup>_Stf_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> = ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Ss Stf_ )( _x, c_ ) = ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Sstf_ )( _x, c_ ) = ( _φ_ <sup>(</sup> _st_ <sup>_i_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>) = (Γ(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c, st_</sup> <sup>)</sup> <sup>_,_</sup> (12) where we have used the definitions (8) and (9) together with the fact that _S_ is a group. A scaling of an image thus only results in a multiplicative shift in the scale dimension of the feature maps. A more general and more rigorous proof using 3 an integral representation of a scale channel network is given in Section II-E. _2)_ _Scale_ _invariance:_ Consider the scale channel network Λsup (10) that selects the supremum over scales. We will show that Λsup is scale invariant i.e. that (Λsup _Stf_ )( _x, c_ ) = (Λsup _f_ )( _x, c_ ) _._ (13) (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _h_ )( _x, s, c_ ) = _{_ definition (9) _}_ = ( _φ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> <sup>_h_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> = _{_ definition (8) _}_ = ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _hs_ )( _x, c_ ) = _{_ equation (6) _}_ = ( _θ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _θ_ <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> _. . . θ_ <sup>(2)</sup> _θ_ <sup>(1)</sup> _hs_ )( _x, c_ ) = _{_ equation (7) _}_ _ξi∈_ R <sup>_N_</sup> <sup>_σi−_</sup> <sup>1</sup> <sup>_,mi_</sup>   _mi−_ 1=1 _Mi−_ 2   _Mi−_ 1 First, (12) gives _{φ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> <sup>(</sup> _s_ <sup>_i_</sup> <sup>)(</sup> <sup>_S_</sup> _t_ <sup>_f_</sup> <sup>)</sup> <sup>_}_</sup> _s∈S_ <sup>=</sup> <sup>_{φ_</sup> <sup>(</sup> _st_ <sup>_i_</sup> <sup>)</sup> _mi_ =1 First, (12) gives _{φ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)(</sup> <sup>_S_</sup> _t_ <sup>_f_</sup> <sup>)</sup> <sup>_}_</sup> _s∈S_ <sup>=</sup> <sup>_{φ_</sup> <sup>(</sup> _st_ <sup>_i_</sup> <sup>)(</sup> <sup>_f_</sup> <sup>)</sup> <sup>_}s∈S_</sup> <sup>.</sup> <sup>Then,</sup> <sup>we</sup> note that _{st}s∈S_ = _St_ = _S_ . This holds both in the case when _S_ = R+ and in the case when _S_ = _{γ_ <sup>_i_</sup> _|i_ _∈_ Z _}_ . Thus, we have = _σi,c_ _ξi−_ 1 _∈_ R <sup>_N_</sup> <sup>_. . ._</sup> _σ_ 1 _,m_ 2 - _M_ 0 _m_ 1=1 _ξ_ 1 _∈_ R <sup>_N_</sup> <sup>_hs_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_ξi −_</sup> <sup>_ξi−_</sup> <sup>1</sup> <sup>_−· · · −_</sup> <sup>_ξ_</sup> <sup>1)</sup> <sup>_×_</sup>   <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> <sup>_Stf_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> <sup>_}s∈S_</sup> <sup>=</sup> <sup>_{_</sup> <sup>(</sup> <sup>_φ_</sup> _st_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup>  _{_ ( _φ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> _st_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> <sup>_}s∈S_</sup> = _{_ ( _φ_ <sup>(</sup> _s_ <sup>_i_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> <sup>_}s∈S,_</sup> (14) _gm_ <sup>(1)</sup> 1 _,m_ 2 <sup>(</sup> <sup>_ξ_</sup> <sup>1)</sup> <sup>_dξ_</sup> <sup>1</sup>   _. . . gm_ <sup>(</sup> <sup>_i−_</sup> _i−_ <sup>1)</sup> 1 _,mi_ <sup>(</sup> <sup>_ξi−_</sup> <sup>1)</sup> <sup>_dξi−_</sup> <sup>1</sup> i.e. _the set_ of outputs from the scale channels for a transformed image is equal to the set of outputs from the scale channels for its original image. For any permutation invariant aggregation operator, such as the supremum, we have that _gm_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _i,c_ <sup>(</sup> <sup>_ξi_</sup> <sup>)</sup> <sup>_dξi_</sup>  _._ (19) _{_ ( _φ_ <sup>(</sup> _st_ <sup>_k_</sup> <sup>)</sup> (Λsup _Ssf_ )( _x, c_ ) = sup _s∈S_ <sup>(</sup> _st_ <sup>_k_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> <sup>_}_</sup> _{_ ( _φ_ <sup>(</sup> _s_ <sup>_k_</sup> <sup>)</sup> Under the scaling transformation (17), the part of the integrand _hs_ ( _x −_ _ξi −_ _ξi−_ 1 _−· · · −_ _ξ_ 1) transforms as follows: _hs_ ( _x −_ _ξi −_ _ξi−_ 1 _−· · · −_ _ξ_ 1) = _{hs_ ( _x_ ) = _h_ ( _Ss_ <sup>_−_</sup> <sup>1</sup> <sup>_x_</sup> <sup>)</sup> <sup>according</sup> <sup>to</sup> <sup>definition</sup> <sup>(2)</sup> <sup>_}_</sup> = _h_ ( _Ss_ <sup>_−_</sup> <sup>1(</sup> <sup>_x −_</sup> <sup>_ξi_</sup> <sup>_−_</sup> <sup>_ξi−_</sup> <sup>1</sup> <sup>_−· · · −_</sup> <sup>_ξ_</sup> <sup>1))</sup> = _{h_ ( _x_ ) = _f_ ( _St_ <sup>_−_</sup> <sup>1</sup> ( _x −_ _x_ 2) + _x_ 1) according to (18) _}_ = sup _s∈S_ <sup>(</sup> _s_ <sup>_k_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> <sup>_}_</sup> <sup>= (Λsup</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)</sup> <sup>_,_</sup> (15) and, thus, Λ is invariant to uniform rescalings. _E._ _Proof of scale and translation covariance using an integral_ _representation_ _of_ _a_ _scale_ _channel_ _network_ We, here, prove the transformation property (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _h_ )( _x, s, c_ ) = (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _f_ )( _x_ + _SsStx_ 1 _−_ _Stx_ 2 _, st, c_ ) (16) of the scale channel feature maps under a more general combined scaling transformation and translation of the form _h_ ( _x_ <sup>_′_</sup> ) = _f_ ( _x_ ) for _x_ <sup>_′_</sup> = _St_ ( _x −_ _x_ 1) + _x_ 2 (17) corresponding to _h_ ( _x_ ) = _f_ ( _St_ <sup>_−_</sup> <sup>1</sup> ( _x −_ _x_ 2) + _x_ 1) (18) using an integral representation of the deep network. In the special case when _x_ 1 = _x_ 2 = _x_ 0, this corresponds to a uniform scaling transformation around _x_ 0 (i.e. _Sx_ 0 _,s_ ). With _x_ 1 = _x_ 0 and _x_ 2 = _x_ 0 + _δ_, this corresponds to a scaling transformation around _x_ 0 followed by a translation _Dδ_ . Consider a deep network _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> (6) and assume the integral representation (7), where we for simplicity of notation incorporate the offsets _bi,c_ into the non-linearities _σi,c_ . By expanding the integral representation of the rescaled image _h_ (18), we have that that the feature representation in the scale channel network is given by (with _M_ 0 = 1 for a scalar input image): = _f_ ( _St_ <sup>_−_</sup> <sup>1</sup> _s_ <sup>_−_</sup> <sup>1((</sup> <sup>_x −_</sup> <sup>_ξi_</sup> <sup>_−_</sup> <sup>_ξi−_</sup> <sup>1</sup> <sup>_−· · · −_</sup> <sup>_ξ_</sup> <sup>1)</sup> <sup>_−_</sup> <sup>_Ssx_</sup> <sup>2</sup> <sup>+</sup> <sup>_SsStx_</sup> <sup>1)</sup> _t_ <sup>_−_</sup> <sup>1</sup> _Ss_ <sup>_−_</sup> <sup>1</sup> = _{SsSt_ = _Sst_ for scaling transformations _}_ = _f_ ( _Sst_ <sup>_−_</sup> <sup>1((</sup> <sup>_x_</sup> <sup>+</sup> <sup>_SsStx_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_Ssx_</sup> <sup>2</sup> <sup>_−_</sup> <sup>_ξi_</sup> <sup>_−_</sup> <sup>_ξi−_</sup> <sup>1</sup> <sup>_−· · · −_</sup> <sup>_ξ_</sup> <sup>1))</sup> = _{fst_ ( _x_ ) = _f_ ( _Sst_ <sup>_−_</sup> <sup>1</sup> <sup>_x_</sup> <sup>)</sup> <sup>according</sup> <sup>to</sup> <sup>definition</sup> <sup>(2)</sup> <sup>_}_</sup> = _fst_ ( _x_ + _SsStx_ 1 _−_ _Ssx_ 2 _−_ _ξi −_ _ξi−_ 1 _−· · · −_ _ξ_ 1) _._ (20) Inserting this transformed integrand into the integral representation (19) gives (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _h_ )( _x, s, c_ ) = _ξi∈_ R <sup>_N_</sup> <sup>_σi−_</sup> <sup>1</sup> <sup>_,mi_</sup>  _Mi−_ 2  _mi−_ 1=1 _ξi−_ 1 _∈_ R <sup>_N_</sup> <sup>_. . ._</sup> = _σi,c_   _Mi−_ 1 _mi_ =1 _ξ_ 1 _∈_ R <sup>_N_</sup> <sup>_fst_</sup> <sup>(</sup> <sup>_x_</sup> <sup>+</sup> <sup>_SsStx_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_Ssx_</sup> <sup>2</sup> <sup>_−_</sup> _ξi −_ _ξi−_ 1 _−· · · −_ _ξ_ 1) _×_    _σ_ 1 _,m_ 2 - _M_ 0 _m_ 1=1  _. . . gm_ <sup>(</sup> <sup>_i−_</sup> _i−_ <sup>1)</sup> 1 _,mi_ <sup>(</sup> <sup>_ξi−_</sup> <sup>1)</sup> <sup>_dξi−_</sup> <sup>1</sup> _gm_ <sup>(1)</sup> 1 _,m_ 2 <sup>(</sup> <sup>_ξ_</sup> <sup>1)</sup> <sup>_dξ_</sup> <sup>1</sup>  _gm_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _i,c_ <sup>(</sup> <sup>_ξi_</sup> <sup>)</sup> <sup>_dξi_</sup>  _,_ (21) 4 which we recognize as (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _h_ )( _x, s, c_ ) = ( _θ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _θ_ <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> _. . . θ_ <sup>(2)</sup> _θ_ <sup>(1)</sup> _fst_ )( _x_ + _SsStx_ 1 _−_ _Ssx_ 2 _, c_ ) = ( _φ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _fst_ )( _x_ + _SsStx_ 1 _−_ _Ssx_ 2 _, c_ ) = ( _φ_ <sup>(</sup> _st_ <sup>_i_</sup> <sup>)</sup> <sup>_f_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>+</sup> <sup>_SsStx_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_Ssx_</sup> <sup>2</sup> <sup>_, c_</sup> <sup>)</sup> = (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _f_ )( _x_ + _SsStx_ 1 _−_ _Ssx_ 2 _, st, c_ ) (22) and which proves the result. Note that for a pure translation ( _St_ = _I_, _x_ 1 = _x_ 0 and _x_ 2 = _x_ 0 + _δ_ ) this gives (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _Dδ f_ )( _x, c, s_ ) = (Γ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _f_ )( _x −_ _Ssδ, s, c_ ) _._ (23) Thus, translation covariance is preserved in the scale channel network but the magnitude of the spatial shift in the feature maps will depend on the scale channel. _F._ _Relations_ _to_ _scale-space_ _theory_ In classical scale-space theory [4]–[11], a multi-scale representation of an input image is created by convolving the image with a set of rescaled and normalised Gaussian kernels. The scale channel networks described in this paper are based on a similar philosophy of processing an image at _all_ _scales_ _simultaneously_, although _the_ _input_ _image_, as opposed to the filter, is expanded over scales. For continuous image data, a representation computed by applying a fixed size filter to a set of rescaled input images is computationally equivalent to applying a set of rescaled and scale-normalised filters to a fixed size input (as done when computing a Gaussian scalespace representation). The two representations are related through a _spatial_ _rescaling_ and an _inverse_ _mapping_ _of_ _the_ _scale_ _parameter_ _s_ _�→_ _s_ <sup>_−_</sup> <sup>1</sup> (see Appendix A). For discrete image data, a similar relation holds approximately, provided that the discrete rescaling operation is a sufficiently good approximation of the continuous rescaling operation. A key difference compared to classical scale-space representations is that _non-linear_ feature extractors _learned_ _from_ _data_ are used as opposed to the mathematically derived Gaussian derivatives and differential invariants. The outputs from the scale channels do, however, still constitute a _(non-linear)_ _scale-covariant_ _multi-scale_ _representation_, which implies that e.g. maxima over scale are preserved, although shifted to a different scale channel, when an input image is rescaled. The use of _supremum_, or for a discrete set of scale channels, _max-pooling_, (see further Section III) over the outputs of the scale channels is structurally similar to classical methods for _scale_ _selection_, which detect maxima over scale of scalenormalised filter responses [30], [31]. Here, max pooling is, however, done over more complex feature responses, already adapted to detect specific objects, while classical scale selection is performed in a class-agnostic way based on lowlevel features. This makes max-pooling in the scale channel networks also closely related to more specialized classical methods that detect maxima from the scales at which a supervised classifier delivers class labels with the highest posterior [32], [33]. Average pooling over the outputs of a discrete set of scale channels (Section III) is structurally similar to methods for scale selection that are based on _weighted_ _averages_ of filter responses at different scales [34], [35]. Although there is no guarantee that the learned non-linear features will, indeed, take maxima for relevant scales, one might expect training to promote this, since a failure to do so should be detrimental to the classification performance of these networks. In case the learned features correspond to partial _Gaussian_ _derivatives_ of some orders, then the application of these filters to all the scale channels is, in fact, computationally equivalent to applying corresponding _scale-normalised_ _Gaussian_ _derivatives_ to the original image (see Appendix B). III. DISCRETE SCALE CHANNEL NETWORKS Discrete scale channel networks are implemented by using a standard discrete CNN as the base network _φ_ . For practical applications, it is also necessary to restrict the network to include a finite number of scale channels _S_ <sup>ˆ</sup> = _{γ_ <sup>_i_</sup> _}−Kmin≤i≤Kmax_ . The input image _f_ : Z <sup>2</sup> _→_ R is assumed to be of finite support. The outputs from the scale channels are, here, aggregated using e.g. max pooling Λconc does not have any theoretical guarantees of invariance, but since scale concatenation of outputs from the scale channels has been previously used with the explicit aim of scale invariant recognition [23], we will evaluate it also here. _A._ _Foveated_ _processing_ A standard convolutional neural network _φ_ has a finite support region Ω in the input. When rescaling an input image of fixed size/finite support in the scale channels, it is necessary to decide how to process the resulting images of varying size using a feature extractor with fixed support. One option is to process regions of _constant_ _size_ in the scale channels corresponding to regions of _different_ _sizes_ in the input image. This results in _foveated_ _image_ _operations_, where a smaller region around the center of the input image is processed with high resolution, while gradually larger regions of the input image are processed with gradually reduced resolution (see Figure 1b-c). We will refer to the foveated network architectures Λmax, Λavg and Λconc as the FovMax network, the FovAvg network and the FovConc network respectively. _{_ ( _φsf_ )( _x, c, s_ ) _}_ (24) (Λmax _f_ )( _x, c_ ) = max _s∈S_ <sup>ˆ</sup> or average pooling (Λavg _f_ )( _x, c_ ) = avg _s∈S_ <sup>ˆ</sup> _{_ ( _φsf_ )( _x, c, s_ ) _}._ (25) We will also implement discrete scale channel networks that concatenate the outputs from the scale channels followed by an additional transformation _ϕ_ : R <sup>_Mi|_</sup> <sup>ˆ</sup> <sup>_S|_</sup> _→_ R <sup>_Mi_</sup> that mixes the information from the different channels (Λconc _f_ )( _x, c_ ) = _ϕ_ - [( _φs_ 1 _f_ )( _x, c_ ) _,_ ( _φs_ 2 _f_ )( _x, c_ ) _· · ·_ ( _φs|_ ˆ _S|_ <sup>_f_</sup> <sup>)(</sup> <sup>_x, c_</sup> <sup>)]</sup> _._ (26) 5 _B._ _Approximation_ _of_ _scale_ _invariance_ Foveated processing combined with max or average pooling will give an approximation of the scale invariance in the continuous model (Section II-D2) over _a_ _limited_ _scale_ _range_ . The numerical scale warpings of the input images in the scale channels approximate continuous scaling transformations. A discrete set of scale channels will approximate the representation for a continuous scale parameter. A possible issue is problems at the scale boundaries of a finite scale interval. Boundary effects can, however, be mitigated if the network learns to suppress responses for both very zoomed in and very zoomed out objects. If including a large enough number of scale channels and training the network from scratch, this is, in fact, a likely scenario, since the network will otherwise classify based on use of object views that will hardly provide useful information. _C._ _Sliding_ _window_ _processing_ _in_ _the_ _scale_ _channels_ An alternative option for dealing with varying image sizes is to, in each scale channel, process the entire rescaled image by applying the base network in _a_ _sliding_ _window_ _manner_ . The output from the scale channels can then be combined by max (or average) pooling over space followed by max (or average) pooling over scales digit might not be visible in the image. These scale values are nonetheless included to study the limits of generalisation. More details concerning this dataset are given in Appendix C. _B._ _Network_ _and_ _training_ _details_ _The standard CNN_ is composed of 8 conv-batchnorm-ReLU blocks followed by a fully connected layer and a final softmax layer. The number of features/filters in each layer is 16-16-1616-32-32-32-32-100-10. A stride of 2 is used in convolutional layers 2, 4, 6 and 8. The reason for using a quite deep network is to avoid a network structure that is heavily biased towards recognising either small or large digits. _The_ _FovMax,_ _FovAvg,_ _FovConc_ _and_ _SWMax_ <sup>1</sup> _scale_ _channel_ _networks_ are constructed using scale channels with 4 convbatchnorm-ReLU blocks followed by a fully connected layer and a final softmax layer. Rescaling within the scale channels is done with bilinear interpolation and applying border padding or cropping as needed. Batchnorm layers are shared across the scale channels. The number of features/filters in each layer is 16-16-32-32-100-10. A stride of 2 is used in convolutional layers 2 and 4. All scale channel architectures have around 70 000 parameters, while the baseline CNN has around 90 000 parameters. All networks are trained with 50 000 training samples from the MNIST Large Scale dataset for 20 epochs using the Adam optimiser. During training, 15 % dropout is applied to the first fully connected layer. The learning rate starts at 3 _e_ <sup>_−_</sup> <sup>3</sup> and decays with a factor 1 _/e_ every second epoch towards a minimum learning rate of 5 _e_ <sup>_−_</sup> <sup>5</sup> . Results are reported for the MNIST Large Scale test set (10 000 samples) as the average of training each network using three different random seeds. The remaining 10 000 samples constitute a validation set. Numerical performance scores for Figures 2–5 are given in Appendix D. _C._ _Generalisation_ _to_ _unseen_ _scales_ We, first, evaluate the ability of the standard CNN and the different scale channel networks to generalise to previously unseen scales. We train each network on each of the scales 1, 2, and 4 and evaluate the performance on the test set for scale factors between 1 _/_ 2 and 8. The FovMax, FovAvg and SWMax networks have 17 scale channels spanning the scale range [ <sup><u>1</u></sup> 2 <sup>_,_</sup> <sup>8]. The FovConc network has 3 scale channels spanning the</sup> scale range [1 _,_ 4]. <sup>2</sup> The results are presented in Figure 2. We, first, note that all networks achieve similar top performance for the scales seen during training. There are, however, large differences in the abilities of the networks to generalise to unseen scales: 1We noted that batchnorm impairs performance when training the SWMax network from scratch. We believe this is because the sliding window approach implies in a change in the feature distribution when processing data of different scales. We, therefore, train the SWMax network without batchnorm. 2The FovConc network performs considerably worse when including too many scale channels or spanning a too large scale range. Since we are more interested in the best case rather than the worst case scenario, we, here, picked the best network out of a large range of configurations. (Λ _sw,_ max _f_ )( _c_ ) = max _s∈S_ _s∈S_ _x_ <sup>max</sup> _∈_ Ω _s_ _x_ <sup>max</sup> _∈_ Ω _s_ <sup>_{_</sup> <sup>(</sup> <sup>_φsf_</sup> <sup>)(</sup> <sup>_x, c, s_</sup> <sup>)</sup> <sup>_},_</sup> (27) where Ω _s_ = _{sx|x_ _∈_ Ω _}_ . We will here only evaluate the architecture using max pooling, which is structurally similar to the popular multi-scale OverFeat detector [18]. This network will be referred to as the SWMax network. For this scale channel network to support invariance, it is not enough that boundary effects resulting from using a finite number of scale channels are mitigated. When processing regions in the scale channels corresponding to only a single region in the input image, new structures can appear (or disappear) in this region for a rescaled version of the original image. With a linear approach this might be expected to not cause problems. For a deep neural network, however, there is no guarantee that there cannot be strong erroneous responses for e.g. a partial view of a zoomed in object. We are, here, interested in studying the effects this has on generalisation in the deep learning context. IV. EXPERIMENTS _A._ _The_ _MNIST_ _Large_ _Scale_ _dataset_ To evaluate the ability of standard CNNs and scale channel networks to generalise to unseen scales over _a_ _wide_ _scale_ _range_, we have created a new version of the standard MNIST dataset [36]. This new dataset, _MNIST_ _Large_ _Scale_, which is available online [37], is composed of images of size 112 _×_ 112 with scale variations of a factor 16 for scale factors _s ∈_ [0 _._ 5 _,_ 8] relative to the original MNIST dataset. The train and test sets for the different scale factors are created by resampling the original MNIST training and test sets using bicubic interpolation followed by smoothing and soft thresholding to reduce discretization effects. Note that for scale factors _>_ 4, the full 6 100 80 60 40 20 <u>CNN tr1</u> CNN tr2 CNN tr4 100 80 60 40 20 0 <u>FovConc tr1</u> FovConc tr2 FovConc tr4 ~~CNN~~ 0.50 0.71 1.00 1.41 2.00 2.83 4.00 5.66 8.00 Scale factor (a) Standard CNN. 100 80 0.50 0.71 1.00 1.41 2.00 2.83 4.00 5.66 8.00 Scale factor (b) The FovConc network. 100 80 60 40 20 0 SWMax tr1 ~~SWMax tr2~~ SWMax tr4 <u>CNN</u> <u>FovMax tr1</u> FovMax tr2 ~~FovMax tr4~~ FovAvg tr1 FovAvg tr2 FovAvg tr4 CNN 60 40 20 0.50 0.71 1.00 1.41 2.00 2.83 4.00 5.66 8.00 Scale factor (c) The FovMax and FovAvg networks 0.50 0.71 1.00 1.41 2.00 2.83 4.00 5.66 8.00 Scale factor (d) The SWMax network Fig. 2: _Generalisation_ _ability_ _to_ _unseen_ _scales_ _for_ _a_ _standard_ _CNN_ _and_ _the_ _different_ _scale_ _channel_ _network_ _architectures_ . The networks are trained on digits of scale 1 (tr1), scale 2 (tr2) or scale 4 (tr4) and evaluated for varying rescalings of the test set. We note that the CNN (a) and the FovConc network (b) have poor generalisation ability to unseen scales, while the FovMax and FovAvg networks (c) generalise extremely well. The SWMax network (d) generalises considerably better than a standard CNN, but there is some drop in performance for scales not seen during training. _1)_ _Standard CNN:_ The standard CNN shows limited generalisation ability to unseen scales with a _√_ <u>large drop in accuracy</u> for scale variations larger than a factor 2. This illustrates that, while the network can recognise digits of all sizes, a vanilla CNN includes no structural prior to promote scale invariance. _2)_ _The_ _FovConc_ _network:_ The generalisation ability of the FovConc network is quite similar to that of the standard CNN, sometimes slightly worse. The reason for limited generalisation is that although the scale channels share weights, when simply concatenating the outputs from the scale channels there is no structural constraint to support invariance. This is consistent with our observation that spanning a too large scale range or using too many channels degrades generalisation for the FovConc network. For scales _not_ _present_ _during_ _training_, there is, simply, no useful training signal to learn the correct weights in the fully connected layers combining the scale channel outputs. Note that our results are not contradictory to those previously reported for a similar network structure [23], since they train on data that contain natural scale variations and test over a quite narrow scale range. What we do show, Fig. 3: _Varying_ _the_ _sampling_ _density_ _of_ _the_ _scale_ _channels._ FovMax and FovAvg networks spanning the scale range [ <sup><u>1</u></sup> 4 <sup>_,_</sup> <sup>8]</sup> are trained with varying spacing between the scale channels (2, 2 <sup>1</sup> <sup>_/_</sup> <sup>2</sup> and 2 <sup>1</sup> <sup>_/_</sup> <sup>4</sup> ). All networks are trained on scale 2. There is a significant increase in the performance when reducing the spacing between the scale channels from 2 to 2 <sup>1</sup> <sup>_/_</sup> <sup>2</sup> while the effect of a further reduction to 2 <sup>1</sup> <sup>_/_</sup> <sup>4</sup> is small. _3)_ _The_ _FovAvg_ _and_ _FovMax_ _networks:_ We note that the FovMax and FovAvg networks generalise very well, independently of which scale the network is trained on. The maximum however, is that this network structure is _not_ _scale_ _invariant_ . 99.5 99.0 98.5 98.0 97.5 0.50 0.71 1.00 1.41 2.00 2.83 4.00 5.66 8.00 Scale factor FovMax 2 FovMax 2 <sup>1/2</sup> FovMax 2 <sup>1/4</sup> FovAvg 2 FovAvg 2 <sup>1/2</sup> FovAvg 2 <sup>1/4</sup> 7 difference in performance in the scale range [1 _,_ 4] between training on scale 1, scale 2 or scale 4 is less than 0.2 percentage points for these network architectures. Importantly, this shows that, if including a large enough number of scale channels and training the networks from scratch, boundary effects at the scale boundaries do not prohibit invariant recognition. For the FovAvg and FovMax networks, we also investigate how densely it is necessary to sample the scale channels for good performance. The result is presented in Figure 3. Accuracy is considerably improved when decreasing the distance between consecutive channels from a factor 2 (5 channels) to a factor of 2 <sup>1</sup> <sup>_/_</sup> <sup>2</sup> (9 channels), while a further reduction to 2 <sup>1</sup> <sup>_/_</sup> <sup>4</sup> (17 channels) provide very small additional benefits. _4)_ _The SWMax network:_ We note that the SWMax network generalises considerably better than a standard CNN, but there is some drop in performance for scales not seen during training. We believe that the main reason for this is, here, that since all scale channels are processing a fixed sized region in the input image (as opposed to for foveated processing), new structures might leave or enter this region when an image is rescaled. This might lead to erroneous high responses for unfamiliar views (Section III-C). We also noted that the SWMax networks are harder to train (more sensitive to learning rate etc) compared to the foveated network architectures as well as more computationally expensive. Thus, while the FovMax and FovAvg networks still are easy to train and the performance is not degraded when spanning a large scale range, the SWMax network seems to work best for spanning a more limited scale range where fewer scale channels are needed (as was indeed the use case in [18]). _D._ _Multiscale_ _vs._ _single_ _scale_ _training_ All the scale channel architectures support multiscale processing although they might not support scale invariance. We, here, test the performance of the different scale channel networks when training on multiscale training data. For the FovMax, FovAvg and FovSW network, the same scale channel setup (17 channels) is used as for single scale training. For the FovConc network, 5 scale channels spanning the scale range [ <sup><u>1</u></sup> 2 <sup>_,_</sup> <sup>8]</sup> <sup>are</sup> <sup>used,</sup> <sup>since</sup> <sup>this</sup> <sup>setup</sup> <sup>gives</sup> <sup>better</sup> <sup>results</sup> <sup>compared</sup> to the previous setup with 3 channels. The results are presented in Figure 4. The difference between training on multiscale and single scale data is striking for the standard CNN and the FovConc network. It can, however, be noted that the FovConc network does generalise slightly better than a standard CNN outside the scale range it is trained on. For the SWMax network, including multiscale data improves generalisation somewhat for larger scales but impairs generalisation somewhat for smaller scales. The difference in generalisation ability between training on a single scale or multiscale image data is almost indiscernible for the FovMax and FovAvg networks. _E._ _Generalisation_ _from_ _fewer_ _training_ _samples_ Another scenario of interest is when the training data does span a relevant range of scales, but there are few training samples. Theory would predict a correlation between the performance in this scenario and the ability to generalise to unseen scales. To test this prediction, we trained the standard CNN and the different scale channel networks on multi scale training data spanning the scale range [1 _,_ 4], while gradually reducing the number of samples in the training set. Here, the same scale channel setup with 17 channels spanning the scale range [ <sup><u>1</u></sup> 2 <sup>_,_</sup> <sup>8] is used for all the architectures. The results are pre-</sup> sented in Figure 5. We note that the FovConc network shows some improvement over the standard CNN. The SWMax network, on the other hand, does not, and we hypothesise that when using fewer samples, the problem with partial views of objects (see Section III-C) might be more severe. Note that the way the OverFeat detector is used is the original study [18], is more similar to our single scale training scenario, since they use base networks pretrained on ImageNet. The FovAvg and FovMax networks show the highest robustness also in this scenario. This illustrates that these networks can give improvements when multiscale training data is available but there are few training samples. V. SUMMARY AND CONCLUSIONS We have presented a theoretical analysis of covariance and invariance properties of continuous scale channel networks. Moreover, we performed an experimental evaluation of different types of discrete scale channel networks on the task of generalising to unseen scales over wide scale ranges. The tested networks include a new family of scale channel networks that combine foveated processing with max or average pooling over the scale channels (the FovMax and FovAvg networks). The experimental evaluation illustrates the strong invariance properties of these networks in practice and limitations of previous approaches and vanilla CNNs. We believe that our proposed foveated scale channel networks will prove useful in situations where a simple approach that can generalise to unseen scales or learn from small datasets with large scale variations is needed. This type of foveated scale invariant processing could also be included as subparts in more complex frameworks dealing with large scale variations. A more overarching aim of this study have been to test the limits of CNNs to generalise to unseen scales over a wide scale range. The key take home message is a proof of concept that such generalisation is possible if including structural assumptions about scale in the network design. APPENDIX _A._ _Relations between_ _scale channel networks_ _and scale-space_ _theory_ We, here, discuss in more detail the relationship between the representations computed in a (continuous) scale channel network and the representations computed within classical scalespace theory. Although a multi-layer scale channel network will compute more complex non-linear features, it is enlightening to investigate whether the network could learn to express operations similar to those used within the classical scalespace paradigm. This will increase our confidence that scale 8 100 80 60 CNN tr1-4 FovConc tr1-4 ~~SWMax tr1-4~~ FovMax tr1-4 ~~FovAvg tr1-4~~ 100 80 60 0.50 0.71 1.00 1.41 2.00 2.83 4.00 5.66 8.00 Scale factor 0.50 0.71 1.00 1.41 2.00 2.83 4.00 5.66 8.00 Scale factor Fig. 4: _Multiscale image data._ All networks are trained on digits in the scale range [1 _,_ 4] (tr1-4) and evaluated for varying scale factors in the test set. The difference in generalisation ability between training on multiscale and single scale data (dotted lines) is striking for both the CNN and the FovConc network. For the FovMax and FovAvg networks, the difference is negligible between multiscale and single scale training, which illustrates the strong invariance properties of these networks. 100 90 80 70 60 50 FovAvg FovMax ~~FovConc~~ CNN <u>SW</u> 10000 5000 2000 1000 500 200 100 # Train samples Fig. 5: _Training_ _with_ _smaller_ _training_ _sets_ _with_ _large_ _scale_ _variations_ . All network architectures are evaluated on their ability to classify data with large scale variations while reducing the number of training samples. Both the training and test set here span the scale range [1 _,_ 4]. The FovAvg network shows the highest robustness when decreasing the number of training samples followed by the FovMax network. channel networks could be expected to work well together with e.g. max-pooling over scales. _1)_ _Preliminaries:_ In classical scale-space theory, a _scale-_ _space representation_ of an input image _f_ : R <sup>_N_</sup> _→_ R is defined as [7]: _L_ ( _x_ ; _σ_ ) = _u∈_ R <sup>_N_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_u_</sup> <sup>)</sup> <sup>_g_</sup> <sup>(</sup> <sup>_u_</sup> <sup>;</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_du,_</sup> (28) where _g_ : R <sup>_N_</sup> _×_ R <sup>+</sup> _→_ R denotes the (rotationally symmetric) Gaussian kernel <u>1</u> _g_ ( _x_ ; _σ_ ) = _~~√~~_ ( 2 transfers to such Gaussian derivatives, and these visual primitives have been widely used within the classical computer vision paradigm to construct scale-covariant and scale-invariant feature detectors and image descriptors [34], [38]–[46]. One way to achieve scale invariance is to first perform _scale_ _selection_ and then e.g. extract features at the identified scale. Scale selection can be done by comparing the magnitudes of _γ_ -normalised derivatives [30]: _∂ξα_ = _∂xα,γ−norm_ = _t_ <sup>_|α_</sup> <sup>[</sup> <sup>_γ/_</sup> <sup>2</sup> _∂xα_ = _σ_ <sup>_|α|γ_</sup> _∂xα_ (31) with _γ_ _∈_ [0 _,_ 1] as a free parameter and _|α|_ = _α_ 1 + _· · ·_ + _αN_ . Such derivatives are guaranteed to take maxima at scales corresponding to the relevant physical scales of objects in the image. We will here consider the maximally scale-invariant case with _γ_ = 1 _∂ξα_ = _σ_ <sup>_|α|_</sup> _∂xα_ (32) and show that scale channel networks will compute something similar to such scale-normalised derivatives. First, we will, however, consider the relationship between multi-scale representations computed by applying a set of _rescaled kernels_ to a single scale image and representations computed by applying the same kernel to a set of _rescaled_ _images_ . _2)_ _Scaling_ _the_ _image_ _vs_ _scaling_ _the_ _filter:_ Since the scalespace representation can be computed using a single convolutional layer we, here, compare with a single layer scalechannel network. We consider the relationship between representations computed by: (i) Applying a set of rescaled and scale-normalised filters (this corresponds to normalising filters to constant _L_ 1norm over scales) _h_ : R <sup>_N_</sup> _→_ R _~~√~~_ 2 _πσ_ ) <sup>_N_</sup> <sup>_e_</sup> _<u>−x</u>_ <sup>2</sup> 2 _σ_ <sup><u>2</u></sup> _,_ (29) (33) <sup>_<u>x</u>_</sup> _s_ <sup>)</sup> and we use _σ_ as the the _scale parameter_ compared to the more commonly used _t_ = _σ_ <sup>2</sup> . From this representation, a family of _Gaussian_ _derivatives_ can be computed as _Lxα_ ( _x_ ; _σ_ ) = _∂xα_ _L_ ( _x_ ; _σ_ ) = (( _∂xα_ _g_ ( _·_ ; _σ_ )) _∗_ _f_ ( _·_ ))( _x_ ) _,_ (30) where _n_ _∈_ Z and we use multi index notation _α_ = ( _α_ 1 _, · · · αN_ ) such that _∂xα_ = _∂xα_ 1 _· · · ∂xαN_ . The scalecovariance property of the scale-space representation also (34) where the subscript indicates that _h_ might not necessarily be a Gaussian kernel. If _h_ is a Gaussian then _Lh_ = _L_ . _hs_ ( _x_ ) = _s_ <sup><u>1</u></sup> _s_ <sup><u>1</u></sup> <sup>_N_</sup> <sup>_h_</sup> <sup>(</sup> <sup>_<u>x</u>_</sup> _s_ to a fixed size input image _f_ ( _x_ ): _Lh_ ( _x_ ; _s_ ) = ( _f_ _∗_ _hs_ )( _x_ ) = _u∈_ R <sup>_N_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_hs_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_u_</sup> <sup>)</sup> <sup>_du,_</sup> 9 (ii) Applying a fixed size filter _h_ to a set of rescaled input images _Mh_ ( _x_ ; _s_ ) = ( _fs ∗_ _h_ )( _x_ ) = _u∈_ R <sup>_N_</sup> <sup>_fs_</sup> <sup>(</sup> <sup>_u_</sup> <sup>)</sup> <sup>_h_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_u_</sup> <sup>)</sup> <sup>_du,_</sup> (35) with _fs_ ( _x_ ) = _f_ ( <sup>_<u>x</u>_</sup> _s_ <sup>_<u>x</u>_</sup> (36) _s_ <sup>)</sup> <sup>_._</sup> a representation computationally equivalent to a Gaussian scale-space representation. _B._ _Relation_ _between_ _scale_ _channel_ _networks_ _and_ _scale-_ _normalised_ _derivatives_ We, here, describe the relationship between scale channel networks and scale-normalised derivatives. Assume that a scale channel network in some layer learns a kernel that corresponds to _a_ _Gaussian_ _derivative_ . We will show that when this kernel is applied to all the scale channels this correspond to a normalisation over scales of the kernels that is equivalent to applying scale-normalised derivatives at different scales in a scale-space representation of the original image. _1)_ _Preliminaries:_ _Gaussian_ _derivatives_ _in_ _terms_ _of_ _Hermite_ _polynomials:_ As a preparation for the intended result, we will first establish a relation between Gaussian derivatives and probabilistic Hermite polynomials. The probabilistic Hermite polynomials _Hen_ ( _x_ ) are in 1-D defined by the relationship This is the representation computed by a single layer in a (continuous) scale channel network. It is straightforward to show that these representations are computationally equivalent and related by a family of scale dependent scaling transformations. We compute using the change of variables _u_ = _s v_, _du_ = _s_ <sup>_N_</sup> _dv_ : _Lh_ ( _x_ ; _s_ ) = ( _f_ _∗_ _hs_ )( _x_ ) _s_ <sup><u>1</u></sup> <sup>_N_</sup> <sup>_h_</sup> <sup>(</sup> <sup>_<u>u</u>_</sup> _s_ = = = = _u∈_ R <sup>_N_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_u_</sup> <sup>)</sup> _s_ <sup><u>1</u></sup> <sup>_N_</sup> _u∈_ R <sup>_N_</sup> <sup>_fs−_</sup> <sup>1(</sup> <sup>_<u>x</u>_</sup> _s_ <sup>_<u>x</u>_</sup> _s_ <sup>_−_</sup> <sup>_v_</sup> <sup>)</sup> <sup>_h_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_dv_</sup> <sup>_<u>u</u>_</sup> _s_ <sup>)</sup> <sup>_du_</sup> _s_ <sup><u>1</u></sup> <sup>_N_</sup> <sup>_h_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_sN_</sup> <sup>_dv_</sup> _u∈_ R <sup>_N_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_x −_</sup> <sup>_sv_</sup> <sup>)</sup> _s_ <sup><u>1</u></sup> <sup>_N_</sup> _Hen_ ( _x_ ) = ( _−_ 1) <sup>_n_</sup> _e_ <sup>_x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> _∂x_ <sup>_n_</sup> implying that (40) - _e_ <sup>_−x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2�</sup> _u∈_ R <sup>_N_</sup> <sup>_f_</sup> <sup>(</sup> <sup>_s_</sup> <sup>(</sup> <sup>_<u>x</u>_</sup> _s_ <sup>_<u>x</u>_</sup> _s_ <sup>_−_</sup> <sup>_v_</sup> <sup>))</sup> <sup>_h_</sup> <sup>(</sup> <sup>_v_</sup> <sup>)</sup> <sup>_dv_</sup> _∂xn_ = ( _−_ 1) <sup>_n_</sup> _Hen_ ( _x_ ) _e_ <sup>_−x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> (41) - _e_ <sup>_−x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2�</sup> = ( _fs−_ 1 _∗_ _h_ )( <sup>_<u>x</u>_</sup> _s_ and <sup>_<u>x</u>_</sup> (37) _s_ <sup>_, s−_</sup> <sup>1)</sup> <sup>_._</sup> Comparing this with (35) we see that the two representations are related according to _Lh_ ( _x_ ; _s_ ) = _Mh_ ( <sup>_<u>x</u>_</sup> (38) _s_ <sup>;</sup> <sup>_s−_</sup> <sup>1)</sup> <sup>_._</sup> We note that the relation (38) preserves _the_ _relative_ _scale_ between the filter and the image for each scale and that both representations are scale covariant. Thus, to convolve a set of rescaled images with a single scale filter, as done in the scale channel networks, is computationally equivalent to convolving an image with a set of rescaled filters that are _L_ 1-normalised over scale. The two representations are related through a _spatial rescaling_ and an _inverse mapping of the scale_ _parameter_ _s_ _�→_ _s_ <sup>_−_</sup> <sup>1</sup> . Note that it is straightforward to show, using the integral representation of a scale channel network (7), that a corresponding relation between scaling the image and scaling the filters holds for a multi-layer scale channel network as well. The result (38) implies that if a scale channel network learns a feature corresponding to a Gaussian with the standard deviation _σ_, then the representation computed by the scale channel network is computationally equivalent to applying the family of kernels (42) _σ_ <sup><u>1</u></sup> <sup>_n_</sup> <sup>_._</sup> = ( _−_ 1) <sup>_n_</sup> _Hen_ ( _σ_ <sup>_<u>x</u>_</sup> _σ_ <sup>_<u>x</u>_</sup> <sup>)</sup> <sup>_e−x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>2</sup> _σ_ <sup><u>1</u></sup> _∂x_ <sup>_n_</sup> - _e_ <sup>_−x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>2�</sup> Applied to a Gaussian function in 1-D, this implies that _∂xn_ ( _g_ ( _x_ ; _σ_ )) = <u>1</u> = _~~√~~_ _e_ <sup>_−x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>2�</sup> 2 _πσ_ <sup>_∂xn_</sup> <u>1</u> <u>(</u> _<u>−</u>_ <u>1)</u> <sup>_n_</sup> 2 _πσ_ _σ_ <sup>_n_</sup> <u>1</u> = _~~√~~_ <u>1)</u> <sup>_n_</sup> _Hen_ ( <sup>_<u>x</u>_</sup> _σ_ <sup>_n_</sup> _σ_ <sup>_<u>x</u>_</sup> _σ_ <sup>)</sup> <sup>_e−x_</sup> <sup>2</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>2</sup> = <sup><u>(</u></sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_n_</sup> <sup>_<u>x</u>_</sup> (43) _σ_ <sup>)</sup> <sup>_g_</sup> <sup>(</sup> <sup>_x_</sup> <sup>;</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_._</sup> <sup>_<u>−</u>_</sup> <sup><u>1)</u></sup> <sup>_n_</sup> _Hen_ ( <sup>_<u>x</u>_</sup> _σ_ <sup>_n_</sup> _σ_ _2)_ _Scaling_ _relationship_ _for_ _Gaussian_ _derivative_ _kernels:_ Let us assume that the scale channel network at some layer has learned a kernel that corresponds to a Gaussian partial derivative at some scale _σ_ : _∂x_ <sup>_α_</sup> _g_ ( _x_ ; _σ_ ) = = _∂x_ <sup>_α_</sup> 1 1 <sup>_α_</sup> 1 1 <sup>_xα_</sup> 2 <sup>2</sup> <sup>_...x_</sup> _αNN_ <sup>_g_</sup> <sup>(</sup> <sup>_x_</sup> <sup>;</sup> <sup>_σ_</sup> <sup>) =</sup> <sup>_gx_</sup> 1 <sup>_α_</sup> <sup>1</sup> 1 <sup>_α_</sup> <sup>1</sup> <sup>_xα_</sup> 2 <sup>2</sup> <sup>_...x_</sup> _αNN_ <sup>(</sup> <sup>_x_</sup> <sup>;</sup> <sup>_σ_</sup> <sup>)</sup> (44) For later convenience, we write this learned kernel as a scalenormalised derivative at scale _σ_ for _γ_ = 1 multiplied by some constant _C_ : _h_ ( _x_ ) = _C σ_ <sup>_α_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> _gx_ <sup>_α_</sup> 1 1 <sup>_xα_</sup> 2 <sup>2</sup> <sup>_...x_</sup> _αNN_ <sup>(</sup> <sup>_x_</sup> <sup>;</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_._</sup> (45) Then, the corresponding family of equivalent kernels _hs_ ( _x_ ) in the dual representation (34), which represents the same effect on the original image as applying the kernel _h_ ( _x_ ) to a set _hs_ ( _x_ ) = _s_ <sup><u>1</u></sup> <u>1</u> _~~√~~_ <sup>_<u>x</u>_</sup> _s_ <sup>) =</sup> ( 2 _πsσ_ _s_ <sup><u>1</u></sup> <sup>_N_</sup> <sup>_h_</sup> <sup>(</sup> <sup>_<u>x</u>_</sup> _s_ 2 _πsσ_ ) <sup>_N_</sup> <sup>_e_</sup> _~~√~~_ _<u>−x</u>_ <sup>2</sup> 2( _sσ_ ) <sup><u>2</u></sup> (39) to the original image, given the complementary scaling transformation (38) with its associated inverse mapping of the scale parameters _s �→_ _s_ <sup>_−_</sup> <sup>1</sup> . Since this is a family of rescaled and _L_ 1normalised Gaussians, the scale channel network will compute 10 of rescaled images _fs_ ( _x_ ) = _f_ ( _x/s_ ), provided that a complementary scaling transformation and the inverse mapping of the scale parameter _s �→_ _s_ <sup>_−_</sup> <sup>1</sup> are performed, is given by _n_ = _n_ 1 <u>+</u> _<u>n</u>_ <u>2 +</u> _<u>· · ·</u>_ <u>+</u> _<u>nN</u>_ <u>in direction</u> _e_ = ( _e_ 1 _, e_ 2 _, . . ., eN_ ) with _|e|_ = ~~�~~ _e_ <sup>2</sup> 1 <sup>+</sup> <sup>_e_</sup> <sup>2</sup> 2 <sup>+</sup> <sup>_· · ·_</sup> <sup>+</sup> <sup>_e_</sup> <sup>2</sup> _N_ <sup>= 1:</sup> _∂eng_ ( _x_ ; _σ_ ) = ( _e_ 1 _∂x_ 1 + _e_ 2 _∂x_ 2 + _· · ·_ + _eN ∂xN_ ) <sup>_n_</sup> _g_ ( _x_ ; _σ_ ) ~~�~~ _e_ <sup>2</sup> 1 <sup>2</sup> 1 <sup>+</sup> <sup>_e_</sup> <sup>2</sup> 2 <sup>+</sup> <sup>_· · ·_</sup> <sup>+</sup> <sup>_e_</sup> <sup>2</sup> _N_ <sup>= 1:</sup> _hs_ ( _x_ ) = _s_ <sup><u>1</u></sup> _s_ <sup><u>1</u></sup> <sup>_N_</sup> <sup>_h_</sup> <sup>(</sup> <sup>_<u>x</u>_</sup> _s_ <sup>_<u>x</u>_</sup> _s_ <sup>)</sup> - _n_ _α_ 1! _α_ 2! _. . ._ _αN_ ! _α_ 1+ _α_ 2+ _···_ + _αN_ = _n_ _α_ 1+ _α_ 2+ _···_ + _αN_ = _n_ = <sup>_<u>C</u>_</sup> _s_ 1 <sup>_α_</sup> <sup>1</sup> <sup>_xα_</sup> 2 <sup>2</sup> <sup>_...x_</sup> _αNN_ <sup>(</sup> <sup>_<u>x</u>_</sup> _s_ <sup>_<u>C</u>_</sup> _s_ <sup>_N_</sup> <sup>_σα_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN gx_</sup> 1 <sup>_α_</sup> <sup>1</sup> (46) <sup>_<u>x</u>_</sup> _s_ <sup>;</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_._</sup> = = _e_ <sup>_α_</sup> 1 <sup>1</sup> <sup>_α_</sup> 1 <sup>1</sup> <sup>_eα_</sup> 2 <sup>2</sup> <sup>_. . . eα_</sup> _N_ <sup>_N_</sup> <sup>_∂_</sup> _x_ <sup>_α_</sup> 1 <sup>1</sup> _x_ <sup>_α_</sup> 2 <sup>2</sup> <sup>_. . . ∂_</sup> _x_ <sup>_α_</sup> _N_ <sup>_N_</sup> <sup>_g_</sup> <sup>(</sup> <sup>_x_</sup> <sup>;</sup> <sup>_σ_</sup> <sup>)</sup> _x_ <sup>_α_</sup> 1 <sup>1</sup> <sup>_∂_</sup> _x_ <sup>_α_</sup> 2 <sup>2</sup> - _n_ _α_ 1! _α_ 2! _. . ._ _αN_ ! Using Eq. (43) with <sup>_α_</sup> 1 <sup>1</sup> <sup>_xα_</sup> 2 <sup>2</sup> <sup>_...x_</sup> _αNN_ <sup>(</sup> <sup>_x_</sup> <sup>;</sup> <sup>_σ_</sup> <sup>)</sup> <sup>_._</sup> (50) <u>1</u> _g_ ( _x_ ; _σ_ ) = _~~√~~_ ( 2 _πσ_ Since the scale normalisation factors _σ_ <sup>_|α|_</sup> for all scalenormalised partial derivatives of the same order _|α|_ = _α_ 1 + _α_ 2 + _· · ·_ + _αN_ = _n_ are the same, it follows that all linear combinations of partial derivatives of the same order are transformed by the same multiplicative scale normalisation factor, which proves the result. _C._ _The_ _MNIST_ _Large_ _Scale_ _dataset_ We, here, give a more detailed description of the _MNIST_ _Large Scale dataset_ . The original MNIST dataset [36] contains 28 _×_ 28 resolution images of centered handwritten digits. The MNIST Large Scale dataset is derived from the MNIST dataset by rescaling the original MNIST images. The resulting dataset contains 112 _×_ 112 resolution images with scale variations of a factor of 16. The scale factors _s_ relative the original MNIST images are _s ∈_ [ <sup><u>1</u></sup> 2 <sup>_,_</sup> <sup>8].</sup> <sup>The</sup> <sup>dataset</sup> <sup>is</sup> <sup>illustrated</sup> <sup>in</sup> <sup>Figure</sup> <sup>6.</sup> To create an image with a certain scale factor _s_, the original image is first rescaled/resampled using bicubic interpolation. The image range is then clipped to [0 _,_ 256] to remove possible over/undershoot resulting from the bicubic interpolation. The resulting image is embedded into an 112 _×_ 112 resolution image using zero padding or cropping as needed. Large amounts of upsampling tends to result in discretisation artefacts. To reduce the severity of such artefacts, the images are post-processed with discrete Gaussian smoothing [48] followed by non-linear thresholding. The standard deviation of the discrete Gaussian kernel varies with the scale factor as _σ_ ( _s_ ) = 8 <sup><u>7</u></sup> <sup>_s_</sup> <sup>.</sup> <sup>After</sup> <sup>smoothing,</sup> <sup>the</sup> <sup>image</sup> <sup>range</sup> <sup>is</sup> <sup>rescaled</sup> to the range [0 _,_ 255]. As a final step, an arctan non-linearity is applied to sharpen the resulting image, where the final image intensity _Iout_ is computed from the output of the smoothing step _Iin_ as: _Iout_ = <sup><u>2</u></sup> (51) _π_ <sup>arctan(</sup> <sup>_a_</sup> <sup>(</sup> <sup>_Iin −_</sup> <sup>_b_</sup> <sup>))</sup> with _a_ = 0 _._ 02 and _b_ = 128. Note that for scale factors _>_ 4, the full digit might not be visible in the image. These scale factors are included to enable studying the limits of generalisation when the entire object is no longer visible (ty _√_ <u>pically</u> the digits are fully contained in the image for _s <_ 4 2). All training data sets are created from the first 50 000 images in the original MNIST training set, while the last 10 000 _e_ <sup>_α_</sup> 1 <sup>1</sup> <sup>_α_</sup> 1 <sup>1</sup> <sup>_eα_</sup> 2 <sup>2</sup> <sup>_. . . eα_</sup> _N_ <sup>_N_</sup> <sup>_g_</sup> _x_ <sup>_α_</sup> 1 <sup>1</sup> _~~√~~_ <u>1</u> 1 <sup>+</sup> <sup>_x_</sup> <sup>2</sup> 2 <sup>+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_x_</sup> <sup>2</sup> _N_ <sup>)</sup> <sup>_/_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>2</sup> (47) 2 _πσ_ ) <sup>_N_</sup> <sup>_e−_</sup> <sup>(</sup> <sup>_x_</sup> <sup>2</sup> in _N_ dimensions, we obtain _hs_ ( _x_ ) = <sup>_<u>C</u>_</sup> _s_ <sup>_N_</sup> <sup>_<u>C</u>_</sup> _s_ <sup>_N_</sup> <sup>_σα_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> <sup>(</sup> <sup>_−_</sup> <sup>1)</sup> <sup>_α_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> _sσ_ <sup>_<u>x</u>_</sup> <sup><u>1</u></sup> <sup>)</sup> <sup>_Heα_</sup> <sup>2(</sup> _sσ_ <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> <sup>_<u>x</u>_</sup> _sσ_ <sup>_<u>N</u>_</sup> <sup>)</sup> _Heα_ 1( _sσ_ <sup>_<u>x</u>_</sup> <sup><u>1</u></sup> _sσ_ <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> <sup>)</sup> <sup>_. . . HeαN_</sup> <sup>(</sup> <sup>_<u>x</u>_</sup> _sσ_ <sup>_<u>N</u>_</sup> <u>1</u> _~~√~~_ ( 2 _πσ_ _~~√~~_ <u>1</u> <u>1</u> 1 <sup>+</sup> <sup>_x_</sup> <sup>2</sup> 2 <sup>+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_x_</sup> <sup>2</sup> _N_ <sup>)</sup> <sup>_/_</sup> <sup>2</sup> <sup>_s_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>2</sup> 2 _πσ_ ) <sup>_N_</sup> <sup>_e−_</sup> <sup>(</sup> <sup>_x_</sup> <sup>2</sup> _σ_ <sup>_α_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> = _C_ ( _sσ_ ) <sup>_α_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> ( _−_ 1) <sup>_α_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> _sσ_ <sup>_<u>x</u>_</sup> <sup><u>1</u></sup> <sup>)</sup> <sup>_Heα_</sup> <sup>2(</sup> _sσ_ <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> <sup>_<u>x</u>_</sup> _sσ_ <sup>_<u>N</u>_</sup> <sup>)</sup> _Heα_ 1( _sσ_ <sup>_<u>x</u>_</sup> <sup><u>1</u></sup> _sσ_ <sup>_<u>x</u>_</sup> <sup><u>2</u></sup> <sup>)</sup> <sup>_. . . HeαN_</sup> <sup>(</sup> <sup>_<u>x</u>_</sup> _sσ_ <sup>_<u>N</u>_</sup> <u>1</u> _~~√~~_ ( 2 _~~√~~_ <u>1</u> <u>1</u> 1 <sup>+</sup> <sup>_x_</sup> 2 <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_x_</sup> _N_ <sup>2</sup> <sup>)</sup> <sup>_/_</sup> <sup>2</sup> <sup>_s_</sup> <sup>2</sup> <sup>_σ_</sup> <sup>2</sup> 2 _πsσ_ ) <sup>_N_</sup> <sup>_e−_</sup> <sup>(</sup> <sup>_x_</sup> <sup>2</sup> ( _sσ_ ) <sup>_α_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> <sup>_._</sup> (48) Comparing with (43), we recognize this expression as the scale-normalised derivative _hs_ ( _x_ ) = _C_ ( _sσ_ ) <sup>_α_</sup> <sup>1+</sup> <sup>_α_</sup> <sup>2+</sup> <sup>_···_</sup> <sup>+</sup> <sup>_αN_</sup> _gx_ <sup>_α_</sup> 1 1 <sup>_xα_</sup> 2 <sup>2</sup> <sup>_...x_</sup> _αNN_ <sup>(</sup> <sup>_x_</sup> <sup>;</sup> <sup>_sσ_</sup> <sup>)</sup> (49) of order _α_ = ( _α_ 1 _, α_ 2 _, . . . αN_ ) at scale _sσ_ . This means that if the scale channel network learns a partial Gaussian derivative of some order, then the application of that filter to all the scale channels is computationally equivalent to _applying_ _corresponding_ _scale-normalised_ _Gaussian_ _derivatives_ to the original image at all scales, given the complementary scaling transformation (38) with its associated inverse mapping of the scale parameters _s �→_ _s_ <sup>_−_</sup> <sup>1</sup> . Specifically, this result implies that a scale channel network that combines the multiple scale channels by a max pooling operation over scales will have a similar function as scale selection performed by detecting global extrema of scalenormalised derivatives over scales, and thus share similarities to classical methods for scale selection [38], [47]. While this result has been expressed for partial derivatives, a corresponding results holds also for derivative operators that correspond to directional derivatives of Gaussian kernels in arbitrary directions. This result can be easily understood from the expression for a directional derivative operator _∂en_ of order 11 Fig. 6: _Samples_ _from_ _the_ _MNIST_ _Large_ _Scale_ _dataset_ . The MNIST Large Scale dataset is derived from the original MNIST dataset [36] and contains 112 _×_ 112 sized images of handwritten digits with scale variations of a factor of 16. The scale factors relative the original MNIST dataset are in the range 2 <sup><u>1</u></sup> <sup>(top</sup> <sup>left)</sup> <sup>to</sup> <sup>8</sup> <sup>(bottom</sup> <sup>right).</sup> images in the original MNIST training set are used to create validation sets. The testing data sets are created by rescaling the 10 000 images in the original MNIST test set. For the multi-scale datasets, scale factors for the individual images are sampled uniformly on a logarithmic scale in the range [ _smin, smax_ ]. The specific datasets used for the experiments in this paper are available online [37]. _D._ _Numerical_ _performance_ _scores_ We here present the numerical performance scores for the experiments performed in this paper. The performance scores for (i) generalisation ability to unseen scales (Figure 2) and (ii) learning in the presence of large scale variability (Figure 4) are given in Table I. The performance scores when (iii) varying the distance between consecutive scale channels for the FovMax and FovAvg networks (Figure 3) are given in Table II. The performance scores for (iv) learning from small training sets with large scale variability (Figure 5) are given in Table III. When evaluating how the performance varies with the number of training samples, the first _n_ samples from the training set are used for training, while the full test set is used for testing. REFERENCES [1] J. Bruna and S. Mallat, “Invariant scattering convolution networks,” _IEEE_ _Transactions_ _on_ _Pattern_ _Analysis_ _and_ _Machine_ _Intelligence_, vol. 35, no. 8, pp. 1872–1886, 2013. [2] T. Cohen and M. Welling, “Group equivariant convolutional networks,” in _International Conference on Machine Learning_, 2016, pp. 2990–2999. [3] D. Laptev, N. Savinov, J. M. Buhmann, and M. Pollefeys, “TI-pooling: transformation-invariant pooling for feature learning in convolutional neural networks,” in _Proc._ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_, 2016, pp. 289–297. [4] T. Iijima, “Observation theory of two-dimensional visual patterns,” Papers of Technical Group on Automata and Automatic Control, IECE, Japan, Tech. Rep., 1962, (in Japanese). [5] A. P. Witkin, “Scale-space filtering,” in _Proc._ _8th_ _Int._ _Joint_ _Conf._ _Art._ _Intell._, Karlsruhe, Germany, Aug. 1983, pp. 1019–1022. [6] J. J. Koenderink, “The structure of images,” _Biological_ _Cybernetics_, vol. 50, pp. 363–370, 1984. [7] T. Lindeberg, _Scale-Space_ _Theory_ _in_ _Computer_ _Vision_ . Springer, 1993. [8] ——, “Scale-space theory: A basic tool for analyzing structures at different scales,” _Journal of Applied Statistics_, vol. 21, no. 1-2, pp. 225– 270, 1994. [9] L. M. J. Florack, _Image_ _Structure_, ser. Series in Mathematical Imaging and Vision. Springer, 1997. [10] J. Weickert, S. Ishikawa, and A. Imiya, “Linear scale-space has first been proposed in Japan,” _Journal_ _of_ _Mathematical_ _Imaging_ _and_ _Vision_, vol. 10, no. 3, pp. 237–252, 1999. [11] B. ter Haar Romeny, _Front-End_ _Vision_ _and_ _Multi-Scale_ _Image_ _Analysis_ . Berlin/New York: Springer, 2003. [12] L. Engstrom, B. Tran, D. Tsipras, L. Schmidt, and A. Madry, “Exploring the landscape of spatial robustness,” in _International_ _Conference_ _on_ _Machine_ _Learning_ _(ICML)_, 2019, pp. 1802–1811. [13] A. Fawzi and P. Frossard, “Manitest: Are classifiers really invariant?” _British_ _Machine_ _Vision_ _Conference_ _(BMVC)_, 2015. [14] B. Singh and L. S. Davis, “An analysis of scale invariance in object detection SNIP,” in _Proc._ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_, 2018, pp. 3578–3587. [15] Z. Cai, Q. Fan, R. S. Feris, and N. Vasconcelos, “A unified multi-scale deep convolutional neural network for fast object detection,” in _European_ _Conference_ _on_ _Computer_ _Vision_ . Springer, 2016, pp. 354–370. [16] M. Jaderberg, K. Simonyan, A. Zisserman, and K. Kavukcuoglu, “Spatial transformer networks,” in _Advances_ _in_ _Neural_ _Information_ _Processing_ _Systems_ _(NIPS)_, 2015, pp. 2017–2025. [17] F. Yu and V. Koltun, “Multi-scale context aggregation by dilated convolutions,” in _Int._ _Conf._ _on_ _Learning_ _Representations_ _(ICLR)_, 2016. [18] P. Sermanet, D. Eigen, X. Zhang, M. Mathieu, R. Fergus, and Y. Le Cun, “OverFeat: Integrated recognition, localization and detection using convolutional networks,” _arXiv_ _preprint_ _arXiv:1312.6229_, 2013. [19] R. Girshick, “Fast R-CNN,” in _Proc._ _International_ _Conference_ _on_ _Computer_ _Vision_ _(ICCV)_, 2015, pp. 1440–1448. [20] T.-Y. Lin, P. Doll´ar, R. Girshick, K. He, B. Hariharan, and S. Belongie, “Feature pyramid networks for object detection,” in _Proc._ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_, 2017, pp. 2117–2125. [21] L. Sifre and S. Mallat, “Rotation, scaling and deformation invariant scattering for texture discrimination,” in _Proc._ _Conference_ _on_ _Computer_ _Vision_ _and_ _Pattern_ _Recognition_ _(CVPR)_, 2013, pp. 1233–1240. [22] T. Lindeberg, “Provably scale-covariant continuous hierarchical net works based on scale-normalized differential expressions coupled in cascade,” _Journal_ _of_ _Mathematical_ _Imaging_ _and_ _Vision_, vol. 62, no. 1, pp. 120–148, 2020. [23] Y. Xu, T. Xiao, J. Zhang, K. Yang, and Z. Zhang, “Scale-invariant convolutional neural networks,” _arXiv_ _preprint_ _arXiv:1411.6369_, 2014. [24] A. Kanazawa, A. Sharma, and D. W. Jacobs, “Locally scale-invariant convolutional neural networks,” _arXiv_ _preprint_ _arXiv:1412.5104_, 2014. [25] D. Marcos, B. Kellenberger, S. Lobry, and D. Tuia, “Scale equivariance in CNNs with vector fields,” _arXiv_ _preprint_ _arXiv:1807.11783_, 2018. [26] D. Worrall and M. Welling, “Deep scale-spaces: Equivariance over scale,” in _Advances_ _in_ _Neural_ _Information_ _Processing_ _Systems_ _(NIPS)_, 2019, pp. 7364–7376. 12 TABLE I: _Classification accuracy (%) as a function of the test set scale factor when training on single and multi-scale training_ _data._ The table shows the performance for the different network architectures when trained on single scale training data (Figure 2) or multi-scale training data (Figure 4) from the MNIST Large Scale data set. The networks are trained on either single scale data of scale 1, 2 or 4 (tr1, tr2, tr4) or multi-scale training data spanning the scale range [1 _,_ 4] (tr14). The FovMax, FovAvg, and SWMax networks all have 17 scale channels spanning the scale range [ <sup><u>1</u></sup> 2 <sup>_,_</sup> <sup>8].</sup> <sup>The</sup> <sup>FovConc</sup> <sup>networks</sup> <sup>have</sup> <sup>either</sup> <sup>3</sup> <sup>scale</sup> channels spanning the scale range [1 _,_ 4] (3ch) or 5 scale channels spanning the scale range [ <sup><u>1</u></sup> 2 <sup>_,_</sup> <sup>8]</sup> <sup>(5ch),</sup> <sup>since</sup> <sup>using</sup> <sup>fewer</sup> <sup>scale</sup> channels improves the performance of this architecture in the setting with novel scale factors in the test set. <u>Scales</u> <u>1</u> _<u>/</u>_ <u>2</u> <u>2</u> <sup>_−_</sup> <sup>3</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>4</sup> <u>1</u> <u>2</u> <sup>1</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>3</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <u>2</u> <sup>5</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>3</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>7</sup> <sup>_/_</sup> <sup>4</sup> <u>4</u> <u>2</u> <sup>9</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>5</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>11</sup> <sup>_/_</sup> <sup>4</sup> <u>8</u> CNN tr1 61.84 85.31 96.10 98.73 99.32 98.50 85.36 52.61 36.82 28.55 22.38 19.04 14.47 11.71 11.50 10.88 10.68 CNN tr2 14.37 15.81 22.17 33.42 53.57 80.70 95.52 98.87 99.38 98.81 90.31 60.95 40.85 29.91 23.69 19.26 16.68 CNN tr4 9.89 10.41 11.33 12.06 13.57 15.96 18.54 25.97 44.93 76.62 95.19 98.96 99.40 98.71 92.99 74.21 47.63 <u>CNN</u> <u>tr14</u> <u>67.34</u> <u>84.02</u> <u>93.71</u> <u>97.38</u> <u>98.70</u> <u>99.12</u> <u>99.23</u> <u>99.29</u> <u>99.34</u> <u>99.32</u> <u>99.31</u> <u>99.05</u> <u>98.45</u> <u>95.40</u> <u>81.25</u> <u>56.65</u> <u>38.17</u> FovAvg 17ch tr1 98.58 99.05 99.33 99.39 99.40 99.39 99.38 99.36 99.35 99.31 99.22 99.12 98.94 98.47 96.20 89.17 71.31 FovAvg 17ch tr2 98.58 99.04 99.36 99.35 99.38 99.37 99.37 99.37 99.38 99.35 99.36 99.34 99.32 99.25 98.83 96.89 88.46 FovAvg 17ch tr4 97.65 98.68 99.14 99.17 99.28 99.26 99.28 99.27 99.30 99.32 99.35 99.37 99.39 99.34 98.90 96.75 88.68 <u>FovAvg</u> <u>17ch</u> <u>tr14</u> <u>98.78</u> <u>99.17</u> <u>99.30</u> <u>99.37</u> <u>99.40</u> <u>99.40</u> <u>99.40</u> <u>99.40</u> <u>99.41</u> <u>99.40</u> <u>99.39</u> <u>99.40</u> <u>99.39</u> <u>99.36</u> <u>99.05</u> <u>96.55</u> <u>88.17</u> FovMax 17ch tr1 98.71 99.07 99.27 99.34 99.37 99.35 99.36 99.34 99.33 99.35 99.34 99.35 99.34 99.27 97.88 92.76 79.23 FovMax 17ch tr2 98.75 99.12 99.25 99.30 99.34 99.29 99.31 99.32 99.32 99.32 99.30 99.32 99.32 99.12 97.43 91.87 75.85 FovMax 17ch tr4 98.49 98.97 99.18 99.25 99.28 99.31 99.29 99.30 99.29 99.30 99.30 99.30 99.31 99.28 98.33 92.39 77.01 <u>FovMax</u> <u>17ch</u> <u>tr14</u> <u>98.71</u> <u>99.13</u> <u>99.30</u> <u>99.31</u> <u>99.35</u> <u>99.31</u> <u>99.32</u> <u>99.31</u> <u>99.32</u> <u>99.33</u> <u>99.32</u> <u>99.32</u> <u>99.32</u> <u>99.24</u> <u>98.40</u> <u>93.46</u> <u>81.42</u> FovConc 3ch tr1 40.38 71.00 94.34 98.83 99.28 98.61 89.29 60.43 36.36 22.91 15.29 9.74 5.86 3.83 3.21 4.14 6.02 FovConc 3ch tr2 9.47 10.11 16.84 28.67 46.66 74.87 94.76 98.88 99.35 98.55 89.35 61.24 39.84 27.52 18.44 14.68 13.08 FovConc 3ch tr4 5.49 3.68 1.29 1.08 1.29 2.73 9.23 23.47 45.24 76.25 95.25 98.98 99.35 98.55 91.51 72.29 50.07 FovConc 5ch tr2 1.84 2.66 7.89 20.96 35.58 65.31 93.16 98.71 99.23 98.45 88.55 47.87 17.48 6.96 4.13 4.09 6.21 <u>FovConc</u> <u>5ch</u> <u>tr14</u> <u>70.45</u> <u>91.66</u> <u>98.00</u> <u>98.95</u> <u>99.22</u> <u>99.26</u> <u>99.26</u> <u>99.25</u> <u>99.25</u> <u>99.25</u> <u>99.23</u> <u>99.22</u> <u>99.19</u> <u>98.91</u> <u>96.89</u> <u>88.77</u> <u>72.05</u> SWMax 17ch tr1 84.58 95.23 98.10 98.59 98.78 98.51 98.49 98.39 98.35 98.10 97.68 96.67 93.48 84.46 70.31 56.19 43.17 SWMax 17ch tr2 91.86 96.82 98.28 98.63 98.77 98.75 98.67 98.74 98.88 98.64 98.49 97.55 93.14 85.67 71.52 54.61 41.47 SWMax 17ch tr4 78.60 91.58 94.54 95.46 96.83 96.73 95.88 95.36 97.07 97.74 98.12 98.64 98.74 97.84 89.27 71.95 53.28 <u>SWMax</u> <u>17ch</u> <u>tr14</u> <u>80.08</u> <u>89.98</u> <u>93.81</u> <u>95.36</u> <u>96.53</u> <u>96.67</u> <u>95.83</u> <u>95.62</u> <u>96.53</u> <u>96.99</u> <u>97.47</u> <u>98.15</u> <u>98.55</u> <u>97.14</u> <u>85.27</u> <u>64.82</u> <u>44.18</u> TABLE II: _Classification_ _accuracy_ _(%)_ _as_ _a_ _function_ _of_ _the_ _test_ _set_ _scale_ _factor_ _for_ _the_ _FovMax_ _and_ _FovAvg_ _networks_ _when_ _varying_ _the_ _distance_ _between_ _consecutive_ _scale_ _channels_ . The table shows the performance for different test set scale factors when training the FovMax and FovAvg networks spanning the scale range [ 4 <sup><u>1</u></sup> <sup>_,_</sup> <sup>8]</sup> <sup>with</sup> <sup>varying</sup> <sup>distance</sup> <sup>between</sup> <sup>consecutive</sup> scale channels (2 <sup>1</sup> <sup>_/_</sup> <sup>4</sup>, 2 <sup>1</sup> <sup>_/_</sup> <sup>2</sup>, 2). All networks are trained on single scale training data of scale 2 from the MNIST Large Scale data set. <u>Scales</u> <u>1</u> _<u>/</u>_ <u>2</u> <u>2</u> <sup>_−_</sup> <sup>3</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>4</sup> <u>1</u> <u>2</u> <sup>1</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>3</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <u>2</u> <sup>5</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>3</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>7</sup> <sup>_/_</sup> <sup>4</sup> <u>4</u> <u>2</u> <sup>9</sup> <sup>_/_</sup> <sup>4</sup> <u>2</u> <sup>5</sup> <sup>_/_</sup> <sup>2</sup> <u>2</u> <sup>11</sup> <sup>_/_</sup> <sup>4</sup> <u>8</u> FovMax 2 <sup>1</sup> <sup>_/_</sup> <sup>4</sup> (17ch) 98.75 99.12 99.25 99.30 99.34 99.29 99.31 99.32 99.32 99.32 99.30 99.32 99.32 99.12 97.43 91.87 75.85 FovMax 2 <sup>1</sup> <sup>_/_</sup> <sup>2</sup> (9ch) 98.51 99.03 99.26 99.34 99.31 99.36 99.32 99.37 99.32 99.35 99.29 99.35 99.30 99.22 97.40 91.59 77.75 <u>FovMax</u> <u>2</u> <u>(5ch)</u> <u>97.45</u> <u>96.44</u> <u>97.32</u> <u>98.77</u> <u>99.21</u> <u>98.57</u> <u>97.58</u> <u>98.74</u> <u>99.20</u> <u>98.64</u> <u>97.51</u> <u>98.71</u> <u>99.20</u> <u>98.59</u> <u>93.59</u> <u>83.55</u> <u>69.20</u> FovAvg 2 <sup>1</sup> <sup>_/_</sup> <sup>4</sup> (17ch) 98.66 99.11 99.35 99.38 99.40 99.41 99.43 99.42 99.42 99.41 99.42 99.40 99.38 99.31 98.95 96.76 88.38 FovAvg 2 <sup>1</sup> <sup>_/_</sup> <sup>2</sup> (9ch) 98.75 99.07 99.26 99.34 99.36 99.36 99.36 99.39 99.35 99.37 99.35 99.38 99.31 99.31 98.73 96.67 88.44 <u>FovAvg</u> <u>2</u> <u>(5ch)</u> <u>98.84</u> <u>98.74</u> <u>98.81</u> <u>99.18</u> <u>99.36</u> <u>99.15</u> <u>98.85</u> <u>99.23</u> <u>99.33</u> <u>99.12</u> <u>98.84</u> <u>99.20</u> <u>99.31</u> <u>99.06</u> <u>97.70</u> <u>94.20</u> <u>86.20</u> [27] C. Farabet, C. Couprie, L. Najman, and Y. LeCun, “Learning hierarchical features for scene labeling,” _IEEE Transactions on Pattern Analysis and_ _Machine_ _Intelligence_, vol. 35, no. 8, pp. 1915–1929, 2013. [28] N. Van Noord and E. Postma, “Learning scale-variant and scale-invariant features for deep image classification,” _Pattern_ _Recognition_, vol. 61, pp. 583–592, 2017. [29] T. Lindeberg and L. Florack, “Foveal scale-space and linear increase of receptive field size as a function of eccentricity,” Dept. of Numerical Analysis and Computer Science, KTH, report ISRN KTH/NA/P--94/27--SE, Aug. 1994, available from https://people.kth.se/�tony/papers/cvap166.pdf. [30] T. Lindeberg, “Feature detection with automatic scale selection,” _Inter-_ _national_ _Journal_ _of_ _Computer_ _Vision_, vol. 30, no. 2, pp. 77–116, 1998. [31] ——, “Scale selection,” in _Computer_ _Vision:_ _A_ _Reference_ _Guide_, K. Ikeuchi, Ed. Springer, 2014, pp. 701–713. [32] Y. Li, D. M. J. Tax, and M. Loog, “Supervised scale-invariant segmen tation (and detection),” in _Proc._ _Scale_ _Space_ _and_ _Variational_ _Methods_ _in_ _Computer_ _Vision_ _(SSVM_ _2011)_, ser. Springer LNCS, vol. 6667. Ein Gedi, Israel: Springer, 2012, pp. 350–361. [33] M. Loog, Y. Li, and D. Tax, “Maximum membership scale selection,” in _Multiple Classifier Systems_, ser. Springer LNCS, vol. 5519, 2009, pp. 468–477. [34] T. Lindeberg, “Image matching using generalized scale-space interest points,” _Journal_ _of_ _Mathematical_ _Imaging_ _and_ _Vision_, vol. 52, no. 1, pp. 3–36, 2015. [35] ——, “Scale selection properties of generalized scale-space interest point detectors,” _Journal_ _of_ _Mathematical_ _Imaging_ _and_ _vision_, vol. 46, no. 2, pp. 177–210, 2013. [36] Y. LeCun, L. Bottou, Y. Bengio, P. Haffner _et_ _al._, “Gradient-based learning applied to document recognition,” _Proc._ _of_ _the_ _IEEE_, vol. 86, no. 11, pp. 2278–2324, 1998. [37] Y. Jansson and T. Lindeberg, “MNIST Large Scale dataset,” [Online]. Available at: https://www.zenodo.org/record/3820247. DOI:10.5281/zenodo.3820247, 2020. [38] T. Lindeberg, “Feature detection with automatic scale selection,” _Inter-_ _national_ _Journal_ _of_ _Computer_ _Vision_, vol. 30, no. 2, pp. 77–116, 1998. [39] ——, “Edge detection and ridge detection with automatic scale selec tion,” _International Journal of Computer Vision_, vol. 30, no. 2, pp. 117– 154, 1998. [40] L. Bretzner and T. Lindeberg, “Feature tracking with automatic selection of spatial scales,” _Computer_ _Vision_ _and_ _Image_ _Understanding_, vol. 71, no. 3, pp. 385–392, Sep. 1998. [41] O. Chomat, V. de Verdiere, D. Hall, and J. Crowley, “Local scale selection for Gaussian based description techniques,” in _Proc. European_ _Conf. on Computer Vision (ECCV 2000)_, ser. Springer LNCS, vol. 1842, Dublin, Ireland, 2000, pp. I:117–133. 13 TABLE III: _Classification_ _accuracy_ _(%)_ _as_ _a_ _function_ _of_ _the_ _number_ _of_ _training_ _samples_ _when_ _training_ _on_ _multi-scale_ _training data_ . The table shows the performance of the different network architectures when trained with a gradually reduced number of training samples from the MNIST Large Scale dataset (Figure 5). Both the training and test sets here span the scale range [1 _,_ 4]. The FovAvg, FovMax, FovConc and SWMax networks all have 17 scale channels spanning the scale range [ <sup><u>1</u></sup> 2 <sup>_,_</sup> <sup>8].</sup> <u>#</u> <u>samples</u> <u>10 000</u> <u>5 000</u> <u>2 000</u> <u>1 000</u> <u>500</u> <u>200</u> <u>100</u> CNN 97.95 96.95 94.71 92.01 87.85 71.85 52.48 FovAvg 17ch 98.76 98.35 96.93 96.61 94.73 87.56 80.89 FovMax 17ch 98.56 97.89 96.66 93.98 90.10 79.26 68.24 FovConc 17ch 98.49 97.96 96.43 94.52 89.37 75.48 60.40 <u>SWMax</u> <u>97.55</u> <u>96.11</u> <u>92.90</u> <u>86.40</u> <u>80.91</u> <u>62.83</u> <u>49.36</u> [42] K. Mikolajczyk and C. Schmid, “Scale and affine invariant interest point detectors,” _International_ _Journal_ _of_ _Computer_ _Vision_, vol. 60, no. 1, pp. 63–86, 2004. [43] D. G. Lowe, “Distinctive image features from scale-invariant keypoints,” _International_ _Journal_ _of_ _Computer_ _Vision_, vol. 60, no. 2, pp. 91–110, 2004. [44] H. Bay, A. Ess, T. Tuytelaars, and L. van Gool, “Speeded up robust features (SURF),” _Computer Vision and Image Understanding_, vol. 110, no. 3, pp. 346–359, 2008. [45] T. Tuytelaars and K. Mikolajczyk, _A Survey on Local Invariant Features_, ser. Foundations and Trends in Computer Graphics and Vision. Now Publishers, 2008, vol. 3(3). [46] T. Lindeberg, “Generalized axiomatic scale-space theory,” in _Advances_ _in_ _Imaging_ _and_ _Electron_ _Physics_, P. Hawkes, Ed. Elsevier, 2013, vol. 178, pp. 1–96. [47] ——, “Scale selection,” in _Computer_ _Vision:_ _A_ _Reference_ _Guide_, K. Ikeuchi, Ed. Springer, 2014, pp. 701–713. [48] ——, “Scale-space for discrete signals,” _IEEE_ _Trans._ _Pattern_ _Analysis_ _and_ _Machine_ _Intell._, vol. 12, no. 3, pp. 234–254, Mar. 1990. 14

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.