Pith. sign in

REVIEW 1 cited by

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

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2305.10679 v1 pith:UG246MKH submitted 2023-05-18 cs.AI cs.CLcs.SE

classification cs.AIcs.CLcs.SE
keywords codegenerationabilityboostsbrainstormbrainstormingchatgptcompetition-level
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
abstract

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.

Discussion (0). Sign in to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Learning to Reason via Mixture-of-Thought for Logical Reasoning

    cs.CL 2025-05 conditional novelty 6.0 of 10

    Jointly training and voting across natural language, code, and truth-table reasoning modalities improves LLM logical reasoning accuracy by up to 11.7 percentage points.

Pith tools