[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-84430-en":3,"doc-seo-84430-105":29,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":13,"seo_description":14,"update_tm":27,"read_time":28},84430,1099513958607,"Jiven","https://ap-avatar.wpscdn.com/avatar/100002390cf8733938c?x-image-process=image/resize,m_fixed,w_180,h_180&k=1778829742770036399",8,"Research & Report","A Provably Convergent Plug-and-Play Framework for Stochastic Bilevel Optimization","Bilevel optimization targets hierarchical learning problems in which upper-level decisions depend on lower-level optima. The paper introduces PnPBO, a plug-and-play single-loop framework for stochastic bilevel optimization that unifies unbiased and biased stochastic estimators. Different estimators for distinct variables can be added independently, and a moving-average correction is used with an unbiased upper-level estimator. A unified convergence and complexity theory shows optimal sample complexity, matching known lower bounds in the finite-sum case. Experiments on benchmarks confirm the theoretical guarantees.","arXiv :2505 .01258v2 [math .OC] 12 Jul 2026  \nA Provably Convergent Plug-and-Play Framework for  \nStochastic Bilevel Optimization ∗  \nTianshu Chu† Dachuan Xu‡ Wei Yao§ Chengming Yu¶ Jin Zhang ‖  \nAbstract  \nBilevel optimization has recently attracted significant attention in machine learning due to its wide range of applications and advanced hierarchical optimization capabilities. In this paper, we propose a plug-and-play framework, named PnPBO, for developing and analyzing stochastic bilevel optimization methods. This framework integrates both modern unbiased and biased stochastic estimators into the single-loop bilevel optimization framework introduced in [9], with several improvements. In the implementation of PnPBO, all stochastic estimators for different variables can be independently incorporated, and an additional moving average technique is applied when using an unbiased estimator for the upper-level variable. In the theoretical analysis, we provide a unified convergence and complexity analysis for PnPBO, demonstrating that the adaptation of various stochastic estimators (including PAGE, ZeroSARAH, and mixed strategies) within the PnPBO framework achieves optimal sample complexity. Specifically, in the finite-sum setting, the resulting complexity matches the lower bound in [10] and is comparable to that of single-level optimization [49] . This resolves the open question of whether the optimal complexity bounds for solving bilevel optimization are identical to those for single-level optimization. Finally, we empirically validate our framework, demonstrating its effectiveness on several benchmark problems and confirming our theoretical findings.  \nKeywords: bilevel optimization, stochastic optimization, plug-and-play, sample complexity  \n1 Introduction  \nBilevel optimization (BLO) effectively addresses challenges arising from hierarchical optimization, where the decision variables in the upper level are also involved in the lower level. In recent years, BLO has gained increasing attention due to its extensive and effective applications, including hyperparameter optimization [13], meta-learning [21], continual learning [17], and reinforcement learning [40] .  \n∗ This work was partially presented at International Conference on Machine Learning (ICML) 2024 ([7]) .  \n†Institute of Operations Research and Information Engineering, Beijing University of Technology; National Center for Applied Mathematics Shenzhen; [chuts@emails.bjut.edu.cn](chuts@emails.bjut.edu.cn)  \n‡Institute of Operations Research and Information Engineering, Beijing University of Technology; [xudc@bjut.edu.cn](xudc@bjut.edu.cn)  \n§ National Center for Applied Mathematics Shenzhen, and Department of Mathematics, Southern University of Science and Technology; [yaow@sustech.edu.cn](yaow@sustech.edu.cn)  \n¶ School of Science, Beijing University of Posts and Telecommunications; National Center for Applied Mathematics Shenzhen; [yucm@bupt.edu.cn](yucm@bupt.edu.cn)  \n‖Department of Mathematics, and National Center for Applied Mathematics Shenzhen, Southern University of Science and Technology; [zhangj9@sustech.edu.cn](zhangj9@sustech.edu.cn)  \nIn this paper, we focus on the nonconvex-strongly-convex BLO problem under classical assumptions, formulated as follows  \nmin H (x) := f(x, y∗ (x)) s.t. y ∗ (x) := arg min g (x, y), (1)  \nx∈Rdx y∈Rdy  \nwhere H (x) denotes the total objective function, also referred to as the value function [9, 10 , 6] . The upper-level (UL) objective f(x, y) is Lf-smooth and possibly nonconvex. The lower-level (LL) objective g(x, y) is Lg1-smooth and strongly convex in y, and its gradient ∇g is Lg2-smooth. As is the case in many applications of interest in machine learning [38], the UL and LL objective functions take the finite-sum form  \nf (x, y) = 1n Xi1 Fi (x, y) , g (x, y) = 1m  Gj (x, y) . (2)  \nA widely used and effective strategy for solving the BLO problem in (1) involves using implicit differentiation [35 , 32 , 33 , 29], which lea","cbCaipo774hB0iRt","https://ap.wps.com/l/cbCaipo774hB0iRt","pdf",3263573,1,40,"English","en",105,"# Abstract\n# Introduction\n## Problem formulation and hypergradient\n## Challenges and prior approaches\n## Contributions and framework overview","[{\"question\":\"What does the proposed PnPBO framework do in stochastic bilevel optimization?\",\"answer\":\"PnPBO is a plug-and-play single-loop framework that integrates unbiased and biased stochastic estimators to develop and analyze stochastic bilevel optimization methods.\"},{\"question\":\"How are stochastic estimators incorporated in PnPBO?\",\"answer\":\"Stochastic estimators for different variables can be independently integrated, and an additional moving-average technique is applied when using an unbiased estimator for the upper-level variable.\"},{\"question\":\"What does the paper prove about convergence and sample complexity?\",\"answer\":\"The analysis provides a unified convergence and complexity result showing that adapting estimators such as PAGE, ZeroSARAH, and mixed strategies inside PnPBO achieves optimal sample complexity, matching lower bounds in the finite-sum setting and comparing favorably to single-level optimization.\"}]",1784195581,101,{"code":4,"msg":30,"data":31},"ok",{"site_id":24,"language":23,"slug":32,"title":13,"keywords":33,"description":14,"schema_data":34,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":27},"a-provably-convergent-plug-and-play-framework-for-stochastic-bilevel-optimization","",{"@graph":35,"@context":85},[36,53,68],{"@type":37,"itemListElement":38},"BreadcrumbList",[39,43,47,50],{"item":40,"name":41,"@type":42,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":44,"name":45,"@type":42,"position":46},"https://docshare.wps.com/document/","Document",2,{"item":48,"name":12,"@type":42,"position":49},"https://docshare.wps.com/document/research-report/",3,{"item":51,"name":13,"@type":42,"position":52},"https://docshare.wps.com/document/a-provably-convergent-plug-and-play-framework-for-stochastic-bilevel-optimization/84430/",4,{"url":51,"name":13,"@type":54,"author":55,"headline":13,"publisher":57,"fileFormat":60,"inLanguage":23,"description":14,"dateModified":61,"datePublished":62,"encodingFormat":60,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":56},"Person",{"url":40,"name":58,"@type":59},"DocShare","Organization","application/pdf","2026-07-17","2026-07-16",true,{"@type":65,"interactionType":66,"userInteractionCount":20},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What does the proposed PnPBO framework do in stochastic bilevel optimization?","Question",{"text":75,"@type":76},"PnPBO is a plug-and-play single-loop framework that integrates unbiased and biased stochastic estimators to develop and analyze stochastic bilevel optimization methods.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How are stochastic estimators incorporated in PnPBO?",{"text":80,"@type":76},"Stochastic estimators for different variables can be independently integrated, and an additional moving-average technique is applied when using an unbiased estimator for the upper-level variable.",{"name":82,"@type":73,"acceptedAnswer":83},"What does the paper prove about convergence and sample complexity?",{"text":84,"@type":76},"The analysis provides a unified convergence and complexity result showing that adapting estimators such as PAGE, ZeroSARAH, and mixed strategies inside PnPBO achieves optimal sample complexity, matching lower bounds in the finite-sum setting and comparing favorably to single-level optimization.","https://schema.org",{"og:url":51,"og:type":87,"og:title":13,"og:site_name":58,"og:description":14},"article",{"robots":89,"canonical":51},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,119,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":45,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":46,"doc_module":4,"doc_module_name":45,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":52,"doc_module":4,"doc_module_name":45,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":45,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":45,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":45,"category_name":117,"show_sort_weight":21,"slug":118},7,"Healthcare","healthcare",{"id":11,"doc_module":4,"doc_module_name":45,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":45,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":45,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":45,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":45,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]