Back to search

UCL (University College London)

Development of Language Models for Ophthalmology

Abstract

dc:description.abstract

Research and service evaluation in eye care, as in other medical specialties, rely heavily on extracting clinically meaningful information from large collections of narrative clinical letters accumulated over decades. These records contain rich longitudinal historical data that is often absent from more modern structured electronic health records. Nonetheless, current text-processing workflows, deployed in health settings for research and audit, remain labor-intensive and difficult to scale, typically restricting analyses to small cohorts despite the availability of data on millions of patients. My thesis examines how such data can be systematically extracted and analyzed using advanced Natural Language Processing (NLP) methods, and evaluates the strengths and limitations of current modeling approaches for scalable and generalizable information extraction in ophthalmology. In Chapter 3, I first characterize the linguistic and structural properties of ophthalmic free text using one of the largest English-language ophthalmic clinical text corpora assembled to date. My analysis shows that a substantial amount of clinically relevant information is encoded in unstructured narratives. A longitudinal analysis of visual acuity documentation further reveals a critical gap in data accessibility: in a large proportion of historical records, visual acuity, despite being the most ubiquitous clinical variable, is recorded exclusively in unstructured clinical letters, with little corresponding representation in structured (tabular) databases. Together, these findings provide compelling quantitative evidence for the necessity of an effective Information Extraction system to unlock this vast historical dataset. In Chapter 4, I then investigate whether large-scale, domain-specific pre-training improves downstream clinical information extraction. Encoder-based language models pre-trained on more than six million ophthalmic clinical letters show selective performance gains on classification and named entity recognition tasks; however, surprisingly, improvements are not consistent and do not uniformly exceed those achieved by established biomedical language models. These findings delineate the practical limits of domain-specific pre-training in this setting. In Chapter 5, I focus on visual acuity as a clinically relevant case study. I develop and evaluate an end-to-end extraction pipeline. The proposed system combines named entity recognition and relation extraction to identify visual acuity values and their associated attributes. While strong performance is achieved under controlled conditions, evaluation across datasets with differing notation conventions and document structures reveals substantial degradation, exposing persistent challenges in robustness and generalizability. To address generalizability and scalability across distinct hospital settings in more than one country, in Chapter 6, I explore the use of large language models and privacy-preserving learning strategies. My results confirm a marked reduction in performance when models are transferred across settings. Federated learning is shown to provide some degree of improvement in closing this gap, although I found the benefits challenging to disentangle from deployment complexity. In contrast, large language models demonstrate greater adaptability across heterogeneous data and tasks, albeit at higher computational cost. In Chapter 7, which serves as the central contribution and culmination of this thesis, I introduce a novel, comprehensive evaluation benchmark database for clinical information extraction in ophthalmology, comprising ten datasets curated from ongoing audits and research projects. These datasets span multiple ophthalmic subspecialties with varying levels of linguistic and structural complexity, and are drawn from two eye institutions across two countries: Moorfields Eye Hospital (UK), and Stanford’s Byers Eye Institute (US). This benchmark enables, for the first time, a systematic and comparative evaluation of information extraction methods across heterogeneous real-world ophthalmic settings. Using this resource, I demonstrate that large language models overcome fundamental limitations of encoder-based pipelines, particularly with respect to scalability and cross-dataset performance. Beyond accuracy gains, I show that large language models enable substantially higher human–computer interaction bandwidth, supporting effective human-in-the-loop designs for clinical information extraction. Collectively, these findings establish a shift in paradigm: from narrowly defined, task-specific extraction pipelines toward more flexible, general-purpose clinical information extraction systems grounded in generative modeling. Finally, in Chapter 8, I explore retrieval-augmented generation as a related but distinct contribution. I developed a two-stage retrieval framework, combining encoder-based ranking with re-ranking, that significantly improves large language model performance on ophthalmic question-answering tasks without task-specific fine-tuning, illustrating the value of external knowledge integration for clinical text understanding. Overall, my findings show that while encoder-based pipelines are more effective for narrowly defined extraction tasks than currently available tools, they still scale poorly across clinical settings and ophthalmic subspecialties. Large language models, especially when embedded within hybrid architectures that combine lightweight pre-processing with selective generation, offer a promising direction for flexible, generalizable, and scalable extraction of ophthalmic information from clinical free text.

Degree

thesis:*
Level dc:type.qualificationlevel
Doctoral
Grantor dc:publisher.institution
UCL (University College London)
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Nguyen, Quang Ngoc
Contributors dc:contributor
  • Pontikos, Nikolas

Rights

Language dc:language
en, eng

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://discovery.ucl.ac.uk/id/eprint/10227834/

Chain of custody

source
Harvested from
University College London
Base URL
discovery.ucl.ac.uk/cgi/oai2
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Nguyen, Quang Ngoc. Development of Language Models for Ophthalmology. Doctoral thesis, UCL (University College London), 2026. https://discovery.ucl.ac.uk/id/eprint/10227834/