ROFI: A Deep Learning-Based Ophthalmic Sign-Preserving and Reversible Patient Face Anonymizer
Yuan Tian, Min Zhou, Yitong Chen, Fang Li, Lingzi Qi, Shuo Wang, Xieyang Xu, Yu Yu, Shiqiong Xu, Chaoyu Lei, Yankai Jiang, Rongzhao Zhang, Jia Tan, Li Wu, Hong Chen, Xiaowei Liu, Wei Lu, Lin Li, Huifang Zhou, Xuefei Song, Guangtao Zhai, Xianqun Fan
TL;DR
This work introduces ROFI, a deep learning-based framework for ophthalmology that anonymizes patient faces while preserving disease-related ophthalmic signs. It combines a weakly supervised Ophthalmic Sign Detector with a Transformer-based Neural Identity Translator and a DA-Former for artifact refinement, enabling reversible identity restoration via a private key. Across three clinical centers and eleven eye-disease diagnoses, ROFI achieves strong privacy protection (over 95% anonymized images, $\kappa>0.90$ for signs) while maintaining diagnostic accuracy (health-state sensitivity 100% and $\kappa\geq0.81$ for diseases) and demonstrating high compatibility with medical AI models ($AUROC\approx0.91$). The framework also supports robust reversibility for audits and longitudinal care, with strong empirical privacy against face recognition and resilience to attacks, highlighting its potential to enable privacy-safe digital ophthalmology at scale.
Abstract
Patient face images provide a convenient mean for evaluating eye diseases, while also raising privacy concerns. Here, we introduce ROFI, a deep learning-based privacy protection framework for ophthalmology. Using weakly supervised learning and neural identity translation, ROFI anonymizes facial features while retaining disease features (over 98\% accuracy, $κ> 0.90$). It achieves 100\% diagnostic sensitivity and high agreement ($κ> 0.90$) across eleven eye diseases in three cohorts, anonymizing over 95\% of images. ROFI works with AI systems, maintaining original diagnoses ($κ> 0.80$), and supports secure image reversal (over 98\% similarity), enabling audits and long-term care. These results show ROFI's effectiveness of protecting patient privacy in the digital medicine era.
