Yihao Liu

Working out what a person’s GP prescriptions say about their health.

MSc Health Data Analytics & Machine Learning, and visiting researcher in the Department of Epidemiology & Biostatistics, Imperial College London

About

I trained in mathematics and computer science at École Polytechnique, with an exchange term at King’s College London. Over those three years my interest moved from the theory itself towards applying it to clinical and population health data.

I am now reading for the MSc in Health Data Analytics and Machine Learning at Imperial’s School of Public Health, supported by an SPH Masters Scholarship. Alongside the degree I am a visiting researcher in the EBS Omics group, where my bachelor thesis on GP prescription records has developed into an ongoing project.

My first clinical experience was a summer at Shanghai Ninth People’s Hospital in 2023, observing plastic and reconstructive surgery. In 2025 I joined the research summer school at St Thomas’ Hospital, building software for X-ray quality assurance.

Where I’ve been, 2021 to now

Portugal PT · EN

St Julian’s School, IB Diploma 2016–2023

China ZH

Shanghai Ninth People’s Hospital, observership summer 2023上海交通大学医学院附属第九人民医院

France FR · EN

École Polytechnique, BSc 2023–2026

United Kingdom EN

King’s College London, X-ray project summer 2025

King’s College London, exchange term 2025–2026

Imperial, EBS Omics group, visiting researcher 2025–

Imperial College London, MSc 2026–2027

Drawn as a swimmer plot. The letters beside each country are the languages I studied or worked in there.

Research

Ongoing Preprint forthcoming PMMI · Imperial College London · since 2025

Prescription‑Mediated Multi‑Morbidity Index

Multimorbidity is usually measured by counting diagnoses, as established indices such as Charlson and Elixhauser do. PMMI is built from GP prescription records instead. The question is whether the medicines a person takes carry information about their mortality risk that their diagnoses miss.

  1. PrescriptionsGP prescription records in UK Biobank, grouped into sex-specific British National Formulary categories
  2. SelectionElastic-net Cox regression and stability selection calibrated with SHARP, to find a small set that holds up when the data change
  3. CheckRandom survival forests, to see what a non-linear model would pick
  4. ScoreA short integer score you can read off without a model

Developed from my bachelor thesis. Supervised by Dr Dragana Vuckovic and Prof. Marc Chadeau-Hyam, with Dr Rin Wada. EBS Omics group, Department of Epidemiology & Biostatistics, School of Public Health.

Finished King’s College London, BMEIS · summer 2025

Checking X-ray image quality automatically

Hospitals check their fluoroscopy systems by imaging a test object, a phantom, and finding the finest pattern of lines the system can still resolve. This is usually done by eye, which is slow and varies between readers.

At the research summer school at St Thomas’ Hospital I wrote a MATLAB pipeline that automates this reading for the Leeds TOR 18FG phantom. It takes about a second per image and resolves detail roughly 50% finer than human readers. Results were validated against ImageJ.

  1. PrepareClean up the DICOM image
  2. LocateFind the phantom’s rim with Canny edges and a Hough transform
  3. AlignStraighten it with Powell optimisation and a Radon transform
  4. MeasureContrast in each of the 21 bar groups, cut off at MTF10
  5. ReportThe limiting resolution, in line pairs per mm

Supervised by Prof. Kawal Rhode, School of Biomedical Engineering & Imaging Sciences, King’s College London. With thanks to Carlo Saija for his support with MATLAB.

Publications

  1. 2025

    Hierarchical attention transformer provides assistant suggestions for orbital rejuvenation surgery

    Lian X, Hu X, Li G, Wu S, Liu Y, Qin K, Liu K

    Frontiers in Medicine 12

Google Scholar has the current list.

Side projects

2024–25 · École Polytechnique

A chess engine in C++

Written with three classmates, using alpha-beta search and an evaluation function trained on augmented game data. It reached an estimated 2790 Elo and placed 5th of 26 teams.

2024–26 · Paris

LeGuideParis

A guide to Paris for visitors to the 2024 Olympics, hand-coded in HTML, CSS and JavaScript with Adrian Duffieux. It had about 6,000 visitors in its first three months and has since been retired.