{"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/learning-distributed-and-fair-policies-for","title":"Learning Distributed and Fair Policies for Network Load Balancing as Markov Potential Game","arxiv_id":"2206.01451","date":"2022-06-03","proceeding":null,"authors":["Zhiyuan Yao","Zihan Ding"],"abstract":"This paper investigates the network load balancing problem in data centers (DCs) where multiple load balancers (LBs) are deployed, using the multi-agent reinforcement learning (MARL) framework. The challenges of this problem consist of the heterogeneous processing architecture and dynamic environments, as well as limited and partial observability of each LB agent in distributed networking systems, which can largely degrade the performance of in-production load balancing algorithms in real-world setups. Centralised-training-decentralised-execution (CTDE) RL scheme has been proposed to improve MARL performance, yet it incurs -- especially in distributed networking systems, which prefer distributed and plug-and-play design scheme -- additional communication and management overhead among agents. We formulate the multi-agent load balancing problem as a Markov potential game, with a carefully and properly designed workload distribution fairness as the potential function. A fully distributed MARL algorithm is proposed to approximate the Nash equilibrium of the game. Experimental evaluations involve both an event-driven simulator and real-world system, where the proposed MARL load balancing algorithm shows close-to-optimal performance in simulations, and superior results over in-production LBs in the real-world system.","url_abs":"https://arxiv.org/abs/2206.01451v3","url_pdf":"https://arxiv.org/pdf/2206.01451v3.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":"learning-distributed-and-fair-policies-for","repo_url":"https://github.com/zhiyuanyaoj/marllb","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"fairness","task_name":"Fairness"},{"task_slug":"management","task_name":"Management"},{"task_slug":"multi-agent-reinforcement-learning","task_name":"Multi-agent Reinforcement Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2206.01451","atlas_url":"https://app.syntology.ai/?focus=2206.01451","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2206.01451"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/zhiyuanyaoj/marllb","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":9,"unverified":2},"by_repo_kind":{"official":{"samples":11,"ran":9,"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":"f8a641898470673c","entry":"calcul_fair_jain","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/env.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/env.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f8a641898470673c"}},{"code_sha256_prefix":"b624888718f7aa19","entry":"calcul_fair_product","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/env.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/env.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b624888718f7aa19"}},{"code_sha256_prefix":"1941e328dd0022cf","entry":"gen_alias","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/update_msg_in.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/update_msg_in.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1941e328dd0022cf"}},{"code_sha256_prefix":"6d178d66377199eb","entry":"get_err_sockets","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/gt_socket_check.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/gt_socket_check.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6d178d66377199eb"}},{"code_sha256_prefix":"d9871d88b26f7c62","entry":"init_logger","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/env.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/env.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"d9871d88b26f7c62"}},{"code_sha256_prefix":"552d07197082ccf3","entry":"json_read_file","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/shm_proxy.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/shm_proxy.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"552d07197082ccf3"}},{"code_sha256_prefix":"74dc323c339e043e","entry":"json_read_file","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/shm_proxy.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/shm_proxy.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"74dc323c339e043e"}},{"code_sha256_prefix":"27a7b444209f077d","entry":"softmax","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/baseline.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/baseline.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"27a7b444209f077d"}},{"code_sha256_prefix":"86047df55e4fd6ff","entry":"subprocess_cmd","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/sac_gru_discrete.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/sac_gru_discrete.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"86047df55e4fd6ff"}},{"code_sha256_prefix":"e961b0c65f3392f5","entry":"get_gt","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/update_msg_in.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/update_msg_in.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e961b0c65f3392f5"}},{"code_sha256_prefix":"9a3e338745f4928e","entry":"get_socket","repo":"zhiyuanyaoj/marllb","repo_kind":"official","path":"src/lb/sac_qmix.py","file_url":"https://github.com/zhiyuanyaoj/marllb/blob/HEAD/src/lb/sac_qmix.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9a3e338745f4928e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}