{"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/sotopia-o-dynamic-strategy-injection-learning","title":"SOTOPIA-$Ω$: Dynamic Strategy Injection Learning and Social Instruction Following Evaluation for Social Agents","arxiv_id":"2502.15538","date":"2025-02-21","proceeding":null,"authors":["Wenyuan Zhang","Tianyun Liu","Mengxiao Song","XiaoDong Li","Tingwen Liu"],"abstract":"Despite the abundance of prior social strategies possessed by humans, there remains a paucity of research dedicated to their transfer and integration into social agents. Our proposed SOTOPIA-$\\Omega$ framework aims to address and bridge this gap, with a particular focus on enhancing the social capabilities of language agents. This framework dynamically injects multi-step reasoning strategies inspired by negotiation theory and two simple direct strategies into expert agents, thereby automating the construction of a high-quality social dialogue training corpus. Additionally, we introduce the concept of Social Instruction Following (S-IF) and propose two new S-IF evaluation metrics that complement social capability. We demonstrate that several 7B models trained on high-quality corpus not only significantly surpass the expert agent (GPT-4) in achieving social goals but also enhance S-IF performance. Analysis and variant experiments validate the advantages of dynamic construction, which can especially break the agent's prolonged deadlock.","url_abs":"https://arxiv.org/abs/2502.15538v3","url_pdf":"https://arxiv.org/pdf/2502.15538v3.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":"sotopia-o-dynamic-strategy-injection-learning","repo_url":"https://github.com/WYRipple/SOTOPIA-Omega","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[{"task_slug":"instruction-following","task_name":"Instruction Following"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2502.15538","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2502.15538"}},"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/WYRipple/SOTOPIA-Omega","reach":null}],"summary":{"ran_violates":2,"ran":2,"ran_draft_wrong":1,"unverified":14},"by_repo_kind":{"official":{"samples":19,"ran":5,"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":19,"samples":[{"code_sha256_prefix":"28d9478e4122e382","entry":"can_convert_to_float","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"28d9478e4122e382"}},{"code_sha256_prefix":"ad5aae7295cd9945","entry":"check_keys_match","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ad5aae7295cd9945"}},{"code_sha256_prefix":"21d7dfe0d4de9920","entry":"construct_train_data","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"21d7dfe0d4de9920"}},{"code_sha256_prefix":"573f0cef05c8d478","entry":"from_text_to_json","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"573f0cef05c8d478"}},{"code_sha256_prefix":"1cce0a5d6b7ec927","entry":"raw_dict_to_dialog","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1cce0a5d6b7ec927"}},{"code_sha256_prefix":"81356da2312a7397","entry":"format_bad_output","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"81356da2312a7397"}},{"code_sha256_prefix":"7751dd0c52d8e308","entry":"get_LLM_response_vllm","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"7751dd0c52d8e308"}},{"code_sha256_prefix":"ce094ed8dd879507","entry":"get_json_response","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"ce094ed8dd879507"}},{"code_sha256_prefix":"9651ab74b84455c7","entry":"get_right_key_json_response","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"9651ab74b84455c7"}},{"code_sha256_prefix":"a7449db777f964e1","entry":"hard_assessment_different","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"a7449db777f964e1"}},{"code_sha256_prefix":"ae51df2e5be1f3dc","entry":"hard_first_draft","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"ae51df2e5be1f3dc"}},{"code_sha256_prefix":"f811aa8caa3465c1","entry":"hard_get_response","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"f811aa8caa3465c1"}},{"code_sha256_prefix":"ced64499b7167a43","entry":"hard_init_other_utility","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"ced64499b7167a43"}},{"code_sha256_prefix":"74a978b756fb6fdd","entry":"hard_init_speak","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"74a978b756fb6fdd"}},{"code_sha256_prefix":"d17e81fb92e9d760","entry":"hard_init_utility","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"d17e81fb92e9d760"}},{"code_sha256_prefix":"4a698b1426df4a8b","entry":"hard_response","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"4a698b1426df4a8b"}},{"code_sha256_prefix":"720a9f8e7072cdda","entry":"hard_update_own_other_utility_and_get_draft","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"720a9f8e7072cdda"}},{"code_sha256_prefix":"8342bfd2f6c6f3ad","entry":"save_and_get_data","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"8342bfd2f6c6f3ad"}},{"code_sha256_prefix":"b55777c190f5ca3c","entry":"zero_change_style","repo":"WYRipple/SOTOPIA-Omega","repo_kind":"official","path":"dynamic_dialog_generate.py","file_url":"https://github.com/WYRipple/SOTOPIA-Omega/blob/HEAD/dynamic_dialog_generate.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":"b55777c190f5ca3c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}