Hyper-Parameter Auto-Tuning for Sparse Bayesian Learning

Dawei Gao, Qinghua Guo, Ming Jin, Guisheng Liao, Yonina C. Eldar · DOI

Abstract

Choosing the values of hyper-parameters in sparse Bayesian learning (SBL) can significantly impact performance. However, the hyper-parameters are normally tuned manually, which is often a difficult task. Most recently, effective automatic hyper-parameter tuning was achieved by using an empirical auto-tuner. In this work, we address the issue of hyper-parameter auto-tuning using neural network (NN)-based learning. Inspired by the empirical auto-tuner, we design and learn a NN-based auto-tuner, and show that considerable improvement in convergence rate and recovery performance can be achieved.

Introduction

Sparse Bayesian Learning (SBL) has emerged as a robust framework for sparse signal recovery, finding applications in compressed sensing, signal processing, and machine learning. Its efficacy, however, is contingent upon the selection of hyper-parameters—specifically the shape ($\epsilon$) and rate ($\eta$) parameters—that define the prior distribution of the signal's sparsity.

Traditionally, these parameters are either manually tuned by domain experts or set to small, non-informative constants (e.g., $10^{-4}$). Manual tuning is often impractical for large-scale or real-time applications, and fixed values frequently lead to sub-optimal performance, especially under varying noise conditions. While recent advancements introduced "empirical auto-tuners" that utilize mathematical heuristics to update these parameters dynamically, these methods often lack robustness across diverse signal-to-noise ratios (SNRs) and signal types. This paper proposes a novel approach: replacing heuristic-based updates with a learned neural network (NN) function capable of intelligent, data-driven adaptation.

Methods: Algorithm Unrolling and the NN Tuner

The proposed methodology centers on the concept of Algorithm Unrolling (also known as Deep Unfolding). This technique bridges the gap between traditional iterative algorithms and deep learning by mapping the iterations of an algorithm onto the layers of a neural network.

The base algorithm chosen for this study is UAMP-SBL, a computationally efficient variant of SBL that utilizes Unitary Approximate Message Passing to circumvent the high cost of matrix inversions. In the unrolled architecture, each iteration of UAMP-SBL is treated as a single layer in a deep network.

Architecture of the unrolled SBL network showing the integration of the NN Tuner within each layer.

A critical innovation is the insertion of a NN Tuner within each layer. This tuner is a small Multi-Layer Perceptron (MLP) featuring a single hidden layer of 256 nodes. It takes the current estimate of the signal's precision ($\gamma$) as input and outputs the optimized shape parameter $\epsilon$ for that specific iteration. To maintain the iterative nature of the original algorithm and prevent overfitting, the weights of the NN are tied across all layers. This parameter tying ensures that the same auto-tuning logic is applied at every step, significantly reducing the number of trainable parameters and enhancing generalization.

The network is trained end-to-end using back-propagation, with a Mean Square Error (MSE) loss function that compares the final recovered signal to the ground truth.

Experimental Setup

To evaluate the performance of the learned auto-tuner, the authors utilized synthetically generated datasets, enabling supervised learning with known ground truths.

  • Signal Model: Sparse vectors $\mathbf{x}$ were generated using a Bernoulli-Gaussian distribution with varying sparsity rates ($\rho \in \{0.1, 0.2, 0.3, 0.4, 0.5\}$).
  • Measurement Matrices: The study tested both standard i.i.d. Gaussian matrices and correlated matrices to simulate challenging real-world sensing environments.
  • Dataset: A total of 50,000 samples were generated, partitioned into 40% for training, 40% for validation, and 20% for testing.
  • Noise Levels: Training data spanned a range of SNRs from 10dB to 50dB to ensure the model's robustness across different noise regimes.

Key Results

The NN-based auto-tuner demonstrates significant advantages over both fixed-parameter SBL and empirical auto-tuners.

1. Faster Convergence: In high-SNR environments (e.g., 50dB), the NN-tuned UAMP-SBL reaches the theoretical "Oracle" performance bound in significantly fewer iterations than its empirical counterpart.

2. Superior Accuracy in Noisy Conditions: A standout result is the performance at lower SNRs. At 15dB, the NN-based tuner considerably outperforms the empirical version in terms of Normalized Mean Squared Error (NMSE). This suggests that the NN learns complex mappings for hyper-parameter updates that simple heuristics fail to capture.

Convergence performance of UAMP-SBL with learned vs. empirical auto-tuners at SNR = 50dB and 15dB.

3. Robustness and Generalization: The learned tuner maintains high performance even when the measurement matrix $\mathbf{A}$ is correlated—a scenario where fixed-parameter versions often fail. Furthermore, despite being trained on a diverse dataset, the model generalizes effectively to specific sparsity rates and SNRs without retraining.

Conclusion and Future Work

By integrating neural networks into the SBL framework through algorithm unrolling, this work provides a powerful tool for automatic hyper-parameter tuning. This approach combines the interpretability and theoretical foundations of Bayesian inference with the adaptive power of deep learning.

While the results are promising, some limitations remain. The current training process requires supervised data, which may not be available in all practical scenarios. Additionally, this study focused on tuning the shape parameter $\epsilon$; future research could explore the joint tuning of both shape and rate ($\eta$) parameters. Despite these areas for growth, the NN-based auto-tuner represents a significant step forward in making sparse Bayesian learning more accessible and performant for real-world applications.

Summary updated

BibTeX
@misc{gao2022hyper,
  author = {Dawei Gao and Qinghua Guo and Ming Jin and Guisheng Liao and Yonina C. Eldar},
  title = {{Hyper-Parameter Auto-Tuning for Sparse Bayesian Learning}},
  year = {2022},
  eprint = {2211.04847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.04847},
}
Figure