arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.22972cs.LGcs.AI
收藏

关系泛化与记忆平衡的数学理论

A mathematical theory of balancing relational generalization and memorization

Center for Theoretical Neuroscience(理论神经科学中心)

Luke Cheng, Samuel Lippl

AI总结:

提出带例外的传递推理任务,利用核岭回归模型分析表示几何如何影响关系泛化与记忆的平衡,并在预训练语言模型中验证理论预测。

摘要:

人类、动物和现代机器学习模型展现出学习复杂行为并将其泛化到未见情境的惊人能力。这种能力要求我们学习规则和规律以实现泛化。同时,在大多数复杂环境中,任何规则都有例外。学习系统如何在学习一般规律和记忆例外之间取得平衡?我们认为,缺乏任务范式阻碍了对这一基本能力的研究。为填补这一空白,我们引入了一个新任务——带例外的传递推理,该任务测试关系泛化以及对关系规则例外的记忆。然后,我们解析地表征了一个简单、理论上可处理的神经网络学习模型(核岭回归)在广泛表示族和任务参数下的行为。我们发现,这些模型能够在关系泛化和记忆之间取得平衡,但与无例外的传递推理不同,成功的泛化对特定的表示几何敏感。我们通过分析理论解释了为什么该任务在机制上更具挑战性。最后,我们在对有序关系进行微调的预训练语言模型中验证了我们的理论见解,发现这些模型成功根据传递规则进行泛化,但也做出了我们理论预测的那种系统性错误。总体而言,我们的理论展示了学习系统如何在关系泛化和记忆之间取得平衡,解释了可能出错的方式,并强调了设计新任务范式以探测这种能力的必要性。

英文摘要:

Humans, animals, and modern machine learning models exhibit impressive abilities to learn complex behaviors and generalize these behaviors to unseen situations. This ability requires us to learn rules and regularities that allow for such generalizations. At the same time, in most complex environments, any rule will have its exceptions. How do learning systems balance between learning general regularities and memorizing exceptions? We argue that a lack of task paradigms has hindered the study of this essential ability. To address this gap, we introduce a novel task, transitive inference with exceptions, that tests for relational generalization and memorization of an exception to the relational rule. We then analytically characterize the behavior of a simple, theoretically tractable model of neural network learning (kernel ridge regression) across a broad family of representations and task parameters. We find that these models can balance between relational generalization and memorization, but unlike for transitive inference without an exception, successful generalization is sensitive to the specific representational geometry. We explain why this task is more challenging mechanistically by drawing on our analytical theory. Finally, we validate our theoretical insights in pretrained language models that are finetuned on ordered relations, finding that these models successfully generalize according to the transitive rule, but also make the kinds of systematic mistakes predicted by our theory. Overall, our theory shows how learning systems can balance between relational generalization and memorization, explains how this can go wrong, and emphasizes the need for new task paradigms designed to probe this ability.

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

↑