Pricing Synthetic Data for Learned Hybrid Genome Assembly

Genome assemblers rebuild an organism's DNA from millions of short overlapping fragments called reads. The best results come from hybrid assembly. Long reads, thousands of letters long but error-prone, provide the overall structure. Short reads, a few hundred letters long but nearly error-free, provide local accuracy. Learned assemblers are beginning to appear. One example is a graph neural network, a model that passes messages along the edges of a graph, trained to decide which overlaps between reads are real. These models are trained on synthetic data because real genomes with verified answers are scarce. Nobody knows how much that synthetic data is worth. We do not know how many simulated assembly graphs equal one real one, or which flaws in a read simulator cause the model to fail on real sequencing runs.

This project builds a learned edge classifier for hybrid assembly graphs and uses it as a measuring instrument. The classifier takes long-read overlaps annotated with short-read evidence. With it we measure three things: the exchange rate between synthetic and real training graphs, the fraction of real data that synthetic data can replace, and whether a cheap "authenticity test" on the simulator predicts real-world transfer before any model is trained. Our working hypothesis is that transfer is governed by a specific property of the simulator. Real nanopore reads have clustered error bursts, and they suffer coverage and bias gaps in the short-read layer. A simulator that reproduces these features should transfer well; one that does not should fail. We also hypothesize that adding short-read evidence makes a learned model more robust when it moves between long-read sequencing technologies.

Core Claim

The closest prior work, A step towards neural genome assembly, supplies the method template. That paper trained a message-passing network on 100 synthetic 50-node graphs to imitate classical graph cleanup steps:

  • removing redundant transitive edges,
  • trimming dead-end tips,
  • popping bubbles.

It transferred zero-shot to a real nanopore E. coli graph, reaching 99.67% transitive-reduction accuracy and 99.26% bubble-popping accuracy. On lambda phage it reached 93.33% tip-trimming accuracy.

Our work differs from it in three ways. First, our graphs are hybrid: each long-read overlap edge carries short-read features. Second, our labels come from the true genome, so an edge is labeled by whether it joins reads that are actually adjacent. The labels do not come from what a heuristic would do, which lifts the ceiling that imitation imposes. Third, our main deliverable is not a better assembler. It is a quantitative account of when synthetic graphs can stand in for real ones.

We claim the following. A simulator's authenticity score is a ratio, $A$, comparing two distances over graph-level statistics: the distance from real graphs to simulated graphs, and the distance between two independent simulated batches. This score will rank-correlate with the gap between real and synthetic performance across a family of simulator variants. Simulators with independent, uniformly spread errors will show high $A$ and poor transfer. Simulators that model error bursts and short-read coverage bias will approach $A \approx 1$ and allow most real training data to be replaced.

Research Program

Graphs and labels. We build hybrid overlap graphs:

  • Nodes are long reads.
  • Edges are candidate overlaps.
  • Edge features include overlap length and identity. They also include short-read support: the depth of short reads bridging the overlap junction, the agreement between short-read and long-read sequence there, and k-mer multiplicity, which counts how often short substrings occur and so flags repeats.

Labels come from aligning reads to a known genome. For synthetic data that genome is the simulator's source sequence. For real data it is a curated reference.

Model and decoding. The model is a message-passing network with max aggregation, following A step towards neural genome assembly. We train it to predict whether each edge is a true adjacency. Its predictions are then decoded into contigs (continuous reconstructed stretches) by a fixed greedy path walk. Assembly-level metrics are computed on these contigs.

Simulators. We vary the simulator along a controlled ladder of five rungs:

  1. Errors spread uniformly and independently.
  2. Errors with the same average rate, clustered into the high-error-rate subsequences that Efficient assembly of nanopore reads via highly accurate and intact error correction documents in real nanopore reads.
  3. Rung 2, plus repeat structure (insertion sequences, rRNA clusters) transplanted from real bacterial genomes.
  4. Rung 3, plus GC-dependent short-read coverage dropout.
  5. Rung 4, plus plasmid copy-number variation.

The fourth and fifth rungs target the clinical setting. There, hybrid assembly matters mainly for resolving resistance plasmids rich in insertion sequences, as in Genomic characterization of an emerging Enterobacteriaceae species and Microbiology Characteristics and Genomic Analysis....

Two measurements borrowed from synthetic-data evaluation. The first comes from On the Equivalency, Substitutability, and Flexibility of Synthetic Data. That paper measured a roughly 30:1 synthetic-to-real frame exchange rate and 60–80% substitutability for people tracking. It also found that behavioral complexity mattered more than photorealism, raising the tracking score HOTA from 68.8 to 73.5 on DanceTrack.

We define the analogous exchange rate for graphs:

$$\rho = \frac{n_s^{*}}{n_r},$$

Here $n_r$ is the number of labeled real edges a model is trained on, and $n_s^{*}$ is the number of synthetic edges needed to match that model's held-out real performance. Substitutability is the largest fraction of real edges we can remove, after synthetic pre-training, with no loss on held-out organisms. That paper's analogue of "behavioral complexity" is, for us, the simulator rung.

The second measurement comes from Is this Model for Real? Simulating Data to Reveal the Proximity of a Model to Reality. That paper judged a simulator authentic when the distance between real and simulated data was no larger than the distance between two simulations. We lift this test from four educational-model parameters to assembly-graph statistics:

$$A = \frac{D(G_{\text{real}}, G_{\text{sim}})}{D(G_{\text{sim},1}, G_{\text{sim},2})},$$

Here $D$ is a sum of distances between distributions of degree, tip length, bubble size, overlap identity, and short-read junction support, and $A \approx 1$ means the simulator passes. This addresses an open problem the file names directly: there is no accepted way to measure whether synthetic graphs can substitute for real ones.

Modality generalization as a constraint. EF-Net: Mental State Recognition by Analyzing Multimodal EEG-fNIRS via CNN combined two brain-recording signals with very different sampling rates using separate input branches. It still dropped from 99.36% to 65.05% F1 when tested on new people. That is a warning that fusing two modalities does not by itself give robustness to shift.

We test the genomic analogue of this shift. We train on graphs simulated from one long-read technology, nanopore, and test on graphs from another, PacBio HiFi, with and without the short-read features. Our hypothesis is that short-read evidence behaves the same way across platforms and therefore anchors transfer between them. If the transfer gap does not shrink with short-read features, that is a clear negative result.

Baselines

Classical two-stage pipeline (naive reference). The reference point is a standard pipeline: a long-read assembler, either NECAT or Canu, followed by short-read polishing. Both are run with default and documented parameters on the same reads.

This is what practitioners use. Efficient assembly of nanopore reads via highly accurate and intact error correction reports a 2.47-fold NG50 improvement over Canu on NA12878, NG50 of 22–28 Mbp on WERI, and 8,122 CPU hours for a 35X human genome. NG50 is a contiguity measure: the contig length at which half the genome is covered by contigs of that length or longer.

For bacterial hybrid assembly with resistance plasmids, I found no reported result on Lacuna for misassembly counts or plasmid circularization rates. We will therefore establish these numbers ourselves on identical read sets.

Beating this baseline means the following on held-out clinical Klebsiella and Enterobacteriaceae isolates: fewer misassemblies against the reference, and at least as many fully circularized plasmids. We do not claim speed or human-scale wins.

Heuristic-imitation network (strongest learned competitor). This is the model of A step towards neural genome assembly, retrained on our synthetic graphs with heuristic-derived labels and long-read features only. On E. coli, the cited result to match is 99.67% transitive-reduction accuracy.

We expect parity on that operation. The meaningful comparison is ground-truth edge accuracy and assembly-level misassemblies in repeat regions, where imitating a heuristic caps performance. We use the same architecture, training budget, and hyperparameter search.

Two ablations isolate the key ingredients. The first removes short-read features and keeps ground-truth labels. It tests whether hybrid evidence matters. The second keeps short-read features but trains on rung-1 simulators only. It tests whether simulator authenticity, rather than model capacity, drives transfer.

Graph-free per-edge classifier. Gradient-boosted trees on the same edge features, with no message passing. This is the genomic counterpart of the lesson from A simple but tough-to-beat baseline for fMRI time-series classification, where a model that ignored time order matched far more elaborate sequence models. That baseline is described below as well.

Why not just…?

Why not just run a long-read assembler and polish with short reads? For many bacteria this works. It is a real threat to any claim that learned assembly is needed. Polishing fixes letters, not structure. If a repeat is collapsed during the long-read stage, short reads cannot split it afterward, which is the failure mode that motivates hybrid surveillance work in Genomic characterization of an emerging Enterobacteriaceae species. Our assembly-level comparison is restricted to repeat-rich plasmid regions and will show whether that failure occurs often enough to matter. If it does not, the assembler result is negative, but the exchange-rate and authenticity measurements stand on their own.

Why not just train on real reads from organisms with references and skip synthetic data? This is possible for E. coli K-12 and curated clinical isolates, and we run it as the real-only arm. The question is how far it extends. Well-referenced, repeat-diverse genomes are few, and real data never covers rare repeat arrangements in a controlled way. The substitutability curve answers this directly. If real-only training on a few genomes already matches synthetic-plus-real training, substitutability is near zero and the case for synthetic data fails. We would report that.

Why not just use a per-edge classifier instead of a graph network? This may well suffice. A simple but tough-to-beat baseline for fMRI time-series classification is a reminder that benchmarks can often be solved from local statistics. Edge correctness in tandem repeats depends on neighboring overlaps, which favors message passing, but that is a hypothesis. If boosted trees match the graph network, we adopt them as the instrument. The scientific claims are about synthetic data, so they would carry over unchanged.

Why not just improve the simulator and skip the authenticity test? Without the test, there is no way to know which improvement mattered except by training and evaluating on real data each time. The test is useful only if it predicts transfer. The decisive check below tests exactly that.

Proposed Experiments

Data. Real evaluation uses:

  • nanopore E. coli K-12 and lambda phage, matching A step towards neural genome assembly;
  • paired short- and long-read clinical Klebsiella pneumoniae and Enterobacteriaceae isolates with completed references, held out by isolate;
  • for the cross-platform test, PacBio HiFi reads of the same organisms where available.

Metrics. Edge-level metrics are ground-truth precision and recall. Assembly-level metrics are misassemblies against the reference, NG50, and the count of fully circularized plasmids.

Exchange rate and substitutability. We train on $n_r \in$ {1%, 5%, 20%, 50%, 100%} of the available real edges. For each $n_r$, we sweep the amount of synthetic data separately for each simulator rung. This gives $\rho$ and substitutability per rung. We also test whether synthetic pre-training plus partial real fine-tuning beats training on all the real data, as reported for tracking in On the Equivalency, Substitutability, and Flexibility of Synthetic Data.

First decisive check: does the authenticity test predict transfer? We compute $A$ for each of the five simulator rungs, plus perturbed variants, for about 15 simulators in total. We then measure the Spearman correlation between $A$ and the real-versus-synthetic edge-accuracy gap. A strong positive correlation, with $A$ near 1 for the error-burst rungs, supports the claim. No correlation means graph statistics do not capture what matters for transfer, and that would be reported.

Second decisive check: does short-read evidence aid cross-platform transfer? We train on simulated nanopore graphs and evaluate on real HiFi graphs, with and without short-read features. The claim holds only if the transfer gap shrinks by more than the seed-to-seed variance.

Third decisive check: does ground-truth supervision beat imitation where it should? We compare ground-truth-supervised training against the heuristic-imitation baseline on repeat-region edges of held-out clinical isolates. The ground-truth model should win there. It should not be expected to win on simple transitive edges, where the heuristic is already near-perfect.