In this study, a comprehensive autophagy-related index (ARI) consisting of autophagy-related genes CXCR4 and SERPINA1 was successfully constructed for distinguishing RA and OA. Here, CXCR4 is linked to rheumatoid arthritis.