What the comparison tables measure

Repeated baselines, agreeing rankings, and the papers’ numbers against ProteoBench’s

The catalog’s verified comparison tables, read across papers: how many baseline numbers repeat an earlier paper’s, how many independent measurements stand behind a ranking, and how the papers’ nine-species results compare with what ProteoBench measures for the released checkpoints. Every number links to the code that computes it.

A de novo sequencing paper proves itself in a comparison table: its model against the baselines, on a public benchmark, in the metrics everyone uses. The catalog has read 137 of those tables, from 37 papers, cell by cell (see Reported comparisons on each method’s page). This page reads them across papers, and asks three things a single table cannot answer: where a baseline’s numbers come from, whether the rankings agree, and whether they agree with a benchmark that ran the models itself.

How it was done. A series is one model’s numbers in one table, for one metric, level and dataset version, one number per species. A baseline series repeats an earlier one when a different, earlier paper printed the same model on the same data and metric, and every species the two share holds the same value, at the coarser of the two printed precisions, on at least 3 species. One shared average can agree by chance; three species in a row do not. Two papers are one work, and never repeat each other, when one is a preprint of the other or when both present the same method, and a later version’s copy of its own preprint’s table is counted once. Every number is a link to an entry in Reproducing every number.

Three things to take away.

  1. A quarter of the testable baseline numbers repeat an earlier paper’s. 61 of 249 baseline series (24%), 590 of 2,333 numbers. 40 of the 61 come from an earlier paper sharing an author, and only 4 papers say they quoted them.
  2. Rankings almost never disagree, partly because they are often one measurement. Of 40 pairs of models that two or more works rank on the same data, 1 changes order, and in 24 every work prints the same two numbers.
  3. ProteoBench does not reproduce the papers’ order. On the revised nine-species benchmark the papers put π-PrimeNovo (0.777) ahead of ContraNovo (0.755) and Casanovo (0.714) in peptide recall. ProteoBench, running the released checkpoints on the same benchmark, puts π-PrimeNovo last (0.599, against 0.657 and 0.650). The papers mostly score models trained on the benchmark’s other species; ProteoBench scores what you get by downloading the model.

Where a baseline’s numbers come from

Re-running every baseline is expensive, so papers reuse numbers, and they say so in different degrees: “results are taken from”, a dagger in the table, or nothing. Reuse is legitimate, and a lab reusing its own earlier table is the cheapest way to stay consistent. What it changes is how to read agreement: two papers printing the same baseline number are one measurement, not two.

Of 1,132 baseline series in the verified tables, 249 hold at least 3 species and can be tested. The 61 that repeat an earlier work go back to 9 papers, and 39 of them to the three most repeated. By what the repeating paper says about the numbers:

  • 4 say they are quoted;
  • 32 do not say where they come from;
  • 25 say the model was run, 14 of them that it was retrained. Running a released checkpoint with the same code on the same spectra can legitimately give the same numbers again. Retraining cannot, to every printed digit, across three species; a retrained series that repeats another paper’s is that paper’s run, reused.

Every repeated series, with the paper that printed it first:

One model, several numbers

When papers do measure a baseline themselves, the numbers spread. Casanovo’s average amino-acid precision on the original nine-species benchmark is printed by 5 works with 6 distinct values, from 0.667 to 0.759: different Casanovo versions, released or retrained, and code that until Casanovo v4.0 swapped amino-acid precision and recall (see How de novo sequencing is scored). DeepNovo’s is printed by 4 works and is one number, 0.673, every time.

Of the 16 combinations of model, dataset version and metric that three or more works print, 6 hold a single value.

Do the rankings agree?

For every pair of models that two or more works rank on the same data, metric and level, using the tables’ averages: 40 pairs, 1 of which changes order between works. In 24 of them every work prints the same two numbers, so the agreement is one measurement read several times.

Against an independent benchmark

ProteoBench runs submitted models on one dataset, the revised nine-species benchmark, and scores every submission with the same code. 3 models have both a ProteoBench submission and a peptide recall in the papers on a revised nine-species version, and ProteoBench’s “recall”, correct peptides over all spectra, is what those papers’ “peptide recall” counts too.

The order inverts. The papers put π-PrimeNovo first at 0.777; ProteoBench puts it last at 0.599, mostly because it answers only 88% of the spectra: over the spectra it does answer, its precision (0.682) is the highest of the three. Its own paper prints 0.740, on the MassIVE 2022 build, lower than what later papers print for it.

This is not a charge of misreporting. The two measure different things, in three ways:

  • The model. Many of the papers’ numbers come from a model trained on the benchmark’s other eight species and tested on the ninth, so training and test spectra share labs, instruments and search. ProteoBench scores the checkpoint you can download, whatever it was trained on.
  • The labels and the spectra. “Revised” names several builds, and most papers do not say which; ProteoBench uses one selection of its own.
  • The matching rule. ProteoBench counts a residue as correct within 20 ppm, with 50 ppm on the prefix, where the papers use 0.1 Da and 0.5 Da, so its numbers run lower for every model.

The second is the number a user meets; the first is the one the papers rank by. Benchmarks explains the versions, and why NovoBench’s retrained numbers belong with neither.

denovo_benchmarks, the other independent benchmark, ranks the three differently again by its median AP over its own datasets, which are not the revised nine-species spectra. No single ordering of these three models survives a change of benchmark.

Reading a comparison table

  1. Ask whether the baselines were run. A number that repeats an earlier paper’s is that paper’s measurement, with that paper’s version and code.
  2. Count works, not papers. Agreement across papers that print the same numbers is one result.
  3. Ask which model was scored. The checkpoint trained on the benchmark’s other species, a retrained architecture, or the released weights.

Reproducing every number

Every number above, in the order it first appears: what it counts, the public files it comes from, the scripts that produce its input (in run_all.sh’s order), and the code in page_numbers.py that computes it. page_numbers.py --only <id> recomputes one.

137 (Verified comparison tables with a catalogued dataset). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_tables.

Code
@number("n_tables", "Verified comparison tables with a catalogued dataset", ["tables"])
def _():
    return site()["n_tables"]

37 (Papers those tables come from). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_papers.

Code
@number("n_papers", "Papers those tables come from", ["tables"])
def _():
    return site()["n_papers"]

3 (Fewest shared species on which two series are compared). Reads build_site_data.py: MIN_SHARED, the threshold of the repeat test. Input from build_site_data.py. Recompute: page_numbers.py --only min_shared.

Code
@number("min_shared", "Fewest shared species on which two series are compared", ["builder"])
def _():
    return site()["min_shared"]

61 (Testable baseline series that repeat a series an earlier, different work printed). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only n_repeat_series.

Code
@number("n_repeat_series", "Testable baseline series that repeat a series an earlier, different work printed", ["tables", "catalog"])
def _():
    return site()["n_repeat_series"]

249 (Baseline series with enough subsets to test for a repeat). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_testable.

Code
@number("n_testable", "Baseline series with enough subsets to test for a repeat", ["tables"])
def _():
    return site()["n_testable"]

24% (Share of testable baseline series that repeat an earlier work). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only pct_repeat_series.

Code
@number("pct_repeat_series", "Share of testable baseline series that repeat an earlier work", ["tables", "catalog"], fmt="{}%")
def _():
    d = site()
    return pct(d["n_repeat_series"], d["n_testable"])

590 (Numbers (cells) in those repeated series). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only n_repeat_cells.

Code
@number("n_repeat_cells", "Numbers (cells) in those repeated series", ["tables", "catalog"])
def _():
    return site()["n_repeat_cells"]

2,333 (Numbers (cells) in all testable baseline series). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_testable_cells.

Code
@number("n_testable_cells", "Numbers (cells) in all testable baseline series", ["tables"])
def _():
    return site()["n_testable_cells"]

40 (Repeated series first printed by an earlier paper sharing an author). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only n_rep_shared_author.

Code
@number("n_rep_shared_author", "Repeated series first printed by an earlier paper sharing an author", ["tables", "catalog"])
def _():
    return by_class("an earlier paper sharing an author")

4 (Repeated series the paper says it quoted). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_rep_quoted.

Code
@number("n_rep_quoted", "Repeated series the paper says it quoted", ["tables"])
def _():
    return by_class(bases={"quoted"})

40 (Pairs of models that two or more works compare on the same data, metric and level). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only n_pairs.

Code
@number("n_pairs", "Pairs of models that two or more works compare on the same data, metric and level", ["tables", "catalog"])
def _():
    return len(site()["pairs"])

1 (Pairs whose order differs between works). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only n_flips.

Code
@number("n_flips", "Pairs whose order differs between works", ["tables", "catalog"])
def _():
    return sum(p["flips"] for p in site()["pairs"])

24 (Of those, pairs where every work prints the same two numbers). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only n_pairs_one_measurement.

Code
@number("n_pairs_one_measurement", "Of those, pairs where every work prints the same two numbers", ["tables", "catalog"])
def _():
    return sum(p["n_distinct"] == 1 for p in site()["pairs"])

0.777 (Highest peptide recall the papers print for π-PrimeNovo on the revised nine-species benchmark). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only prime_rep.

Code
@number("prime_rep", "Highest peptide recall the papers print for π-PrimeNovo on the revised nine-species benchmark", ["tables"], fmt="{:.3f}")
def _():
    return _h("π-PrimeNovo", "reported_max")

0.755 (Highest peptide recall the papers print for ContraNovo on the revised nine-species benchmark). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only contra_rep.

Code
@number("contra_rep", "Highest peptide recall the papers print for ContraNovo on the revised nine-species benchmark", ["tables"], fmt="{:.3f}")
def _():
    return _h("ContraNovo", "reported_max")

0.714 (Highest peptide recall the papers print for Casanovo on the revised nine-species benchmark). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only casa_rep.

Code
@number("casa_rep", "Highest peptide recall the papers print for Casanovo on the revised nine-species benchmark", ["tables"], fmt="{:.3f}")
def _():
    return _h("Casanovo", "reported_max")

0.599 (π-PrimeNovo’s peptide recall in ProteoBench (mass match)). Reads ProteoBench de novo DDA-HCD submissions, mirrored in proteobench_submission and proteobench_metric. Input from build_site_data.py. Recompute: page_numbers.py --only prime_pb.

Code
@number("prime_pb", "π-PrimeNovo's peptide recall in ProteoBench (mass match)", ["proteobench"], fmt="{:.3f}")
def _():
    return _h("π-PrimeNovo", "pb_recall")

0.657 (ContraNovo’s peptide recall in ProteoBench (mass match)). Reads ProteoBench de novo DDA-HCD submissions, mirrored in proteobench_submission and proteobench_metric. Input from build_site_data.py. Recompute: page_numbers.py --only contra_pb.

Code
@number("contra_pb", "ContraNovo's peptide recall in ProteoBench (mass match)", ["proteobench"], fmt="{:.3f}")
def _():
    return _h("ContraNovo", "pb_recall")

0.650 (Casanovo’s peptide recall in ProteoBench (mass match)). Reads ProteoBench de novo DDA-HCD submissions, mirrored in proteobench_submission and proteobench_metric. Input from build_site_data.py. Recompute: page_numbers.py --only casa_pb.

Code
@number("casa_pb", "Casanovo's peptide recall in ProteoBench (mass match)", ["proteobench"], fmt="{:.3f}")
def _():
    return _h("Casanovo", "pb_recall")

1,132 (Baseline series: one competing model’s numbers in one table, for one metric, level and dataset version). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_baseline_series.

Code
@number("n_baseline_series", "Baseline series: one competing model's numbers in one table, for one metric, level and dataset version", ["tables"])
def _():
    return site()["n_baseline_series"]

39 (Repeated series that go back to the three most repeated papers). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), denovo.sql: publication, publication_version, publication_author and publication_algorithm. Input from build_site_data.py. Recompute: page_numbers.py --only n_top3_share.

Code
@number("n_top3_share", "Repeated series that go back to the three most repeated papers", ["tables", "catalog"])
def _():
    return sum(s["n"] for s in site()["top_sources"][:3])

32 (Repeated series whose paper does not say where the numbers come from). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_rep_unclear.

Code
@number("n_rep_unclear", "Repeated series whose paper does not say where the numbers come from", ["tables"])
def _():
    return by_class(bases={"unclear"})

25 (Repeated series whose paper says it ran the model (released checkpoint or retrained)). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_rep_ran.

Code
@number("n_rep_ran", "Repeated series whose paper says it ran the model (released checkpoint or retrained)", ["tables"])
def _():
    return by_class(bases={"released", "retrained"})

14 (Repeated series whose paper says it retrained the model). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_rep_retrained.

Code
@number("n_rep_retrained", "Repeated series whose paper says it retrained the model", ["tables"])
def _():
    return by_class(bases={"retrained"})

5 (Papers printing an average amino-acid precision for Casanovo on the original nine-species benchmark). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only casa_aa_papers.

Code
@number("casa_aa_papers", "Papers printing an average amino-acid precision for Casanovo on the original nine-species benchmark", ["tables"])
def _():
    return measurement("Casanovo", "precision", "amino acid", "Nine-species benchmark, original")["n_papers"]

6 (Distinct values among them). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only casa_aa_distinct.

Code
@number("casa_aa_distinct", "Distinct values among them", ["tables"])
def _():
    return measurement("Casanovo", "precision", "amino acid", "Nine-species benchmark, original")["n_distinct"]

0.667 (Lowest of them). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only casa_aa_lo.

Code
@number("casa_aa_lo", "Lowest of them", ["tables"], fmt="{:.3f}")
def _():
    return measurement("Casanovo", "precision", "amino acid", "Nine-species benchmark, original")["lo"]

0.759 (Highest of them). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only casa_aa_hi.

Code
@number("casa_aa_hi", "Highest of them", ["tables"], fmt="{:.3f}")
def _():
    return measurement("Casanovo", "precision", "amino acid", "Nine-species benchmark, original")["hi"]

4 (Papers printing DeepNovo’s average amino-acid precision on the original nine-species benchmark). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only deepnovo_aa_papers.

Code
@number("deepnovo_aa_papers", "Papers printing DeepNovo's average amino-acid precision on the original nine-species benchmark", ["tables"])
def _():
    return measurement("DeepNovo", "precision", "amino acid", "Nine-species benchmark, original")["n_papers"]

0.673 (That value). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only deepnovo_aa_value.

Code
@number("deepnovo_aa_value", "That value", ["tables"], fmt="{:.3f}")
def _():
    return measurement("DeepNovo", "precision", "amino acid", "Nine-species benchmark, original")["lo"]

16 (Model, dataset and metric combinations printed by three or more papers). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_measurement_rows.

Code
@number("n_measurement_rows", "Model, dataset and metric combinations printed by three or more papers", ["tables"])
def _():
    return len(site()["measurements"])

6 (Model, dataset and metric combinations printed by three or more papers that hold a single distinct value). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only n_single_measurement.

Code
@number("n_single_measurement", "Model, dataset and metric combinations printed by three or more papers that hold a single distinct value", ["tables"])
def _():
    return sum(m["n_distinct"] == 1 for m in site()["measurements"])

3 (Models with a peptide recall in the papers on the revised nine-species benchmark and a ProteoBench submission). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables), ProteoBench de novo DDA-HCD submissions, mirrored in proteobench_submission and proteobench_metric. Input from build_site_data.py. Recompute: page_numbers.py --only n_h2h.

Code
@number("n_h2h", "Models with a peptide recall in the papers on the revised nine-species benchmark and a ProteoBench submission", ["tables", "proteobench"])
def _():
    return len(site()["h2h"])

88% (Share of ProteoBench’s spectra π-PrimeNovo gives a prediction for). Reads ProteoBench de novo DDA-HCD submissions, mirrored in proteobench_submission and proteobench_metric. Input from build_site_data.py. Recompute: page_numbers.py --only prime_pb_cov.

Code
@number("prime_pb_cov", "Share of ProteoBench's spectra π-PrimeNovo gives a prediction for", ["proteobench"], fmt="{:.0%}")
def _():
    return _h("π-PrimeNovo", "pb_coverage")

0.682 (π-PrimeNovo’s peptide precision in ProteoBench (mass match), over the spectra it predicts). Reads ProteoBench de novo DDA-HCD submissions, mirrored in proteobench_submission and proteobench_metric. Input from build_site_data.py. Recompute: page_numbers.py --only prime_pb_prec.

Code
@number("prime_pb_prec", "π-PrimeNovo's peptide precision in ProteoBench (mass match), over the spectra it predicts", ["proteobench"], fmt="{:.3f}")
def _():
    return _h("π-PrimeNovo", "pb_precision")

0.740 (π-PrimeNovo’s peptide recall on the revised nine-species benchmark in its own paper). Reads denovo.sql: the verified comparison tables (paper_comparison and its child tables). Input from build_site_data.py. Recompute: page_numbers.py --only prime_own.

Code
@number("prime_own", "π-PrimeNovo's peptide recall on the revised nine-species benchmark in its own paper", ["tables"], fmt="{:.3f}")
def _():
    return next(v["value"] for v in h2h("π-PrimeNovo")["reported"] if v["self"])
Back to top