arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.15000cs.CLcs.IR
收藏

MDEval:评估与增强大语言模型的 Markdown 感知能力

MDEval: Evaluating and Enhancing Markdown Awareness in Large Language Models

Southwestern University of Finance and Economics(西南财经大学);University of Electronic Science and Technology of China(电子科技大学)

Zhongpu Chen, Yinfeng Liu, Long Shi, Xingyan Chen, Yu Zhao, Fuji Ren

AI总结:

本文提出 MDEval 基准,通过构建 20K 中英双语实例评估大语言模型的 Markdown 感知能力,并结合生成任务与统计方法提升可解释性,实验表明微调后开源模型可接近 GPT-4o 水平。

摘要:

大语言模型(LLMs)被期望在网络聊天机器人(如 ChatGPT)中提供结构化的 Markdown 响应,以提高可读性。尽管已有大量评估 LLMs 的指标,但它们未能从输出内容结构的角度评估可读性。为此,我们关注一个被忽视但重要的指标——Markdown 感知能力,它直接影响这些语言模型生成内容的可读性和结构。在本文中,我们引入了 MDEval,一个用于评估 LLMs Markdown 感知能力的综合基准,通过构建一个包含 20K 实例、覆盖中英文 10 个学科的数据集来实现。与传统的基于模型的评估不同,MDEval 通过结合基于模型的生成任务和统计方法,提供了出色的可解释性。我们的结果表明,MDEval 与人类评估的 Spearman 相关系数达到 0.791,准确率达到 84.1%,大幅优于现有方法。大量实验结果还表明,通过在我们提出的数据集上进行微调,性能较弱的开源模型能够在 Markdown 感知能力方面达到与 GPT-4o 相当的性能。为确保可复现性和透明度,MDEval 已在 https://github.com/SWUFE-DB-Group/MDEval-Benchmark 开源。

英文摘要:

Large language models (LLMs) are expected to offer structured Markdown responses for the sake of readability in web chatbots (e.g., ChatGPT). Although there are a myriad of metrics to evaluate LLMs, they fail to evaluate the readability from the view of output content structure. To this end, we focus on an overlooked yet important metric -- Markdown Awareness, which directly impacts the readability and structure of the content generated by these language models. In this paper, we introduce MDEval, a comprehensive benchmark to assess Markdown Awareness for LLMs, by constructing a dataset with 20K instances covering 10 subjects in English and Chinese. Unlike traditional model-based evaluations, MDEval provides excellent interpretability by combining model-based generation tasks and statistical methods. Our results demonstrate that MDEval achieves a Spearman correlation of 0.791 and an accuracy of 84.1% with human, outperforming existing methods by a large margin. Extensive experimental results also show that through fine-tuning over our proposed dataset, less performant open-source models are able to achieve comparable performance to GPT-4o in terms of Markdown Awareness. To ensure reproducibility and transparency, MDEval is open sourced at https://github.com/SWUFE-DB-Group/MDEval-Benchmark.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑