Abstract
Quantitative analysis of filamentous proteins like microtubules and actin is often hindered by the lack of large-scale annotated datasets. We present a conditional generative framework that synthesizes realistic microscopy images from simple binary masks. By incorporating a novel "filament-aware structural loss," our approach ensures geometric continuity in synthetic structures. Experimental results demonstrate significant performance gains in segmentation tasks, particularly in data-scarce scenarios, with Intersection-over-Union (IoU) improvements of up to 4.35% for actin filaments.
Introduction
Thin and elongated structures, such as microtubules and actin filaments, are fundamental to cellular structural integrity and motility. Accurately segmenting these features in microscopy images is essential for quantitative biological research. However, deep learning-based segmentation models require vast amounts of high-quality annotated data. Manually tracing thousands of overlapping, hair-thin filaments in noisy images is labor-intensive and error-prone for human experts. Traditional data augmentation techniques, such as geometric transformations, fail to introduce the structural diversity necessary for robust model training. This work addresses the "data drought" by generating infinite realistic training data from synthetic skeletons.
Methods
The proposed framework utilizes a three-stage pipeline centered around a Conditional Generative Adversarial Network (cGAN), specifically the Pix2Pix architecture.
- Learning the Domain Mapping: A generator is trained to map existing binary masks (skeletons) to real microscopy images, learning the specific noise, texture, and light characteristics of the imaging modality.
- Synthetic Mask Generation: A random curve generator creates thousands of novel binary masks that mimic the biological patterns of filaments.
- Image Synthesis: The trained cGAN transforms these synthetic masks into realistic microscopic images, forming a massive augmented dataset for training segmentation models.
Filament-Aware Structural Loss ($L_{struct}$)
Standard GANs often produce fragmented or broken thin lines. To preserve the geometric continuity of filaments, the authors introduced a specialized structural loss. During training, morphological thinning (skeletonization) is applied to both real and generated images. By minimizing the difference between these skeletons, the model is forced to maintain the topological connectivity of the structures, which is critical for biological accuracy.
Datasets and Experimental Results
The framework was evaluated on two cytoskeletal filament datasets: microtubules (53 images) and actin filaments (10 images). To simulate extreme data scarcity, the models were trained on as few as two real images. From these seeds, 50,000 synthetic patches were generated.
The inclusion of synthetic data significantly improved segmentation performance:
- Microtubules: IoU increased from 0.9439 to 0.9542.
- Actin Filaments: In the most data-starved scenario (2 images), IoU jumped from 0.9039 to 0.9474.
Qualitatively, models trained with filament-aware synthetic data produced smoother, more continuous predictions, especially in low-contrast or noisy regions, compared to those trained solely on limited real data.
Key Insights and Discussion
The generative model successfully captures the physics of fluorescence microscopy, such as increased brightness at filament overlaps. The core innovation is the prioritization of topology over texture; by focusing on the skeleton through the $L_{struct}$ loss, the model avoids common GAN artifacts like checkerboard patterns or structural breaks.
While Diffusion models are popular, the authors opted for a GAN-based approach for its computational efficiency and faster convergence, making the tool more accessible for standard bio-imaging laboratories. Future work will explore more biologically informed growth simulations for mask generation and the extension of this framework to other thin-structure domains, such as medical vasculature imaging.
Summary updated