{"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/online-learning-with-optimism-and-delay","title":"Online Learning with Optimism and Delay","arxiv_id":"2106.06885","date":"2021-06-13","proceeding":null,"authors":["Genevieve Flaspohler","Francesco Orabona","Judah Cohen","Soukayna Mouatadid","Miruna Oprescu","Paulo Orenstein","Lester Mackey"],"abstract":"Inspired by the demands of real-time climate and weather forecasting, we develop optimistic online learning algorithms that require no parameter tuning and have optimal regret guarantees under delayed feedback. Our algorithms -- DORM, DORM+, and AdaHedgeD -- arise from a novel reduction of delayed online learning to optimistic online learning that reveals how optimistic hints can mitigate the regret penalty caused by delay. We pair this delay-as-optimism perspective with a new analysis of optimistic learning that exposes its robustness to hinting errors and a new meta-algorithm for learning effective hinting strategies in the presence of delay. We conclude by benchmarking our algorithms on four subseasonal climate forecasting tasks, demonstrating low regret relative to state-of-the-art forecasting models.","url_abs":"https://arxiv.org/abs/2106.06885v4","url_pdf":"https://arxiv.org/pdf/2106.06885v4.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":"online-learning-with-optimism-and-delay","repo_url":"https://github.com/geflaspohler/poold","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"benchmarking","task_name":"Benchmarking"},{"task_slug":"weather-forecasting","task_name":"Weather Forecasting"}],"methods":[],"datasets_introduced":[{"slug":"replication-data-for-online-learning-with","name":"Replication Data for: Online Learning with Optimism and Delay","full_name":""}],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.06885","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.06885"}},"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":"deterministic:regex_extraction","url":"https://github.com/geflaspohler/poold","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":7},"by_repo_kind":{"official":{"samples":7,"ran":0,"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":0,"samples":[{"code_sha256_prefix":"c3f2cad277191c12","entry":"dt_to_string","repo":"geflaspohler/poold","repo_kind":"official","path":"src/poold/utils/general_utils.py","file_url":"https://github.com/geflaspohler/poold/blob/HEAD/src/poold/utils/general_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c3f2cad277191c12"}},{"code_sha256_prefix":"23a7a3472133d147","entry":"get_dt_range","repo":"geflaspohler/poold","repo_kind":"official","path":"src/poold/utils/general_utils.py","file_url":"https://github.com/geflaspohler/poold/blob/HEAD/src/poold/utils/general_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"23a7a3472133d147"}},{"code_sha256_prefix":"cfaea701ac3a85cc","entry":"loss_regret","repo":"geflaspohler/poold","repo_kind":"official","path":"src/poold/utils/loss_utils.py","file_url":"https://github.com/geflaspohler/poold/blob/HEAD/src/poold/utils/loss_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cfaea701ac3a85cc"}},{"code_sha256_prefix":"60d8355487f25e67","entry":"normalize_by_groups","repo":"geflaspohler/poold","repo_kind":"official","path":"src/poold/utils/loss_utils.py","file_url":"https://github.com/geflaspohler/poold/blob/HEAD/src/poold/utils/loss_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"60d8355487f25e67"}},{"code_sha256_prefix":"a9f6749d77300f23","entry":"string_to_dt","repo":"geflaspohler/poold","repo_kind":"official","path":"src/poold/utils/general_utils.py","file_url":"https://github.com/geflaspohler/poold/blob/HEAD/src/poold/utils/general_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9f6749d77300f23"}},{"code_sha256_prefix":"a9c88e80a84c4e46","entry":"visualize","repo":"geflaspohler/poold","repo_kind":"official","path":"src/poold/utils/visualize.py","file_url":"https://github.com/geflaspohler/poold/blob/HEAD/src/poold/utils/visualize.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a9c88e80a84c4e46"}},{"code_sha256_prefix":"da318f9bc648b036","entry":"visualize_multiple","repo":"geflaspohler/poold","repo_kind":"official","path":"src/poold/utils/visualize.py","file_url":"https://github.com/geflaspohler/poold/blob/HEAD/src/poold/utils/visualize.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"da318f9bc648b036"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}