We screened the core RPS6KA1 and SERPINA3 genes associated with NAFLD and AS using three machine learning algorithms. Here, SERPINA3 is linked to metabolic dysfunction-associated steatotic liver disease.