bioRxivBiophysicsPreprint
DiffuChannel: A Conditional Denoising Diffusion Model that Synthesises Single-Molecule Patch-Clamp Data with Exactly Known Idealisation (Ground Truth)
Abstract
Development of computational models for single-channel patch-clamp analysis is hampered by limited availability of labelled (idealised) data. Since experiment alone cannot provide a genuine ground truth, two simulation methods are commonly employed; Stochastic sampling from a specified Markov model, augmented with synthetic noise allows creation of unlimited, flawlessly idealised/annotated datasets, yet its authenticity hinges entirely on the premises underlying data and noise generation. A more recent method uses GAN-based generation, this also replicates real-world noise and artefacts, but does not include a ground truth idealisation or annotation and training is notoriously unstable. Here, we introduce DiffuChannel, a conditional noise-removal diffusion model that addresses these drawbacks. Channel dynamics come directly from a user-defined discrete-time Markov chain (or a model fitted to biological seed data), thus, the state assignment for each synthetic trace is precisely determined by design. The diffusion model is then trained exclusively to capture the noise distribution of raw current conditioned on a given idealisation, thereby replicating genuine noise, filtering, and artefact patterns observed in real data without needing to hand craft noise models. We use a two-step coarse-to-fine workflow that starts with a defined slow-envelope component conditioned on longer-term dwell-time features extracted from the input idealisation. This allows a degree of baseline drift and time-dependent relaxations to be captured over timescales far longer than the network's field of view. At generation time, we use a context-preserving inpainting method that enables creation of relatively seamless traces of any desired duration. We demonstrate that with only a limited set of labelled seed traces, synthetic records yield realistic all-points amplitude distribution, noise power spectrum, autocorrelation pattern, and slow envelope comparable to the source data. The model achieves a maximum mean discrepancy (MMD) between windowed real and generated data of 0.005 (median across the five phenotypes). This compares to a within real-split-half MMD value of 0.002 and an amplitude-matched white noise MMD value of 0.108. In this paper, we benchmark this against DeepGANnel. Since the underlying Markov model is defined rather than estimated, DiffuChannel generates infinite, perfectly labelled, phenotype-consistent training data ideal for developing and testing idealisation algorithms. We find that, in practice, this new method is far more stable than previous GAN models and runs start to end without human intervention. We provide the model open-source along with an interactive web-based training and synthesis interface/app.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- DeepGANnel: Synthesis of fully annotated single molecule patch-clamp data using generative adversarial networks
S. T. M. Ball, N. Celik, … R. Barrett-Jolley·bioRxiv·Jun 25, 2020
- Generating realistic neurophysiological time series with denoising diffusion probabilistic models
Julius Vetter, Jakob H. Macke, Richard Gao·PatternsPeer-reviewed·Aug 29, 2024
- Unsupervised idealization of ion channel recordings by Minimum Description Length: Application to human PIEZO1-channels
Radhakrishnan Gnanasambandam, Morten Schak Nielsen, … Jakob Kisbye Dreyer·Frontiers in NeuroinformaticsPeer-reviewed·Apr 27, 2017
- TraceSpecks: a software for automated idealization of noisy patch-clamp and imaging data
Syed Islamuddin Shah, Angelo Demuro, … Ghanim Ullah·Biophysical JournalPeer-reviewed·Jul 1, 2018
- Two-Dimensional-Dwell-Time Analysis of Ion Channel Gating using High Performance Computing Clusters
E. Oikonomou, T. Gruber, … T. Huth·bioRxiv·Sep 1, 2022
- Deep-Channel uses deep neural networks to detect single-molecule events from patch-clamp data
N. Celik, F. O'Brien, … R. Barrett-Jolley·bioRxiv·Nov 22, 2019