利用语言学习程序抽象和搜索启发式
Leveraging Language to Learn Program Abstractions and Search Heuristics
摘要:
归纳程序合成,或从期望行为的示例中推断程序,为构建可解释的、鲁棒的和可推广的机器学习系统提供了通用范例。有效的程序合成取决于两个关键要素:一个强大的函数库,用于构建程序;一个有效的搜索策略,用于查找解决给定任务的程序。我们介绍LAPS(语言的抽象和程序搜索),一种技术,使用自然语言的注释,以指导联合学习的图书馆和神经引导的搜索模型的合成。当集成到一个国家的最先进的图书馆学习系统(DreamCoder),LAPS产生更高质量的图书馆,并提高搜索效率和泛化的三个领域-字符串编辑,图像合成和抽象推理的场景-即使在测试时没有自然语言提示。
英文摘要:
Inductive program synthesis, or inferring programs from examples of desired behavior, offers a general paradigm for building interpretable, robust, and generalizable machine learning systems. Effective program synthesis depends on two key ingredients: a strong library of functions from which to build programs, and an efficient search strategy for finding programs that solve a given task. We introduce LAPS (Language for Abstraction and Program Search), a technique for using natural language annotations to guide joint learning of libraries and neurally-guided search models for synthesis. When integrated into a state-of-the-art library learning system (DreamCoder), LAPS produces higher-quality libraries and improves search efficiency and generalization on three domains -- string editing, image composition, and abstract reasoning about scenes -- even when no natural language hints are available at test time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。