A highly accurate performance of the AI-assisted DL diagnostic models was shown in lung adenocarcinoma and lung squamous cell carcinoma of both sampling methods, especially for PD-L1 expression at 1% cutoff. Here, CD274 is linked to lung adenocarcinoma.