Related Experiment Video
Updated: May 10, 2026

Mouse Eye Enucleation for Remote High-throughput Phenotyping
Published on: November 19, 2011
Automated phenotyping of ophthalmologic diseases from routine medical records using small language models and the
Binh Duong Thai1, Sebastian Arens1, Thomas Reinhard1
1Medical Faculty, Eye Center, University Medical Center Freiburg, Freiburg, Germany and Albert Ludwigs University Freiburg, Killianstraße 5, 79106, Freiburg, Germany.
Abstract:
Automated phenotyping in ophthalmology requires accurate standardization of clinical terms to facilitate interoperability and research. This study evaluates the suitability of the human phenotype ontology (HPO) for automated extraction of ophthalmic phenotypes from narrative documentation. We developed a locally operated AI pipeline combining text segmentation and negation detection based on a small language model (PHI-4) with a dense retrieval approach using an augmented multilingual HPO catalog. Synonyms were incorporated into the HPO during training on anonymized consecutive physician letters. To validate the pipeline, 175 anterior segment and fundus descriptions from randomly picked medical records were manually annotated with HPO terms as ground truth. Overall, 342 HPO terms were identified manually (on average 2.53 terms per document), with 341 retrieved by the pipeline (on average 2.52 terms per document). Performance metrics showed a median Jaccard similarity of 0.67, precision of 0.83, recall of 0.82, and F1 score of 0.80. These results demonstrate that our AI pipeline effectively extracts standardized HPO terms from free-text ophthalmic findings. Integration of this pipeline into clinical information systems may enhance data interoperability and reduce manual coding workload in ophthalmology practices in the future.

