Back to Search Start Over

Lightweight and polarized self-attention mechanism for abnormal morphology classification algorithm during traditional Chinese medicine inspection

Authors :
Zhang Qi
Hu Kongfa
Wang Tianshu
Yang Tao
Source :
Digital Chinese Medicine, Vol 7, Iss 3, Pp 256-263 (2024)
Publication Year :
2024
Publisher :
KeAi Communications Co., Ltd., 2024.

Abstract

Objective: To propose a Light-Atten-Pose-based algorithm for classifying abnormal morphology in traditional Chinese medicine (TCM) inspection to solve the problem of relying on manual labor or expensive equipment with personal subjectivity or high cost. Methods: First, this paper establishes a dataset of abnormal morphology for Chinese medicine diagnosis, with images from public resources and labeled with category labels by several Chinese medicine experts, including three categories: normal, shoulder abnormality, and leg abnormality. Second, the key points of human body are extracted by Light-Atten-Pose algorithm. Light-Atten-Pose algorithm uses lightweight EfficientNet network and polarized self-attention (PSA) mechanism on the basis of AlphaPose, which reduces the computation amount by using EfficientNet network, and the data is finely processed by using PSA mechanism in spatial and channel dimensions. Finally, according to the theory of TCM inspection, the abnormal morphology standard based on the joint angle difference is defined, and the classification of abnormal morphology of Chinese medical diagnosis is realized by calculating the angle between key points. Accuracy, frames per second (FPS), model size, parameter set (Params), and giga floating-point operations per second (GFLOPs) are chosen as the evaluation indexes for lightweighting. Results: Validation of the Light-Atten-Pose algorithm on the dataset showed a classification accuracy of 96.23%, which is close to the original AlphaPose model. However, the FPS of the improved model reaches 41.6 fps from 16.5 fps, the model size is reduced from 155.11 MB to 33.67 MB, the Params decreases from 40.5 M to 8.6 M, and the GFLOPs reduces from 11.93 to 2.10. Conclusion: The Light-Atten-Pose algorithm achieves lightweight while maintaining high robustness, resulting in lower complexity and resource consumption and higher classification accuracy, and the experiments prove that the Light-Atten-Pose algorithm has a better overall performance and has practical application in the pose estimation task.

Details

Language :
English
ISSN :
25893777
Volume :
7
Issue :
3
Database :
Directory of Open Access Journals
Journal :
Digital Chinese Medicine
Publication Type :
Academic Journal
Accession number :
edsdoj.0df8fd2b004a27ac4b7fc4f67da59e
Document Type :
article
Full Text :
https://doi.org/10.1016/j.dcmed.2024.12.005