The accuracy of S100B combined with IL-1β, IL-2, IL-4, and IL-10 in distinguishing persons with GAD from HC was 94.47 ± 2.06% using an integrated back propagation neural network based on a bagging algorithm (BPNN-Bagging). The gene discussed is IL1B; the disease is generalized anxiety disorder.