This study, by integrating bioinformatics analysis with machine learning techniques, has identified that IKBKE and HSPA1A exert regulatory effects on the incidence and progression of both Alzheimer’s Disease (AD) and Liver Hepatocellular Carcinoma (LIHC) through the modulation of immune cell infiltration. Here, HSPA1A is linked to early-onset autosomal dominant Alzheimer disease.