Discriminative feature learning for multiclass lung disease classification using contrastive learning
Hafiza Akter Munira1,2, Xuan Zhang1,2, Prathish K Rajaraman1,2
1IIHR-Hydroscience & Engineering, University of Iowa, Iowa City, IA, United States.
Objectives:
To develop a contrastive learning model for lung disease classification using discriminative CT imaging embeddings.
Methods:
A total of 1,187 subjects were included: asthma (n = 315), COPD (n = 355), post-COVID-19 (n = 375), and healthy controls (n = 142). Of these, 1,003 subjects had a single visit with similarly protocoled CT scans acquired at total lung capacity (TLC) and residual volume (RV), and 92 (33 asthma and 59 post-COVID-19) completed a follow-up visit, with two scans per visit. We developed a modified contrastive learning model incorporating an expert-conditioned routing network and adaptive temperature scaling to learn discriminative embeddings. Model performance was evaluated using the area under the receiver operating characteristic curve (AUC). The embeddings were further validated via k-means clustering, and quantitative CT (qCT) metrics were compared across the derived clusters. The embedding space was used to track disease progression or improvement in the follow-up disease subgroup and to evaluate the model's ability to predict qCT metrics, quantified by the coefficient of determination .
Results:
The model achieved a macro-AUC of 89.3% (95% CI: 86.5, 91.8; P < 0.001) in differentiating the four classes. Post-COVID-19 emerged as a distinct class from asthma and COPD in the t-SNE embedding space, and its embeddings across two visits captured disease improvement. Additionally, the learned embeddings showed predictive power for several qCT metrics, particularly the Jacobian ( =0.61).
Conclusions:
The proposed model effectively differentiated these three lung diseases and provided meaningful embeddings for phenotype characterization, longitudinal assessment, and qCT metric prediction.
