pith. sign in

arxiv: 2501.14731 · v1 · pith:K3XZLCMJnew · submitted 2024-12-08 · 💻 cs.SE · cs.AI· cs.CL

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

classification 💻 cs.SE cs.AIcs.CL
keywords explanationscodepersonalizedapproachstakeholdersaccuratebusinessfaithful
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Safe and Adaptive Cloud Healing: Verifying LLM-Generated Recovery Plans with a Neural-Symbolic World Model

    cs.AI 2026-07 unverdicted novelty 5.0

    PASE is a neuro-symbolic self-healing system that synthesizes LLM recovery plans, verifies them in simulation, and uses DRL to optimize prompts, claiming over 40% faster recovery on cloud fault data.