paper-with-me

Papers

Personality-Guided Code Generation Using Large Language Models

2024-10-16 · Yaoqi Guo, Zhenpeng Chen, Jie M. Zhang, Yang Liu, Yun Ma

Code generation, the automatic creation of source code from natural language descriptions, has garnered significant attention due to its potential to streamline software development. Inspired by research that links task-personality alignment with improved development outcomes, we conduct an empirical study on personality-guided code generation using large language models (LLMs). Specifically, we investigate how emulating personality traits appropriate to the coding tasks affects LLM performance. We extensively evaluate this approach using seven widely adopted LLMs across four representative datasets. Our results show that personality guidance significantly enhances code generation accuracy, with improved pass rates in 23 out of 28 LLM-dataset combinations. Notably, in 11 cases, the improvement exceeds 5%, and in 5 instances, it surpasses 10%, with the highest gain reaching 12.9%. Additionally, personality guidance can be easily integrated with other prompting strategies to further boost performance. We open-source our code and data at https://github.com/IanWalls/Persona-Code.

📄 PDF Abstract BibTeX arXiv:2411.00006

Code (1)

ianwalls/persona-code 공식 구현

Tasks

Code GenerationPersonality Alignment

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Psych-E: Configurable Response Generation using Personality Traits and Pragmatics

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Personality traits influence human actions and thoughts, which is manifested in day to day conversations. Although glimpses of personality traits are observable in existing open domain conversation corpora, leveraging ge…

Language ModellingResponse Generation

Dynamic Generation of Personalities with Large Language Models

2024-04-10 · Jianzhi Liu, Hexiang Gu, Tianyu Zheng, Liuyu Xiang 외

In the realm of mimicking human deliberation, large language models (LLMs) show promising performance, thereby amplifying the importance of this research area. Deliberation is influenced by both logic and personality. Ho…

Personality Generation

PSYDIAL: Personality-based Synthetic Dialogue Generation using Large Language Models

2024-04-01 · Ji-Eun Han, Jun-Seok Koh, Hyeon-Tae Seo, Du-Seong Chang 외

We present a novel end-to-end personality-based synthetic dialogue data generation pipeline, specifically designed to elicit responses from large language models via prompting. We design the prompts to generate more huma…

Dialogue Generation

SoMin.ai: Personality-Driven Content Generation Platform

2020-11-30 · Aleksandr Farseev, Qi Yang, Andrey Filchenkov, Kirill Lepikhin 외

In this technical demonstration, we showcase the World's first personality-driven marketing content generation platform, called SoMin.ai. The platform combines deep multi-view personality profiling framework and style ge…

Marketing

Stylistic Response Generation by Controlling Personality Traits and Intent

2022-05-01 · NLP4ConvAI (ACL) 2022 5 · Sougata Saha, Souvik Das, Rohini Srihari

Personality traits influence human actions and thoughts, which is manifested in day to day conversations. Although glimpses of personality traits are observable in existing open domain conversation corpora, leveraging ge…

Language ModellingResponse Generation