Assessing Architectural Similarity in Populations of Deep Neural Networks
Audrey Chung, Paul Fieguth, and Alexander Wong

TL;DR
This paper investigates how measuring architectural similarity in evolving neural networks can improve the selection process, potentially leading to more efficient network architectures.
Contribution
It introduces a method to quantify architectural similarity using cluster overlap and demonstrates its effect on maintaining higher similarity in evolutionary synthesis.
Findings
Networks with architectural alignment maintain higher similarity within generations.
Architectural similarity measurement can influence the search space of neural architectures.
Preliminary results suggest potential for improved parent selection in evolutionary neural network synthesis.
Abstract
Evolutionary deep intelligence has recently shown great promise for producing small, powerful deep neural network models via the synthesis of increasingly efficient architectures over successive generations. Despite recent research showing the efficacy of multi-parent evolutionary synthesis, little has been done to directly assess architectural similarity between networks during the synthesis process for improved parent network selection. In this work, we present a preliminary study into quantifying architectural similarity via the percentage overlap of architectural clusters. Results show that networks synthesized using architectural alignment (via gene tagging) maintain higher architectural similarities within each generation, potentially restricting the search space of highly efficient network architectures.
| Gen No. | Gene Tagging | No Gene Tagging |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Assessing Architectural Similarity in Populations of Deep Neural Networks
Audrey G. Chung*∗*, Paul Fieguth, and Alexander Wong
Vision and Image Processing Research Group, University of Waterloo, Waterloo, ON, Canada
Waterloo Artificial Intelligence Institute, University of Waterloo, Waterloo, ON, Canada
Abstract
Evolutionary deep intelligence has recently shown great promise for producing small, powerful deep neural network models via the synthesis of increasingly efficient architectures over successive generations. Despite recent research showing the efficacy of multi-parent evolutionary synthesis, little has been done to directly assess architectural similarity between networks during the synthesis process for improved parent network selection. In this work, we present a preliminary study into quantifying architectural similarity via the percentage overlap of architectural clusters. Results show that networks synthesized using architectural alignment (via gene tagging) maintain higher architectural similarities within each generation, potentially restricting the search space of highly efficient network architectures.
1 Introduction
The use of deep neural networks (DNNs) [1, 7] has become ubiquitous over the last few years due to their demonstrated efficacy in many challenging application areas, including image classification [6, 12], pose estimation [13, 9], and speech recognition [5, 14]. However, the modelling accuracy of high-performance DNNs is a result of increased model size and complexity, rendering them impractical for real-world scenarios with limited computational and memory resources. As a result, methods for reducing the computational requirements of DNNs while maintaining performance accuracy are highly desirable.
One such method is evolutionary deep intelligence [10]. Inspired by nature, Shafiee et al. proposed a biologically-motivated method for synthesizing increasingly efficient and compact network architectures over successive generations from existing high-performance DNNs. While the seminal papers in evolutionary deep intelligence [10, 11] formulated the synthesis process as asexual evolutionary synthesis, recent work [4, 2] has investigated the use of sexual evolutionary synthesis to produce populations of increasingly compact DNNs at each generations.
Most recently, Chung et al. [3] conducted an initial study into mitigating architectural mismatch during sexual evolutionary synthesis via a gene tagging system. While results showed no notable difference in performance accuracy, it raises an interesting question: how can we assess the architectural similarity of DNNs in a meaningful and useful way?
In this work, we present a preliminary study exploring the quantification of network architectural similarity in populations of evolutionary synthesized neural networks via percentage overlap of architectural clusters. Architectural similarity is explored within the context of multi-parent sexual evolutionary synthesis, and will allow for the development of improved similarity-based mating policies during the evolutionary synthesis of highly efficient networks.
2 Methods
In this paper, we investigate the quantification of architectural similarity using generations of networks synthesized via multi-parent evolutionary synthesis with and without gene tagging [3].
2.1 -Parent Evolutionary Synthesis
Let the network architecture be formulated as , where is the set of possible neurons and denotes the set of possible synapses in the network. Each neuron is connected to neuron via a set of synapses , such that the synaptic connectivity has an associated to denote the connection’s strength. In the seminal evolutionary deep intelligence paper [11], the synthesis probability of a new network at generation is approximated by the synaptic probability to emulate heredity through the generations of networks. is also conditional on an environmental factor model to imitate natural selection via simulated environmental resources.
Extending on [10, 11], Chung et al. [4] generalized the synthesis process multi-parent (-parent) evolutionary synthesis where a newly synthesized network can be dependent on a subset of all previously synthesized networks , with corresponding to the set of previous networks on which is dependent and representing the generation number corresponding to the network.
The synthesis probability combining the probabilities of parent networks is represented by some cluster-level mating function and some synapse-level mating function :
[TABLE]
2.2 Architecture Alignment via Gene Tagging
To encourage like-with-like mating during evolutionary synthesis, Chung et al. [3] recently introduced a gene tagging system to enforce structural alignment, i.e., only mating architectural clusters originating from the same location in the ancestor network. As such, the cluster-level and synapse-level mating functions are formulated as follows:
[TABLE]
where is the subset of parent networks with existing architectural clusters corresponding to a single gene tagged cluster , is the set of clusters that exists in , and and are the gene tagged synaptic strengths.
2.3 Architectural Cluster Overlap
To investigate the quantification of architectural similarity in the context of multi-parent sexual evolutionary synthesis, the percentage overlap of architectural clusters between two networks is formulated as the proportion of intersecting clusters:
[TABLE]
where and represent the sets of architectural clusters that exist in the two networks being compared.
Percentage overlap of architectural clusters is an intuitive representation of network architecture similarity made viable in the context of multi-parent evolutionary synthesis by leveraging the gene tagging system [3]. As such, gene tagging (which allows for architectural alignment during evolutionary synthesis) can similarly be used to calculate percentage overlap of existing architectural clusters originating from the same location in the ancestor network. Percentage overlap is indicative of network population diversity within a generation, e.g., relatively low average percentage overlap would indicate a generation of synthesized networks with comparatively higher architectural variability.
3 Results
3.1 Experimental Setup
In this study, we used the network architectures synthesized in [3] with the least aggressive environmental factor model () and trained on the MNIST dataset [8]. Architectural similarity was assessed on the first seven generations of networks (after which the performance accuracy degraded to random guessing) synthesized with and without gene tagging.
3.2 Experimental Results
Figure 1 shows the performance accuracy as a function of storage size for the populations of synthesized networks in the first seven generations, where the best synthesized networks are closest to the top left, i.e., high performance accuracy and low storage size. Networks synthesized using gene tagging show a slightly slower progression in maintaining performance accuracy while decreasing storage size relative to networks synthesized without gene tagging.
Synthesizing networks with gene tagging and without gene tagging both produced architectures that increase in variability over successive generations; however, networks synthesized with gene tagging diversify more slowly than those without gene tagging (as shown in Table 1). Figure 1 and Table 1 also suggest that generations of networks approaching an optimal tradeoff between performance accuracy and storage size tend to also have the highest architectural variability, e.g., in generations 3 and 4.
Lastly, it is worth noting that the increasing percentage overlap in generations 6 and 7 of networks synthesized without gene tagging is a result of sparse, low-variability architectures that can no longer represent the problem space (i.e., performance accuracy of on the 10-class MNIST dataset, equivalent to random guessing). Similarly, the percentage overlap in generations 6 and 7 of networks synthesized with gene tagging increases as the performance accuracy begins to rapidly decrease.
4 Discussion
We presented a preliminary study in assessing architectural similarity between deep neural networks to improve the sexual evolutionary synthesis process. Results show that networks synthesized using gene tagging have less architectural variability than networks synthesized without gene tagging, as quantified by relatively higher overlap percentages of architectural clusters. This indicates that the use of gene tagging is potentially restricting the exploration of highly efficient network architectures in the search space. Future work includes further investigation into quantities of information, e.g., mutual information, as well as the development of a custom similarity metric for optimal architectural similarity during sexual evolutionary synthesis.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Y. Bengio et al. Learning deep architectures for ai. Foundations and trends® in Machine Learning , 2(1):1–127, 2009.
- 2[2] A. G. Chung, P. Fieguth, and A. Wong. Polyploidism in deep neural networks: m-parent evolutionary synthesis of deep neural networks in varying population sizes. Journal of Computational Vision and Imaging Systems , 3(1), 2017.
- 3[3] A. G. Chung, P. Fieguth, and A. Wong. Mitigating architectural mismatch during the evolutionary synthesis of deep neural networks. ar Xiv preprint ar Xiv:1811.07966 , 2018.
- 4[4] A. G. Chung, M. Javad Shafiee, P. Fieguth, and A. Wong. The mating rituals of deep neural networks: Learning compact feature representations through sexual evolutionary synthesis. In Proceedings of the IEEE International Conference on Computer Vision , pages 1220–1227, 2017.
- 5[5] A. Graves, A.-r. Mohamed, and G. Hinton. Speech recognition with deep recurrent neural networks. In 2013 IEEE international conference on acoustics, speech and signal processing , pages 6645–6649. IEEE, 2013.
- 6[6] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems , pages 1097–1105, 2012.
- 7[7] Y. Le Cun, Y. Bengio, and G. Hinton. Deep learning. nature , 521(7553):436, 2015.
- 8[8] Y. Le Cun, C. Cortes, and C. Burges. MNIST handwritten digit database. 1998.
