Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2022 Nov 4:13:1066999.
doi: 10.3389/fphys.2022.1066999. eCollection 2022.

CCT: Lightweight compact convolutional transformer for lung disease CT image classification

Affiliations

CCT: Lightweight compact convolutional transformer for lung disease CT image classification

Weiwei Sun et al. Front Physiol. .

Abstract

Computed tomography (CT) imaging results are an important criterion for the diagnosis of lung disease. CT images can clearly show the characteristics of lung lesions. Early and accurate detection of lung diseases helps clinicians to improve patient care effectively. Therefore, in this study, we used a lightweight compact convolutional transformer (CCT) to build a prediction model for lung disease classification using chest CT images. We added a position offset term and changed the attention mechanism of the transformer encoder to an axial attention mechanism module. As a result, the classification performance of the model was improved in terms of height and width. We show that the model effectively classifies COVID-19, community pneumonia, and normal conditions on the CC-CCII dataset. The proposed model outperforms other comparable models in the test set, achieving an accuracy of 98.5% and a sensitivity of 98.6%. The results show that our method achieves a larger field of perception on CT images, which positively affects the classification of CT images. Thus, the method can provide adequate assistance to clinicians.

Keywords: COVID-19; axial attention; compact convolutional transformer; image classification; positional bias term.

PubMed Disclaimer

Conflict of interest statement

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Figures

FIGURE 1
FIGURE 1
Our compact convolutional transformer models.
FIGURE 2
FIGURE 2
CCT diagram of convolution module.
FIGURE 3
FIGURE 3
Encoder structure drawing.
FIGURE 4
FIGURE 4
Axial attention.
FIGURE 5
FIGURE 5
CC-CCII chest CT images. (A) Normal conditions; (B) COVID-19; (C) CP.
FIGURE 6
FIGURE 6
Example of ablation experiment comparison. (A) The CT image of the COVID-19 patient; (B) the result.
FIGURE 7
FIGURE 7
Confusion matrix. (A) Efficientnet-b7; (B) Mobilenet-v3; (C) ViT; (D) CCT; (E) Ours.

Similar articles

Cited by

References

    1. Afshar P., Heidarian S., Naderkhani F., Oikonomou A., Plataniotis K. N., Mohammadi A. (2020). Covid-caps: A capsule network-based framework for identification of Covid-19 cases from x-ray images. Pattern Recognit. Lett. 138, 638–643. 10.1016/j.patrec.2020.09.010 - DOI - PMC - PubMed
    1. Ardakani A. A., Kanafi A. R., Acharya U. R., Khadem N., Mohammadi A. (2020). Application of deep learning technique to manage COVID-19 in routine clinical practice using CT images: Results of 10 convolutional neural networks. Comput. Biol. Med. 121, 103795. 10.1016/j.compbiomed.2020.103795 - DOI - PMC - PubMed
    1. Ardila D., Kiraly A. P., Bharadwaj S., Choi B., Reicher J. J., Peng L., et al. (2019). End-to-end lung cancer screening with three-dimensional deep learning on low-dose chest computed tomography. Nat. Med. 25, 954–961. 10.1038/s41591-019-0447-x - DOI - PubMed
    1. Bai H. X., Hsieh B., Xiong Z., Halsey K., Choi J. W., Tran T. M. L., et al. (2020). Performance of radiologists in differentiating Covid-19 from non-Covid-19 viral pneumonia at chest CT. Radiology 296, E46–E54. 10.1148/radiol.2020200823 - DOI - PMC - PubMed
    1. Bernheim A., Mei X., Huang M., Yang Y., Fayad Z. A., Zhang N., et al. (2020). Chest CT findings in coronavirus disease-19 (Covid-19): Relationship to duration of infection. Radiology 295, 200463. 10.1148/radiol.2020200463 - DOI - PMC - PubMed