With the in-depth application of artificial intelligence technology in the field of smart agriculture, effectively balancing the recognition accuracy and computational efficiency of deep learning models in resource-constrained practical deployment sce...
With the in-depth application of artificial intelligence technology in the field of smart agriculture, effectively balancing the recognition accuracy and computational efficiency of deep learning models in resource-constrained practical deployment scenarios has become a core challenge. To address this challenge, we propose and systematically validate a comprehensive solution from two complementary dimensions: model architecture design and training process optimization. In this dissertation, we design a new lightweight convolutional neural network architecture called AirNeXt. Through the innovative residual grouped convolution and multi-scale feature fusion module, we significantly reduce the number of model parameters and memory consumption and show comparable or even better performance than the heavyweight baseline model in multiple agricultural image classification tasks. To enhance the model's feature discrimination ability in complex classification tasks, this dissertation proposes a novel centroids-based loss adjustment method. This method effectively guides the model to learn more discriminative feature distributions by intelligently adjusting sample weights during training, without increasing the model's inference overhead. And it significantly improves the classification performance of multiple mainstream CNN architectures. Through the verification of two specific cases—pepper seed germination status classification and coffee leaf disease identification —the final synergy effect experiment demonstrates that combining the AirNeXt model with the centroid-based loss adjustment method achieves the best performance-efficiency trade-off on all test tasks. Especially in the real-world dataset with class imbalance, the collaborative combination scheme achieves the highest F1 score, which shows its excellent robustness and practical value. In summary, the results of this study show that a holistic strategy for collaborative optimization of accuracy and efficiency is an effective way to promote the landing application of advanced AI technology in the field of smart agriculture.