缩放定律如何适用于知识图谱工程任务?模型大小对大型语言模型性能的影响
How do Scaling Laws Apply to Knowledge Graph Engineering Tasks? The Impact of Model Size on Large Language Model Performance
AI总结:
研究探讨了模型大小缩放定律在知识图谱工程任务中的适用性,发现大体适用但存在平台效应,建议考虑成本效益并测试邻近模型。
摘要:
在使用大型语言模型(LLMs)支持知识图谱工程(KGE)时,寻找合适模型的首要指标之一是其大小。根据缩放定律,较大的模型通常表现出更高的能力。然而,在实践中,资源成本也是一个重要因素,因此考虑模型性能与成本之间的比率是有意义的。LLM-KG-Bench框架能够在KGE任务背景下比较LLMs,并评估其理解和生成知识图谱(KGs)及KG查询的能力。基于LLM-KG-Bench运行中创建的数据集,该数据集涵盖26个开源的最新LLMs,我们探索了特定于KGE任务的模型大小缩放定律。在我们的分析中,我们评估了不同模型大小类别之间基准分数的演变。此外,我们检查了单个模型和模型家族的一般分数发展与其大小的相关性。我们的分析揭示,除少数例外,模型大小缩放定律通常也适用于所选的KGE任务。然而,在某些情况下,出现了平台期或天花板效应,即模型与下一个更大模型之间的任务性能变化不大。在这些情况下,可以考虑使用较小的模型以实现高成本效益。对于同一家族的模型,有时较大的模型表现不如同一家族的较小模型。这些效应仅局部出现。因此,建议额外测试同一家族中下一个最小和最大的模型。
英文摘要:
When using Large Language Models (LLMs) to support Knowledge Graph Engineering (KGE), one of the first indications when searching for an appropriate model is its size. According to the scaling laws, larger models typically show higher capabilities. However, in practice, resource costs are also an important factor and thus it makes sense to consider the ratio between model performance and costs. The LLM-KG-Bench framework enables the comparison of LLMs in the context of KGE tasks and assesses their capabilities of understanding and producing KGs and KG queries. Based on a dataset created in an LLM-KG-Bench run covering 26 open state-of-the-art LLMs, we explore the model size scaling laws specific to KGE tasks. In our analyses, we assess how benchmark scores evolve between different model size categories. Additionally, we inspect how the general score development of single models and families of models correlates to their size. Our analyses revealed that, with a few exceptions, the model size scaling laws generally also apply to the selected KGE tasks. However, in some cases, plateau or ceiling effects occurred, i.e., the task performance did not change much between a model and the next larger model. In these cases, smaller models could be considered to achieve high cost-effectiveness. Regarding models of the same family, sometimes larger models performed worse than smaller models of the same family. These effects occurred only locally. Hence it is advisable to additionally test the next smallest and largest model of the same family.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。