Research map / Large language models / Language, safety and interpretability
Personality-Guided Code Generation Using Large Language Models
Yaoqi Guo, Zhenpeng Chen, Jie M. Zhang, Yang Liu, Yun Ma
Peking University · Nanyang Technological University · King's College London
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- HumanEval leaderboard pass rate (%) 82.9 · rank 4 of 13 papers
- MBPP leaderboard pass rate (%) 72.7 · rank 6 of 10 papers
This paper tried a common change: Chain-of-thought prompting
add personality to Chain of Thought · MBPP Sanitized · pass rate: 69.6% -> 82.2% Improved
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add MBTI personality guidance | GPT-4o mini · MBPP Sanitized | pass rate: 69.3% -> 82.2% | Improved |
| add MBTI personality guidance | 7 LLMs · four code datasets | pass rate: improved in 23 of 28 combinations | Mixed |
| add MBTI personality guidance | GPT-4o · HumanEval+ | pass rate: 84.8% -> 82.9% | Hurt |
| add MBTI personality guidance | DeepSeek-Coder V2 · APPS | pass rate: 39.4% -> 34.4% | Hurt |
| add MBTI personality guidance | CodeLlama · MBPP+ | pass rate: 42.4% -> 52.4% | Improved |
| use a diverse per-task MBTI type instead of one uniform type (ablation) | Qwen-Long · MBPP Sanitized | pass rate: 65.7-68.4% -> 80.8% | Improved |
| add personality to Chain of Thought | Qwen-Long · MBPP Sanitized | pass rate: 69.6% -> 82.2% | Improved |
| add personality to three-shot prompting | Qwen-Long · MBPP Sanitized | pass rate: 66.7% -> 76.6% | Improved |
| add personality to CoT | CodeLlama · MBPP Sanitized | pass rate: 30.4% -> 49.6% | Improved |
| use full MBTI description instead of MBTI type only (ablation) | personality prompt · MBPP Sanitized | pass rate: average +3.94% | Improved |
| use MBTI instead of Big Five personality (ablation) | personality prompt · MBPP Sanitized | pass rate: GPT-4o mini 82.2% vs 69.0% | Improved |
| use fixed general MBTI description template instead of generated per-task descriptions (ablation) | Qwen-Long · MBPP Sanitized | pass rate: 80.8% -> 65.5% | Hurt |
Open problems in LLM unlearning and benchmarks
Do LLM unlearning and privacy results still hold on larger models, other languages and real use?
- Results stop at small or mid-size models and larger ones are untested. · 23 papers state it
- The method adds compute, latency or memory over a simple baseline. · 17 papers state it
- Most work is tested in English or a few high-resource languages. · 14 papers state it
Closest papers by meaning
- Socratic Human Feedback (SoHF): Expert Steering Strategies for LLM Code Generation (EMNLP 2024 · similarity 0.87)
- Training Language Models to Generate Quality Code with Program Analysis Feedback (NeurIPS 2025 · similarity 0.86)
- Copilot Arena: A Platform for Code LLM Evaluation in the Wild (ICML 2025 · similarity 0.86)
- ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environments (ICLR 2025 · similarity 0.86)
- LLM-Assisted Code Cleaning For Training Accurate Code Generators (ICLR 2024 · similarity 0.86)
- SelfCodeAlign: Self-Alignment for Code Generation (NeurIPS 2024 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.