arXiv:2610.18696cs.CVOct 2026

Manuscript Offprint

arXiv:2610.18696

CryoTracer: A Synthetic-to-Real System for Filament Instance Tracing in Cryo-EM

Radosław Kuczbański, Wojciech Kozłowski, Mateusz Grzesiuk, Konrad Karanowski, Lukas Frey, Andrzej Rzepiela, Maciej Zięba

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Particle picking in cryo-electron microscopy is commonly formulated as an object-detection problem in which individual particles are represented by bounding boxes, a natural representation for globular particles but a poor match for filaments that can extend across an entire micrograph. Existing methods reconstruct filament trajectories by linking local predictions in a separate post-processing stage, decoupling detection from instance formation and creating potential ambiguities at gaps and crossings. Directly preserving filament identity is particularly useful for polymorphic specimens, where segments originating from the same filament should remain associated. However, learning such instance-level representations is challenging because expert centerline annotations are scarce and costly to obtain. We introduce CryoTracer, a synthetic-to-real framework that addresses this limitation through procedural micrograph generation, transformer-based polyline prediction, and specimen-specific fine-tuning. Procedural pretraining exposes the model to diverse filament geometries, intersections, and imaging conditions before adaptation using a limited number of fully annotated experimental micrographs. CryoTracer represents filaments as ordered centerline polylines and optimizes their geometry using an orientation-invariant discrete Fréchet objective, enabling consistent learning regardless of tracing direction. Evaluation on established and newly expert-annotated datasets shows that CryoTracer improves instance-level filament recovery over existing particle-detection approaches. These results establish end-to-end polyline prediction as a practical alternative to detection-and-linking pipelines for recovering complete filament instances with limited micrograph annotation budgets. Code and data are available at https://github.com/cryotracer/cryotracer.

1 INTRODUCTION

Cryo-electron microscopy (cryo-EM) uses two-dimensional images of vitrified specimens to determine three-dimensional macromolecular structures. Software packages such as RELION Scheres (2012) and cryoSPARC Punjani et al. (2017) require an initial particle-picking step to identify particles in noisy micrographs. For filamentous specimens, this step must recover centerlines and distinguish individual filaments. Helical reconstruction workflows extract overlapping segments along these traces. Grouping segments by their parent filament allows an entire filament to be inspected or excluded and classification evidence to be combined across its segments. This grouping is particularly useful for specimens containing multiple structural polymorphs that must be separated before reconstruction Frey et al. (2024). For example, α\alpha-synuclein is a major component of the protein aggregates associated with Parkinson's disease and dementia with Lewy bodies Spillantini et al. (1997); Schweighauser et al. (2020); Yang et al. (2022); Enomoto et al. (2025). Its fibrils can occur in distinct structural polymorphs Li et al. (2018), and filament-level subset selection has been used when processing mixed α\alpha-synuclein polymorph datasets Lövestam et al. (2023). Preserving filament identity during picking requires following each filament through curves, crossings, and low-contrast regions. A fading signal can resemble an endpoint, while a crossing can leave several possible continuations. A tracer must consider the surrounding filament geometry to avoid splitting one filament into fragments or joining different filaments. Preparing real training data requires annotators to mark each filament’s endpoints and place points along its centerline. At crossings or gaps in the visible signal, they must decide which segments belong to the same filament.

Established particle pickers such as crYOLO and Topaz assemble filament traces from local predictions. crYOLO's filament mode requires training on manually annotated filaments Wagner et al. (2020). It connects local bounding boxes into traces without directly predicting a complete ordered centerline. Topaz's filament extension Lövestam & Scheres (2022) selects regions above a threshold in a heatmap of likely particle locations and reduces them to thin lines. It then detects straight segments and merges nearby segments with similar orientations into longer traces. In both workflows, filament continuity is reconstructed through geometric rules with user-selected parameters, which required expert tuning in our comparisons. On α\alpha-synuclein, both methods produced more numerous, shorter traces than the annotated filaments, a pattern consistent with fragmentation despite substantial spatial coverage.

To address these limitations, we introduce CryoTracer, a synthetic-to-real system that predicts each filament as an ordered five-point centerline from a full micrograph. Direct centerline prediction makes filament continuity part of the learning task, removing the need to assemble traces from local detections using geometric linking rules. The model adapts RF-DETR Robinson et al. (2026) with curve proposals refined through deformable attention and successive decoder stages. An orientation-invariant discrete Fréchet objective supervises curve matching and regression. To reduce reliance on expert annotations, procedural micrograph generation provides centerlines, endpoints, and filament identities by construction, while varying curvature, density, crossings, width, and background appearance. This enables pretraining on diverse examples without tracing each micrograph manually. Fine-tuning on real annotations then adapts the model to the specimen and acquisition conditions.

Our contributions are as follows.

• We introduce a synthetic-to-real filament-tracing system that learns filament continuity through direct centerline prediction and reduces reliance on expert annotations through procedural pretraining followed by specimen-specific fine-tuning.

• We release filament annotations for EMPIAR-10022 and evaluate on an in-house α\alpha-synuclein dataset comprising 325 expert-annotated micrographs from 11 reconstruction sessions.

• We compare CryoTracer with established cryo-EM methods under standard and limited-annotation regimes, using instance-level and spatial-overlap metrics to distinguish complete filament recovery from local coverage.

References (20)