{"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/measuring-bargaining-abilities-of-llms-a","title":"Measuring Bargaining Abilities of LLMs: A Benchmark and A Buyer-Enhancement Method","arxiv_id":"2402.15813","date":"2024-02-24","proceeding":null,"authors":["Tian Xia","Zhiwei He","Tong Ren","Yibo Miao","Zhuosheng Zhang","Yang Yang","Rui Wang"],"abstract":"Bargaining is an important and unique part of negotiation between humans. As LLM-driven agents learn to negotiate and act like real humans, how to evaluate agents' bargaining abilities remains an open problem. For the first time, we formally described the Bargaining task as an asymmetric incomplete information game, defining the gains of the Buyer and Seller in multiple bargaining processes. It allows us to quantitatively assess an agent's performance in the Bargain task. We collected a real product price dataset, AmazonHistoryPrice, and conducted evaluations of various LLM agents' bargaining abilities. We find that playing a Buyer is much harder than a Seller, and increasing model size can not effectively improve the Buyer's performance. To address the challenge, we propose a novel approach called OG-Narrator that integrates a deterministic Offer Generator to control the price range of Buyer's offers, and an LLM Narrator to create natural language sentences for generated offers. Experimental results show that OG-Narrator improves the buyer's deal rates from 26.67% to 88.88% and brings a ten times multiplication of profits on all baselines, even a model that has not been aligned.","url_abs":"https://arxiv.org/abs/2402.15813v3","url_pdf":"https://arxiv.org/pdf/2402.15813v3.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":"measuring-bargaining-abilities-of-llms-a","repo_url":"https://github.com/tianxiasjtu/amazonpricehistory","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2402.15813","atlas_url":"https://app.syntology.ai/?focus=2402.15813","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.15813"}},"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/tianxiasjtu/amazonpricehistory","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":3,"unverified":1},"by_repo_kind":{"official":{"samples":4,"ran":3,"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":"c24fbefc8754015c","entry":"CamelAmazon","repo":"tianxiasjtu/amazonpricehistory","repo_kind":"official","path":"product.py","file_url":"https://github.com/tianxiasjtu/amazonpricehistory/blob/HEAD/product.py","link_basis":"first_harvest_node","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":"c24fbefc8754015c"}},{"code_sha256_prefix":"8234f98afe94e24f","entry":"color","repo":"tianxiasjtu/amazonpricehistory","repo_kind":"official","path":"utils/ColoredPrint.py","file_url":"https://github.com/tianxiasjtu/amazonpricehistory/blob/HEAD/utils/ColoredPrint.py","link_basis":"first_harvest_node","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":"8234f98afe94e24f"}},{"code_sha256_prefix":"39beb63c33987cd2","entry":"parseReply","repo":"tianxiasjtu/amazonpricehistory","repo_kind":"official","path":"session.py","file_url":"https://github.com/tianxiasjtu/amazonpricehistory/blob/HEAD/session.py","link_basis":"first_harvest_node","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":"39beb63c33987cd2"}},{"code_sha256_prefix":"1a5a2fa363648b84","entry":"main","repo":"tianxiasjtu/amazonpricehistory","repo_kind":"official","path":"dataset_analysis/analyse.py","file_url":"https://github.com/tianxiasjtu/amazonpricehistory/blob/HEAD/dataset_analysis/analyse.py","link_basis":"first_harvest_node","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":"1a5a2fa363648b84"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}