vanbuuren.ai

Unfreezelit

Turning the workflows frozen in cryo-EM methods sections into structured, testable data with LLMs.

The problem

Turning raw cryo-EM images into a 3D map takes a chain of processing steps, and the choices in that chain (which steps, in which order, with which settings) decide whether the map is any good. A single cloud run can cost hundreds to thousands of euros, so researchers learn from what worked for others. That knowledge sits in thousands of methods sections, as prose. The structured alternative, the EMDB, has room for about ten image-processing steps, keeps only the 'final' round of classification, and leaves most settings to free text.

What I built

  1. The blocks: a schema of 16 job types and 138 explicit fields, working across RELION, cryoSPARC, Warp and CryoCloud. Workflows are ordered and can repeat steps, every value keeps the sentence it came from, and an OTHER drawer catches whatever the schema has no slot for.
  2. The cutter: an LLM extractor that writes workflows straight into the schema. Four models, four prompts and three input sizes, run three times on 11 hand-labeled papers: 1,584 extractions.
  3. The inspector: one recursive evaluator that scores fields, steps, workflows and whole papers, using one-to-one assignment and a pairwise order score. No LLM judge, and no code changes when the schema changes.

What came out

  • The schema captured 80-90% of what hand-labeled papers report in explicit fields, including on six unseen test papers. Ten job types account for 84% of all steps.
  • Papers filled fewer than 40% of the available fields, mostly because they leave settings out. Critical ones, like iteration counts for classification, are rarely reported.
  • The best configurations reached close to 0.8 F1, and 9 of the 10 best held up from development to test. Averaged over all setups, per-paper scores ranged from about 0.25 to 0.75.
  • GPT-5 was the only model reliable on full papers, at about €0.10 per paper. On shorter inputs GPT-5-mini came close at roughly a tenth of the cost.
  • The errors were mostly structural, not factual: workflows split into fragments, values in the wrong field. Constrained decoding hid this by guaranteeing valid output without understanding.

Limits

Eleven hand-labeled papers, one annotator, a test set that leans toward GPT models, and text only. Running an extracted workflow on the original data to reproduce the 3D map was out of scope: that is the next step.

Code, thesis and slides

External Unfreezelit on GitHub

Writing about this project