mlsanityData to 7 Oct 2026

From Critique to Clarity: A Pathway to Faithful and Personalized Code Explanations with Large Language Models

arXiv 2501.14731 ↗First posted 8 Dec 2024cs.SE cs.AI cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

In the realm of software development, providing accurate and personalized code explanations is crucial for both technical professionals and business stakeholders. Technical professionals benefit from enhanced understanding and improved problem-solving skills, while business stakeholders gain insights into project alignments and transparency. Despite the potential, generating such explanations is often time-consuming and challenging. This paper presents an innovative approach that leverages the advanced capabilities of large language models (LLMs) to generate faithful and personalized code explanations. Our methodology integrates prompt enhancement, self-correction mechanisms, personalized content customization, and interaction with external tools, facilitated by collaboration among multiple LLM agents. We evaluate our approach using both automatic and human assessments, demonstrating that our method not only produces accurate explanations but also tailors them to individual user preferences. Our findings suggest that this approach significantly improves the quality and relevance of code explanations, offering a valuable tool for developers and stakeholders alike.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 22 of its 50 references that are in the map. First posted on arXiv 8 Dec 2024.

Builds on

22 of 50 references.

References · 22

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  4. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  5. 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
  6. 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 751
  7. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  8. 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 599
  9. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  10. 2023Character-LLM: A Trainable Agent for Role-Playingcited by 335
  11. 2022Large Language Models are Better Reasoners with Self-Verificationcited by 304
  12. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
10 more
  1. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 220
  2. 2020Evaluating Explainable AI: Which Algorithmic Explanations Help Users Predict Model Behavior?cited by 189
  3. 2024A Comprehensive Survey on Process-Oriented Automatic Text Summarization with Exploration of LLM-Based Methodscited by 101
  4. 2024Code Generation with AlphaCodium: From Prompt Engineering to Flow Engineeringcited by 100
  5. 2019Personalizing Dialogue Agents via Meta-Learningcited by 83
  6. 2022PromptBoosting: Black-Box Text Classification with Ten Forward Passescited by 36
  7. 2021Evaluating the Faithfulness of Importance Measures in NLP by Recursively Masking Allegedly Important Tokens and Retrainingcited by 31
  8. 2021Improving the Faithfulness of Attention-based Explanations with Task-specific Information for Text Classificationcited by 29
  9. 2023GPTutor: a ChatGPT-powered programming tool for code explanationcited by 22
  10. 2023Explaining Code Examples in Introductory Programming Courses: LLM vs Humanscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Enabling Global, Human-Centered Explanations for LLMs:From Tokens to Interpretable Code and Test Generation
  2. 2026TARS: A Theory-of-Mind Agent for Personalized In-IDE Code Comprehension
  3. 2025Uncovering Code Insights: Leveraging GitHub Artifacts for Deeper Code Understanding
  4. 2025CodeReviewQA: The Code Review Comprehension Assessment for Large Language Models
  5. 2025Code Semantic Zooming ↗
  6. 2026ExplainBench: Evaluating Code Explanations from Agents
  7. 2025CodeVisionary: An Agent-based Framework for Evaluating Large Language Models in Code Generation
  8. 2026On Behavioral Alignment of Model-Code and Human-Code Understandability via Behavioral Proxies ↗