22 May 2023 in Journal of the Royal Statistical Society Series C: Applied Statistics
Targeted brain stimulation has the potential to treat mental illnesses. We develop an approach to help design protocols by identifying relevant multi-region electrical dynamics. Our approach models these dynamics as a superposition of latent networks, where the latent variables predict a relevant outcome. We use supervised autoencoders (SAEs) to improve predictive performance in this context, describe the conditions where SAEs improve predictions, and provide modelling constraints to ensure biological relevance. We experimentally validate our approach by finding a network associated with stress that aligns with a previous stimulation protocol and characterizing a genotype associated with bipolar disorder.
19 December 2022 in IEEE Transactions on Signal Processing
Probabilistic generative models are attractive for scientific modeling because their inferred parameters can be used to generate hypotheses and design experiments. This requires that the learned model accurately represents the input data and yields a latent space that effectively predicts outcomes relevant to the scientific question. Supervised Variational Autoencoders (SVAEs) have previously been used for this purpose, as a carefully designed decoder can be used as an interpretable generative model of the data, while the supervised objective ensures a predictive latent representation. Unfortunately, the supervised objective forces the encoder to learn a biased approximation to the generative posterior distribution, which renders the generative parameters unreliable. This issue has remained undetected as reconstruction losses commonly used to evaluate model performance do not detect bias in the encoder. We address this previously-unreported issue by developing a new framework (SOS-VAE) that updates the decoder parameters, rather than the encoder, to induce a predictive latent representation. This ensures that the encoder maintains a reliable posterior approximation and the decoder parameters can be effectively interpreted. We extend this technique to allow the user to trade-off the bias in the generative parameters for improved predictive performance, acting as an intermediate option between SVAEs and SOS-VAE. We also use this methodology to address missing data issues that often arise when combining recordings from multiple scientific experiments. We demonstrate the effectiveness of these developments using synthetic data and electrophysiological recordings with an emphasis on how our learned representations can be used to design scientific experiments.
1 October 2024 in Journal of College Science Teaching
28 April 2022 in Biological Psychiatry
10 April 2026 in IEEE Transactions on Signal Processing
Interest in detecting networks responsible for phenotypes spans multiple scientific disciplines, including proteomics and neuroscience. Latent variable models, such as Principal Component Analysis (PCA), are a natural choice for such networks, as they treat the observed measurements as outputs of a small number of unobserved processes. Unfortunately, they often fail to incorporate information relevant to the phenotypes of interest, especially when those phenotypes are noisy or have low variance. As a result, when the latent variables are used for prediction, as in principal component regression (PCR), they often perform substantially worse than traditional regression methods. Supervised variational autoencoders (SVAEs) attempt to remedy this by adding a predictive loss to the latent space. However, this supervision introduces a systematic discrepancy between the encoder distribution and the posterior distribution implied by the generative model. Left unaddressed, this mismatch can lead to misleading scientific conclusions and suboptimal intervention strategies when the model is used to guide experimental manipulations. To resolve these issues, we introduce generative principal component regression (gPCR), a novel objective for linear latent variable models that enforces consistency between encoder and posterior while preserving predictive accuracy. gPCR matches the performance of standard regression approaches while retaining the scientifically desirable network interpretation. Using synthetic data, we demonstrate that gPCR learns more realistic loadings and dramatically improves target selection compared to both PCR and SVAEs. We further validate gPCR’s utility on two electrophysiology datasets, showing enhanced predictive power and better integration of phenotype-relevant signals into the learned loadings. Finally, in a proteomics study of an Alzheimer’s disease cohort, we show that gPCR recovers biologically coherent networks that align more closely with prior experimental findings than traditional regression methods.