Publications
Publications and preprints in reverse chronological order.
2026
- arXivDynamical Variational Theory of Stochastic Reaction NetworksMoshir Harsh and Peter SollichNov 2026
Discrete stochastic population dynamics describe systems ranging from biochemical reaction networks and gene regulation to epidemic spreading, ecology, and population genetics, where finite populations generate strong intrinsic fluctuations. Predicting their dynamics, including mean populations, fluctuations, time-lagged correlations, response functions, and steady states, remains challenging: the chemical master equation admits no general analytical solution, numerical solutions scale poorly with system size, and standard approximations fail at low copy numbers. Using a field-theoretic representation of the reaction dynamics, we develop a dynamical variational approximation for stochastic reaction networks based on the Plefka expansion from spin-glass physics. For reaction systems with general stoichiometry and time-dependent rates, the expansion yields tractable non-Markovian effective dynamics with self-consistent memory. We further introduce a generalized self-consistent bubble resummation that provides closed predictions for means, correlations, and response functions. The formulation applies broadly to discrete stochastic population dynamics on networks, and we provide a numerical implementation with adaptive time stepping for user-defined systems. We benchmark the method on stochastic gene regulation, enzyme kinetics, and infection dynamics, where it accurately captures both time-dependent behaviour and steady states, including fluctuation-driven effects missed by conventional approximations. Together, these results establish a general analytical framework for stochastic reaction dynamics across transient and stationary regimes in strongly fluctuating low-copy-number systems.
@misc{harsh2026variational, title = {Dynamical Variational Theory of Stochastic Reaction Networks}, author = {Harsh, Moshir and Sollich, Peter}, year = {2026}, month = nov, archiveprefix = {arXiv}, } - SpectrSeqTools: LC-MS/MS-Based De Novo Sequencing of Small Ribonucleic Acids with Post-Transcriptional ModificationsLaura C. Kühle*, Moshir Harsh*, Shanice Jessica Hermon*, and 3 more authorsAnalytical Chemistry, Sep 2026
Post-transcriptional RNA modifications are key regulators of fundamental cellular processes. Yet, their precise biological functions remain largely unresolved. A major challenge is their reliable detection. While sequencing-based approaches are limited to a small subset of RNA modifications, mass spectrometry has the potential to directly identify various modified nucleotides within their sequence context. However, existing tools for nucleic acid analysis offer severely constrained functionality. Here, we introduce a set of algorithmic innovations implemented in SpectrSeqTools, an open-source LC-MS/MS-based software platform that enables fully automated de novo RNA sequencing together with comprehensive modification profiling of short RNA fragments directly from raw data. We further validated prediction accuracy and robustness using experimental and simulated data. As such, SpectrSeqTools effectively broadens the scope of nucleic acid mass spectrometry, enabling the read-out of up to 144 RNA modifications within their sequence context.
@article{kuhle2026spectrseqtools, title = {SpectrSeqTools: LC-MS/MS-Based De Novo Sequencing of Small Ribonucleic Acids with Post-Transcriptional Modifications}, author = {Kühle, Laura C. and Harsh, Moshir and Hermon, Shanice Jessica and Magalang, Juan and Köster, Johannes and Becker, Sidney}, journal = {Analytical Chemistry}, volume = {98}, number = {39}, pages = {28784--28797}, year = {2026}, month = sep, publisher = {American Chemical Society}, doi = {10.1021/acs.analchem.6c02546}, } - medRxivIdentifying cohorts at elevated risk of cancers using generative modeling of patient health statesAsif Khan, Duncan T. Forster†, Moshir Harsh†, and 11 more authorsSep 2026
While large language models are powerful generators of new text, forecasting disease progression from longitudinal health histories remains a challenging problem. We introduce GenEHR, an autoregressive generative model trained on electronic health records (EHRs) from millions of patients in diverse health systems. The model learns from real-world multimodal patient histories, including diagnoses, medications, lab values, and procedures while explicitly representing irregular intervals between visits to forecast future clinical events. We combine the general-purpose patient representation learned during foundational training with parameter-efficient supervised adaptation for the task of risk stratification for 17 cancer types. In five large EHR cohorts, supervised adaptation substantially improved prediction performance of a first cancer diagnosis within a five year horizon window. Our retrospective results support the prospective evaluation of GenEHR-CancerRisk as a clinical decision-support tool for prioritizing high-risk patients for screening and prevention of aggressive cancer types, such as pancreatic and ovarian cancer.
@misc{khan2026genehr, title = {Identifying cohorts at elevated risk of cancers using generative modeling of patient health states}, author = {Khan, Asif and Forster, Duncan T. and Harsh, Moshir and Zheng, Chunlei and Warner, Erica T. and Ritter, Daniel and Chang, Allison and Wei, Qi and Sorensen, Tanya K. and Marks, Debora S. and Sequist, Lecia V. and Hadlock, Jennifer and Fillmore, Nathanael R. and Sander, Chris}, year = {2026}, month = sep, howpublished = {medRxiv preprint}, doi = {10.64898/2026.09.09.26362676}, }
2024
- Physics-inspired machine learning detects ‘unknown unknowns’ in networks: discovering network boundaries from observable dynamicsMoshir Harsh, Leonhard Götz Vulpius, and Peter SollichMachine Learning: Science and Technology, Nov 2024
Dynamics on networks is often only partially observable in experiment, with many nodes being inaccessible or indeed the existence and properties of a larger unobserved network being unknown. This limits our ability to reconstruct the topology of the network and the strength of the interactions among even the observed nodes. Here, we show how machine learning inspired by physics can be utilized on noisy time series of such partially observed networks to determine which nodes of the observed part of a network form its boundary, i.e. have significant interactions with the unobserved part. This opens a route to reliable network reconstruction. We develop the method for arbitrary network dynamics and topologies and demonstrate it on a broad range of dynamics including non-linear coupled oscillators and chaotic attractors. Beyond these we focus in particular on biochemical reaction networks, where we apply the approach to the dynamics of the epidermal growth factor receptor (EGFR) network and show that it works even for substantial noise levels.
@article{harsh2024unknownunknowns, title = {Physics-inspired machine learning detects ‘unknown unknowns’ in networks: discovering network boundaries from observable dynamics}, author = {Harsh, Moshir and Vulpius, Leonhard Götz and Sollich, Peter}, journal = {Machine Learning: Science and Technology}, volume = {5}, number = {4}, pages = {045046}, year = {2024}, month = nov, publisher = {IOP Publishing}, doi = {10.1088/2632-2153/ad9194}, }
2023
- arXivExploiting memory effects to detect the boundaries of biochemical subnetworksMoshir Harsh, Leonhard Götz Vulpius, and Peter SollichOct 2023
Partial measurements of biochemical reaction networks are ubiquitous and limit our ability to reconstruct the topology of the reaction network and the strength of the interactions amongst both the observed and the unobserved molecular species. Here, we show how we can utilize noisy time series of such partially observed networks to determine which species of the observed part form its boundary, i.e. have significant interactions with the unobserved part. This opens a route to reliable network reconstruction. The method exploits the memory terms arising from projecting the dynamics of the entire network onto the observed subnetwork. We apply it to the dynamics of the Epidermal Growth Factor Receptor (EGFR) network and show that it works even for substantial noise levels.
@misc{harsh2023exploiting, title = {Exploiting memory effects to detect the boundaries of biochemical subnetworks}, author = {Harsh, Moshir and Vulpius, Leonhard Götz and Sollich, Peter}, year = {2023}, month = oct, archiveprefix = {arXiv}, } - Accurate dynamics from self-consistent memory in stochastic chemical reactions with small copy numbersMoshir Harsh and Peter SollichJournal of Physics A: Mathematical and Theoretical, Oct 2023
We present a method that captures the fluctuations beyond mean field in chemical reactions in the regime of small copy numbers and hence large fluctuations, using self-consistently determined memory: by integrating information from the past we can systematically improve our approximation for the dynamics of chemical reactions. This memory emerges from a perturbative treatment of the effective action of the Doi-Peliti field theory for chemical reactions. By dressing only the response functions and by the self-consistent replacement of bare responses by the dressed ones, we show how a very small class of diagrams contributes to this expansion, with clear physical interpretations. From these diagrams, a large sub-class can be further resummed to infinite order, resulting in a method that is stable even for large values of the expansion parameter or equivalently large reaction rates. We demonstrate this method and its accuracy on single and multi-species binary reactions across a range of reaction constant values.
@article{harsh2023accurate, title = {Accurate dynamics from self-consistent memory in stochastic chemical reactions with small copy numbers}, author = {Harsh, Moshir and Sollich, Peter}, journal = {Journal of Physics A: Mathematical and Theoretical}, year = {2023}, month = oct, publisher = {IOP Publishing}, doi = {10.1088/1751-8121/acfd6a}, }
2020
- ‘Place-cell’ emergence and learning of invariant data with restricted Boltzmann machines: breaking and dynamical restoration of continuous symmetries in the weight spaceMoshir Harsh, Jérôme Tubiana, Simona Cocco, and 1 more authorJournal of Physics A: Mathematical and Theoretical, 2020
Distributions of data or sensory stimuli often enjoy underlying invariances. How and to what extent those symmetries are captured by unsupervised learning methods is a relevant question in machine learning and in computational neuroscience. We study here, through a combination of numerical and analytical tools, the learning dynamics of Restricted Boltzmann Machines (RBM), a neural network paradigm for representation learning. As learning proceeds from a random configuration of the network weights, we show the existence of, and characterize a symmetry-breaking phenomenon, in which the latent variables acquire receptive fields focusing on limited parts of the invariant manifold supporting the data. The symmetry is restored at large learning times through the diffusion of the receptive field over the invariant manifold; hence, the RBM effectively spans a continuous attractor in the space of network weights. This symmetry-breaking phenomenon takes place only if the amount of data available for training exceeds some critical value, depending on the network size and the intensity of symmetry-induced correlations in the data; below this ‘retarded-learning’ threshold, the network weights are essentially noisy and overfit the data.
@article{harsh2020placecell, title = {`Place-cell' emergence and learning of invariant data with restricted Boltzmann machines: breaking and dynamical restoration of continuous symmetries in the weight space}, author = {Harsh, Moshir and Tubiana, Jérôme and Cocco, Simona and Monasson, Rémi}, journal = {Journal of Physics A: Mathematical and Theoretical}, year = {2020}, publisher = {IOP Publishing}, doi = {10.1088/1751-8121/ab7d00}, }