This deep learning model could predict high PD-L1 expression of NSCLC (all AUC>0.70 in three cohorts) and to infer clinical outcomes in response to immunotherapy. Low PD-L1 expression signature was associated with improved PFS (HR= 2.57, 95% CI: 1.22~5.44; P = 0.010). Here, CD274 is linked to non-small cell lung carcinoma.