Logo image
MultiDRECS: A Multi-Dimensional Requirement-Aligned Automated Evaluation Framework for Code Summarization
Conference proceeding   Open access

MultiDRECS: A Multi-Dimensional Requirement-Aligned Automated Evaluation Framework for Code Summarization

Xianwei Wu, Haifeng Shen and Guoping Rong
Proceedings of the 17th International Conference on Internetware, pp.336-347
ACM Other Conferences
Internetware '26: The 17th International Conference on Internetware, 17th (Gold Coast, Queensland, 18/07/2026–20/07/2026)
21/11/2026
pdf
MultiDRECS2.47 MBDownloadView
Published (Version of record) Open CC BY V4.0
url
MultiDRECSView
Published (Version of record) Open CC BY V4.0

Related links

Metrics

1 Record Views

Abstract

Code Summarization Developer Requirements Multi-Agent Collaborative Framework Large Language Mode
While code summaries are critical for software comprehension and maintenance, evaluating the quality of automatically generated summaries remains a significant challenge. Conventional metrics rely heavily on rigid lexical or semantic similarities. Conversely, emerging LLM-as-a-judge methods improve flexibility but often exhibit systematic stylistic biases and fail to reflect developers’ practical needs. To address this, we propose MultiDRECS, a multi-dimensional, requirement-aligned framework for automated code summarization evaluation. By employing a collaborative multi-agent architecture, MultiDRECS successfully mitigates the redundancy biases typical of single-LLM judges. Within this design, it performs statement-level scoring across three developer-centric criteria—adequacy, conciseness, and faithfulness—integrated with an information value ranking mechanism that assigns priority-based weights to different summary types. Consequently, MultiDRECS achieves strong agreement with human judgments while requiring only lightweight backbone models. To rigorously validate such evaluation capabilities, we further introduce DiscrimEval, a novel benchmark comprising real-world methods with rich contexts and systematically synthesized variants (stylistic and error-injected) designed to stress-test metric discriminability. Experiments on DiscrimEval using Qwen2.5-Coder-7B-Instruct demonstrate that MultiDRECS outperforms traditional metrics and larger LLM judges (e.g., Qwen-Plus and DeepSeek-R1) in evaluation accuracy. Crucially, it achieves this at a lower deployment cost and facilitates practical adoption in automated software engineering workflows.

Details

Logo image