Cogradient Descent for Bilinear Optimization

Li'an Zhuo, Baochang Zhang, Linlin Yang, Hanlin Chen, Qixiang Ye, David S. Doermann, Guodong Guo, Rongrong Ji

TL;DR

This paper introduces Cogradient Descent (CoGD), a novel optimization algorithm designed to tackle bilinear models, which are prevalent in computer vision tasks like image reconstruction and network pruning. CoGD addresses the issue of asynchronous convergence and vanishing gradients in traditional methods by explicitly coordinating the updates of coupled variables, leading to more efficient and effective optimization.

What Problem Does This Paper Address?

Many computer vision tasks rely on bilinear models, which involve the interaction of two hidden factors. However, conventional optimization methods often treat these factors independently, leading to asynchronous convergence and vanishing gradients, especially when one factor becomes sparse. This sub-optimal training degrades performance in applications like image reconstruction, inpainting, and network pruning. The paper aims to bridge this gap by developing an optimization framework that accounts for the inherent coupling between these variables.

Methods

The core contribution is the Cogradient Descent (CoGD) algorithm. Unlike traditional methods that optimize one variable while keeping the other fixed, CoGD explicitly considers the coupling between the two hidden variables. It achieves this through a theoretical framework that uses a projection function to coordinate their gradients. This coordination ensures a more synchronous gradient descent, mitigating the vanishing gradient problem. The algorithm is particularly effective for bilinear problems with sparsity constraints, a common scenario in machine learning.

Datasets

The paper evaluates CoGD on several publicly available datasets:

  • Fruit and City datasets: Used for Convolutional Sparse Coding (CSC) tasks, including image reconstruction and inpainting.
  • CIFAR-10: Used for evaluating network pruning on ResNets and MobileNetV2.
  • ImageNet (ILSVRC12): Used for evaluating network pruning on ResNet-50.

Key Insights and Ideas

  • Coupling is Crucial: The paper strongly argues that treating the two factors in bilinear models as independent is a flawed heuristic that leads to sub-optimal solutions.
  • Synchronous Convergence: CoGD's primary innovation is its ability to achieve synchronous convergence by coordinating the updates of coupled variables, directly addressing the vanishing gradient problem.
  • Projection Function for Coordination: The use of a projection function is a novel mechanism to enforce this coordination, making the optimization process more robust.
  • Generality of CoGD: The algorithm is shown to be applicable across diverse tasks like image reconstruction, inpainting, and network pruning, highlighting its broad utility.

Key Results

  • Improved Performance: CoGD consistently outperforms state-of-the-art methods in image reconstruction and inpainting, achieving significant improvements in PSNR and SSIM (e.g., 1.01 dB and 0.003 for reconstruction, 1.47 dB and 0.016 for inpainting).
  • Efficient Network Pruning: For network pruning, CoGD achieves competitive or superior results compared to existing methods, often with a greater reduction in FLOPs while maintaining high accuracy. For instance, on CIFAR-10, CoGD-0.5 achieved a 0.62x FLOPs reduction with only a 0.01% drop in accuracy for ResNet-18.
  • Faster Optimization: Experiments on a toy problem (Beale function) demonstrate that CoGD significantly shortens the optimization path, indicating more efficient training.

Limitations and Future Work

  • Hyperparameter Tuning: While CoGD offers benefits, the paper implicitly suggests that careful tuning of hyperparameters like $\beta$ and the threshold $\alpha$ is necessary for optimal performance, as seen in the experimental setup.
  • Theoretical Analysis: The paper provides a theoretical framework for CoGD and derives its convergence properties, but further theoretical exploration of its behavior across different bilinear model structures could be beneficial.
  • Broader Applications: While the paper demonstrates success in CSC and CNN pruning, exploring CoGD's applicability to other domains involving bilinear models (e.g., recommender systems, signal processing) could be a fruitful future direction.

Summary updated

BibTeX
@inproceedings{zhuo2020cogradient,
  author = {Li'an Zhuo and Baochang Zhang and Linlin Yang and Hanlin Chen and Qixiang Ye and David S. Doermann and Guodong Guo and Rongrong Ji},
  title = {{Cogradient Descent for Bilinear Optimization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00798},
}
Figure