In the subgroup of squamous cell carcinoma, both the two-factor model (IL1B rs1143633 and smoking duration) and the four-factor model (IL1B rs1143633, rs3136558 and rs1143630 and smoking duration) had relatively higher values of balanced accuracy overall of and cross-validation consistency of 10/10 that were statistically significant at the P-values, and smoking duration showed obvious main effects. Here, IL1B is linked to squamous cell carcinoma.