遗传学教学

现代计算机技术在遗传学实验教学中的应用——移动端轻量级高精度果蝇遗传性状批量识别系统的开发

展开
  • 复旦大学生命科学学院,生物科学国家级实验教学示范中心,上海 200433
安钧浩,本科在读,专业方向:生物信息学。E-mail: anjunhao_16@outlook.com

收稿日期: 2022-12-12

  修回日期: 2023-01-13

  网络出版日期: 2023-03-17

基金资助

复旦大学本科教学研究与改革实践项目(课程思政,编号)(FD2021E002);复旦大学本科教学研究与改革实践项目(课程思政,编号)(FD2021E003);复旦大学本科教学研究与改革实践项目(课程思政,编号)(FD2021E004)

Application of modern computer technology in classical genetics lab course——Development of a mobile, lightweight and high-precision batch identification system for genetic traits of Drosophila

Expand
  • National Demonstration Center for Experimental Biology Education, School of Life Sciences, Fudan University, Shanghai 200433, China

Received date: 2022-12-12

  Revised date: 2023-01-13

  Online published: 2023-03-17

Supported by

Supported by Fudan University Undergraduate Teaching Research and Reform Practice Project Nos(FD2021E002);Supported by Fudan University Undergraduate Teaching Research and Reform Practice Project Nos(FD2021E003);Supported by Fudan University Undergraduate Teaching Research and Reform Practice Project Nos(FD2021E004)

摘要

果蝇是实验教学中最常用的重要生物材料之一。在果蝇实验教学中,每个学生通常需要针对上百只果蝇进行手工辨认,并记录每只果蝇身上的数个不同性状,工作量大且分类标准参差不齐。为了解决这一问题,本文将现代计算机技术融入到遗传学实验教学中,使用深度卷积神经网络来自动统计每只果蝇的性状。采用的是目标检测模型+分类模型的两阶段策略模式。在分类模型的训练设计过程中,创新性利用了关键点辅助分类的方法,有效地提升了模型的可解释性。此外,还针对任务特性改善了RandAugment方法,利用渐进式学习与适应性正则化策略,在有限的计算资源下训练了MobileNetV3架构下的多标签分类任务,并最终在每只果蝇3对性状(红/白眼、长/小翅、雌/雄)的分类任务下分别达到了97.5%、97.5%和98%的准确率。模型经过优化后,可以在手机端10 s内完成600个果蝇性状的分类,该模型具有轻量化的特点,大小不到5 MB,易于在各类安卓系统手机上安装使用。该系统的开发有利于推进以果蝇为研究对象的遗传规律验证等实验的教学,也可用于涉及大量果蝇分类统计分析的科研工作。

本文引用格式

安钧浩, 赵雪莹, 乔守怡, 卢大儒, 皮妍 . 现代计算机技术在遗传学实验教学中的应用——移动端轻量级高精度果蝇遗传性状批量识别系统的开发[J]. 遗传, 2023 , 45(4) : 354 -363 . DOI: 10.16288/j.yczz.22-409

Abstract

Drosophila is a crucial biological experimental teaching material extensively utilized in experimental teaching. In this experimental teaching, each student typically needs to manually identify hundreds of fruit flies and record multiple of each fly. This task involves substantial workload, and the classification standards can be inconsistent. To address this issue, we introduce a deep convolutional neural network that classifies the traits of every fruit fly, using a two-stage consisting of an object detector and a trait classifier. We propose a keypoint-assisted classification model with tailored training session for the trait classification task and significantly enhanced the model interpretability. Additionally, we’ve enhanced the RandAugment method to better fit the features of our task. The model is trained with progressive learning and adaptive regularization under limited computational resources. The final classification model, which utilizes MobileNetV3 as backbone, achieves an accuracy of 97.5%, 97.5% and 98% for the eyes, wings, gender tasks, respectively. After optimization, the model is highly lightweight, classifying 600 fruit fly traits from raw images in 10 seconds and having a size less than 5 MB. It can be easily deployed on any android device. The development of this system is conducive to promoting the experimental teaching, such as verifying genetic laws with Drosophila as the research object. It can also be used for scientific research involving a large number of Drosophila classifications, statistics and analyses.

参考文献

[1] Chen DF, Lu DR, Zhang FX, Zhang GF. The development of genetics teaching in China in the last four decades and its future prospect. Hereditas(Beijing), 2018, 40(10): 916-923.
[1] 陈德富, 卢大儒, 张飞雄, 张根发. 中国遗传学教学40年发展及展望. 遗传, 2018, 40(10): 916-923.
[2] 乔守怡, 江绍慧. 遗传学实验—果蝇实验. 遗传, 1981, 3(2): 40-44.
[3] Szegedy C, Vanhoucke V, Ioffe S, Shlens J, Wojna Z.Rethinking the inception architecture for computer vision. In:Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2016, 2818-2826.
[4] Chollet F. Xception: deep learning with depthwise separable convolutions. In:Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2017, 1251-1258.
[5] He KM, Zhang XY, Ren SQ, Sun J.Deep residual learning for image recognition. In:Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2016, 770-778.
[6] He KM, Zhang XY, Ren SQ, Sun J. Identity mappings in deep residual networks. In: European Conference on Computer Vision. 2016, 630-645. Springer, Cham.
[7] Duan KW, Bai S, Xie LX, Qi HG, Huang QM, Tian Q. Centernet: Keypoint triplets for object detection. In:Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019, 6569-6578.
[8] Law H, Deng J. Cornernet: detecting objects as paired keypoints. In:Proceedings of the European Conference on Computer Vision (ECCV). 2018, 734-750.
[9] Newell A, Yang KY, Deng J. Stacked hourglass networks for human pose estimation. In: European Conference on Computer Vision. 2016, 483-499. Springer, Cham.
[10] Xiao B, Wu HP, Wei YC.Simple baselines for human pose estimation and tracking. In:Proceedings of the European Conference on Computer Vision (ECCV). 2018, 466-481.
[11] Yu F, Wang DQ, Shelhamer E, Darrell T.Deep layer aggregation. In:Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2018, 2403-2412.
[12] Toshev A, Szegedy C.Deeppose: human pose estimation via deep neural networks. In:Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2014, 1653-1660.
[13] Selvaraju RR, Cogswell M, Das A, Vedantam R, Parikh D, Batra D. Grad-cam: visual explanations from deep networks via gradient-based localization. In:Proceedings of the IEEE International Conference on Computer Vision. 2017, 618-626.
[14] Tan MX, Pang RM, Le QV. Efficientdet: scalable and efficient object detection. In:Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020, 10781-10790.
[15] Howard AG, Zhu ML, Chen B, Kalenichenko D, Wang WJ, Weyand T, Andreetto M, Adam H.Mobilenets: efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861.2017.
[16] Sandler M, Howard A, Zhu ML, Zhmoginov A, Chen LC.Mobilenetv2:inverted residuals and linear bottlenecks. In:Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2018, 4510-4520.
[17] Howard A, Sandler M, Chu G, Chen LC, Chen B, Tan MX, Wang WJ, Zhu YK, Pang RM, Vasudevan V, Le QV, Adam H.Searching for mobilenetv3. In:Proceedings of the IEEE/CVF International Conference on Computer Vision. 2019, 1314-1324.
[18] Lee DH. Pseudo-label:The simple and efficient semi- supervised learning method for deep neural networks. In: Workshop on Challenges in Representation Learning, ICML. 2013, 3(2): 896-896.
[19] Cubuk ED, Zoph B, Shlens J, Le QV. Randaugment: practical automated data augmentation with a reduced search space. In:Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 2020, 702-703.
[20] Tan MX, Le QV. Efficientnetv2:smaller models and faster training. In:International Conference on Machine Learning. 2021, 10096-10106.PMLR.
[21] Krizhevsky A, Sutskever I, Hinton GE. Imagenet classification with deep convolutional neural networks. Commun ACM, 2017, 60(6): 84-90.
[22] Guo YH.A survey on methods and theories of quantized neural networks. arXiv preprint arXiv:1808.04752. 2018.
[23] Gholami A, Kim S, Dong Z, Yao ZW, Mahoney MW, Keutzer K. A survey of quantization methods for efficient neural network inference. arXiv preprint arXiv:2103.13630.2021.
[24] Deng L, Li GQ, Han S, Shi LP, Xie Y. Model compression and hardware acceleration for neural networks: a comprehensive survey. Proc IEEE, 2020, 108(4): 485-532.
[25] Abadi M, Barham P, Chen JM, Chen ZF, Davis A, Dean J, Devin M, Ghemawat S, Irving G, Isard M, Kudlur M. TensorFlow: a system for large-scale machine learning. In:12th USENIX Symposium on Operating Systems Design and Implementation(OSDI 16). 2016, 265-283.
文章导航

/