We identified 12 driver genes potentially involved in the gastritis-to-cancer transformation, with CHI3L1, MMP12, CXCL6, IDO1, and CCL20 emerging as the top five genes via a early gastric cancer diagnostic model. Here, CHI3L1 is linked to gastritis.