Research on a Weakly Supervised Algorithm Based on Few-Shot Learning

Main Article Content

Yufan Wu

Keywords

few-shot learning, weakly supervised learning, feature expansion, joint training

Abstract

To address the issues of weakly supervised learning (WSL) such as limited feature diversity, poor adaptability to new scenarios, and the incomplete intra-class feature coverage and low accuracy in complex scenarios inherent to few-shot learning (FSL), this paper proposes a weakly supervised algorithm based on few-shot learning. The algorithm first constructs a rule-based system through five core modules to generate approximately accurate pseudo-labels for large-scale unlabeled data. Subsequently, an intra-class feature expansion optimization strategy is designed to mine effective features using methods such as weighted distance metrics, optimizing the feature space and reducing the risk of model overfitting. By fully exploiting the effective information in data and optimizing the structure of the feature space, the algorithm compensates for the lack of intra-class feature diversity in FSL, effectively alleviates overfitting, and improves classification accuracy and generalization in complex scenarios. Experimental results demonstrate that, compared with existing literature, the proposed few-shot feature expansion algorithm under weak supervision achieves at least a 1.18% improvement in accuracy, 2.30% in precision, 1.19% in recall, and 1.76% in F1 score. For strongly supervised algorithms, the improvements are at least 4.55%, 4.49%, 4.60%, and 4.55%, respectively. The proposed approach provides a novel solution for model training under data scarcity conditions.

Abstract 21 | PDF Downloads 6

References

  • [1] Ren, D., Wang, Q., Wei, Y., Meng, D., & Zuo, W. (2022). Research progress on visual weakly supervised learning. Journal of Image and Graphics, 27(6), 1768–1798.
  • [2] Tian, X., Wang, L., & Ding, Q. (2019). A survey of image semantic segmentation methods based on deep learning. Journal of Software, 30(2), 440–468. https://doi.org/10.13328/j.cnki.jos.005659
  • [3] Liu, Y., Shao, M., Zhang, L., & Shao, J. (2025). Prototype optimization method for few-shot learning based on semantics. Pattern Recognition and Artificial Intelligence, 38(2), 132–142. https://doi.org/10.16451/j.cnki.issn1003-6059.202502003
  • [4] He, X., & Lin, J. (2022). Fine-grained few-shot learning with weakly supervised object localization. Journal of Image and Graphics, 27(7), 2226–2239.
  • [5] Zhao, K., Jin, X., & Wang, Y. (2021). A survey on few-shot learning. Journal of Software, 32(2), 349–369. https://doi.org/10.13328/j.cnki.jos.006138
  • [6] Pan, C., Huang, J., Hao, J., Gong, J., & Zhang, Z. (2020). A survey of weakly supervised learning methods combining zero-shot learning and few-shot learning. Systems Engineering and Electronics, 42(10), 2246–2256.
  • [7] Li, R., Wei, Z., Fan, Y., Ye, S., & Zhang, G. (2024). Few-shot text classification method with enhanced prompt learning. Acta Scientiarum Naturalium Universitatis Pekinensis, 60(1), 1–12. https://doi.org/10.13209/j.0479-8023.2023.071
  • [8] Liu, Y., Lei, Y., Fan, J., Wang, F., Gong, Y., & Tian, Q. (2021). A survey on image classification techniques based on few-shot learning. Acta Automatica Sinica, 47(2), 297–315. https://doi.org/10.16383/j.aas.c190720
  • [9] Zhu, J., Yao, G., Zhang, G., Li, J., Yang, Q., Wang, S., & Ye, S. (2021). A survey on few-shot learning with deep neural networks. Computer Engineering and Applications, 57(7), 22–33.
  • [10] Zheng, W., Fu, S., Chen, J., Peng, Q., Tu, Y., Zou, B., & You, X. (2025). Few-shot graph anomaly detection under extremely weak supervision. Chinese Journal of Computers, 48(4), 927–948.
  • [11] Li, Y., Xu, C., Tang, X., & Li, X. (2023). A survey of semi-supervised learning methods. World Science and Technology Research and Development, 45(1), 26–40. https://doi.org/10.16507/j.issn.1006-6055.2022.07.001
  • [12] Yang, H., Quan, J., Liang, X., & Wang, Z. (2021). Research progress on object detection based on weakly supervised learning. Computer Engineering and Applications, 57(16), 40–49.
  • [13] Xu, D., & Wu, Y. (2024). Research progress on deep learning algorithms for object detection in optical remote sensing images. Journal of Remote Sensing, 28(12), 3045–3073.
  • [14] Li, Y., Wang, P., Liu, Y., Liu, G., Wang, C., Liu, X., & Guo, M. (2020). Weakly supervised real-time object detection based on saliency maps. Acta Automatica Sinica, 46(2), 242–255. https://doi.org/10.16383/j.aas.c180789
  • [15] Zhou, M., & Wang, X. (2018). Weakly supervised deep neural network model for remote sensing image object detection. Science China Information Sciences, 48(8), 1022–1034.
  • [16] Sun, M., Lü, C., Han, Y., Li, S., & Wang, Z. (2021). Surface defect detection based on weakly supervised learning with attention mechanism. Journal of Computer-Aided Design & Computer Graphics, 33(6), 920–928.
  • [17] Li, Z., Jia, L., Zhang, B., & Li, P. (2025). Few-shot image classification based on self-supervised learning and second-order representation. Chinese Journal of Computers, 48(3), 586–601.
  • [18] Shi, Y., Shi, D., Qiao, Z., Zhang, Y., Liu, Y., & Yang, S. (2023). A survey on few-shot object detection. Chinese Journal of Computers, 46(8), 1753–1780.
  • [19] An, S., Guo, Y., Bai, Y., & Wang, T. (2023). A survey on few-shot image classification. Computer Science and Exploration, 17(3), 511–532.
  • [20] Snell, J., Swersky, K., & Zemel, R. S. (2017). Prototypical networks for few-shot learning. Advances in Neural Information Processing Systems, 30.
  • [21] Finn, C., Abbeel, P., & Levine, S. (2017). Model-agnostic meta-learning for fast adaptation of deep networks. In Proceedings of the 34th International Conference on Machine Learning (pp. 1126–1135).
  • [22] Abouelnaga, Y., Ali, O. S., Rady, H., & Moustafa, M. (2016). CIFAR-10: KNN-based ensemble of classifiers. IEEE.
  • [23] Xiao, H., Rasul, K., & Vollgraf, R. (2017). Fashion-MNIST: A novel image dataset for benchmarking machine learning algorithms.
  • [24] Ding, S., Sun, Y., Liang, Z., Guo, L., Zhang, J., & Xu, X. (2024). A survey on support vector machine algorithms under weak supervision. Chinese Journal of Computers, 47(5), 987–1009.
  • [25] Shi, Y., Xu, H., & Liu, Y. (2020). A few-shot modulation recognition algorithm based on pseudo-label semi-supervised learning. Journal of Northwestern Polytechnical University, 38(5), 1074–1083.
  • [26] Li, H., Wang, Y., & Yang, L. (2024). Few-shot object detection in remote sensing images based on meta-learning. Journal of Beijing University of Aeronautics and Astronautics, 50(8), 2503–2513. https://doi.org/10.13700/j.bh.1001-5965.2022.0637