Large Language Models as Preprocessing Optimisers in Clinical Spectroscopy
Clinical spectroscopy has emerged as a powerful tool across biomedical research, with applications spanning from disease diagnosis and screening, to biomarker detection, therapeutic monitoring and intraoperative assessment. However, despite substantial progress, the analysis of spectroscopic data remains a major bottleneck, with current workflows still heavily reliant on trial and error, expert intuition and prior experience. Here, we introduce a multi-agent, large language model (LLM) framework for automated optimisation of preprocessing pipelines for spectral data. Our system combines a memory-derived information set, or \textit{dossier}, with LLM-based agents that reason over previously evaluated preprocessing pipelines in order to propose, rank, and iteratively refine preprocessing strategies by following a multi-reward rule. Unlike exhaustive, brute-force search over a parameter space, the agent constructs candidates sequentially, enabling more targeted exploration. We benchmark our approach across 18 scenarios on six public clinical datasets against seven baselines, including random search, established optimisation methods and grid search. Our agentic optimisation achieved the highest classification accuracy in four out of six datasets. Ablation across LLM backbones and dossier configurations further shows that access to optimisation history is a key contributor to performance. These results demonstrate the potential of history-informed agents to enable more automated, adaptive and reproducible preprocessing pipelines in spectroscopy.
Authors
- Dimitar Georgiev (ORCID: https://orcid.org/0000-0001-6114-5500)
- Molly M. Stevens (ORCID: https://orcid.org/0000-0002-7335-266X)
- Ho-Cheung Ng (ORCID: https://orcid.org/0000-0002-5171-1318)
- Mauricio Barahona (ORCID: https://orcid.org/0000-0002-1089-5675)
- A. Fernandez-Galiana (ORCID: https://orcid.org/0000-0002-8940-9261)
- Georgios Papadopoulos (ORCID: https://orcid.org/0009-0009-9732-3423)
Institutions
- University of Oxford (GB)
- Imperial College London (GB)
Publication Details
- Journal
- bioRxiv (Cold Spring Harbor Laboratory)
- Published
- 2026-11-25
- DOI
- https://doi.org/10.64898/2026.11.19.765453
- Primary Topic
- Spectroscopy Techniques in Biomedical and Chemical Research
- Type
- preprint