Evaluating and improving AI agents for sequencing protocol understanding
Organizations: Memorial Sloan Kettering Cancer Center · Weill Cornell Medicine · NASA Ames Research Center · University of Maryland, College Park ·
Abstract
Existing scientific-agent benchmarks rarely evaluate whether agents can reconstruct the exact molecular structures and generation workflows specified by sequencing protocols, a capability critical for analyzing customized sequencing assays. We introduce LibStructBench, a document-grounded benchmark for reconstructing sequencing-library structures and molecular workflows. Our experiments show that frontier agents often produce approximately correct reconstructions but remain unreliable at exact reconstruction, particularly in molecular-state representation and workflow connectivity. Switching the underlying language model produced larger average performance differences than switching agent harnesses, with a statistically significant difference only for molecular-state reconstruction. Additional knowledge improved oligo-family recovery in a small pilot without improving mean molecular-workflow scores. Autonomous accumulation of procedural rules and cross-protocol examples showed non-monotonic validation performance and no mean held-out molecular-workflow improvement in the tested trajectory. These findings highlight the need for more controlled and verifiable approaches to scientific reasoning about molecular processes in complex experimental protocols.
Figures & tables
Appendix figures & tables17 assets
Supplementary material from the paper’s appendix.
Appendix
| Metric | Original | 3-run mean | Max. range | ||
|---|---|---|---|---|---|
| Oligo family | 0.760 | 0.755 | 0.177 | 5/19 | |
| Transition | 0.809 | 0.795 | 0.343 | 9/20 | |
| State | 0.672 | 0.660 | 0.394 | 8/20 | |
| Typed edge | 0.754 | 0.730 | 0.471 | 12/20 |
| Task 1 | Task 2 | Task 3 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Similarity | Oligo F1 | Transition F1 | State F1 | Edge F1 | |||||||
| Protocol | Model | Name | Bundle | Name | Bundle | Name | Bundle | Name | Bundle | Name | |
| 10x ATAC v2 | GPT | 1.000 | 0.947 | 0.791 | 0.673 | 0.782 | 0.848 | 0.875 | 0.863 | 0.714 | 1.000 |
| Claude | 1.000 | 1.000 | 0.713 | 0.687 | 0.777 | 0.761 | 0.776 | 0.812 | 0.714 | 0.714 | |
| Gemini | 1.000 | 1.000 | 0.701 | 0.673 | 0.956 | 0.707 | 0.720 | 0.396 | 1.000 | 0.667 | |
| 10x 3’ GEX v4 | GPT | 1.000 | 1.000 | 0.724 | 0.867 | 0.881 | 0.950 | 0.868 | 0.874 | 0.846 | 1.000 |
| Source type | Source | Primer content |
|---|---|---|
| Textbook | Molecular Cell Biology , Lodish et al. 2003 [ 21 ] | PCR, primer tails, restriction–ligation, reverse transcription, and DNA-end chemistry. |
| Textbook | PCR Protocols , Bartlett & Stirling 2003 [ 4 ] | End repair, ligation, terminal modifications, and phosphate-dependent sealing. |
| Textbook | Protocols for Gene Analysis , Harwood 1994 [ 17 ] | Primer tails, A-tailing, T-vector cloning, and blunt-end preparation. |
| Review | Single-cell genome sequencing: current state of the science , Gawad et al. 2016 [ 12 ] | Whole-genome amplification, amplification artifacts, and library construction. |
| Review | Scaling by shrinking: empowering single-cell ‘omics’ with microfluidic devices , Prakadan et al. 2017 [ 27 ] | Microfluidic compartmentalization, reaction splitting, and pooled processing. |
| Review | Single-cell epigenomics: techniques and emerging applications , Schwartzman & Tanay 2015 [ 31 ] | Bisulfite conversion, reduced-representation libraries, and size selection. |
| Validation protocol | Donor protocol | Shared feature |
|---|---|---|
| sci-ATAC-seq | s3-ATAC | Tn5-based chromatin accessibility and combinatorial indexing [ 9 , 25 ] . |
| scRRBS | 10x Chromium 3 ′ Gene Expression v4 | Shared Illumina adapter and library-completion oligos [ 15 , 1 ] . |
| SMART-seq | Drop-seq | Template-switching reverse transcription and cDNA amplification [ 29 , 23 ] . |
| SHARE-seq | SPLiT-seq | Combinatorial indexing with repeated barcode-incorporation steps [ 22 , 30 ] . |
| ddSEQ Single-Cell 3 ′ RNA-Seq Kit | sci-RNA-seq | Barcoded reverse transcription, cDNA amplification, and shared library components [ 5 , 7 ] . |
| Checkpoint | Learned context | Observed reconstruction behavior | Validation performance |
|---|---|---|---|
| Baseline | No learned rules or cross-protocol memory. | Direct source-to-output reconstruction followed by the benchmark validator. | Task 2 F1: 0.758. Task 3 transition, state, and typed-edge F1: 0.846, 0.625, and 0.822. |
| 18 learned rules and 30 available exemplar records. | The agent constructed an evidence inventory, retrieved selected analogies, and compiled Task 2 and Task 3 from a linked work record. The predicted graphs averaged 10.0 states, 7.2 transitions, and 16.2 typed edges. | Highest Task 2 F1 (0.821), with transition, state, and typed-edge F1 of 0.843, 0.603, and 0.790. Selected checkpoint for held-out evaluation. | |
| 23 learned rules and 40 exemplar records. | Two newly learned rules may have contributed to the observed decline. A rule excluding oligo-reagent fabrication from the workflow was associated with omitted bead-construction steps in HyDrop-RNA, while a rule separating co-processed but physically unconnected molecules was associated with the separation of the ddSEQ workflow into disconnected branches. These behaviors suggest that learned rules may generalize poorly to the benchmark’s canonical representation. | Task 2 F1 decreased to 0.736; transition, state, and typed-edge F1 decreased to 0.743, 0.497, and 0.662. | |
| 28 learned rules and 58 exemplar records. | The agent represented oligo chemistry, non-templated tail addition, modified bases, and uncertain fragment fates more explicitly. Graphs again became more granular. | State F1 partially recovered to 0.539, while Task 2, transition, and typed-edge F1 were 0.745, 0.720, and 0.638, respectively. |
| Metric | Default component weights | Scientific rationale |
|---|---|---|
| Oligo F1 | Sequence: 0.65 ; modifications: 0.15; molecular kind: 0.10; orientation: 0.05; role: 0.05. | Nucleotide sequence is central to oligo identity, while modifications and molecular annotations provide additional information. |
| Transition F1 | Operation: 0.30 ; substrates: 0.15; products: 0.20; product disposition: 0.15; linked oligos: 0.20. | Emphasizes the molecular operation and its products and linked oligos, while retaining information about substrates and product disposition. |
| State F1 | Reference sequence: 0.50 ; architecture: 0.15; ordered segments: 0.20; pairing/discontinuities: 0.15. | Prioritizes molecular sequence identity while accounting for strand architecture, segment organization, and pairing relationships. |
| Experiment | Transition F1 | State F1 | Typed-edge F1 |
|---|---|---|---|
| Fig. 3a: Native systems | 0.035 | 0.031 | 0.069 |
| Fig. 3b: Model-harness comparison | 0.023 | 0.020 | 0.045 |
| Fig. 4a: External knowledge | 0.029 | 0.013 | 0.054 |
| Fig. 4c: Learning validation | 0.055 | 0.025 | 0.132 |
| Fig. 4d: Held-out evaluation | 0.018 | 0.009 | 0.031 |