Portrait of Niles Liu

Niles Liu

Harvard M.S. Data Science · thesis track
MIT 2026 · Mathematics & Computer Science

Conformal prediction turns a point estimate into an interval with a coverage guarantee, and lets the band widen where the model has earned less confidence. The guarantee assumes exchangeable data; keeping it for time series, where that assumption fails, is a problem I want to work on.

About

I am a master's student in Data Science at Harvard, on the thesis track. My research interests are time series, machine learning and causal inference, and where they meet: data that arrive in sequence and drift over time, and how to tell when an estimate from them measures a real effect.

I was drawn to machine learning by a simple premise: from data, we can learn the distributions behind it and reason about what comes next. The questions that hold me are about coverage and calibration: covering the modes a dataset barely shows, and knowing how far to trust a prediction. My work so far follows that thread, across generative modeling and optimal transport, uncertainty quantification, and the evaluation methods that tell me whether any of it holds up. I care more about getting the method right than about architecture novelty. The problems that pull me in are the ones where being honest about what we know is the hard part.

I have done as much of this outside the lab as in it, building production systems and consulting on real problems, where a method only counts once it survives messy data and a deadline.

time series · causal inference · uncertainty quantification · conformal prediction · evaluation methodology · generative modeling · optimal transport

Optimal transport moves probability mass from one distribution to another along the cheapest coupling. My generative-modeling work at ETH Zürich pulled me toward it: how do you sample the modes a dataset under-represents, and how do you know when a model has them right?

Research

Optimal transport ETH Zürich

Generative modeling on manifolds

Learning & Adaptive Systems Group · Prof. Ya-Ping Hsieh

The challenge was imbalance: diffusion samplers drift toward the modes they saw most in training. I extended the Schrödinger bridge framework to time- and state-dependent potentials and derived adjoint-matching equations on manifolds, which make gradient-based optimization possible for molecular conformation sampling. I then implemented the manifold version to reduce that sampling bias and recover under-represented modes, and integrated manifold-exploration techniques into DiffDock to improve its sampling in protein–ligand docking.

Evaluation methodology Real-estate investment firm

Reproducing expert comparable selection

Self-directed

I framed real-estate comparable selection as learning-to-rank over millions of property records from several databases, trained on the comp sets expert analysts had actually chosen. The result I am proudest of is a negative one: a plain per-row classifier beat the learning-to-rank objectives on realistic full-pool retrieval, even though one of them came close on closed-set cross-validation. I rebuilt the evaluation around that gap with full-pool tests, and moved to multi-seed cross-validation after a noise-floor test showed my single-seed ablations had been chasing noise. That evaluation showed the real ceiling lives in candidate generation rather than in the ranker.

LLM evaluation Zenodo ↗

Benchmarking frontier LLMs on struck-through text

code · data

In a redlined bill, struck text is deleted text: a model that transcribes it as current brings the deletion back. I pre-registered a benchmark of ten frontier models against a deterministic open-source detector I wrote, on US Senate bills published after every model's training cutoff, and archived the rules on Zenodo before any model saw a test page. Asked only to transcribe, Grok 4.7 presented about 99% of the bills' deleted text as current. One added line of instruction made Claude Opus 5.5 and GPT-6 Astra no worse than the detector on page images; the detector costs at most $0.13 per 1,000 pages, the models $1 to $152 at their best settings. I later found two errors in my own scorer and disclosed them in the public README; neither changes an endpoint's verdict, though one changes a clause of the summary.

Uncertainty quantification MIT IMES

False arrhythmia alarms in the ICU

Institute for Medical Engineering & Science · Dr. Li-Wei H. Lehman

In the ICU, a false arrhythmia alarm is a calibration problem before it is an accuracy one: the cost of crying wolf and the cost of a missed event are nothing alike. I applied deep-ensemble fully convolutional networks and explored conformal-prediction measures, aiming to put a calibrated number on each prediction and bring down false negatives.

Retrieval-augmented generation grounds a model in evidence rather than memory: it pulls the passages closest to a question, then writes its answer from what it found, so the answer can be checked against its sources.

Open source

These projects share one question: on noisy data, how do you know whether a result is real? All are MIT-licensed and run on a laptop.

Conformal prediction · UQ GitHub ↗

conformal-selective-uq

A pre-registered study of selective conformal regression under distribution shift. The testbed injects a known noise floor into each stock, so abstention is checked against ground truth rather than asserted: the abstention score finds the unrecoverable stocks (AUC 0.81), and online conformal recovers most of the coverage a regime shift destroys (worst-group 0.51 to 0.82, against a 0.90 target). Every check is reported as it was frozen, including the two headline checks that missed. One command reproduces every printed number from a fresh clone. The study makes no alpha or return claim.

Validation methodology GitHub ↗

quant-strategy-validation

A leakage-free validation harness for systematic-strategy research. It pre-registers its gates, walks forward with an embargo, bootstraps on event clusters, deflates the Sharpe for the trials tried, and checks its gates against null models. It runs on synthetic data with a known ground truth and makes no alpha claims; the deliverable is the discipline to trust a negative result rather than manufacture an edge.

Forecasting · uncertainty GitHub ↗

property-price-avm

A time-aware automated valuation model with rolling-origin validation and conformal prediction intervals. It puts calibrated uncertainty on a heavy-tailed, regime-shifting target and controls for leakage. The error left in its hardest segment traces to missing data rather than to the model.

Learning to rank GitHub ↗

comparable-property-ranker

Cross-sectional learning-to-rank for real-estate comparables, with a synthetic demo that runs end to end. It is judged on realistic full-pool retrieval, the setup that exposes the closed-set cross-validation trap.

Time-to-event analysis. A survival curve steps down as events accrue, while the shaded band tracks how much the remaining data can still support and the ticks mark patients censored before the end. Whether two arms pull apart is the question a pivotal trial exists to answer.

Selected industry work

Independent consulting Medical-device company

Pivotal-trial biostatistics

I consulted on a pivotal Phase III trial as the only data scientist on the engagement. I built the pipeline from locked clinical-data exports to analysis-ready datasets, then ran analyses on top of it: survival analysis, recurrent-event modeling, and a hierarchical composite endpoint for win-ratio comparison. I wrote a Monte Carlo trial simulator to stress-test endpoint definitions and statistical power, and built the operational analytics that tracked activation across dozens of international trial sites.

Software engineering Maritime analytics firm

Maritime document intelligence

A top contributor to an Azure pipeline that turns messy maritime documents into structured, queryable records, I built several of its components. Most notably, an in-process TF-IDF and logistic-regression classifier with confidence-gated LLM escalation beat the LLM on recall for the highest-stakes class and cut how often the LLM is called. The last few percent of accuracy never came from more data. They came from methods that could absorb the inconsistencies of real documents. More recently I built a new backend for a legacy desktop vessel-management system on my own, and it is now in production.

Data science Real-estate investment firm

A real-estate ML portfolio, built solo

I have taken every project at the firm from idea to working system on my own. Since mid-2025 that has meant six systems: the comparable-selection research above; a sale-price valuation model; a similarity engine that reconciles two databases that agree on almost nothing; a document-extraction platform now in production; a market-scoring agent on a point-in-time panel with a deterministic, auditable rubric; and a news-annotation platform where a home-built local model does the classification and no model sets the published score. Within two weeks in June 2026 I delivered two of them, pushed a third to production, and built a fourth from nothing to a near-deliverable v1.

A vibrating string takes its pitch from the length left free to ring, and its color from the overtones riding above the fundamental. A fluency that long predates the technical ones.

Education

Harvard University, M.S. Data Science (thesis track) Joint program of Computer Science and Statistics 2026–27
MIT, B.S. Mathematics & Computer Science, with minors in Statistics & Data Science and Music GPA 5.0/5.0 · Phi Beta Kappa 2022–26

Teaching

I came to teaching unsure I was outgoing enough for it. What I learned is that the job is mostly listening. I was a TA at the MIT Experimental Study Group in General Chemistry, Multivariable Calculus and Linear Algebra, the last as Head TA. There I started to measure a good session by how much the students talked, not how much I did. I was later invited to teach a multivariable calculus section of my own, and received the Fiekowsky Award for Distinguished Teaching in 2026.

Beyond research

Violin, nineteen years and counting, including the MIT Chamber Music Society and four years on an Emerson/Harris scholarship.
Fencing (foil), 2012–26, the last four seasons at MIT. Two-time USFCA Division III All-America.

Both reward what research rewards: patient work, no way to disguise failure, and wins that are concrete and entirely your own.