{"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/ai-safety-by-debate-via-regret-minimization","title":"Playing Large Games with Oracles and AI Debate","arxiv_id":"2312.04792","date":"2023-12-08","proceeding":null,"authors":["Xinyi Chen","Angelica Chen","Dean Foster","Elad Hazan"],"abstract":"We consider regret minimization in repeated games with a very large number of actions. Such games are inherent in the setting of AI Safety via Debate \\cite{irving2018ai}, and more generally games whose actions are language-based. Existing algorithms for online game playing require per-iteration computation polynomial in the number of actions, which can be prohibitive for large games. We thus consider oracle-based algorithms, as oracles naturally model access to AI agents. With oracle access, we characterize when internal and external regret can be minimized efficiently. We give a novel efficient algorithm for simultaneous external and internal regret minimization whose regret depends logarithmically on the number of actions. We conclude with experiments in the setting of AI Safety via Debate that shows the benefit of insights from our algorithmic analysis.","url_abs":"https://arxiv.org/abs/2312.04792v4","url_pdf":"https://arxiv.org/pdf/2312.04792v4.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":"ai-safety-by-debate-via-regret-minimization","repo_url":"https://github.com/angie-chen55/alignment-game-public","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2312.04792","atlas_url":"https://app.syntology.ai/?focus=2312.04792","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.04792"}},"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/angie-chen55/alignment-game-public","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":7},"by_repo_kind":{"official":{"samples":8,"ran":1,"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":"74c1bc1e667426e9","entry":"initialize_openai","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"openai_utils.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/openai_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"74c1bc1e667426e9"}},{"code_sha256_prefix":"bb27d8a1aae43d69","entry":"debate_few_shot_examples","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"debater.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/debater.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":"bb27d8a1aae43d69"}},{"code_sha256_prefix":"b8698fdad9d9d496","entry":"debate_rules","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"debater.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/debater.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":"b8698fdad9d9d496"}},{"code_sha256_prefix":"9f37a2348c17fc05","entry":"get_tiktoken_encoding","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"openai_utils.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/openai_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":"9f37a2348c17fc05"}},{"code_sha256_prefix":"36df61a07fecd61d","entry":"judge_rules","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"judge.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/judge.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":"36df61a07fecd61d"}},{"code_sha256_prefix":"c6f4f5e8599eef87","entry":"load_quality_data","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"run_debate.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/run_debate.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":"c6f4f5e8599eef87"}},{"code_sha256_prefix":"898f6a48f8e612fc","entry":"private_debate_prompt","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"debater.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/debater.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":"898f6a48f8e612fc"}},{"code_sha256_prefix":"f4cff0617cb30b14","entry":"private_judge_prompt","repo":"angie-chen55/alignment-game-public","repo_kind":"official","path":"judge.py","file_url":"https://github.com/angie-chen55/alignment-game-public/blob/HEAD/judge.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":"f4cff0617cb30b14"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}