Near-Universal Multiplicative Updates for Nonnegative Einsum Factorization
Abstract
Lay Summary
Scientists regularly analyze massive datasets that track multiple interacting variables—such as gene expression levels across varying cell types, spatial coordinates, and time. Uncovering latent structures in this multiway data requires specialized tensor factorizations. Currently, researchers must either rely on generic models that fail to capture domain-specific interactions, or manually derive and implement complicated optimization algorithms from scratch. This paper automates this mathematical overhead. Instead of writing custom numerical solvers, a researcher simply uses a short text string to specify their scientific model. NNEinFact then automatically generates and runs the specific algorithm needed to perform statistical inference on the model of choice. The algorithm comes with mathematical guarantees, ensuring its rigor. Researchers can rapidly construct, test, and refine custom models tailored to their data without much technical expertise. In empirical evaluations, this paper’s method runs faster and achieves substantially lower error rates than standard methods, enabling accurate, interpretable structure discovery in large-scale scientific data.