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

探究大型语言模型的符号能力

Investigating Symbolic Capabilities of Large Language Models

College of Information Sciences and Technology, The Pennsylvania State University(宾夕法尼亚州立大学信息科学与技术学院);University of South Florida(南佛罗里达大学)

Neisarg Dave, Daniel Kifer, C. Lee Giles, Ankur Mali

AI总结:

本研究评估了八个大型语言模型在符号任务(如加法、乘法等)上的表现,发现随着符号复杂度增加,性能显著下降,即使微调模型也仅小幅提升,凸显了符号推理能力的局限及改进需求。

摘要:

提示技术已显著增强了大型语言模型(LLMs)在各类复杂任务中的能力,包括推理、规划以及解决数学应用题。然而,大多数研究主要聚焦于基于语言的推理和文字问题,常常忽视了LLMs在处理基于符号的计算和推理方面的潜力。本研究旨在弥合这一差距,通过一系列符号任务(如加法、乘法、模运算、数值精度和符号计数)对LLMs进行严格评估。我们的分析涵盖了八个LLM,包括四个企业级和四个开源模型,其中三个已在数学任务上进行了预训练。评估框架基于乔姆斯基层级,为这些模型的计算能力提供了稳健的度量。评估采用最小解释的提示以及零样本思维链技术,使模型能够自主导航解决过程。研究结果揭示,随着复杂度(以符号数量表示)的增加,LLMs在上下文无关和上下文敏感符号任务上的性能显著下降。值得注意的是,即使是微调后的GPT3.5也仅表现出边际改进,与其他模型观察到的性能趋势一致。总体而言,所有模型在这些符号密集型任务上的泛化能力有限。这项研究强调了LLMs在应对日益增长的符号复杂性时面临的挑战,并突出了对专门训练、记忆和架构调整的需求,以增强它们在基于符号的推理任务中的熟练度。

英文摘要:

Prompting techniques have significantly enhanced the capabilities of Large Language Models (LLMs) across various complex tasks, including reasoning, planning, and solving math word problems. However, most research has predominantly focused on language-based reasoning and word problems, often overlooking the potential of LLMs in handling symbol-based calculations and reasoning. This study aims to bridge this gap by rigorously evaluating LLMs on a series of symbolic tasks, such as addition, multiplication, modulus arithmetic, numerical precision, and symbolic counting. Our analysis encompasses eight LLMs, including four enterprise-grade and four open-source models, of which three have been pre-trained on mathematical tasks. The assessment framework is anchored in Chomsky's Hierarchy, providing a robust measure of the computational abilities of these models. The evaluation employs minimally explained prompts alongside the zero-shot Chain of Thoughts technique, allowing models to navigate the solution process autonomously. The findings reveal a significant decline in LLMs' performance on context-free and context-sensitive symbolic tasks as the complexity, represented by the number of symbols, increases. Notably, even the fine-tuned GPT3.5 exhibits only marginal improvements, mirroring the performance trends observed in other models. Across the board, all models demonstrated a limited generalization ability on these symbol-intensive tasks. This research underscores LLMs' challenges with increasing symbolic complexity and highlights the need for specialized training, memory and architectural adjustments to enhance their proficiency in symbol-based reasoning tasks.

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

↑