• 中国精品科技期刊
  • CCF推荐A类中文期刊
  • 计算领域高质量科技期刊T1类
Advanced Search
Zhang Qiang, Yang Jibin, Zhang Xiongwei, Cao Tieyong, Zheng Changyan. CS-Softmax: A Cosine Similarity-Based Softmax Loss Function[J]. Journal of Computer Research and Development, 2022, 59(4): 936-949. DOI: 10.7544/issn1000-1239.20200879
Citation: Zhang Qiang, Yang Jibin, Zhang Xiongwei, Cao Tieyong, Zheng Changyan. CS-Softmax: A Cosine Similarity-Based Softmax Loss Function[J]. Journal of Computer Research and Development, 2022, 59(4): 936-949. DOI: 10.7544/issn1000-1239.20200879

CS-Softmax: A Cosine Similarity-Based Softmax Loss Function

Funds: This work was supported by the National Natural Science Foundation of China (61602031), the Fundamental Research Funds for the Central Universities (FRF-BD-19-012A, FRF-IDRY-19-023), and the National Key 
More Information
  • Published Date: March 31, 2022
  • Convolutional neural networks (CNNs)-based classification framework has achieved significant effects in pattern classification tasks, where the Softmax function with the cross-entropy loss (Softmax loss) can make CNNs learn separable embeddings. However, for some multi-classification problems, training with Softmax loss does not encourage increasing intra-class compactness and inter-class separability, which means it hardly generates the embedding with strong discriminability, making it hard to improve the performance further. In order to enhance the discriminability of learned embeddings, a cosine similarity-based Softmax (CS-Softmax) loss function is proposed. Without changing the network structure, the CS-Softmax loss introduces some parameters such as margin factor, scale factor and weight update factor to calculate the positive similarity and negative similarity between embeddings and different class weights based on the Softmax loss, so as to achieve the objectives of enhancing intra-class compactness and inter-class separability. Furthermore, the size of classification decision margin can be modified flexibly. These characteristics further enhance the discriminability of learned embeddings in CNNs. Classification experimental results on typical audio and image datasets show that the CS-Softmax loss can effectively improve the classification performance without increasing the computational complexity. The classification accuracies of the proposed loss are 99.81%, 95.46%, and 76.46% on the MNIST, CIFAR10, and CIFAR100 classification tasks, respectively.
  • Related Articles

    [1]Guo Husheng, Zhang Yutong, Wang Wenjian. Elastic Gradient Ensemble for Concept Drift Adaptation[J]. Journal of Computer Research and Development, 2025, 62(5): 1235-1247. DOI: 10.7544/issn1000-1239.202440407
    [2]Guo Husheng, Zhang Yang, Wang Wenjian. Two-Stage Adaptive Ensemble Learning Method for Different Types of Concept Drift[J]. Journal of Computer Research and Development, 2024, 61(7): 1799-1811. DOI: 10.7544/issn1000-1239.202330452
    [3]Guo Husheng, Liu Yanjie, Wang Wenjian. Concept Drift Processing Method of Streaming Data Based on Mixed Feature Extraction[J]. Journal of Computer Research and Development, 2024, 61(6): 1497-1510. DOI: 10.7544/issn1000-1239.202330184
    [4]Guo Husheng, Sun Ni, Wang Jiahao, Wang Wenjian. Concept Drift Convergence Method Based on Adaptive Deep Ensemble Networks[J]. Journal of Computer Research and Development, 2024, 61(1): 172-183. DOI: 10.7544/issn1000-1239.202220835
    [5]Guo Husheng, Cong Lu, Gao Shuhua, Wang Wenjian. Adaptive Classification Method for Concept Drift Based on Online Ensemble[J]. Journal of Computer Research and Development, 2023, 60(7): 1592-1602. DOI: 10.7544/issn1000-1239.202220245
    [6]Cai Huan, Lu Kezhong, Wu Qirong, Wu Dingming. Adaptive Classification Algorithm for Concept Drift Data Stream[J]. Journal of Computer Research and Development, 2022, 59(3): 633-646. DOI: 10.7544/issn1000-1239.20201017
    [7]Cheng Guang, Qian Dexin, Guo Jianwei, Shi Haibin, Hua, Zhao Yuyu. A Classification Approach Based on Divergence for Network Traffic in Presence of Concept Drift[J]. Journal of Computer Research and Development, 2020, 57(12): 2673-2682. DOI: 10.7544/issn1000-1239.2020.20190691
    [8]Deng Dayong, Xu Xiaoyu, Huang Houkuan. Concept Drifting Detection for Categorical Evolving Data Based on Parallel Reducts[J]. Journal of Computer Research and Development, 2015, 52(5): 1071-1079. DOI: 10.7544/issn1000-1239.2015.20140275
    [9]Guo Gongde, Li Nan, and Chen Lifei. Concept Drift Detection for Data Streams Based on Mixture Model[J]. Journal of Computer Research and Development, 2014, 51(4): 731-742.
    [10]Xin Yi, Guo Gongde, Chen Lifei, Bi Yaxin. IKnnM-DHecoc: A Method for Handling the Problem of Concept Drift[J]. Journal of Computer Research and Development, 2011, 48(4): 592-601.
  • Cited by

    Periodical cited type(7)

    1. 朱思峰,王钰,陈昊,朱海,柴争义,杨诚瑞. 车联网边缘计算场景下基于改进型NSGA-Ⅱ算法的边缘服务器部署决策. 物联网学报. 2024(01): 84-97 .
    2. 门红蕾,曹利,郑国莉,李原帅,马海英. 车联网基于稀疏用户环境的LBS隐私保护方案. 计算机应用研究. 2024(09): 2831-2838 .
    3. 汪洋,叶挺,李廷文,吴兵. 自主船舶航行系统信息空间安全:挑战与探索. 华中科技大学学报(自然科学版). 2023(02): 64-76 .
    4. 郑莹莹,周俊龙,申钰凡,丛佩金,吴泽彬. 时间和能量敏感的端——边—云车路协同系统资源调度优化方法. 计算机研究与发展. 2023(05): 1037-1052 . 本站查看
    5. 况博裕,李雨泽,顾芳铭,苏铓,付安民. 车联网安全研究综述:威胁、对策与未来展望. 计算机研究与发展. 2023(10): 2304-2321 . 本站查看
    6. 王晨,郑文英,王惟正,谭皓文. 边缘计算数据安全保护研究综述. 网络空间安全科学学报. 2023(02): 35-45 .
    7. 邓雨康,张磊,李晶. 车联网隐私保护研究综述. 计算机应用研究. 2022(10): 2891-2906 .

    Other cited types(9)

Catalog

    Article views (965) PDF downloads (383) Cited by(16)

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return