Abstract
Electroretinography (ERG) measures the functional response of distinct retinal cells to light, but was largely displaced by structural imaging in the 2000s. Standardization efforts by the International Society for Clinical Electrophysiology of Vision (ISCEV) began in the late 1980s, and collapsed the rich time-series traces into reproducible components and implicit times. Recent improvements in hardware (RETeval) and software (artificial intelligence) may increase the utility of ERG data. However, no ERG-specific foundation models exist, and there are not enough public datasets to train one.
We asked whether time-series foundation models (FMs) trained without ERG-specific pre-training could be adapted through transfer learning. Using two public datasets, PERG-IOBA (pattern ERG with ocular diagnoses), and LEOPs (full-field ERG focusing on Autism Spectrum Disorder, ASD), we interrogated how FMs could improve over smaller within-domain models. We measured the binary (healthy/typically developing vs any annotation) and multiclass (specific family/diagnosis) classification performance of both frozen and fine-tuned FMs, alongside custom autoencoder and multiscale models, using patient-aware splits for cross validation. We benchmark the same architectures against PTB-XL, a large 12-lead ECG corpus, as both a control for each approach and to explore scaling behavior. We show that 1) pre-trained FMs can reconstruct masked traces from all three datasets, 2) frozen and fine-tuned embeddings, especially combined with multimodal metadata through masked autoencoders, performed best on classification tasks. Performance on PTB-XL was maintained down to 300 records, comparable in size to the ERG datasets. We could not reproduce published classification performance on the ASD task.
Taken together, these results support general purpose foundation models as a practical approach to ERG analysis.
Competing Interest Statement
The authors have declared no competing interest.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
All data used in this project are publicly available. PERG-IOBA (https://physionet.org/content/perg-ioba-dataset/1.0.0/) and PTB-XL (https://physionet.org/content/ptb-xl/1.0.3/) were obtained from PhysioNet.org. LEOPs (https://data.mendeley.com/datasets/w3yx7hdds7/1) data were obtained from Mendeley Data.
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes





