A 2-gene diagnostic signature that includes cuproptosis-related genes (SLC31A1 and LIAS) based on LightGBM was constructed, and its good performance in the specific recognition of AF was validated. Here, LIAS is linked to atrial fibrillation.