This repository contains the official implementation for the paper: "Synthetic-to-real attentive deep learning for Alzheimer's assessment: a domain-agnostic framework for ROCF scoring".
Our work introduces a framework to automate the scoring of the Rey-Osterrieth Complex Figure (ROCF) test, a key tool in cognitive assessment for Alzheimer's disease. We tackle the critical challenges of data scarcity and domain shift by combining a novel synthetic data generation pipeline with a domain-agnostic deep learning model, ROCF-Net.
Our framework consists of two main stages:
We generate synthetic ROCF drawings in a multi-step process designed to mimic real-world variations. The main parts of this process are:
-
Unit Decomposition & Prototype Generation: The ground-truth ROCF figure is broken down into its 18 standard scoring units. Based on scoring criteria, these units are probabilistically selected and geometrically distorted to create a prototype drawing (see
../rocf_synthesis/prototype_generation.py). -
Geometry and Style Transfer: The style (e.g., stroke texture, line quality) from a real patient drawing is transferred to the prototype, creating a realistic final image with an associated score (refer to the official implementation).
ROCF-Net is an end-to-end deep learning model for regressing the final ROCF score from an input drawing. Its architecture is based on a ResNet50 backbone with key modification:
-
MixStyle Layers: To improve domain generalization, feature statistics are mixed between instances during training, making the model robust to variations in drawing style (refer to the official implementation).
-
Laplacian Attention (LaplacianAtt): A custom attention module that uses Laplacian filtering to detect edges, forcing the model to focus on the structural components of the drawing relevant for scoring.
If you find this work useful in your research, please consider citing our paper:
@article{BOUALI2025104929,
title = {Synthetic-to-real attentive deep learning for Alzheimer’s assessment: A domain-agnostic framework for ROCF scoring},
journal = {Journal of Biomedical Informatics},
volume = {171},
pages = {104929},
year = {2025},
issn = {1532-0464},
doi = {https://doi.org/10.1016/j.jbi.2025.104929},
url = {https://www.sciencedirect.com/science/article/pii/S1532046425001583},
author = {Kassem Anis Bouali and Elena Šikudová},
keywords = {Alzheimer’s disease, Rey-Osterrieth complex figure, Cross-domain generalization, Attention mechanism, Synthetic medical data}
}We acknowledge financial support from Charles University through the SVV-260699 internal grant. The data used in this study were obtained from the project "Štandardizácia neuropsychologickej batérie NEUROPSY" (APVV-15-0686).