{"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/llm-discussion-enhancing-the-creativity-of","title":"LLM Discussion: Enhancing the Creativity of Large Language Models via Discussion Framework and Role-Play","arxiv_id":"2405.06373","date":"2024-05-10","proceeding":null,"authors":["Li-Chun Lu","Shou-Jen Chen","Tsung-Min Pai","Chan-Hung Yu","Hung-Yi Lee","Shao-Hua Sun"],"abstract":"Large language models (LLMs) have shown exceptional proficiency in natural language processing but often fall short of generating creative and original responses to open-ended questions. To enhance LLM creativity, our key insight is to emulate the human process of inducing collective creativity through engaging discussions with participants from diverse backgrounds and perspectives. To this end, we propose LLM Discussion, a three-phase discussion framework that facilitates vigorous and diverging idea exchanges and ensures convergence to creative answers. Moreover, we adopt a role-playing technique by assigning distinct roles to LLMs to combat the homogeneity of LLMs. We evaluate the efficacy of the proposed framework with the Alternative Uses Test, Similarities Test, Instances Test, and Scientific Creativity Test through both LLM evaluation and human study. The results show that our proposed framework outperforms single-LLM approaches and existing multi-LLM frameworks across various creativity metrics. The code is available at https://github.com/lawraa/LLM-Discussion.","url_abs":"https://arxiv.org/abs/2405.06373v4","url_pdf":"https://arxiv.org/pdf/2405.06373v4.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":"llm-discussion-enhancing-the-creativity-of","repo_url":"https://github.com/lawraa/llm-discussion","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2405.06373","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.06373"}},"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/lawraa/llm-discussion","reach":{"status":"ok"}}],"summary":{"ran":4},"by_repo_kind":{"official":{"samples":4,"ran":4,"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":4,"samples":[{"code_sha256_prefix":"015606039eae3221","entry":"calculate_mean_std","repo":"lawraa/llm-discussion","repo_kind":"official","path":"Evaluation/automation_csv.py","file_url":"https://github.com/lawraa/llm-discussion/blob/HEAD/Evaluation/automation_csv.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":"015606039eae3221"}},{"code_sha256_prefix":"bb8f03e3d60179ed","entry":"generate_response_llama2_torchrun","repo":"lawraa/llm-discussion","repo_kind":"official","path":"Experiments/multi_agent/agents.py","file_url":"https://github.com/lawraa/llm-discussion/blob/HEAD/Experiments/multi_agent/agents.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":"bb8f03e3d60179ed"}},{"code_sha256_prefix":"c545e9bead5af9b5","entry":"parse_judgement_result","repo":"lawraa/llm-discussion","repo_kind":"official","path":"Evaluation/utils/util.py","file_url":"https://github.com/lawraa/llm-discussion/blob/HEAD/Evaluation/utils/util.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c545e9bead5af9b5"}},{"code_sha256_prefix":"d418e36af6f3831d","entry":"parse_number_score","repo":"lawraa/llm-discussion","repo_kind":"official","path":"Evaluation/utils/util.py","file_url":"https://github.com/lawraa/llm-discussion/blob/HEAD/Evaluation/utils/util.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d418e36af6f3831d"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}