Salvato in:
Dettagli Bibliografici
Autori principali: Lu, Yining, Wang, Dixuan, Li, Tianjian, Jiang, Dongwei, Khudanpur, Sanjeev, Jiang, Meng, Khashabi, Daniel
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2407.09007
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910819571204096
author Lu, Yining
Wang, Dixuan
Li, Tianjian
Jiang, Dongwei
Khudanpur, Sanjeev
Jiang, Meng
Khashabi, Daniel
author_facet Lu, Yining
Wang, Dixuan
Li, Tianjian
Jiang, Dongwei
Khudanpur, Sanjeev
Jiang, Meng
Khashabi, Daniel
contents As LLMs become increasingly prevalent, it is interesting to consider how ``creative'' these models can be. From cognitive science, creativity consists of at least two key characteristics: \emph{convergent} thinking (purposefulness to achieve a given goal) and \emph{divergent} thinking (adaptability to explore new environments or constraints) \citep{runco2003critical}. In this work, we introduce a framework for quantifying LLM creativity that incorporates the two design ingredients: (1) We introduce DENIAL PROMPTING which pushes LLMs to develop more creative solutions to a given problem by incrementally imposing new constraints on the previous solution, compelling LLMs to adopt new strategies. (2) We define NEOGAUGE, a metric that quantifies both convergent and divergent thinking in the generated creative responses by LLMs. We test the proposed framework on Codeforces problems, which serve as both a natural dataset for coding tasks and a collection of prior human solutions. We quantify NEOGAUGE for various proprietary and open-source models and find that even the most creative model, GPT-4, still falls short of demonstrating human-like creativity. We also experiment with advanced reasoning strategies (MCTS, self-correction, etc.) and observe no significant improvement in creativity. As a by-product of our analysis, we release NEOCODER dataset for reproducing our results on future models.
format Preprint
id arxiv_https___arxiv_org_abs_2407_09007
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Benchmarking Language Model Creativity: A Case Study on Code Generation
Lu, Yining
Wang, Dixuan
Li, Tianjian
Jiang, Dongwei
Khudanpur, Sanjeev
Jiang, Meng
Khashabi, Daniel
Computation and Language
As LLMs become increasingly prevalent, it is interesting to consider how ``creative'' these models can be. From cognitive science, creativity consists of at least two key characteristics: \emph{convergent} thinking (purposefulness to achieve a given goal) and \emph{divergent} thinking (adaptability to explore new environments or constraints) \citep{runco2003critical}. In this work, we introduce a framework for quantifying LLM creativity that incorporates the two design ingredients: (1) We introduce DENIAL PROMPTING which pushes LLMs to develop more creative solutions to a given problem by incrementally imposing new constraints on the previous solution, compelling LLMs to adopt new strategies. (2) We define NEOGAUGE, a metric that quantifies both convergent and divergent thinking in the generated creative responses by LLMs. We test the proposed framework on Codeforces problems, which serve as both a natural dataset for coding tasks and a collection of prior human solutions. We quantify NEOGAUGE for various proprietary and open-source models and find that even the most creative model, GPT-4, still falls short of demonstrating human-like creativity. We also experiment with advanced reasoning strategies (MCTS, self-correction, etc.) and observe no significant improvement in creativity. As a by-product of our analysis, we release NEOCODER dataset for reproducing our results on future models.
title Benchmarking Language Model Creativity: A Case Study on Code Generation
topic Computation and Language
url https://arxiv.org/abs/2407.09007