Skip to content

Commit

Permalink
deploy: d137123
Browse files Browse the repository at this point in the history
  • Loading branch information
mallamanis committed Dec 3, 2023
1 parent 46500b0 commit d1ff522
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions publications/li2023think.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

---
layout: publication
title: "Think Outside the Code: Brainstorming Boosts Large Language Models in Code Generation"
authors: Xin-Ye Li, Jiang-Tian Xue, Zheng Xie, Ming Li
conference:
year: 2023
additional_links:
- {name: "ArXiV", url: "https://arxiv.org/abs/2305.10679"}
tags: ["generation", "Transformer"]
---
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.
2 changes: 1 addition & 1 deletion topics.json

Large diffs are not rendered by default.

0 comments on commit d1ff522

Please sign in to comment.