CAKE:大型语言模型云架构知识评估
CAKE: Cloud Architecture Knowledge Evaluation of Large Language Models
AI总结:
本文提出CAKE基准测试,评估大型语言模型对云原生软件架构的理解,涵盖四个认知层次和五个主题,通过多选和自由回答形式评估22种模型配置,发现多选准确率随参数增加而稳定,自由回答持续区分模型,推理增强提升表现,工具增强则降低小型模型性能。
摘要:
在当今的软件架构中,大型语言模型(LLMs)作为软件架构的共驾驶者。然而,目前尚无基准测试来评估LLMs对云原生软件架构的实际理解。为此,我们提出一个名为CAKE的基准测试,包含188个专家验证的问题,覆盖Bloom修订分类法的四个认知层次——回忆、分析、设计和实施——以及五个云原生主题。评估在22种模型配置(0.5B-70B参数)的四个LLM家族中进行,使用三轮多数投票对多选问题(MCQs)进行评估,使用LLM-as-a-judge评分对自由回答(FR)进行评估。基于此评估,发现了四个显著发现。首先,多选准确率在超过3B参数时达到平台,最佳模型达到99.2%。其次,自由回答分数在所有认知层次上持续增长。第三,两种格式捕捉了知识的不同方面,多选准确率接近天花板,而自由回答持续区分模型。最后,推理增强(+think)提高了自由回答质量,而工具增强(+tool)降低了小型模型的性能。这些结果表明,评估格式从根本上影响了我们对LLM架构知识的测量方式。
英文摘要:
In today's software architecture, large language models (LLMs) serve as software architecture co-pilots. However, no benchmark currently exists to evaluate large language models' actual understanding of cloud-native software architecture. For this reason we present a benchmark called CAKE, which consists of 188 expert-validated questions covering four cognitive levels of Bloom's revised taxonomy -- recall, analyze, design, and implement -- and five cloud-native topics. Evaluation is conducted on 22 model configurations (0.5B--70B parameters) across four LLM families, using three-run majority voting for multiple-choice questions (MCQs) and LLM-as-a-judge scoring for free-responses (FR). Based on this evaluation, four notable findings were identified. First, MCQ accuracy plateaus above 3B parameters, with the best model reaching 99.2\%. Second, free-response scores scale steadily across all cognitive levels. Third, the two formats capture different facets of knowledge, as the MCQ accuracy approaches a ceiling while free-responses continue to differentiate models. Finally, reasoning augmentation (+think) improves free-response quality, while tool augmentation (+tool) degrades performance for small models. These results suggest that the evaluation format fundamentally shapes how we measure architectural knowledge in LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。