Skip to main content

Machine Learning Agricultural Application Based on the Secure Edge Computing Platform

  • Conference paper
  • First Online:
  • 1184 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNSC,volume 12486))

Abstract

Machine learning (ML) is fast becoming a powerful tool for increasing agricultural production, for instance, ML predicts weather and yield through satellite images. Such approaches, however, most applications are based on expensive cloud servers to handle massive calculations, which will easily lead to important data leakage (e.g. crop cultivation methods, annual output, etc.), and increase the economic burden of farmers. Motivated by the status of agriculture, especially small farms that are underfunded and require data confidentiality. We propose an application for agricultural object detection based on a secure edge computing platform that can be used for agricultural output statistics and automated spraying agriculture. Compared with cloud-based ML agricultural applications, edge-based computing platforms do not require data uploading and downloading, which protects data security and reduces capital costs. We use some techniques in the training model and compression model to solve the problems of model accuracy and real-time, as follows: (1) Category-based Assisted Excitation model is proposed to improve the YOLOv3 accuracy. (2) Use layer pruning and channel pruning together to achieve a small-scale structure search and maximize real-time performance. We have evaluated our optimized model based on NVIDIA Jetson TX2 and Fruit Dataset. Its frames per second (FPS) is 11.63, mean average precision (MAP) is 89.6%.

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

Buying options

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

Learn about institutional subscriptions

References

  1. Alreshidi, E.: Smart sustainable agriculture (SSA) solution underpinned by internet of things (IoT) and artificial intelligence (AI). arXiv preprint arXiv:1906.03106 (2019)

  2. Bargoti, S., Underwood, J.: Deep fruit detection in orchards. In: 2017 IEEE International Conference on Robotics and Automation (ICRA), pp. 3626–3633. IEEE (2017)

    Google Scholar 

  3. Chen, W., Wilson, J., Tyree, S., Weinberger, K., Chen, Y.: Compressing neural networks with the hashing trick. In: International Conference on Machine Learning, pp. 2285–2294 (2015)

    Google Scholar 

  4. Ji, C., et al.: Inspection and characterization of app file usage in mobile devices. ACM Trans. Storage (TOS) 16, 1–25 (2020)

    Article  Google Scholar 

  5. Courbariaux, M., Hubara, I., Soudry, D., El-Yaniv, R., Bengio, Y.: Binarized neural networks: training deep neural networks with weights and activations constrained to +1 or \(-\)1. arXiv preprint arXiv:1602.02830 (2016)

  6. Denton, E.L., Zaremba, W., Bruna, J., LeCun, Y., Fergus, R.: Exploiting linear structure within convolutional networks for efficient evaluation. In: Advances in Neural Information Processing Systems, pp. 1269–1277 (2014)

    Google Scholar 

  7. Derakhshani, M.M., et al.: Assisted excitation of activations: a learning technique to improve object detectors. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 9201–9210 (2019)

    Google Scholar 

  8. Fu, L., et al.: Kiwifruit detection in field images using faster R-CNN with ZFNet. IFAC-PapersOnLine 51(17), 45–50 (2018)

    Article  Google Scholar 

  9. Girshick, R., Donahue, J., Darrell, T., Malik, J.: Rich feature hierarchies for accurate object detection and semantic segmentation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 580–587 (2014)

    Google Scholar 

  10. Han, S., Pool, J., Tran, J., Dally, W.: Learning both weights and connections for efficient neural network. In: Advances in Neural Information Processing Systems, pp. 1135–1143 (2015)

    Google Scholar 

  11. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)

    Google Scholar 

  12. Huang, G., Chen, D., Li, T., Wu, F., van der Maaten, L., Weinberger, K.Q.: Multi-scale dense networks for resource efficient image classification. arXiv preprint arXiv:1703.09844 (2017)

  13. Jin, S., et al.: Deep learning: individual maize segmentation from terrestrial lidar data using faster R-CNN and regional growth algorithms. Front. Plant Sci. 9, 866 (2018)

    Article  Google Scholar 

  14. Li, J., Kuang, X., Lin, S., Ma, X., Tang, Y.: Privacy preservation for machine learning training and classification based on homomorphic encryption schemes. Inf. Sci. (2020)

    Google Scholar 

  15. Lin, T.Y., Goyal, P., Girshick, R., He, K., Dollár, P.: Focal loss for dense object detection. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2980–2988 (2017)

    Google Scholar 

  16. Liu, W., et al.: SSD: single shot multibox detector. In: Leibe, B., Matas, J., Sebe, N., Welling, M. (eds.) ECCV 2016. LNCS, vol. 9905, pp. 21–37. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46448-0_2

    Chapter  Google Scholar 

  17. Liu, Z., Li, J., Shen, Z., Huang, G., Yan, S., Zhang, C.: Learning efficient convolutional networks through network slimming. In: Proceedings of the IEEE International Conference on Computer Vision, pp. 2736–2744 (2017)

    Google Scholar 

  18. United Nations: World population prospects: the 2017 revision, key findings and advance tables. United Nations, New york (2017)

    Google Scholar 

  19. Redmon, J., Farhadi, A.: YOLOv3: an incremental improvement. arXiv preprint arXiv:1804.02767 (2018)

  20. Ren, S., He, K., Girshick, R., Sun, J.: Faster R-CNN: towards real-time object detection with region proposal networks. In: Advances in Neural Information Processing Systems, pp. 91–99 (2015)

    Google Scholar 

  21. Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556 (2014)

  22. Wang, X., Kuang, X., Li, J., Li, J., Chen, X., Liu, Z.: Oblivious transfer for privacy-preserving in VANET’s feature matching. IEEE Trans. Intell. Transp. Syst. (2020)

    Google Scholar 

  23. Wang, X., Li, J., Kuang, X., Tan, Y.A., Li, J.: The security of machine learning in an adversarial setting: a survey. J. Parallel Distrib. Comput. 130, 12–23 (2019)

    Article  Google Scholar 

  24. Wang, X., Li, J., Li, J., Yan, H.: Multilevel similarity model for high-resolution remote sensing image registration. Inf. Sci. 505, 294–305 (2019)

    Article  MathSciNet  Google Scholar 

  25. Zhang, P., Zhong, Y., Li, X.: SlimYOLOv3: narrower, faster and better for real-time UAV applications. In: Proceedings of the IEEE International Conference on Computer Vision Workshops (2019)

    Google Scholar 

  26. Zhu, Z., Han, G., Jia, G., Shu, L.: Modified densenet for automatic fabric defect detection with edge computing for minimizing latency. IEEE Internet Things J. (2020)

    Google Scholar 

  27. Zhu, Z., Tan, L., Li, Y., Ji, C.: PHDFs: optimizing I/O performance of HDFs in deep learning cloud computing platform. J. Syst. Archit. 101810 (2020)

    Google Scholar 

  28. Zhu, Z., Wu, F., Cao, J., Li, X., Jia, G.: A thread-oriented memory resource management framework for mobile edge computing. IEEE Access 7, 45881–45890 (2019)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Huanghe Liu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Fan, W., Xu, Z., Liu, H., Zongwei, Z. (2020). Machine Learning Agricultural Application Based on the Secure Edge Computing Platform. In: Chen, X., Yan, H., Yan, Q., Zhang, X. (eds) Machine Learning for Cyber Security. ML4CS 2020. Lecture Notes in Computer Science(), vol 12486. Springer, Cham. https://doi.org/10.1007/978-3-030-62223-7_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-62223-7_18

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-62222-0

  • Online ISBN: 978-3-030-62223-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics