paper-with-me

Papers

Think Outside the Code: Brainstorming Boosts Large Language Models in Code Generation

2023-05-18 · Xin-Ye Li, Jiang-Tian Xue, Zheng Xie, Ming Li

Code generation aims to automatically generate source code from high-level task specifications, which can significantly increase productivity of software engineering. Recently, approaches based on large language models (LLMs) have shown remarkable code generation abilities on simple tasks. However, generate code for more complex tasks, such as competition-level problems, remains challenging. In this paper, we introduce Brainstorm framework for code generation. It leverages a brainstorming step that generates and selects diverse thoughts on the problem to facilitate algorithmic reasoning, where the thoughts are possible blueprint of solving the problem. We demonstrate that Brainstorm significantly enhances the ability of LLMs to solve competition-level programming problems, resulting in a more than 50% increase in the pass@$k$ metrics for ChatGPT on the CodeContests benchmark, achieving state-of-the-art performance. Furthermore, our experiments conducted on LeetCode contests show that our framework boosts the ability of ChatGPT to a level comparable to that of human programmers.

📄 PDF Abstract BibTeX arXiv:2305.10679

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

A Framework for Collaborating a Large Language Model Tool in Brainstorming for Triggering Creative Thoughts

2024-10-10 · Hung-Fu Chang, Tong Li

Creativity involves not only generating new ideas from scratch but also redefining existing concepts and synthesizing previous insights. Among various techniques developed to foster creative thinking, brainstorming is wi…

Language ModelingLanguage ModellingLarge Language ModelPrompt Engineering

Large-scale Group Brainstorming using Conversational Swarm Intelligence (CSI) versus Traditional Chat

2024-12-16 · Louis Rosenberg, Hans Schumann, Christopher Dishop, Gregg Willcox 외

Conversational Swarm Intelligence (CSI) is an AI-facilitated method for enabling real-time conversational deliberations and prioritizations among networked human groups of potentially unlimited size. Based on the biologi…

The Virtual Roundtable: Multi-Agent Personas Simulating the Dynamics of Human Brainstorming

2026-04-17 · Tim Dorn, Saara A. Khan, Julie Mumford arxiv

As AI-driven product development accelerates, the bottleneck is shifting from how we build to what we build. Traditional human brainstorming faces challenges including groupthink, echo chambers, and limited diversity. To…

Multi-Novelty: Improve the Diversity and Novelty of Contents Generated by Large Language Models via inference-time Multi-Views Brainstorming

2025-02-18 · Arash Lagzian, Srinivas Anumasa, Dianbo Liu

Large Language Models (LLMs) demonstrate remarkable proficiency in generating accurate and fluent text. However, they often struggle with diversity and novelty, leading to repetitive or overly deterministic responses. Th…

Diversity

Brainstorming Brings Power to Large Language Models of Knowledge Reasoning

2024-06-02 · Zining Qin, Chenhao Wang, Huiling Qin, Weijia Jia

Large Language Models (LLMs) have demonstrated amazing capabilities in language generation, text comprehension, and knowledge reasoning. While a single powerful model can already handle multiple tasks, relying on a singl…

Logical ReasoningReading ComprehensionText Generation