Skip to content

Code for paper named "Averaged Method of Multipliers for Bi-Level Optimization without Lower-Level Strong Convexity"

License

Notifications You must be signed in to change notification settings

vis-opt-group/sl-BAMM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Averaged Method of Multipliers for Bi-Level Optimization without Lower-Level Strong Convexity (sl-BAMM)

This repo contains code accompaning the paper, Averaged Method of Multipliers for Bi-Level Optimization without Lower-Level Strong Convexity (Liu et al., ICML 2023). It includes code for running the numerical example under LL Merely convex assumption and LL Stronly Convex assumption.

Abstract

Gradient methods have become mainstream techniques for Bi-Level Optimization (BLO) in learning fields. The validity of existing works heavily rely on either a restrictive Lower- Level Strong Convexity (LLSC) condition or on solving a series of approximation subproblems with high accuracy or both. In this work, by averaging the upper and lower level objectives, we propose a single loop Bi-level Averaged Method of Multipliers (sl-BAMM) for BLO that is simple yet efficient for large-scale BLO and gets rid of the limited LLSC restriction. We further provide non-asymptotic convergence analysis of sl-BAMM towards KKT stationary points, and the comparative advantage of our analysis lies in the absence of strong gradient boundedness assumption, which is always required by others. Thus our theory safely captures a wider variety of applications in deep learning, especially where the upper-level objective is quadratic w.r.t. the lower-level variable. Experimental results demonstrate the superiority of our method.

Dependencies

This code mainly requires the following:

Usage

You can run the python file to test the performance of different methods following the script below:

Python strategy3.py --hg_mode BAMM_CG --BDA --thelr --p0 10 
Python strongly_convex.py  # For data hyper-cleaning tasks.

Citation

You are encouraged to cite the following paper:

License

MIT License

Copyright (c) 2023 Vision & Optimization Group (VOG)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Code for paper named "Averaged Method of Multipliers for Bi-Level Optimization without Lower-Level Strong Convexity"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages