Meta-learning based Alternating Minimization Algorithm for Non-convex Optimization

Xia JingYuan, Shengxi Li, Jun-Jie Huang, Imad M. Jaimoukha, Denız Gündüz · DOI

Abstract

In this paper, we propose a novel solution for non-convex problems of multiple variables, especially for those typically solved by an alternating minimization (AM) strategy that splits the original optimization problem into a set of sub-problems corresponding to each variable, and then iteratively optimize each sub-problem using a fixed updating rule. However, due to the intrinsic non-convexity of the original optimization problem, the optimization can usually be trapped into spurious local minimum even when each sub-problem can be optimally solved at each iteration. Meanwhile, learning-based approaches, such as deep unfolding algorithms, are highly limited by the lack of labelled data and restricted explainability. To tackle these issues, we propose a meta-learning based alternating minimization (MLAM) method, which aims to minimize a partial of the global losses over iterations instead of carrying minimization on each sub-problem, and it tends to learn an adaptive strategy to replace the handcrafted counterpart resulting in advance on superior performance. Meanwhile, the proposed MLAM still maintains the original algorithmic principle, which contributes to a better interpretability. The experimental results validate that our proposed approach outperforms AM-based methods in standard settings, and is able to achieve effective optimization in challenging cases while other comparing methods would typically fail.

Introduction

Many real-world problems—from completing a missing movie rating matrix to clustering complex data—are fundamentally non-convex. These problems are typically addressed using Alternating Minimization (AM), where variables are optimized sequentially while others remain fixed. However, AM is inherently greedy; it seeks to reduce error as much as possible at every single step. In a non-convex landscape, this greediness often causes the algorithm to get stuck in local minima, missing the global optimum.

While deep learning has introduced "deep unfolding" to mitigate these issues, such methods often require massive amounts of labeled data and act as "black boxes," lacking the interpretability of classical algorithms. To bridge this gap, we introduce MLAM (Meta-learning based Alternating Minimization), a framework that replaces handcrafted, greedy update rules with learned, adaptive LSTM-based optimizers.

The MLAM Framework

MLAM blends the structural interpretability of classical algorithms with the power of meta-learning through a hierarchical structure. As shown in Figure 1, the framework operates across multiple levels:

  1. Upper-level meta-learning: Across different problems, the system extracts general knowledge about how to navigate optimization landscapes.
  2. Ground-level meta-learning: Within a single problem, the algorithm learns an adaptive update rule for the variables. This level is further divided into an outer loop and an inner loop, where the "Meta-Net" (an LSTM) replaces traditional gradient descent steps.
The hierarchical structure of the proposed MLAM framework, illustrating the nested loops of meta-learning.

LSTM-based MetaNet and Trajectory Optimization

Instead of using a fixed rule like Gradient Descent, MLAM utilizes a Long Short-Term Memory (LSTM) network to predict the next update step. The LSTM's internal state acts as a "memory," allowing it to consider the history of previous gradients and navigate complex landscapes more effectively.

Crucially, MLAM employs Trajectory-based Optimization. Unlike standard AM, which minimizes the current sub-problem loss, MLAM is updated based on the accumulated global loss over a trajectory of iterations. This allows the algorithm to learn "non-monotonic" strategies—temporarily increasing loss to escape a local minimum before plunging toward the global optimum. This process is visualized in Figure 2, where the variables $X$ and $W$ are updated over a sequence of iterations to minimize a global loss $\mathcal{L}_F^s$.

Detailed view of the LSTM-based update mechanism for variables X and W over a trajectory of iterations.

Experimental Evaluation

We evaluated MLAM on two classic, challenging optimization tasks: Matrix Completion and Gaussian Mixture Models (GMM).

Matrix Completion

In high-rank scenarios (rank 40-100), standard methods like SGD and Alternating Least Squares (ALS) failed completely, yielding RMSE values greater than 1.0. In contrast, MLAM maintained high accuracy with RMSE values between 0.05 and 0.07. Furthermore, MLAM proved remarkably stable even when the assumed rank of the matrix was significantly different from the true rank, demonstrating robustness to model mismatch.

Gaussian Mixture Models (GMM)

On a difficult "flower-shaped" dataset with 10 anisotropic clusters designed to trigger local minima, the standard Expectation-Maximization (EM) algorithm consistently failed, getting stuck in local optima. MLAM consistently found the nearly optimal global clustering by effectively navigating the non-convex objective function.

Conclusion

MLAM offers a powerful alternative to traditional AM by learning adaptive optimization strategies that can escape local minima. While it introduces higher computational overhead per iteration due to the LSTM forward and backward passes, it reaches superior solutions in fewer total outer iterations. By maintaining the "alternating" structure, MLAM preserves interpretability while leveraging the flexibility of neural networks. Future work will explore applying MLAM to more complex ill-posed problems such as dictionary learning and blind image super-resolution.

Summary updated

BibTeX
@article{jingyuan2023meta,
  author = {Xia JingYuan and Shengxi Li and Jun-Jie Huang and Imad M. Jaimoukha and Denız Gündüz},
  title = {{Meta-learning based Alternating Minimization Algorithm for Non-convex Optimization}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2023},
  url = {https://openreview.net/forum?id=WmXArFKnu8},
}
Figure