OCCELGApr 2, 2025

Multi-convex Programming for Discrete Latent Factor Models Prototyping

arXiv:2504.01431v21 citationsh-index: 29Has Code
Originality Synthesis-oriented
AI Analysis

This provides a flexible tool for researchers and practitioners in domains like machine learning and economics to prototype DLFMs more efficiently, though it is incremental as it builds on existing optimization methods.

The paper tackles the problem of fitting discrete latent factor models (DLFMs) by proposing a generic framework based on CVXPY that allows users to specify and solve fitting problems for a wide range of DLFMs with short scripts, enabling easy prototyping with regularization and constraints.

Discrete latent factor models (DLFMs) are widely used in various domains such as machine learning, economics, neuroscience, psychology, etc. Currently, fitting a DLFM to some dataset relies on a customized solver for individual models, which requires lots of effort to implement and is limited to the targeted specific instance of DLFMs. In this paper, we propose a generic framework based on CVXPY, which allows users to specify and solve the fitting problem of a wide range of DLFMs, including both regression and classification models, within a very short script. Our framework is flexible and inherently supports the integration of regularization terms and constraints on the DLFM parameters and latent factors, such that the users can easily prototype the DLFM structure according to their dataset and application scenario. We introduce our open-source Python implementation and illustrate the framework in several examples.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes