Efficient gradient computation for optimization of hyperparameters. (7th February 2022)
- Record Type:
- Journal Article
- Title:
- Efficient gradient computation for optimization of hyperparameters. (7th February 2022)
- Main Title:
- Efficient gradient computation for optimization of hyperparameters
- Authors:
- Xu, Jingyan
Noo, Frederic - Abstract:
- Abstract: We are interested in learning the hyperparameters in a convex objective function in a supervised setting. The complex relationship between the input data to the convex problem and the desirable hyperparameters can be modeled by a neural network; the hyperparameters and the data then drive the convex minimization problem, whose solution is then compared to training labels. In our previous work (Xu and Noo 2021 Phys. Med. Biol. 66 19NT01), we evaluated a prototype of this learning strategy in an optimization-based sinogram smoothing plus FBP reconstruction framework. A question arising in this setting is how to efficiently compute (backpropagate) the gradient from the solution of the optimization problem, to the hyperparameters to enable end-to-end training. In this work, we first develop general formulas for gradient backpropagation for a subset of convex problems, namely the proximal mapping. To illustrate the value of the general formulas and to demonstrate how to use them, we consider the specific instance of 1D quadratic smoothing (denoising) whose solution admits a dynamic programming (DP) algorithm. The general formulas lead to another DP algorithm for exact computation of the gradient of the hyperparameters. Our numerical studies demonstrate a 55%–65% computation time savings by providing a custom gradient instead of relying on automatic differentiation in deep learning libraries. While our discussion focuses on 1D quadratic smoothing, our initial resultsAbstract: We are interested in learning the hyperparameters in a convex objective function in a supervised setting. The complex relationship between the input data to the convex problem and the desirable hyperparameters can be modeled by a neural network; the hyperparameters and the data then drive the convex minimization problem, whose solution is then compared to training labels. In our previous work (Xu and Noo 2021 Phys. Med. Biol. 66 19NT01), we evaluated a prototype of this learning strategy in an optimization-based sinogram smoothing plus FBP reconstruction framework. A question arising in this setting is how to efficiently compute (backpropagate) the gradient from the solution of the optimization problem, to the hyperparameters to enable end-to-end training. In this work, we first develop general formulas for gradient backpropagation for a subset of convex problems, namely the proximal mapping. To illustrate the value of the general formulas and to demonstrate how to use them, we consider the specific instance of 1D quadratic smoothing (denoising) whose solution admits a dynamic programming (DP) algorithm. The general formulas lead to another DP algorithm for exact computation of the gradient of the hyperparameters. Our numerical studies demonstrate a 55%–65% computation time savings by providing a custom gradient instead of relying on automatic differentiation in deep learning libraries. While our discussion focuses on 1D quadratic smoothing, our initial results (not presented) support the statement that the general formulas and the computational strategy apply equally well to TV or Huber smoothing problems on simple graphs whose solutions can be computed exactly via DP. … (more)
- Is Part Of:
- Physics in medicine & biology. Volume 67:Number 3(2022)
- Journal:
- Physics in medicine & biology
- Issue:
- Volume 67:Number 3(2022)
- Issue Display:
- Volume 67, Issue 3 (2022)
- Year:
- 2022
- Volume:
- 67
- Issue:
- 3
- Issue Sort Value:
- 2022-0067-0003-0000
- Page Start:
- Page End:
- Publication Date:
- 2022-02-07
- Subjects:
- dynamic programming -- gradient backpropagation -- hyperparameter learning -- proximal mapping -- automatic differentiation -- implicit differentiation
Biophysics -- Periodicals
Medical physics -- Periodicals
610.153 - Journal URLs:
- http://ioppublishing.org/ ↗
http://iopscience.iop.org/0031-9155 ↗ - DOI:
- 10.1088/1361-6560/ac4442 ↗
- Languages:
- English
- ISSNs:
- 0031-9155
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 22742.xml