Title: SHARDNET: ONE FILTER SET TO RULE THEM ALL

Abstract: Deep CNNs have achieved state-of-the-art performance on numerous machine learning and computer vision tasks in recent years, but as they have become increasingly deep, the number of parameters they use has also increased, making them hard to deploy in memory-constrained environments and difficult to interpret. Machine learning theory implies that such networks are highly overparameterised and that it should be possible to reduce their size without sacrificing accuracy, and indeed many recent studies have begun to highlight specific redundancies that can be exploited to achieve this. In this paper, we take a further step in this direction by proposing a filter-sharing approach that reformulates deep, complex CNNs as an iterative application of shallower modules (a single convolutional mapping in the simplest case). We show, via experiments on CIFAR-10, CIFAR-100, Tiny ImageNet and ImageNet that this allows us to reduce the parameter counts of networks based on common designs such as VGGNet and ResNet by a factor proportional to their depth, whilst leaving their accuracy largely unaffected. At a broader level, our approach represents a way of rethinking neural network architectures so as to leverage the scale-space regularities found in visual signals, resulting in models that are both parsimonious and easier to interpret.

1. INTRODUCTION:

Deep CNNs have achieved state-of-the-art results on a wide range of tasks, from image understanding (Redmon & Farhadi, 2017; Jetley et al., 2017; Kim et al., 2018; Oktay et al., 2018) to natural language processing (Oord et al., 2016; Massiceti et al., 2018) . However, these network architectures are often highly overparameterised (Zhang et al., 2016) , and thus require the supervision of a large number of input-output mappings and significant training time to adapt their parameters to any given task. Recent studies have discovered several different redundancies in these network architectures (Garipov et al., 2016; Hubara* et al., 2018; Wu et al., 2018; Frankle & Carbin, 2019; Yang et al., 2019a; b) and certain simplicities (Pérez et al., 2018; Jetley et al., 2018) in the functions that they implement. For instance, Frankle & Carbin (2019) showed that a large classification network can be distilled down to a small sub-network that, owing to its lucky initialisation, is trainable in isolation without compromising the original classification accuracy. Jetley et al. (2018) observed that deep classification networks learn simplistic non-linearities for class identification, a fact that might well underlie their adversarial vulnerability, whilst challenging the need for complex architectures. Attempts at knowledge distillation have regularly demonstrated that it is possible to train small student architectures to mimic larger teacher networks by using ancillary information extracted from the latter, such as their attention patterns (Zagoruyko & Komodakis, 2017) , predicted soft-target distributions (Hinton et al., 2014) or other kinds of meta-data (Lopes et al., 2017) . These works and others continue to expose the high level of parameter redundancy in deep CNNs, and comprise a foundational body of work towards studying and simplifying networks for safe and practical use.

Our paper experiments with yet another scheme for simplifying CNNs, in the hope that it will not only shrink the effective footprint of these networks, but also open up new pathways for network understanding and redesign. In particular, we propose the use of a common set of convolutional filters at different levels of a convolutional hierarchy to achieve class disentanglement. Mathematically, we formulate a classification CNN as an iterative function in which a small set of learned convolutional mappings are applied repeatedly as different layers of a CNN pipeline (see Figure 1 ). In doing so, we are able to reduce the parameter count of the network by a factor proportional to its depth, whilst leaving its accuracy largely unaffected. We also investigate the introduction of non-shared linear Figure 2 : Accuracy versus compression trade-off curves for our basic shared architecture in Fig. 1 , for different widths n of the shared convolutional layer, compared to the baseline VGGNet (Simonyan & Zisserman, 2015) , for CIFAR-10 (a) and . The compression factor is plotted on a logarithmic scale. layers before certain shared convolutional layers to enhance the flexibility of the model by allowing it to linearly combine shared filter maps for the disentanglement task.

2. RELATED WORK:

This work is partly inspired by the classic literature on image processing that has long sought to characterise natural images by collating their responses, at different image scales, to a small, canonical set of hand-crafted visual operators (Mallat, 1989; Viola & Jones, 2004) . Modern CNN architectures (Krizhevsky et al., 2012; Simonyan & Zisserman, 2015) effectively still implement hierarchical feature extraction, but with the difference that there are thousands of such operators (i.e. convolutional filters) at each scale level, all of which are individually adaptable and learned via backpropagation. Our work can thus be seen as an effort to reconcile the above two non-contemporaneous approaches to image processing, in which we aim to identify a common set of visual operators for all the different scales by learning them in an end-to-end manner.

Our approach bears some high-level resemblance to previous approaches (e.g. Pinheiro & Collobert (2014) ; Liang & Hu (2015) ; Liao & Poggio (2016) ; Savarese & Maire (2019) ) that have attempted to implement, interpret and potentially improve convolutional neural networks through an iterative use of simpler modules For example, Liao & Poggio (2016) share convolutional mappings in ResNets in an attempt to approximate biological visual systems using feedback loops and recurrence, although their experimental analysis is limited to the CIFAR dataset. By contrast, our work applies the convolution-sharing paradigm to both plain feed-forward and residual constructs, and investigates the effectiveness of using only a single shared convolutional mapping for the entire network pipeline. An additional contribution of our approach is the flexibility we add to the model by coupling learned linear layers with shared convolutions while still limiting the total parameter count. Experimentally, we evaluate the accuracy vs. model size tradeoff induced by our approach on a realistic set of datasets that include Tiny ImageNet and ImageNet.

A steady increase in the size of datasets and the availability of computational resources has enabled neural networks to grow deeper (Simonyan & Zisserman, 2015; He et al., 2016) , denser (Huang et al., 2017) and wider (Zagoruyko & Komodakis, 2016) . In doing so, concerns regarding their over-parameterisation have often been ignored in favour of better test set generalisation. 1 More recently, as their performance on some benchmarks (He et al., 2016; Oord et al., 2016) has reached near-human levels, real-world deployment of these models is being considered. This deployment has been hugely impeded by the memory requirements, latency and energy demands of their heavy computational machinery (Bianco et al., 2018) .

Our approach contributes to the (extensive) literature on network compression that is focused on making these machine learning models more usable in practical scenarios. Existing compression methods can be divided into seven categories -pruning, quantisation, tensorization/tensor decomposition, knowledge distillation, custom architectures, sharing-based and hybrid methods. Many of these works are beyond the scope of this paper, but for completeness, we present a brief review in §A.1 (a more exhaustive survey can be found in Cheng et al. (2017) ). Our own work falls within the realm of sharing-based methods that seek to equate some of a network's weights or filters to reduce the number of independent parameters in the network. There are various ways of deciding which weights/filters to share, from somewhat arbitrary (if effective) approaches such as the hashing trick (Chen et al., 2015; Liu et al., 2018) , to more principled approaches such as k-means clustering (Wu et al., 2018) . A few recent works have turned their attention to sharing convolutional weight matrices in a more structured manner. Of these, LegoNet (Yang et al., 2019b) shares filter groups across sets of channels, whilst FSNet (Yang et al., 2019a) shares filter weights across spatial locations. In both cases, sharing is restricted to a single layer at a time. ShaResNet (Boulch, 2018) reuses convolutional mappings, but within the same scale level (i.e. between two max-pooling steps). The novelty of our work lies in extending this filter-sharing paradigm to an entire convolutional pipeline. We instantiate a single convolutional layer that is applied iteratively to mimic a deep convolutional feature extractor, and analyse the accuracy vs. memory tradeoff for different widths of this layer.

3. METHOD:

A standard feed-forward classification CNN can be formulated as

EQUATION

where the overall function F is a composition of the convolutional feature extractor F conv followed by a fully-connected classifier C. The convolutional sub-model F conv consists of a sequence of convolutional layers [f i : 1 ≤ i ≤ L], interspersed with non-linearities (ReLUs, Max-Pooling) or regularisers (dropout, BatchNorm) or some combination thereof, denoted by R i . The function performed by each convolutional layer f i is completely specified by a set of weights and biases that we denote using W i . Crucially, the weights and biases for each different layer are independent. The number of parameters in layer f i is then simply the size of W i , calculated as

EQUATION

where n in i in the number of input channels to f i , n out i is the number of output channels, v i = n in i × n out i is the volume of f i , and k i is the size of its (square) convolutional filters. In practice, the n out i term for the biases is dominated by that for the weights, and so we disregard it in what follows. Letting W conv = L i=1 W i denote all the parameters in F conv (i.e. disregarding the comparatively small contributions from the non-convolutional layers), the total parameter count is given by

EQUATION

Note that for many common architectures, there exists some k such that ∀i, k i = k (e.g. for VGGNet, k = 3). For such architectures, Equation 3 can then be further simplified to

|W conv | ≈ L × v × k 2 , in which v = L -1 L i=1 v i

is the mean volume per network layer. Our method proposes a crude simplification to such architectures, namely to instantiate a single convolutional layer f , and apply it L successive times in order to implement a convolutional pipeline of equivalent depth to the original model. In particular, we enforce the following constraint:

EQUATION

This simplifies the CNN architecture in Equation 1to

EQUATION

Whilst our analysis focuses purely on the convolutional layers, it is interesting to note that when the R i layers are all the same, the CNN architecture simplifies further to the following iterative form:

EQUATION

)

The convolutional layer f in our architecture expects an input tensor with a predetermined number of channels, which we will call n. Meanwhile, the R i layers between the convolutional layers leave the number of channels unchanged. Thus, given the iterative application of f , the layer f must also output a tensor with n channels. (In practice, f is called for the first time on the input image itself, which for colour images would normally only have 3 channels. To avoid artificially limiting n to 3, we pad the input image with empty channels to produce a tensor with n channels.) We deduce that |W |, the number of parameters for f , must satisfy

|W | ≈ n 2 × k 2 = v × k 2 , where v = n 2

is the volume of f . Furthermore, since W is shared between all L convolutional layers, the total number of independent parameters in Fconv must also just be |W |. The compression factor between the original architecture and its shared counterpart can thus be quantified as

EQUATION

)

This is proportional to the depth L of the original network, and is down-weighted by any (multiplicative) increase in the average per-layer volume in going from the original to the shared architecture.

We now turn to examine the convolutional operation in our architecture. Each layer f , the operation of which is completely specified by the weights and biases in W , takes an input tensor X of size n × h × w, where n, h and w denote the number of channels, height and width respectively. Based on X and W , we can conceptually define 2D matrices Φ(X) and Γ(W ) as follows:

EQUATION

In this, m = h × w, and each x ij is a rasterisation of a k × k patch of input tensor centred at spatial location i in channel j. Each w ij is a similar rasterisation of the k × k convolutional kernel that maps the input channel i ∈ {1, 2, . . . , n} to the output channel j ∈ {1, 2, . . . , n}, and each b j is the bias for output channel j. Then f can be defined concisely as f (X) = Ψ(Φ(X) × Γ(W )), in which Ψ reshapes the m × n tensor Φ(X) × Γ(W ) back to one of size n × h × w.

In practice, this simple formulation could be seen as being too restrictive, in the sense that irrespective of the convolutional iteration, each filter w ij in Γ(W ) only ever operates on patches from input channel i (for example, the w 1j filters only ever operate on patches from channel 1). For this reason, we decided to investigate whether adding a way of allowing the input channels to be reorganised at various points in the overall pipeline would improve performance. In principle, one way of achieving this would be to add n × n permutation matrices at appropriate points in the pipeline, e.g. just before each pooling operation. In practice, however, to make the operations differentiable, we implement them using linear layers (i.e. 1 × 1 convolutions), thus implementing blending of the input channels rather than simply permuting them. The weights of these layers are separate for each instantiation and are learned as part of the end-to-end pipeline.

It would be reasonable to expect this added flexibility to yield a significant increase in performance, and indeed our results in §5 show this to be the case. Nevertheless, it is notable that even without this added flexibility, our shared architectures already achieve extremely good performance on the datasets on which we tested, demonstrating that our underlying approach of sharing filters between layers makes sense even in the absence of permutation/blending.

4. DATASETS AND ARCHITECTURES:

We evaluate our filter-sharing approach on four well-known image classification benchmarks: CIFAR-10, CIFAR-100, Tiny ImageNet and ImageNet. Details of these datasets can be found in §A.2. For this study, we work with two different architectures, one closely inspired by VGGNet (Simonyan & Zisserman, 2015), and the other by ResNet (He et al., 2016) .

VGGNet-like Architectures. We base our VGGNet-like architectures on VGG-16, which consists of 5 convolutional blocks followed by 3 linear layers. Each block is followed by a max-pooling step and contains several convolutional layers with different channel counts (in order: 2 layers with 64 channels, 2 with 128, 3 with 256, 3 with 512 and 3 layers with 512 channels). By contrast, in our case, we define a single convolutional layer with a fixed number of input and output channels n, and then use it repeatedly in the same arrangement as above (see Table 3 in §A.3 for more details).

We define four variants of this convolutional feature extractor for our study. E-VGGNet is our equivalent of VGGNet, with n channels per layer and no sharing between the layers: we use this as a baseline. Its shared counterpart, S-VGGNet, has the same structure, but iteratively applies a single convolutional layer. SL-VGGNet is an extended version of S-VGGNet that introduces linear layers (i.e. 1 × 1 convolutions) before each max-pooling operation to allow the input channels to be blended at those points in the pipeline. Finally, since all the convolutional layers in SL-VGGNet are the same (these exclude what we call the linear layers), we define a further variant of our architecture that simplifies the network design by setting the number of layers per block to a scalar . We experiment with ∈ {2, 3}, and name the corresponding networks SL -VGGNet. Note that the predetermined number of channels n is a parameter of our architecture: we test several variants to find the best ones. We perform experiments on CIFAR-10/100 and Tiny ImageNet. For CIFAR-10, the 3 fully-connected layers that follow the feature extractor have 512, 512 and 10 output channels, respectively. For CIFAR-100, we use the same VGGNet-like architectures as for CIFAR-10, but the fully-connected layers have 1024, 1024 and 100 output channels, respectively. For Tiny ImageNet, we use a sequence of two fully-connected layers, with 2048 and 200 output channels respectively.

ResNet-like Architectures. We base our ResNet-like architectures on the models proposed in He et al. (2016) . The simpler variants of these are built using 'basic' blocks that essentially consist of two equally-sized 3 × 3 convolutional layers and a skip connection (see Fig. 6 ). The deeper variants, meanwhile, are built using 'bottleneck' blocks, which similarly have a skip connection, but sandwich a single 3×3 convolutional layer between two 1×1 convolutional layers that decrease and then restore the number of channels to limit the number of free parameters. The network pipeline begins with a standalone convolutional layer that outputs a predetermined number of channels p. This is followed by a sequence of b blocks at a number of different scale levels (generally 4, but 3 for CIFAR variants). In the original architectures, each scale level (except the first) began with a strided convolutional layer that downsampled the image and doubled the number of channels. Since we want the convolutional layers in our architectures to have the same numbers of input and output channels (to facilitate sharing), we define an equivalent architecture, E-ResNet, that instead doubles the number of channels and performs downsampling using (respectively) a linear layer (i.e. 1 × 1 convolutions) and a max-pooling step at the end of each scale level. Note that, as in the original ResNet, the final scale level in our architecture ends with average pooling rather than max-pooling. Despite these modifications, the predictive performances of our E-ResNets closely match those of the original architectures. The shared variant of this architecture uses n channels for all scale levels and shares the weights across all the convolutional layers (excluding the linear layers). Since the architecture already contains the linear layers we were previously adding to allow blending of the input channels, we refer to it as SL-ResNet.

For CIFAR-10/100, the standalone convolutional layer uses a kernel size of 3 × 3, and a p of 16 and 32 for each dataset, respectively. We experiment with b ∈ {3, 5, 7} 'basic' blocks per scale level, and terminate the network with a 10-way linear classifier for CIFAR-10 and a 100-way classifier for CIFAR-100. See Table 4 in §A.3 for details. For Tiny ImageNet and ImageNet, we base our ResNet-like architectures on ResNet-34 and ResNet-50. ResNet-34 is built using 'basic' blocks, whilst ResNet-50 uses 'bottleneck' blocks. For the latter, it is clearly not possible to share filters between the layers within a block, since they are of different dimensions, so we instead use multiple shared copies of a single block. Note that the shared variants of both these models, SL-ResNet-34/50, keep the standalone convolutional layer unshared, since its kernel size is adjusted according to the dataset (3 × 3 for Tiny ImageNet and 7 × 7 for ImageNet). See Table 5 in §A.3 for details.

5. RESULTS AND DISCUSSION:

Earlier, Fig. 2 showed the accuracy vs. compression trade-off for S-VGGNet, relative to the original VGGNet (Simonyan & Zisserman, 2015) , for different widths n of the shared convolutional layer.

Here, Fig. 3 illustrates the improvements in accuracy due to the learned linear layers (i.e. the blend- (Simonyan & Zisserman, 2015) and (for CIFAR-10) variants of LegoNet (Yang et al., 2019b) , another state-of-the-art compression method. Baseline models marked with a * were retrained for this study.

ing layers) on CIFAR-10, CIFAR-100 and Tiny ImageNet. Observably, the use of the linear layers provides greater benefit for datasets that involve discriminating between a larger number of classes, such as CIFAR-100 and Tiny ImageNet.

For CIFAR-10, CIFAR-100 and Tiny ImageNet we compare the accuracies of the best-performing 'SL' variants of VGGNet with those of the baseline architecture (and competing compression methods for these datasets, where available) in Table 1 . For CIFAR-10 (see Table 1b ), we are able to achieve comparable classification accuracy to the VGGNet baseline using only n = 256 channels for our shared convolutional layer, which yields a compression factor of ≈ 17×. For CIFAR-100 (Table 1c ), which has 10× more classes, we had to use n = 512 channels to achieve comparable accuracy, but this still yields a significant compression factor of 4.3. Higher compression factors can be achieved by reducing the number of channels, in exchange for some loss in accuracy. Evaluating our shared architecture on Tiny ImageNet (in Table 1d ) evidences a similar trend in the results, with SL2-VGGNet (n = 512 channels) achieving an accuracy comparable to the non-shared baseline, whilst using only 23% of its parameters. Detailed accuracy and memory usage numbers for E-VGGNet, S-VGGNet and SL-VGGNet, for CIFAR-10, are in Table 1a , while the results for CIFAR-100 and Tiny Imagenet can be found in the appendix (see Figure 4 : A visual depiction of the linear layers used to blend the input channels in our approach. We show the layers for the two variants in the order (left to right) in which they appear in the networks. For each layer, the input channels are ordered along the x-axis, and the output channels along the y-axis. For each output channel (row), we highlight the lowest 32 weights (in terms of absolute value) in blue, and the highest 32 in red.

an accuracy trade-off, we achieve a greater compression rate than competing methods that achieve similar accuracies. Note that SWRN is able to achieve state-of-the-art levels of accuracy, but does not provide savings in the number of parameters.

5.1. INTERPRETATION THROUGH VISUALISATION:

Visualising the weights of the blending layers that we learn for the SL-variants of our approach reveals interesting patterns in the way in which these layers blend (or use) the input channels (see Fig. 4 ). For each layer, the continuous blue vertical lines signify that a subset of the input feature maps are barely used by any of the output channels, thus effectively suppressing the information they carry. (Interestingly, the location of the vertical blue lines changes from one scale to the next, thus showing that different subsets of input channels go unused at different scales.) This is significant, because it implies that the weights associated with the unused channels can be selectively pruned without affecting performance. Our next experiment with the pruning method of Han et al. (2015) shows how we can exploit this observation to significantly reduce the size of our shared networks.

5.2. COMPLEMENTARITY WITH OTHER COMPRESSION SCHEMES:

Our best-performing SL variants have a relatively small number of parameters in the convolutional layers, but a relatively high number of parameters in the linear layers. Tables 2a and 2b show how the parameter count for these variants increases with the number of channels n and the depth (34 to 50). Notably, using bottleneck blocks, as we do for our SL-ResNet50 variants, also significantly increases the parameter count. As implied by our visualisations in the previous section, we would expect serious reductions in the number of parameters in the linear layers to be possible without significantly reducing accuracy. We thus experiment with applying the magnitude-based weight pruning approach of Han et al. (2015) to the linear layers to see whether this expectation is borne out in practice. We first select a proportion of the parameters to prune, then identify those weights that have the lowest absolute magnitude and set them to 0. We then evaluate on the validation split of the dataset. Note that we do not retrain the network after pruning. Our results (see Figure 5 ) show that we can remove a significant fraction of these blending weights before starting to see a noticeable drop in the accuracy of the network. Figure 5 : Analysing the effects of pruning on one of our largest models, SL-ResNet-50 (n = 512), trained on Tiny ImageNet. We iteratively zero out an increasing fraction of the linear layer parameters, starting from those having the smallest absolute value. The accuracy of the network stays constant even when 60% of the parameters are pruned, at which point the compression rate (in comparison to the non-shared baseline with equivalent performance) has increased from 1.4 to 2.6.

6. CONCLUSION:

In this paper, we leverage the regularities in visual signals across different scale levels to successfully extend the filter-sharing paradigm to an entire convolutional pipeline for feature extraction. In particular, we instantiate a single convolutional layer and apply it iteratively to simulate conventional VGGNet-like and ResNet-like architectures. We evaluate our shared architectures on four standard benchmarks -CIFAR-10, CIFAR-100, Tiny ImageNet and ImageNet -and achieve compression rates that are higher than existing sharing-based methods that have equivalent performance. We further show that even higher compression rates, with little additional loss in performance, can be achieved by combining our method with the magnitude-based weight pruning approach of Han et al. (2015) . Study of our complementarity to more structured pruning techniques targeting complete filters and channels is reserved for future work. We conclude with two final observations. Firstly, our use of blending layers and a parameter to tune the width of the shared convolutional layer n makes it easy to adjust the architecture so as to achieve a desired trade-off between compression rate C and accuracy. Secondly, there are interesting connections between our work and the idea of energy-based pruning explored in (Yang et al., 2017) , where the authors note that a significant fraction of the energy demands of deep network processing come from transferring weights to and from the file system. Our approach bypasses this bottleneck by using the same compact set of weights in an iterative manner. We aim to further investigate this aspect of our method in subsequent work.

A APPENDIX A.1 ADDITIONAL RELATED WORK:

Pruning methods seek to reduce the size of a network by removing (either physically or implicitly) some of a network's weights (LeCun et al., 1990; Srinivas & Babu, 2015; Yang et al., 2017; Aghasi et al., 2017; Lee et al., 2019) , filters (Leroux et al., 2016; Luo et al., 2017) or neurons (Ardakani et al., 2017) . Notably, reducing the computational cost (rather than just the memory usage) of network architectures that are pruned in an unstructured manner requires the use of suitable sparse inference schemes.

Quantization methods keep the number of independent parameters in a network the same, but reduce the bit-depth of the parameters and activations (Wu et al., 2016; Hubara* et al., 2016; 2018) to limit the memory requirements of the network.

Tensorization/tensor decomposition methods propose low-rank approximations to high-dimensional neural matrices in order to downsize trained models. Early CNN architectures such as AlexNet (Krizhevsky et al., 2012) and VGGNet (Simonyan & Zisserman, 2015) contained the bulk of their weights in the fully-connected layers. As a result, various rank reduction approaches exclusively targeted the matrices in these layers (Lin et al., 2016; Novikov et al., 2015) . The deeper/wider (He et al., 2016; Zagoruyko & Komodakis, 2016) these networks have become, the more the balance of weights has shifted towards the convolutional layers, giving rise to more generalised tensor decomposition schemes (Garipov et al., 2016) .

Knowledge distillation ('teacher/student') methods aim to transfer the knowledge present in a cumbersome teacher model to a lightweight student model, without losing the teacher's ability to generalise well. An early approach by Bucilȃ et al. (2006) used a heavyweight ensemble to label a large set of unlabelled data, and then used this to train a compact model. Much later, Ba & Caruana (2014) proposed an alternative method that trains a shallow network to directly mimic the logits of a deep model. Subsequent methods have independently shown that training the student using temperature-scaled softmax scores (Hinton et al., 2014) or Gaussian-blurred logits (Sau & Balasubramanian, 2016) of the teacher can help with regularisation. Other methods in this line of work have proposed to train deep, thin neural networks using auxiliary or intermediate cues such as hidden layer outputs (Romero et al., 2015) or post-hoc attention maps (Zagoruyko & Komodakis, 2017) . Custom architecture methods, rather than trying to compress or distil knowledge from existing networks, propose entirely new network architectures that are smaller than existing models but still capable of providing excellent performance. Good examples include SqueezeNet (Iandola et al., 2016) and MobileNets (Howard et al., 2017) . SqueezeNet tries to use 1 × 1 rather than 3 × 3 filters to reduce the parameter count, and tries to limit the number of input channels to those 3 × 3 filters it does use. MobileNets follow a similar tack and factorise traditional convolutional mappings into a depth-wise separable convolution (to process the spatial context) followed by a 1 × 1 convolution (to process the channels jointly). Two adjustable hyperparameters, α and ρ, pertaining to the intermediate feature resolution and the input spatial resolution, allow further resizing of the network.

Hybrid methods implement some combination of the compression schemes discussed above (Han et al., 2016; Yunpeng et al., 2017) . Whilst our approach belongs to the category of filter-sharing schemes elaborated above, we also demonstrate its complementarity and compatibility with the magnitude-based weight pruning method of Han et al. (2015) .

A.2 DATASETS CIFAR-10 (Krizhevsky, 2009) consists of 60, 000 32 × 32 colour images, each labelled as belonging to one of 10 mutually exclusive classes. Each class contains 6, 000 images, of which 5, 000 are earmarked for training, and 1, 000 for testing (i.e. there are 50, 000 train images and 10, 000 test images overall The accuracy results we report for ImageNet were obtained on this validation set.

A.3 NETWORK ARCHITECTURES:

Table 3 details the structure of our VGGNet-like architectures, whilst Tables 4 and 5 show our ResNet-like architectures (respectively used for CIFAR-10/100 and Tiny ImageNet/ImageNet). The notation is common to the tables and is as follows:

conv1-x A 1 × 1 convolutional layer with x output feature channels. The core of our SL variants. We use this layer to allow shared convolutions at different scale levels to observe different blends of the feature channels output by the previous scale. Its number of input feature channels is equal to x, except in E-ResNet-50, where we use it to increase the number of channels between scale levels, and in the first scale of SL-ResNet-50, where we use it to increase the number of channels from x to 4x, to account for the expansion factor of the bottleneck blocks. conv3-x A 3 × 3 convolutional layer with x output feature channels. The number of input feature channels depends on the specific network variant: for the baselines it is equivalent to the number of output feature channels of the previous layer (or 3 for the very first layer), whilst for the E/S/SL-variants, it is equivalent to the number of output feature channels x. The stride is 1 unless otherwise specified. conv7-x A 7 × 7 convolutional layer with x output feature channels. As this layer is only used as the first layer in the ResNet variants of our architectures, it always has 3 input channels. Its stride is 1 when training a ResNet-like architecture for Tiny ImageNet, and 2 when training for ImageNet. basicblock-x A simple skip connection-based block, used in the ResNet-like architectures. As in He et al. (2016) , it consists of two 3 × 3 convolutional layers and a skip connection. In our shared architectures, the two convolutional layers share the same parameters. See Figures 6a and 6b for details of the internal architectures of the non-shared and shared block variants. bottleneck-x A skip connection-based block with a bottleneck architecture, consisting of a 1 × 1 convolution (used to reduce the number of feature channels), followed by a 3 × 3 convolutional layer, and finally by another 1 × 1 convolution (restoring the original number of feature channels). For this reason it has 4x input and output channels. Figures 6c and 6d detail the internal architectures of the standard and shared variants of the bottleneck blocks (respectively). Crucially, as mentioned in the main paper -and unlike the basicblock architectures described above -the bottleneck block is shared as a single entity, owing to the presence of differently-shaped convolutions. avgpool-x An average pooling layer operating on patches of size x × x. maxpool-x A max-pooling layer operating on patches of size x × x.

FC-x A fully-connected layer with x output channels. The number of its input channels is equal to the number of outputs of the previous layer (flattened in the case the previous layer was a convolutional layer).

Each spatial convolution (conv3 and conv7) is always followed by a BatchNorm layer and a ReLu. We denote in bold the convolutional layers or blocks that are shared in our S and SL architectures. The parameters of the normalisation layers are never shared, even when the corresponding convolutional weights are shared as part of an S or SL architecture. Fully-connected layers (except the very last one in each architecture) are followed by a Dropout layer.

Input Resolution VGGNet E-VGGNet(n) S-VGGNet(n) SL-VGGNet(n) SL -VGGNet(n) CIFAR-*: 32 × 32 TI: 56 × 56 conv3-64 conv3-n conv3-n conv3-n ×conv3-n conv3-64 conv3-n conv3-n conv3-n conv1-n conv1-n maxpool-2 CIFAR-*: 16 × 16 TI: 28 × 28 conv3-128 conv3-n conv3-n conv3-n ×conv3-n conv3-128 conv3-n conv3-n conv3-n conv1-n conv1-n maxpool-2 CIFAR-*: 8 × 8 TI: 14 × 14 conv3-256 conv3-n conv3-n conv3-n ×conv3-n conv3-256 conv3-n conv3-n conv3-n conv1-n conv1-n maxpool-2 CIFAR-*: 4 × 4 TI: 7 × 7 conv3-512 conv3-n conv3-n conv3-n ×conv3-n conv3-512 conv3-n conv3-n conv3-n conv1-n conv1-n maxpool-2 CIFAR-*: 2 × 2 TI: 3 × 3 conv3-512 conv3-n conv3-n conv3-n ×conv3-n conv3-512 conv3-n conv3-n conv3-n maxpool-2* FC1 FC2 FC3

Table 3 : The architectures for VGGNet and the VGGNet-like networks we trained as part of our experiments on the CIFAR-10/100 and Tiny ImageNet datasets. The notation is described in the main text. Note that the last max-pooling layer (marked with a * ) is not used when training a network for Tiny ImageNet: this is in order to provide a longer feature vector to the first fullyconnected layer (specifically of size n * 3 * 3). 

A.4 TRAINING PROTOCOL:

To train our networks on the CIFAR datasets, we perform some basic data augmentation steps: (1) we randomly decide whether or not to flip the input images horizontally, (2) we pad the 32 × 32 images with 4 pixels and then select a random crop of size 32 × 32, and finally (3) we normalise the RGB values to have zero mean and unit norm. During the evaluation phase, we just perform the normalisation step. We train our networks for 200 epochs, using the SGD optimiser with momentum 0.9 and weight decay 5e -4 . We use an initial learning rate of 0.05 and decrease it by a factor of 2 when the error plateaus.

To train our networks on the Tiny ImageNet and ImageNet datasets, we perform a similar data augmentation: (1) we first extract a crop of a random size that is then resized to the input resolution of our network (56 × 56 for Tiny ImageNet and 224 × 224 for ImageNet), (2) we randomly decide whether or not to perform a horizontal flip of the crop, and finally (3) we normalise the crop. During the evaluation phase, we (1) resize the image to a standard resolution (64×64 for Tiny ImageNet and 256 × 256 for ImageNet), (2) extract ten crops (of size 56 × 56 for Tiny ImageNet and 224 × 224 for ImageNet) from the corners, the centre and their horizontally-mirrored variants (as in Krizhevsky et al. (2012) ), and finally (3) normalise the crops. We train our networks for 100 epochs, using the SGD optimiser with momentum 0.9 and weight decay 5e -4 . We use an initial learning rate of 0.01 for the VGGNet-like architectures on Tiny ImageNet, 0.05 for the ResNet-like architectures on Tiny ImageNet, and 0.1 for the experiments on ImageNet. Regardless of the initial value, we decrease it by a factor of 10 when the error plateaus.

A.5 ADDITIONAL RESULTS (He et al., 2016) , for b = 3 blocks per scale level, with the original ResNet, other baselines ResNet-18 and ResNet-34, and state-of-the-art compression methods. The compression factor of the proposed model with respect to the best performing ResNet-34 architecture is in triple digits. However, a more appropriate comparison is arguably with ResNet*, from which the model has been directly compressed by virtue of sharing the convolutional layers. The compression factor is still a significant 4.0, with a final weight count of only 181K. Note that the model marked with a * has been retrained for this study.

A.5.1 EVALUATION ON CLASSIFICATION BENCHMARKS:



A.5.2 INTERPRETATION THROUGH VISUALISATION:

In Fig. 7 , we show the linear layers for our different variants of VGGNet, trained on three different datasets -CIFAR-10, CIFAR-100 and Tiny ImageNet. As highlighted by the continuous blue vertical lines, it is notable that in each layer, some of the input channels barely contribute towards any of the output channels. Given this, we posit that a significant proportion of the weights in the linear layers (those that apply to the least important input channels) can be pruned without affecting the accuracy in any significant manner. Preliminary results, verifying this conjecture, are discussed in §5.1. Interestingly, the changing locations of these blue lines reflects the changing importance of different input channels at different scale levels.

Similar results for four different 'SL' variants of ResNet, trained on three different datasets -CIFAR-10, CIFAR-100 and Tiny ImageNet -are presented in Fig. 8 . As with our visualisations for 'SL-VGGNet', the continuous blue vertical lines in Figs. 8b, 8c and 8d highlight that some input channels make only a minimal contribution to any of the output channels in each layer. Once again, we believe that the weights that are applied to these less-important input channels can be pruned without affecting the accuracy in any significant manner. Some indicative results that support this hypothesis can be found in §5.1. By contrast, the linear layers in Fig. 8a exhibit somewhat less regularity. From Table 7a , SL7-ResNet yields both the highest accuracy (93.2%), and the highest compression rate (3.8) for that accuracy amongst all the variants. Thus, one possible explanation for this regular distribution of linear layer weights is that the model is operating at full capacity and is using all the channels in a balanced way to achieve an optimal performance. 

:

"Despite previous arguments that depth gives regularization effects and width causes network to overfit, we successfully train networks with 5 times more parameters than ResNet-1001, . . . and outperform ResNet-1001 by a significant margin." (Excerpt fromZagoruyko & Komodakis (2016).)

https://tiny-imagenet.herokuapp.com

Figures and Tables:

Figure 1: Standard CNN architectures (a) contain several convolutional layers, all of which are individually adapted using backpropagation. By contrast, we propose the use of a single learned convolutional layer (b) that is applied repeatedly to simulate a CNN pipeline.

Figure 3: Accuracy versus compression trade-off curves of the 'S' and 'SL' variants of VGGNet for different widths n of the shared convolutional layer, relative to the baseline VGGNet (Simonyan & Zisserman, 2015), for CIFAR-10 (a), CIFAR-100 (b), and Tiny ImageNet (c). The compression factor C is plotted on a log scale.

SL7-ResNet (n = 256) trained on CIFAR-100

Figure 6: The building blocks used in our ResNet-like architectures. (a) and (b) show the non-shared and shared basic blocks. Our shared variant of the residual basic block reuses the same convolutional layer within and across the different blocks. (c) and (d) show the bottleneck blocks. In this case, since the three convolutions have different sizes, we cannot share a single set of parameters across the whole network; instead, we consider the block as a single entity and reuse it across the network.

The fully-connected layer sizes differ across datasets to account for the different numbers of classes, and are set as follows: (a) CIFAR-10: FC 1 = FC-512, FC 2 = FC-512, FC 3 = FC-10; (b) CIFAR-100: FC 1 = FC-1024, FC 2 = FC-1024, FC 3 = FC-100; (c) Tiny ImageNet: FC 1 = FC-2048, FC 2 = FC-200. architectures for the ResNet-like networks we trained as part of our experiments on the CIFAR-10/100 datasets. The notation is described in the main text. The baselines Eb-ResNet(p) use p = 16 for training on CIFAR-10 (as in He et al. (2016)) and p = 32 for training on CIFAR-100. The final fully-connected layer has its output size set to the number of classes in the dataset (i.e. num c = 10 for CIFAR-10 and num c = 100 for CIFAR-100). We experiment with different values of b ∈ {3, 5, 7}.

SL2-VGGNet (n = 512) trained on Tiny ImageNet

Figure7: A visual depiction of the linear layers used to blend the input channels in the 'SL' variants of VGGNet trained on CIFAR-10, CIFAR-100 and Tiny ImageNet. The linear layers are presented in the order (left to right) in which they appear in the networks. For each layer, the input channels are ordered along the x-axis, and the output channels along the y-axis. For each output channel (row), we highlight the lowest 32 weights (in terms of absolute value) in blue, and the highest 32 in red.



Table content: <table><tr><td>n</td><td colspan="2">E-VGGNet</td><td/><td>S-VGGNet</td><td/><td/><td>SL-VGGNet</td><td/><td/><td>Arch.</td><td>Acc. (%)</td><td>|Wconv |</td><td>C</td></tr><tr><td/><td colspan="4">Acc. (%) |Wconv | Acc. (%) |Wconv |</td><td>C</td><td colspan="3">Acc. (%) |Wconv | C</td><td/><td>VGGNet*</td><td>93.9</td><td>14.7M</td><td>1.0</td></tr><tr><td>32 64</td><td>87.2 91.2</td><td>112K 445K</td><td>73.6 85.5</td><td>9.3K 37K</td><td>12.0 12.0</td><td>74.7 87.7</td><td>13.3K 53.3K</td><td>8.4 8.3</td><td colspan="2">Lego-VGGNet-16-w (o=2,m=0.5)</td><td>93.23</td><td>3.7M</td><td>4.0</td></tr><tr><td>128 256</td><td>93.0 94.1</td><td>1.8M 7.1M</td><td>90.7 92.8</td><td>148K 590K</td><td>12.2 12.0</td><td>91.3 93.5</td><td>213K 852K</td><td>8.4 8.3</td><td colspan="2">Lego-VGGNet-16-w (o=4,m=0.25)</td><td>91.35</td><td>900K</td><td>16.0</td></tr><tr><td>512</td><td>94.5</td><td>28M</td><td>93.7</td><td>2.4M</td><td>11.7</td><td>94.5</td><td>3.4M</td><td>8.2</td><td colspan="2">SL2-VGGNet (n=512)</td><td>94.5</td><td>3.4M</td><td>4.3</td></tr><tr><td/><td/><td/><td/><td/><td/><td/><td/><td/><td colspan="2">SL3-VGGNet (n=512)</td><td>94.7</td><td>3.4M</td><td>4.3</td></tr><tr><td/><td/><td/><td/><td/><td/><td/><td/><td/><td colspan="2">SL2-VGGNet (n=256)</td><td>93.7</td><td>852K</td><td>17.3</td></tr><tr><td/><td/><td/><td/><td/><td/><td/><td/><td/><td colspan="2">SL3-VGGNet (n=256)</td><td>93.8</td><td>852K</td><td>17.3</td></tr><tr><td/><td/><td/><td/><td/><td/><td/><td/><td/><td/><td colspan="2">(b) CIFAR-10</td><td/></tr><tr><td/><td>Arch.</td><td/><td>Acc. (%)</td><td colspan="2">|Wconv |</td><td>C</td><td/><td/><td/><td/><td/><td/></tr><tr><td/><td>VGGNet*</td><td/><td>74.3</td><td>14.7M</td><td/><td>1.0</td><td/><td/><td/><td/><td/><td/></tr><tr><td colspan="3">SL2-VGGNet (n=512)</td><td>74.0</td><td>3.4M</td><td/><td>4.3</td><td/><td>Arch.</td><td/><td>Top-1 (%)</td><td>Top-5 (%)</td><td>|Wconv |</td><td>C</td></tr><tr><td colspan="3">SL3-VGGNet (n=512)</td><td>74.4</td><td>3.4M</td><td/><td>4.3</td><td/><td>VGGNet*</td><td/><td>58.7</td><td>81.4</td><td>14.7M</td><td>1.0</td></tr><tr><td colspan="3">SL2-VGGNet (n=256)</td><td>69.7</td><td>852K</td><td/><td>17.3</td><td colspan="3">SL2-VGGNet (n = 512)</td><td>59.4</td><td>82.8</td><td>3.4M</td><td>4.3</td></tr><tr><td colspan="3">SL3-VGGNet (n=256)</td><td>71.0</td><td>852K</td><td/><td>17.3</td><td colspan="3">SL2-VGGNet (n = 256)</td><td>53.4</td><td>79.1</td><td>852K</td><td>17.3</td></tr><tr><td/><td/><td colspan="3">(c) CIFAR-100</td><td/><td/><td/><td/><td/><td colspan="2">(d) Tiny ImageNet</td><td/></tr></table>



Table content: <table><tr><td/><td/><td/><td/><td/><td>Arch.</td><td colspan="2">Top-1 (%) Top-5 (%)</td><td>|Wconv |</td><td>C</td></tr><tr><td/><td/><td/><td/><td/><td>SWRN 50-2</td><td>78.26</td><td>94.05</td><td>69M</td><td>1.0</td></tr><tr><td/><td/><td/><td/><td/><td>ResNet-50</td><td>77.15</td><td>93.3</td><td>26.8M</td><td>2.6</td></tr><tr><td>Arch.</td><td colspan="3">Top-1 (%) Top-5 (%) |Wconv |</td><td>C</td><td>ResNet-34</td><td>75.5</td><td>92.5</td><td>25.2M</td><td>2.7</td></tr><tr><td>ResNet-50*</td><td>62.8</td><td>84.1</td><td>26.8M</td><td>1.0</td><td>ShaResNet-50</td><td>75.39</td><td>92.59</td><td>20.5M</td><td>3.4</td></tr><tr><td>ResNet-34*</td><td>60.0</td><td>82.1</td><td>25.2M</td><td>1.1</td><td>ShaResNet-34</td><td>71.75</td><td>90.58</td><td>13.6M</td><td>5.1</td></tr><tr><td>SL-ResNet-50 (n=512) SL-ResNet-50 (n=256)</td><td>62.7 60.3</td><td>84.5 83.2</td><td>18.5M 4.5M</td><td>1.4 6.0</td><td>Lego-Res50(o=2,m=0.5) FSNet-ResNet-50</td><td>-64.11</td><td>89.7 85.94</td><td>8.1M 4.5M</td><td>8.5 15.3</td></tr><tr><td>SL-ResNet-34 (n=512)</td><td>62.5</td><td>83.8</td><td>3.2M</td><td>8.4</td><td>SL-ResNet-50 (n=512)</td><td>72.4</td><td>91.4</td><td>18.1M</td><td>3.8</td></tr><tr><td>SL-ResNet-34 (n=256)</td><td>56.2</td><td>80.0</td><td>794K</td><td>33.6</td><td>SL-ResNet-34 (n=512)</td><td>69.7</td><td>89.3</td><td>3.2M</td><td>21.6</td></tr><tr><td colspan="3">(a) Tiny ImageNet</td><td/><td/><td/><td colspan="2">(b) ImageNet</td><td/><td/></tr></table>

Comparing the accuracies and compression factors C of our shared variants of ResNet-34 and ResNet-50 with the original models and (for ImageNet) with ShaResNet(Boulch, 2018), LegoNet(Yang et al., 2019b), FSNet(Yang et al., 2019a)  and Shared Wide ResNet (SWRN)(Savarese & Maire, 2019). Baseline models marked with a * were retrained for this study.

Table content: <table/>

). CIFAR-100 consists of the same 60, 000 32 × 32 images that are in CIFAR-10, but this time they are evenly split into 100 classes, each containing 500 training images and 100 testing images. Tiny ImageNet 2 is essentially a smaller, lower-resolution variant of the ImageNet(Russakovsky et al., 2015) dataset. It consists of 120, 000 64 × 64 images, evenly split into 200 classes. Each class contains 500 training images, 50 validation images and 50 test images. ImageNet(Russakovsky et al., 2015) was introduced as a large-scale image classification benchmark consisting of high-resolution photographs in 1, 000 visual categories from an even larger ontology of natural concepts (WordNet). It consists of approximately 1M training images, divided into 1, 000 disjoint object categories. Another set of 50, 000 images, evenly split into 1, 000 classes, forms the validation set.

Table content: <table/>

The architectures for the ResNet-like networks we trained as part of our experiments on the Tiny ImageNet and ImageNet datasets. The notation is described in the main text. The final fully-connected layer has its output size set to the number of classes in the dataset (i.e. num c = 200 for Tiny ImageNet and num c = 1000 for ImageNet). One important difference in the architectures for the two datasets is that, in the case of Tiny ImageNet, to account for the smaller resolution of the images, in the first scale level we use a 3 × 3 convolution without striding and suppress the first maxpool-2 layer. This has the effect of allowing us to feed the convolutional architecture with an input image of size 56 × 56.

Table content: <table><tr><td>n</td><td colspan="2">E-VGGNet</td><td/><td>S-VGGNet</td><td/><td/><td>SL-VGGNet</td><td/></tr><tr><td/><td colspan="4">Acc. (%) |Wconv | Acc. (%) |Wconv |</td><td>C</td><td colspan="2">Acc. (%) |Wconv |</td><td>C</td></tr><tr><td>64</td><td>64.4</td><td>445K</td><td>41.1</td><td>37K</td><td>12.0</td><td>47.7</td><td>53.3K</td><td>8.3</td></tr><tr><td>128</td><td>70.8</td><td>1.8M</td><td>59.1</td><td>148K</td><td>12.2</td><td>64.1</td><td>213K</td><td>8.4</td></tr><tr><td>256</td><td>74.6</td><td>7.1M</td><td>67.2</td><td>590K</td><td>12.0</td><td>69.1</td><td>852K</td><td>8.3</td></tr><tr><td>320</td><td>75.3</td><td>11.1M</td><td>68.7</td><td>922K</td><td>12.0</td><td>71.1</td><td>1.3M</td><td>8.5</td></tr><tr><td>512</td><td>76.9</td><td>28M</td><td>72.5</td><td>2.4M</td><td>11.7</td><td>73.4</td><td>3.4M</td><td>8.2</td></tr><tr><td/><td/><td/><td colspan="2">(a) CIFAR-100</td><td/><td/><td/><td/></tr><tr><td>n</td><td colspan="2">E-VGGNet</td><td/><td>S-VGGNet</td><td/><td/><td>SL-VGGNet</td><td/></tr><tr><td/><td colspan="4">Acc. (%) |Wconv | Acc. (%) |Wconv |</td><td>C</td><td colspan="2">Acc. (%) |Wconv |</td><td>C</td></tr><tr><td>64</td><td>50.9</td><td>445K</td><td>37.6</td><td>37K</td><td>12.0</td><td>41.5</td><td>53.3K</td><td>8.0</td></tr><tr><td>128</td><td>56.9</td><td>1.8M</td><td>48.7</td><td>148K</td><td>12.2</td><td>52.7</td><td>213K</td><td>8.4</td></tr><tr><td>256</td><td>62.3</td><td>7.1M</td><td>55.5</td><td>590K</td><td>12.0</td><td>57.6</td><td>852K</td><td>8.3</td></tr><tr><td>320</td><td>61.9</td><td>11.1M</td><td>56.6</td><td>922K</td><td>12.0</td><td>58.3</td><td>1.3M</td><td>8.5</td></tr><tr><td>512</td><td>63.0</td><td>28M</td><td>56.8</td><td>2.4M</td><td>11.7</td><td>59.7</td><td>3.4M</td><td>8.2</td></tr><tr><td/><td/><td/><td colspan="2">(b) Tiny ImageNet</td><td/><td/><td/><td/></tr></table>

Test accuracies and parameter counts |W conv | for our 'E', 'S' and 'SL' variants of VGGNet, for different widths n of the convolutional layer. The compression factors C for the 'S' and 'SL' variants are computed relative to the corresponding E-VGGNet, which contains an equal number of channels n in its convolutional layers. Note that all the models are trained from a state of random initialisation.

Table content: <table/>



Table content: <table><tr><td>b</td><td colspan="2">Eb-ResNet</td><td colspan="6">SLb-ResNet (n = 64) SLb-ResNet (n = 96) SLb-ResNet (n = 128)</td></tr><tr><td/><td colspan="3">Acc. (%) |Wconv | Acc. (%)</td><td>C</td><td>Acc. (%)</td><td>C</td><td>Acc. (%)</td><td>C</td></tr><tr><td>3</td><td>91.8</td><td>294K</td><td>89.7</td><td>6.5</td><td>92.2</td><td>2.9</td><td>93.1</td><td>1.6</td></tr><tr><td>5</td><td>92.9</td><td>488K</td><td>90.1</td><td>10.8</td><td>92.0</td><td>4.8</td><td>93.0</td><td>2.7</td></tr><tr><td>7</td><td>93.4</td><td>682K</td><td>89.6</td><td>15.2</td><td>91.9</td><td>6.7</td><td>93.2</td><td>3.8</td></tr><tr><td/><td/><td/><td/><td colspan="2">(a) CIFAR-10</td><td/><td/><td/></tr><tr><td/><td>b</td><td colspan="2">Eb-ResNet</td><td colspan="4">SLb-ResNet (n = 128) SLb-ResNet (n = 256)</td><td/></tr><tr><td/><td/><td colspan="3">Acc. (%) |Wconv | Acc. (%)</td><td>C</td><td>Acc. (%)</td><td>C</td><td/></tr><tr><td/><td>3</td><td>72.5</td><td>1.2M</td><td>68.1</td><td>6.6</td><td>74.0</td><td>1.7</td><td/></tr><tr><td/><td>5</td><td>74.1</td><td>1.9M</td><td>68.1</td><td>10.5</td><td>74.8</td><td>2.6</td><td/></tr><tr><td/><td>7</td><td>74.6</td><td>2.7M</td><td>70.1</td><td>14.9</td><td>73.9</td><td>3.7</td><td/></tr><tr><td/><td/><td/><td/><td colspan="2">(b) CIFAR-100</td><td/><td/><td/></tr></table>

Test accuracies and parameter counts |W conv | for our 'E' and 'SL' variants of the ResNet architecture proposed for CIFAR-10 byHe et al. (2016), for different widths n of the convolutional layers and different number of blocks b per scale level. The compression factors C for the 'SL' variants are computed relative to their corresponding 'E' variants, which contain an equal number of blocks per scale level. Note that all the models are trained from a state of random initialisation.

Table content: <table><tr><td>Arch.</td><td colspan="2">Acc. (%) |Wconv |</td><td>C</td></tr><tr><td>ResNet-34</td><td>94.72</td><td>21.30M</td><td>1.0</td></tr><tr><td>ResNet-18</td><td>94.18</td><td>11.18M</td><td>1.9</td></tr><tr><td>ResNet*</td><td>93.4</td><td>682K</td><td>31.2</td></tr><tr><td>FSNet-ResNet-18</td><td>93.93</td><td>810K</td><td>26.3</td></tr><tr><td>FSNet-ResNet-34</td><td>94.29</td><td>1.68M</td><td>12.7</td></tr><tr><td>FSNet-ResNet-50</td><td>94.91</td><td>2.51M</td><td>8.5</td></tr><tr><td>ShaResNet-164 (Boulch, 2018)</td><td>93.8</td><td>0.93M</td><td>23.0</td></tr><tr><td>SL3-ResNet (n = 128)</td><td>93.1</td><td>181K</td><td>117.7</td></tr></table>

CIFAR-10: Comparing the accuracies and compression factors C of top-performing 'SL' variant of the ResNet architecture

Table content: <table/>

Peer review (iclr2020):
This paper proposes to modify a standard CNN by requiring all of its layers to share the same filter set, essentially allowing it to be expressed as an iterative (or recurrent) network. This also has the effect of forcing the same number of feature channels to be used throughout the network. For ResNet-like architectures with bottleneck blocks, sharing occurs at the level of the block (3 conv layers in series that are repeated). Another variant of the sharing pattern inserts unshared 1x1 convolutional layers after shared layers or blocks; this adds some flexibility while still reducing parameters compared to standard CNNs. On CIFAR-10, CIFAR-100, and Tiny ImageNet, experiments demonstrate the ability of the sharing scheme to reduce parameters without impacting accuracy (or more drastically reduce parameters at the cost of accuracy) (Tables 1ab, 2a). However, results are less compelling on ImageNet (Table 2b), where SL-ResNet-50 and SL-ResNet-34 are both less accurate than the baseline standard ResNets as well as ShaResNet [Boulch, 2018]. The accuracy gap between SL-ResNet and ResNet on ImageNet (Table 2b) is significant (approx 5% Top-1 and 2% Top-5 accuracy) and might make it difficult to justify use of the proposed method in this setting. As ImageNet is the most challenging of the datasets used, this is cause for concern. There is also a major concern with respect to novelty and related work. Unfortunately, the paper appears to have completely missed the following highly related publication from ICLR 2019: Learning Implicitly Recurrent CNNs Through Parameter Sharing Pedro Savarese, Michael Maire ICLR 2019 This prior work proposes a network structure in which a set of L layers share a set of k parameter templates. The templates and sharing coefficients are learned as part of the standard training procedure. This prior work demonstrates both parameter savings and accuracy improvements when training networks in this manner. Additionally, this prior work shows that some learned networks can be converted into explicitly recurrent forms as a post-processing step. The paper under review appears be a special case of this prior work with the number of templates k = 1 (shared between all layers). It is possible this is an important special case, worthy of significant attention on its own. Notably, [Savarese and Maire, 2019] considered sharing across at most all layers within the same stage of a residual network, rather than all layers in the network. However, arguing for the importance of this special case would require focused experimental comparison and analysis, which is not present in the current version of the paper. Novelty is clearly limited in light of this overlooked prior work. At minimum, citation, discussion, and experimental comparison to the above ICLR 2019 paper is necessary.