Research map / Large language models / Agents, code and math
FaithfulPersona: Balancing Faithfulness and Personalization in Code Explanations through Self-Critique
Zhuang Luo, Yichuan Li, Zexing Xu, Kyumin Lee, S. Rasoul Etesami
Worcester Polytechnic Institute · University of Illinois, Urbana Champaign
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace Self-Consistency with DISCO | GPT-3.5 · FaithfulPersonaCodeX test | Pass@5: 26.45% -> 30.15% | Improved |
| replace Self-Consistency with DISCO | Claude 3 Sonnet · FaithfulPersonaCodeX test | Pass@5: 26.61% -> 30.53% | Improved |
| replace Self-Consistency with DISCO | GPT-3.5 · FaithfulPersonaCodeX test | ROUGE-L: 0.0230 -> 0.0361 | Improved |
| replace Self-Consistency with DISCO | GPT-3.5 · FaithfulPersonaCodeX test | LLM-as-a-Judge win rate: 61.08% win rate, about 3% loss | Improved |
| replace Self-Consistency with DISCO | Claude 3 Sonnet · FaithfulPersonaCodeX test | Word Overlap: 11.10% -> 17.94% | Improved |
| increase iterative refinement steps from 1 to 5 (ablation) | DISCO (GPT-3.5) · FaithfulPersonaCodeX test | Pass@5: 25.49% -> 30.27% | Improved |
| go from 4 to 5 refinement iterations (ablation) | DISCO (GPT-3.5) · FaithfulPersonaCodeX | Pass@5 / Pass@1 | No clear effect |
| use DISCO instead of Self-Consistency | GPT-3.5 · FaithfulPersonaCodeX | average cost per problem: $0.02 -> $0.05 | Hurt |
| apply DISCO to users whose Stack Overflow history is unrelated to contest problems (User 4 vs User 2) | DISCO · FaithfulPersonaCodeX test | win rate vs Self-Consistency: 74.63% (User 2) vs 47.76% (User 4) | Mixed |
| use DISCO instead of S2G / Self-Consistency (human ratings) | GPT-3.5 · 20 test problems, 4 engineers | Usefulness, Clearness, Understanding (1-5) | Improved |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Beyond Accuracy: Evaluating Self-Consistency of Code Large Language Models with IdentityChain (ICLR 2024 · similarity 0.85)
- CodeChain: Towards Modular Code Generation Through Chain of Self-revisions with Representative Sub-modules (ICLR 2024 · similarity 0.85)
- SelfCodeAlign: Self-Alignment for Code Generation (NeurIPS 2024 · similarity 0.85)
- Unsupervised Evaluation of Code LLMs with Round-Trip Correctness (ICML 2024 · similarity 0.85)
- ChatGPT-Generated Code Assignment Detection Using Perplexity of Large Language Models (Student Abstract) (AAAI 2024 · similarity 0.84)
- Teaching Large Language Models to Self-Debug (ICLR 2024 · similarity 0.84)
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.