Methods · Figure digitization
The data behind the curve
Kaplan–Meier (KM) curves carry survival data that scientific research teams rely on, but they're usually published as standalone figures. otto-SR recovers that data, matching manual reconstruction on comparable trials, in under a minute and a half per extracted chart.
TL;DR: Kaplan–Meier curves are the standard way clinical trials report time-to-event outcomes, and teams reuse them across a drug's life: to size new trials, pool evidence, compare against competitors and model value for payers. Most of those uses require the underlying patient-level data, which is rarely public, so analysts must rebuild it by hand. otto-SR can automatically digitize these figures with state-of-the-art performance that is on par with human experts.
- Published (FDA plot)
- Lenvatinib (rebuilt)
- Placebo (rebuilt)
- Time in months
Phase 1 · synthetic charts
0.59ppaverage gap between the traced and true curves, in percentage points of survivalOpus 5.5 on the same 980 charts: 1.79 pp
Phase 2 · published charts
1.7%median difference from published unadjusted hazard ratiosPublished manual reconstructions: 1.7–2.1%, on other trials
Speed
1.4minmedian time per published figure, once extractedBy hand: about 30 minutes to prepare one curve's inputs
Key findings:
- otto-SR demonstrates state-of-the-art performance on KM digitization tasks. On synthetic charts its traces had a third of the error of Opus 5.5, a top scorer on a professional chart-reading benchmark (0.59 against 1.79 percentage points), and lower error than published tools built on GPT-5 and Claude Opus 4.6 report on their own test sets.
- Its hazard ratios match manual reconstruction on real-world examples. Across 110 comparisons with unadjusted published hazard ratios, the recomputed value landed a median 1.7% away, on par with human experts in earlier reconstruction studies (1.7–2.1%).
- For hazard ratios, the risk table matters more than the trace. In a sensitivity analysis, rebuilding the same traces without the numbers at risk nearly tripled the median difference, to 5.1%.
Why survival curves matter
Few figures in medicine carry more weight: in cancer, cardiology and beyond, a Kaplan–Meier curve often carries a trial's main result. Each treatment arm gets a stepped line showing the share of patients still free of the event (death, say, or disease progression) over time. Ticks mark censored patients, whose follow-up ended without an event, and a table of numbers at risk often sits underneath. The hazard ratio sums up the difference between arms in one number: at 0.70, the event rate on the new treatment is roughly 30% lower at any given time.
Papers usually print that ratio and the medians, which often aren't enough for a meta-analysis or a cost-effectiveness model. Those need the patient-level data behind the curve, and for 55% of the pivotal industry trials behind FDA cancer approvals from 2011 to 2021, that data wasn't even eligible for sharing. Usually the published picture is all there is.
From picture to data
Recovering the data takes two steps. An analyst traces each curve with a digitizing tool, clicking along it point by point. Then an algorithm, usually the one published by Guyot and colleagues in 2012 and named in both NICE's methods manual and the EU guideline, uses the traced coordinates and the numbers at risk to back-calculate event and censoring times that reproduce the curve. The result is pseudo-individual patient data (pseudo-IPD): not the original records, but data whose Kaplan–Meier curve matches the published one closely enough to fit survival models and recompute hazard ratios. Public collections such as KMDATA hold pseudo-IPD built this way from 153 phase III cancer trials.
It is slow, skilled work. Guyot's team estimated about half an hour just to prepare the inputs for one curve, and current guidance recommends a second analyst duplicate or check it. Errors also travel downstream: a tail traced a couple of percentage points too high becomes a fatter extrapolated tail, and more life-years in a cost-effectiveness model.
Market access shows how much rides on it
- Economic models need the whole curve. NICE asks for a lifetime time horizon when a treatment affects survival, which means extrapolating well beyond trial follow-up (NICE methods manual; technical support document 14). A 2017 review for NICE found partitioned survival models, built directly from the progression-free and overall survival curves, in more than 70% of recent cancer appraisals.
- Comparisons with competitors need patient-level data. NICE's manual says synthesizing survival outcomes needs patient-level data and, where none is available, points to reconstruction from published curves. Population-adjusted comparisons such as MAIC (technical support document 18) reweight a company's own patients to match a competitor's trial; in a 2025 review of 117 oncology MAICs, 69% reported using pseudo-IPD.
- Joint clinical assessments add volume. EU joint clinical assessments began on 12 January 2025 for new cancer medicines and advanced therapies (European Commission). The EU guideline on comparisons says survival network meta-analyses that don't assume a constant hazard ratio require patient-level data or, more commonly, pseudo-IPD from digitized curves. Published scoping exercises have averaged about eight PICOs (distinct combinations of population, intervention, comparator and outcome) each. Our EU JCA case study shows what that means in practice.
Using LLMs to digitize figures
With that much digitizing ahead, the obvious shortcut is to hand the chart to a general-purpose AI model. Multimodal models have become strong chart readers, and the closest public test of this task is Chartography, a Surge AI benchmark of 100 tasks on the specialized charts professionals use, Kaplan–Meier curves among them, each written by someone who reads such charts for a living. Opus 5.5 ranks among the top scorers with or without tools (Table 1), which makes it a demanding comparator.
| Model | Score |
|---|---|
| Opus 5.5 | 89.0%* |
| Fable 5.1 | 88.4%* |
| Gemini 4 Argon | 71.6% |
| GPT-6 Astra | 71.0% |
| GPT-6 Sol | 53.6% |
Selected scores. *With tools: Anthropic's scores from the Opus 5.5 system card, run with a code sandbox and an image-cropping tool and averaged over five runs. The other scores are without tools, from Surge AI's leaderboard; we found no with-tools scores for the Gemini or GPT-6 models. Without tools, Opus 5.5 scores 66.3%, third behind Gemini 4 Argon and GPT-6 Astra.
How the pipeline works
To put things to the test, we directly compared otto-SR's digitizing step with Opus 5.5 (running with tool access) and kept every other step the same. Digitizing is one of four steps, and the steps around it decide whether a good trace becomes a usable result (Figure 1).
- 01
Extract
Pull each survival figure from the paper, with the key details printed alongside it.
- 02
Digitizeotto-SR vs. Opus 5.5
Convert each curve into precise time and survival values.
- 03
Reconstruct
Rebuild patient-level data consistent with the digitized curves.
- 04
Recompute & check
Recalculate the hazard ratio, compare it with the published one, and export everything for review.
When a figure lacks what reconstruction needs, the pipeline flags it rather than guess, and every export keeps the digitized points beside the result, so a reviewer can always see where a number came from.
We tested it in two phases: synthetic charts, where the true curve is known, then published figures, where the answer key is what the authors reported.
Phase 1: synthetic charts
Method
We simulated patient-level survival data for trials with one or more arms, computed the Kaplan–Meier curves and drew 1,000 charts the way journals do: stepped curves, some with censoring ticks, some with shaded confidence bands. Each came with the details a paper prints alongside its figure, such as the numbers at risk. To mimic scanned or low-resolution PDFs, we then degraded the images with noise, cropping, rotation and distortion. Because we generated the data, we know every point on every true curve, and the hazard ratio estimated from the simulated patients, which a perfect reconstruction should recover.
The main score is the mean trace error: the gap between the traced and true curves, averaged along the curve, in percentage points (pp) of survival. One point is the difference between 50% and 51% survival.
Results
otto-SR completed 993 of the 1,000 charts. Its traces averaged 0.58 percentage points from the truth (median 0.55), and no chart averaged more than 2 pp; the hardest, example B below, came in at 1.53. On average, 86% of each traced curve sat within 1 pp of the true one.
Opus 5.5 was a clear step behind. On the 980 charts both completed, its mean trace error was 1.79 pp against otto-SR's 0.59, and otto-SR was closer on 979 of them (Table 2).
| Lower is better | otto-SR | Opus 5.5 |
|---|---|---|
| Mean trace error (pp) | 0.59 | 1.79 |
| Root-mean-square error (pp) | 0.82 | 2.34 |
| Worst chart (pp) | 1.53 | 7.31 |
| Integrated absolute error (pp) | 0.49 | 1.59 |
| Integrated absolute error after reconstruction (pp) | 0.52 | 1.60 |
| Average survival over follow-up, rebuilt minus true (months; nearer 0 is better) | +0.06 | +0.52 |
| Median hazard-ratio error vs. truth | 0.7% | 1.2% |
Means weight each chart equally; one run each. Root-mean-square error weighs large misses more; integrated absolute error is the area between the curves divided by the follow-up time. Both are included for comparison with published studies (Table 4). Average survival over follow-up is restricted mean survival time. The hazard-ratio row uses the 498 shared comparisons with a true hazard ratio.
After reconstruction, with the truth known
Reconstruction added little error: rebuilt curves sat about as close to the truth as the traces did. Hazard ratios recomputed from the rebuilt data were a median 0.7% from the true value, and never more than 6.9%. Opus 5.5's were a median 1.2% off, so the threefold gap in tracing shrinks to less than twofold by the hazard ratio. Absolute survival is less forgiving. Opus 5.5's rebuilt curves overstated average survival over follow-up by 0.52 months, against 0.06 for otto-SR, and that is the quantity an economic model turns into life-years.
Phase 2: published charts
Method
Phase 2 is a real-world test: 128 single-panel Kaplan–Meier figures from published trials in oncology, cardiology, critical care and other fields. With no true curve to compare against, we score the number an analyst would actually use: the hazard ratio recomputed from our reconstruction, against the one the paper published. That makes it a demanding test. Error comes from digitizing the curve and from the statistical method that rebuilds patient data from it, which is approximate even from a perfect trace. Some also comes from the figure itself, such as a missing risk table or an analysis the figure can't show. Not all of it is the pipeline's fault, but all of it reaches the final number, as it would in a real-world workflow.
Adjusted and unadjusted hazard ratios
A curve carries no patient characteristics, so a hazard ratio rebuilt from it is unadjusted. Some papers report only a hazard ratio adjusted for factors such as age or disease severity; we show those 22 comparisons, from 18 figures, separately. Where a paper also reported an unadjusted estimate, we scored against that (example D). The main results use the remaining 110 comparisons, against hazard ratios not reported as covariate-adjusted (unadjusted, for short). A comparison is one published hazard ratio, and a few figures carry more than one.
Accuracy
Against unadjusted hazard ratios, the recomputed value differed from the published one by a median of 1.7%. Of the 110, 85 (77%) were within 5%, and every one with a reported confidence interval was within one standard error of the published estimate. The errors don't lean either way: the median ratio of recomputed to published is 1.00 (Figure 2). The mean difference, 4.0%, is pulled up by a handful of small analyses, covered below.
The number of events explains much of the spread. With few events, each step in the curve is large, so misplacing a single event or censoring time moves the hazard ratio noticeably. In larger analyses, with about 100 or more events (judged from the width of the reported confidence interval), the median difference was 1.3%, 46 of 52 were within 5%, and none missed by more than 10%. With fewer events, the median was 2.6%. Table 3 has the full breakdown.
| Comparison set | Median difference | Within 5% | Within 1 SE |
|---|---|---|---|
| Unadjusted (110) | 1.7% | 77% | 109/109 |
| · ~100+ events (52) | 1.3% | 88% | 52/52 |
| · fewer events (57) | 2.6% | 68% | 57/57 |
| Covariate-adjusted (22) | 8.6% | 36% | 21/22 |
| Sensitivity: no risk table (110) | 5.1% | 50% | 99/109 |
Per-comparison results on the 128 published figures. Unadjusted means hazard ratios not reported as covariate-adjusted, including those stratified only by randomization factors. The event rows use a standard error of the log hazard ratio of 0.2 or less (about 100 events with 1:1 randomization) and leave out the one comparison without a confidence interval. Hazard ratios are recomputed with a Cox model, or with a log-rank-based estimate where the paper used one. Standard errors use each paper's confidence level. One entry that paired a curve with another endpoint's hazard ratio is excluded. Against all 133 hazard ratios as originally recorded, the median was 2.4%, with 69% within 5%.
Where the largest misses come from
The three largest misses among unadjusted hazard ratios are all small analyses: a 23-patient subgroup whose published hazard ratio comes from a stratified model (45% off), and endpoints with 29 and about 16 events (31% and 16%). Beyond those, misses fall to 10–15%, a few of them in well-reported trials with 50 or more events, such as CABINET's extrapancreatic cohort (0.44 against a published 0.38). Where the paper reports a confidence interval, even these sit within 0.7 standard errors of the published estimate.
Sensitivity analysis: without the risk table
To see how much the risk table contributes, we rebuilt all 110 unadjusted comparisons without it, from the curve and the paper's other details. The traces were unchanged. The median difference nearly tripled, from 1.7% to 5.1%, and 10 comparisons fell outside one standard error. The numbers at risk fix how many patients were still being followed at each point; censoring ticks show this only roughly, since they overlap and are often left off. Guyot and colleagues reached the same conclusion in 2012: reasonably accurate hazard ratios need at least the numbers at risk or the total number of events. Kim and colleagues saw the same in 2025: on 15 curves rebuilt without the risk table, their mean error rose to 6.6%, against 2.9% overall.
Against Opus 5.5 on published charts
On published charts the gap between otto-SR and Opus 5.5 narrowed. On the 105 unadjusted comparisons both completed, otto-SR's median difference was 1.7% against 2.4% for Opus 5.5, and otto-SR was closer on 57 against 45 (3 ties), a split that could easily arise by chance. The mean difference (3.9% for both) and the share within 5% were about the same, and every comparison with a reported confidence interval was within one standard error for both. Figure 3 follows the gap along the pipeline.
- 01TraceMean trace error, synthetic charts · 980 charts0.59 pp1.79 pp
3.0×the error with Opus 5.5
- 02Hazard ratio vs. truthMedian HR error, synthetic charts · 498 comparisons0.7%1.2%
1.8×the error with Opus 5.5
- 03Hazard ratio vs. paperMedian HR error, published charts · 105 comparisons1.7%2.4%
1.4×the error with Opus 5.5
Traces three times further off on synthetic charts gave hazard ratios on published charts about as close to the paper's, partly because tracing errors shared by both arms can cancel in the ratio (example B). What separates a recomputed hazard ratio from the published one is mostly the number of events, whether the figure prints a risk table, and how the authors analyzed their data. Tracing accuracy shows up instead in absolute survival, the input to economic models (Table 2).
Four charts up close
Averages hide the mechanics. Here are two synthetic charts, where we know the truth, and two published ones, where we know what the authors reported. Each pair has a close match and a hard case, all from the otto-SR run.
SyntheticClose match
Tangled curves, clean trace
- True curve, arm A
- True curve, arm B
- Rebuilt, arm A
- Rebuilt, arm B
- Time in months
- Mean trace error
- 0.57 pp87% of the curve within 1 pp
- True hazard ratio
- 0.87795% CI 0.698–1.102
- Recomputed
- 0.8770.01 standard errors away
One of the busiest charts in the set: two arms that cross again and again, with overlapping confidence bands and censoring ticks on both curves. The trace still averaged 0.57 percentage points from the truth, and the recomputed hazard ratio matched the true one to the third decimal. Distinct colors and a full risk table gave every later step what it needed.
SyntheticHardest trace
When small steps blur
- True curve, arm A
- True curve, arm B
- Rebuilt, arm A
- Rebuilt, arm B
- Time in months
- Mean trace error
- 1.53 ppWorst of 993 charts
- True hazard ratio
- 0.79595% CI 0.646–0.978
- Recomputed
- 0.7840.14 standard errors away
The least accurate trace in Phase 1. The true curves fall in 381 and 402 small steps, and the trace merged runs of them into fewer, larger ones, so survival read slightly high between drops. The thick lines probably didn't help. The hazard ratio held up anyway, 0.784 against a true 0.795, most likely because both arms were smoothed the same way and the ratio between them barely moved.
PublishedClose match
A full risk table pays off
- Published (FDA plot)
- Lenvatinib (rebuilt)
- Placebo (rebuilt)
- Time in months
- Published hazard ratio
- 0.2195% CI 0.16–0.28, stratified
- Recomputed
- 0.2100.01 standard errors away
- Inputs
- Risk table, N261 vs. 131 patients
The chart from the summary: progression-free survival for lenvatinib against placebo in radioiodine-refractory thyroid cancer (the SELECT trial), from the FDA's approval summary. The journal figure we digitized (linked below, not shown) prints the numbers at risk every two months, and the curves separate early. Its lenvatinib curve is dashed, a style our synthetic set doesn't include. With the full risk table, the recomputed hazard ratio matched the published 0.21 almost exactly (0.2104). Laid over the FDA statistical reviewer's plot of the same data, the rebuilt curves track the published ones throughout. Lenvatinib runs a shade low, ending on a plateau of 0.43 against 0.44, and both rebuilt curves stop about a month before the last censored patient in each arm.
Published curves: FDA statistical review of NDA 206947 (2015), Figure 3.2, a US government work. Digitized figure: Nair et al., Clin Cancer Res 2015
PublishedHard case
An intensive-care trial
- Published (journal figure)
- Lactate-guided therapy (rebuilt)
- Control (rebuilt)
- Time in days
- Headline hazard ratio
- 0.6195% CI 0.43–0.87, adjusted
- Unadjusted, same trial
- 0.73595% CI 0.52–1.03, supplement
- Recomputed
- 0.797.5% from the unadjusted value
Hospital mortality in a trial of lactate-guided therapy in intensive care, one of the non-oncology figures in the set. The headline hazard ratio, 0.61, is adjusted for age, sex and two illness-severity scores and stratified by center and sepsis. The supplement also reports an unadjusted estimate, 0.735 (0.52–1.03), and that is what we score against: our 0.79 is 7.5% from it, or 0.41 standard errors. The reconstruction itself was faithful, recovering 58 and 76 deaths against the 58 and 77 reported, and laid over the published figure the rebuilt curves stay within a percentage point of both arms at every day we checked.
Published curves reproduced from Jansen et al., Am J Respir Crit Care Med 2010, © American Thoracic Society, recolored gray.
Overlays and rebuilt curves come from our evaluation tooling: Kaplan–Meier curves of the reconstructed patient data, with vertical ticks for censoring. In example C the rebuilt curves are traced from that tooling and redrawn, without ticks, over the FDA's plot of the same data (a US government work, its blue and red curves recolored gray). In example D they are redrawn the same way over the published journal figure, credited on the card.
Compared with manual and automated work
Digitization has been validated before, by hand and, more recently, with AI. None of these studies used our charts, so the comparisons below are indirect: each row quotes a study's own number and sets otto-SR's, on the same statistic, beside it.
Tracing, against a known truth
| Study | Test set | Metric | Reported | otto-SR |
|---|---|---|---|---|
| SurvdigitizeRZhang et al., BMC Med Res Methodol 2024Automated image processing, compared with trained manual digitization (Engauge Digitizer) | 60 simulated plots | Mean RMSE per plot | 1.2 pp automated · 1.4 pp manual | 0.82 pp per chart |
| KM-GPTZhao et al., preprint 2025GPT-5 reasoning combined with image processing | 540 synthetic plots | Median integrated absolute error, after reconstruction | 1.8 pp | 0.51 pp per curve |
| KMGenJiang et al., preprint 2026Claude Opus 4.6 agent calling vision routines | 32 synthetic plots, including adversarial ones | Mean integrated absolute error | 1.5 pp | 0.52 pp per curve |
| GPT-4o + vision pipelineAnnan et al., ISPOR 2025 abstractGPT-4o reads the metadata; computer vision traces the curve | 150 synthetic single-arm curves | Mean absolute error | 1.1 pp with censoring · 0.8 pp without | 0.62 pp per curve |
| GPT-4o / Claude 3.5 aloneAnnan et al., ISPOR 2025 abstractGPT-4o or Claude 3.5 used on their own, as the same study's comparators | 150 synthetic single-arm curves; censored subset | Mean absolute error | 7.6 pp (GPT-4o) · 7.9 pp (Claude 3.5) | 0.62 pp per curve |
On synthetic curves, otto-SR's errors are lower than every published automated tool reports on its own test set, and lower than trained manual digitization in the one such study we found, though test sets differ in difficulty (KMGen's includes deliberately adversarial plots). General-purpose models used alone fare far worse: about 8 pp for GPT-4o and Claude 3.5 in one 2025 study. Judged against the truth by the rule-of-thumb thresholds the IPDfromKM authors suggest for a good reconstruction (mean error ≤ 2 pp, RMSE ≤ 5 pp, largest error ≤ 5 pp), 91% of otto-SR's 1,493 curves pass all three, against 14% of Opus 5.5's.
Hazard ratios, against published papers
| Study | Test set | Metric | Reported | otto-SR |
|---|---|---|---|---|
| Kim et al.Contemp Clin Trials Commun 2025Manual digitization (CurveSnap), then IPDfromKM | 58 hazard ratios from 14 immuno-oncology trials; risk tables required | Absolute difference: mean / median · within 5% | 2.85% / 2.14% · 84% | 4.0% / 1.7% · 77% on all; 2.2% / 1.3% · 88% on 100+ events |
| KMDATAFell et al., Database 2021Manual digitization (DigitizeIt), then Guyot | 297 hazard ratios from phase III oncology trials | Absolute difference: mean / median · within 5%* | 3.1% / 1.7% · 82% on all; 2.5% / 1.4% · 87% on 100+ events | 4.0% / 1.7% · 77% on all; 2.2% / 1.3% · 88% on 100+ events |
| Guyot et al.BMC Med Res Methodol 2012Manual digitization by three observers, each twice, with risk table and event totals | 6 hazard ratios from 4 publications | Mean absolute log-HR error | 0.017 | 0.038 on all; 0.022 on 100+ events |
*KMDATA publishes per-figure differences but no summary statistics; its figures here are our calculation from the public data, and its 100+ events subset counts figures with 100 or more reconstructed events. otto-SR's figures use unadjusted hazard ratios, and its 100+ events subset covers analyses whose confidence interval implies about 100 or more events.
The manual studies drew on large, mostly phase III cancer trials, and Kim and colleagues kept only figures with a risk table. Across all its unadjusted comparisons, otto-SR's median sits at the low end of the manual range, though its mean is higher, pulled up by small analyses those studies largely leave out. Matched on the number of events, otto-SR is level with manual work: on analyses with about 100 or more events, a median of 1.3% and 88% within 5%, against 1.4% and 87% for KMDATA's comparable figures. A difference that small is within the noise of manual work itself: in Guyot's validation, repeat reconstructions of the same hazard ratio typically varied by about 2%. Only Guyot's own small validation, six hazard ratios from four well-reported papers, each reconstructed twice by three observers, came out closer than ours, even on our larger analyses.
What we take from this
- Digitizing clear plots is no longer the bottleneck. On synthetic charts, otto-SR's traces were typically within a percentage point of the truth. On published charts, its hazard ratios landed as close to the reported values as manual reconstruction of comparable trials, in a median 1.4 minutes per figure once extracted, against about half an hour to prepare one curve's inputs by hand.
- Check the analysis behind any large difference. Missing context, such as an absent risk table, moves a recomputed hazard ratio more than tracing does. The export shows how far each recomputed value sits from the published one: not as a confidence score, but as a prompt to look closer.
- Coverage is next. Multi-panel and cumulative-incidence figures are common in published papers, and otto-SR doesn't support them yet.
Limits of this benchmark
- Only the digitizing step was compared. Each figure arrived already extracted with its key details, so extraction was neither scored nor timed, and Opus 5.5 ran inside the same pipeline. We don't disclose how otto-SR's digitizing step works.
- One run each. We can't yet say how much results vary between runs, and accuracy is measured on completed charts only.
- Comparisons with prior work are indirect. Each study used its own figures, and several are preprints or conference abstracts.
Put more of the published evidence to work.
Talk to the team




