We obtained a five-gene characteristic using a minimum depth random forest algorithm and identified CXCL10, ENO3, INHBE, LRRC31, and OPTN as key genes in NAFLD progression. The gene discussed is OPTN; the disease is metabolic dysfunction-associated steatotic liver disease.