Skip to main content

Visualize and Compress Single Logo Recognition Neural Network

  • Conference paper
  • First Online:
Book cover Bio-inspired Computing: Theories and Applications (BIC-TA 2018)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 951))

Abstract

Logo recognition by Convolutional Neural Networks (CNNs) on a smartphone requires the network to be both accurate and small. In our previous work [1], we proposed the accompanying dataset method for single logo recognition to increase the recall and precision of the target logo recognition. However, the reason why it works was unclear, thus it was hard to compress the network while maintaining the same accuracy. In this paper, we use DeconvNet [9] to visualize our network’s feature maps and propose a metric to analyze them quantitatively. Finally, we obtain a better understanding of the influences in the network brought by accompanying datasets. Under its guidance, an effective way to compress the network is devised by us. The experiments show that we can reduce the size of the neural network’s first layer by 30% while only lower the recall and precision by 0.014 and 0.01. The training time is also saved by 40% due to the network compression.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Wang, Y., Yang, W., Zhang, H.: Deep learning single logo recognition with data enhancement by shape context. In: The 2018 International Joint Conference on Neural Networks (2018)

    Google Scholar 

  2. Krizhevsky, A., Sutskever, I., Hinton, G.E.: ImageNet recognition with deep convolutional neural networks. In: Advances in Neural Information Processing Systems, pp. 1097–1105 (2012)

    Google Scholar 

  3. Hu, J., Shen, L., Sun, G.: Squeeze-and-excitation networks. arXiv preprint arXiv:1709.01507 (2017)

  4. He, K., Zhang, X., Ren, S., Sun, J.: Identity mappings in deep residual networks. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, vol. 9908, pp. 630–645. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46493-0_38

    Chapter  Google Scholar 

  5. Zhang, X., Li, Z., Loy, C.C., Lin, D.: PolyNet: a pursuit of structural diversity in very deep networks. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition, pp. 3900–3908. IEEE (2017)

    Google Scholar 

  6. Yang, B., Gu, F., Niu, X.: Block mean value based image perceptual hashing. In: International Conference on Intelligent Information Hiding and Multimedia Signal Processing, pp. 167–172. IEEE (2006)

    Google Scholar 

  7. Erhan, D., Bengio, Y., Courville, A., Vincent, P.: Visualizing higher-layer features of a deep network. Univ. Montr. 1341(3), 1 (2009)

    Google Scholar 

  8. Mahendran, A., Vedaldi, A.: Understanding deep image representations by inverting them. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 5188–5196. IEEE (2015)

    Google Scholar 

  9. Zeiler, M.D., Fergus, R.: Visualizing and understanding convolutional networks. In: Fleet, D., Pajdla, T., Schiele, B., Tuytelaars, T. (eds.) ECCV 2014. LNCS, vol. 8689, pp. 818–833. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-10590-1_53

    Chapter  Google Scholar 

  10. Wang, Y., Xu, C., Xu, C., Tao, D.: Packing convolutional neural networks in the frequency domain. IEEE Trans. Pattern Anal. Mach. Intell. (2018). https://doi.org/10.1109/TPAMI.2018.2857824

  11. Luo, J., Wu, J.: An entropy-based pruning method for CNN compression. arXiv preprint arXiv:1706.05791 (2017)

  12. Guo, J., Zhou, B., Zeng, X., Freyberg, Z., Xu, M.: Model compression for faster structural separation of macromolecules captured by Cellular Electron Cryo-Tomography. In: International Conference Image Analysis and Recognition, pp. 144–152. ACM (2018)

    Google Scholar 

  13. Hu, J., He, K., Hopcroft, J.E., Zhang, Y.: Deep compression on convolutional neural network for artistic style transfer. In: Du, D., Li, L., Zhu, E., He, K. (eds.) NCTCS 2017. CCIS, vol. 768, pp. 157–166. Springer, Singapore (2017). https://doi.org/10.1007/978-981-10-6893-5_12

    Chapter  Google Scholar 

  14. Hu, J., Li, M., Xia, C., Zhang, Y.: Combine traditional compression method with convolutional neural networks. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 2563–2566. IEEE (2018)

    Google Scholar 

  15. Li, M., Hu, J., Xia, C., Zhang, Y.: An implementation of picture compression with a CNN-based Auto-encoder. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, pp. 2543–2546. IEEE (2018)

    Google Scholar 

  16. Mitani, T., Fukuoka, H., Hiraga, Y., Nakada, T., Nakashima, Y.: Compression and aggregation for optimizing information transmission in distributed CNN. In: 2017 Fifth International Symposium on Computing and Networking, pp. 112–118. CANDAR (2017)

    Google Scholar 

  17. Xie, X., Han, X., Liao, Q., Shi, G.: Visualization and pruning of SSD with the base network VGG16. In: Proceedings of the 2017 International Conference on Deep Learning Technologies, pp. 90–94. ACM (2017)

    Google Scholar 

  18. Szegedy, C., et al.: Going deeper with convolutions. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 1–9. IEEE (2015)

    Google Scholar 

  19. Kalantidis, Y., Pueyo, L., Trevisiol, M., van Zwol, R., Avrithis, Y.: Scalable triangulation-based logo recognition. In: Proceedings of ACM International Conference on Multimedia Retrieval (ICMR 2011), Trento Italy (2011)

    Google Scholar 

  20. Zeiler, M.D., Taylor, G.W., Fergus, R.: Adaptive deconvolutional networks for mid and high level feature learning. In: 2011 IEEE International Conference on Computer Vision (ICCV), pp. 2018–2025. IEEE (2011)

    Google Scholar 

  21. Ahmed, N., Natarajan, T., Rao, K.R.: Discrete cosine transform. IEEE Trans. Comput. 100(1), 90–93 (1974)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgments

The work was supported in part by the National High-tech R&D Program of China (863 Program) (2015AA017201) and National Key Research and Development Program of China (2016QY01W0200). The authors are very grateful to the anonymous viewers of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yulong Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, Y., Zhang, H. (2018). Visualize and Compress Single Logo Recognition Neural Network. In: Qiao, J., et al. Bio-inspired Computing: Theories and Applications. BIC-TA 2018. Communications in Computer and Information Science, vol 951. Springer, Singapore. https://doi.org/10.1007/978-981-13-2826-8_29

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-2826-8_29

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-2825-1

  • Online ISBN: 978-981-13-2826-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics