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

基于神经程序的数据高效学习

Data-Efficient Learning with Neural Programs

University of Pennsylvania(宾夕法尼亚大学)

Alaia Solko-Breslin, Seewon Choi, Ziyang Li, Neelay Velingker, Rajeev Alur, Mayur Naik, Eric Wong

AI总结:

该研究提出仅依赖黑盒组件输入输出样本的神经程序学习算法ISED,在两类基准测试中均达到可比性能,且数据与样本效率更高。

摘要:

许多计算任务可自然表示为深度神经网络(DNN)与传统编程语言编写的程序或大语言模型(LLM)API调用的组合结构。我们将这类组合称为“神经程序”,并聚焦于当训练数据为该组合结构的端到端输入输出标签时,学习DNN参数的问题。当程序采用可微逻辑编程语言编写时,神经符号学习技术可适用,但总体而言,神经程序的学习需要估计黑盒组件的梯度。我们提出一种用于学习神经程序的算法ISED,该算法仅依赖黑盒组件的输入输出样本即可运行。为进行评估,我们引入了涉及调用GPT-4等现代LLM的新基准,同时也采用了神经符号学习文献中的基准。我们的评估显示,对于后者这类基准,ISED的性能与最先进的神经符号框架相当;对于前者这类基准,我们将经调整的现有黑盒组件梯度近似研究作为基线,结果表明ISED在达到相当准确率的同时,具备更高的数据与样本效率。

英文摘要:

Many computational tasks can be naturally expressed as a composition of a DNN followed by a program written in a traditional programming language or an API call to an LLM. We call such composites "neural programs" and focus on the problem of learning the DNN parameters when the training data consist of end-to-end input-output labels for the composite. When the program is written in a differentiable logic programming language, techniques from neurosymbolic learning are applicable, but in general, the learning for neural programs requires estimating the gradients of black-box components. We present an algorithm for learning neural programs, called ISED, that only relies on input-output samples of black-box components. For evaluation, we introduce new benchmarks that involve calls to modern LLMs such as GPT-4 and also consider benchmarks from the neurosymbolic learning literature. Our evaluation shows that for the latter benchmarks, ISED has comparable performance to state-of-the-art neurosymbolic frameworks. For the former, we use adaptations of prior work on gradient approximations of black-box components as a baseline, and show that ISED achieves comparable accuracy but in a more data- and sample-efficient manner.

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

↑