arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.11402cs.CLcs.AIcs.LG
收藏

小型语言模型是否已准备好在实际应用中与大型语言模型竞争?

Are Small Language Models Ready to Compete with Large Language Models for Practical Applications?

Georgia Institute of Technology(佐治亚理工学院)

Neelabh Sinha, Vinija Jain, Aman Chadha

AI总结:

本文提出一个评估小型开放语言模型的框架,从任务类型、应用领域和推理类型三个实际方面比较10个模型,发现适当选择的小型LM可超越部分SOTA大型语言模型。

摘要:

语言模型(LMs)的迅速崛起已将其应用扩展到多个领域。然而,由于模型规模、相关成本或专有限制的约束,利用最先进(SOTA)的大型语言模型(LLMs)并非总是可行。随着开放的小型LMs不断涌现,更多应用可以利用它们的能力,但选择合适的小型LM可能具有挑战性,因为小型LMs并非在所有情况下都表现良好。本工作试图通过提出一个框架来弥合这一差距,该框架通过测量输出在三个实际方面的语义正确性,即任务类型、应用领域和推理类型,并使用多样化的提示风格,来实验性地评估实际环境中的小型开放LMs。该工作还利用所提出的框架对10个小型开放LMs进行了深入比较,以根据具体应用需求确定最佳的LM和提示风格。我们还表明,如果选择得当,它们可以超越诸如DeepSeek-v2、GPT-4o、GPT-4o-mini、Gemini-1.5-Pro等SOTA LLMs,甚至能与GPT-4o竞争。

英文摘要:

The rapid rise of Language Models (LMs) has expanded their use in several applications. Yet, due to constraints of model size, associated cost, or proprietary restrictions, utilizing state-of-the-art (SOTA) LLMs is not always feasible. With open, smaller LMs emerging, more applications can leverage their capabilities, but selecting the right LM can be challenging as smaller LMs do not perform well universally. This work tries to bridge this gap by proposing a framework to experimentally evaluate small, open LMs in practical settings through measuring semantic correctness of outputs across three practical aspects: task types, application domains, and reasoning types, using diverse prompt styles. It also conducts an in-depth comparison of 10 small, open LMs to identify the best LM and prompt style depending on specific application requirements using the proposed framework. We also show that if selected appropriately, they can outperform SOTA LLMs like DeepSeek-v2, GPT-4o, GPT-4o-mini, Gemini-1.5-Pro, and even compete with GPT-4o.

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

↑