{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/on-private-online-convex-optimization-optimal","title":"On Private Online Convex Optimization: Optimal Algorithms in $\\ell_p$-Geometry and High Dimensional Contextual Bandits","arxiv_id":"2206.08111","date":"2022-06-16","proceeding":null,"authors":["Yuxuan Han","Zhicong Liang","Zhipeng Liang","Yang Wang","Yuan YAO","Jiheng Zhang"],"abstract":"Differentially private (DP) stochastic convex optimization (SCO) is ubiquitous in trustworthy machine learning algorithm design. This paper studies the DP-SCO problem with streaming data sampled from a distribution and arrives sequentially. We also consider the continual release model where parameters related to private information are updated and released upon each new data, often known as the online algorithms. Despite that numerous algorithms have been developed to achieve the optimal excess risks in different $\\ell_p$ norm geometries, yet none of the existing ones can be adapted to the streaming and continual release setting. To address such a challenge as the online convex optimization with privacy protection, we propose a private variant of online Frank-Wolfe algorithm with recursive gradients for variance reduction to update and reveal the parameters upon each data. Combined with the adaptive differential privacy analysis, our online algorithm achieves in linear time the optimal excess risk when $1<p\\leq 2$ and the state-of-the-art excess risk meeting the non-private lower ones when $2<p\\leq\\infty$. Our algorithm can also be extended to the case $p=1$ to achieve nearly dimension-independent excess risk. While previous variance reduction results on recursive gradient have theoretical guarantee only in the independent and identically distributed sample setting, we establish such a guarantee in a non-stationary setting. To demonstrate the virtues of our method, we design the first DP algorithm for high-dimensional generalized linear bandits with logarithmic regret. Comparative experiments with a variety of DP-SCO and DP-Bandit algorithms exhibit the efficacy and utility of the proposed algorithms.","url_abs":"https://arxiv.org/abs/2206.08111v1","url_pdf":"https://arxiv.org/pdf/2206.08111v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"on-private-online-convex-optimization-optimal","repo_url":"https://github.com/liangzp/dp-streaming-sco","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[{"task_slug":"multi-armed-bandits","task_name":"Multi-Armed Bandits"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2206.08111","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.08111"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/liangzp/dp-streaming-sco","reach":null}],"summary":{"ran":3,"ran_violates":1,"unverified":3},"by_repo_kind":{"official":{"samples":7,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":7,"samples":[{"code_sha256_prefix":"b28a1d672db2c066","entry":"GGPlus","repo":"liangzp/dp-streaming-sco","repo_kind":"official","path":"algo.py","file_url":"https://github.com/liangzp/dp-streaming-sco/blob/HEAD/algo.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b28a1d672db2c066"}},{"code_sha256_prefix":"b0058a9541adde62","entry":"argmin","repo":"liangzp/dp-streaming-sco","repo_kind":"official","path":"algo.py","file_url":"https://github.com/liangzp/dp-streaming-sco/blob/HEAD/algo.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b0058a9541adde62"}},{"code_sha256_prefix":"6a5aa4ef50c866cf","entry":"clip","repo":"liangzp/dp-streaming-sco","repo_kind":"official","path":"algo.py","file_url":"https://github.com/liangzp/dp-streaming-sco/blob/HEAD/algo.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6a5aa4ef50c866cf"}},{"code_sha256_prefix":"c89e3ebfc5f170f8","entry":"compute_linear_gradient","repo":"liangzp/dp-streaming-sco","repo_kind":"official","path":"algo.py","file_url":"https://github.com/liangzp/dp-streaming-sco/blob/HEAD/algo.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c89e3ebfc5f170f8"}},{"code_sha256_prefix":"e7cf6e54ab093727","entry":"Algo","repo":"liangzp/dp-streaming-sco","repo_kind":"official","path":"algo.py","file_url":"https://github.com/liangzp/dp-streaming-sco/blob/HEAD/algo.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e7cf6e54ab093727"}},{"code_sha256_prefix":"15252effeb43a9af","entry":"OFW_ple2","repo":"liangzp/dp-streaming-sco","repo_kind":"official","path":"algo.py","file_url":"https://github.com/liangzp/dp-streaming-sco/blob/HEAD/algo.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"15252effeb43a9af"}},{"code_sha256_prefix":"47f521b2924b61d7","entry":"paras","repo":"liangzp/dp-streaming-sco","repo_kind":"official","path":"algo.py","file_url":"https://github.com/liangzp/dp-streaming-sco/blob/HEAD/algo.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"47f521b2924b61d7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}