Global optimization of factor models using alternating minimization

Lei Le, Martha WhitearXiv 2016

Abstract

Learning new representations of input observations in machine learning is often tackled using a factorization of the data. For many such problems, including sparse coding and matrix completion, learning these factorizations can be difficult, in terms of efficiency and to guarantee that the solution is a global minimum. Recently, a general class of objectives have been introduced—which we term induced dictionary learning models (DLMs)—that have an induced convex form that enables global optimization. Though attractive theoretically, this induced form is impractical, particularly for large or growing datasets. In this work, we investigate the use of practical alternating minimization algorithms for induced DLMs, that ensure convergence to global optima. We characterize the stationary points of these models, and, using these insights, highlight practical choices for the objectives. We then provide theoretical and empirical evidence that alternating minimization, from a random initialization, converges to global minima for a large subclass of induced DLMs. In particular, we take advantage of the existence of the (potentially unknown) convex induced form, to identify when stationary points are global minima for the dictionary learning objective. We then provide an empirical investigation into practical optimization choices for using alternating minimization for induced DLMs, for both batch and stochastic gradient descent.

Introduction

Dictionary Learning Models (DLMs) are fundamental in machine learning for tasks such as image denoising and dimensionality reduction. The core objective is to factorize a data matrix $X$ into a dictionary $D$ and a representation $H$, such that $X \approx DH$.

The factorization of data matrix X into dictionary D and representation H, resulting in the product Z.

Historically, this factorization has been problematic due to its non-convex nature, leading to potential entrapment in local minima. While "induced" convex formulations exist, they are often computationally prohibitive for large-scale or streaming data. This research investigates whether fast, non-convex algorithms like alternating minimization can reliably reach global optima by leveraging these hidden convex structures.

Methodology

The study focuses on induced DLMs, where specific regularizers on $D$ and $H$ imply a hidden convex regularizer on their product $Z = DH$. Several optimization strategies were explored:

  • Alternating Minimization (AM): An iterative process that alternates between updating $D$ (with $H$ fixed) and $H$ (with $D$ fixed).
  • Stochastic Optimization: The development of Online AM-DLM and SGD AM-DLM to handle large datasets by processing samples incrementally.
  • Proximal Gradient Updates: Employed to manage non-smooth regularizers, such as the $L_1$ norm in sparse coding.
  • Theoretical Framework: Stationary points in non-differentiable landscapes were characterized using Hadamard directional derivatives.

Validation was performed using synthetic Gaussian data and the Extended Yale Face Database B for real-world representation learning.

Key Insights

A primary finding is that for a significant subclass of these models, any full-rank stationary point is a global minimum. This suggests that the non-convex landscape of induced DLMs is surprisingly well-behaved, lacking the "traps" typically associated with non-convexity.

Furthermore, the research highlights the advantage of the overcomplete setting, where the dictionary size $k$ exceeds the input dimension $d$. In these cases, maintaining a full-rank dictionary facilitates global optimality. Crucially, practitioners do not need to solve the complex induced convex problem directly; optimizing the simpler factored form is sufficient, as the existence of the convex form guarantees the result.

Results and Discussion

Empirical tests revealed that Stochastic Gradient Descent (SGD) is highly efficient, reaching solutions within 5% of the global optimum in roughly 30-40% of the time required by batch AM. While Online AM-DLM is sample-efficient, accelerated SGD methods proved faster for large-scale applications.

The authors also noted that "Elastic-net" regularization (combining $L_1$ and $L_2$ norms) offers a more stable optimization surface and produces more compact representations compared to pure sparse coding.

Limitations and Future Directions

Current theoretical proofs largely rely on differentiability. While smoothed versions of $L_1$ (like pseudo-Huber loss) were used, formal extensions to purely non-smooth functions are needed. Additionally, while empirical evidence suggests the theory holds for small $k$, the exact mathematical lower bound for $k$ to ensure convexity remains an open question. Future work should also address how these guarantees persist in non-stationary data environments where distributions shift over time.

Summary updated

BibTeX
@misc{le2016global,
  author = {Lei Le and Martha White},
  title = {{Global optimization of factor models using alternating minimization}},
  year = {2016},
  eprint = {1604.04942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1604.04942},
}
Figure