In Programming by Example, a system attempts to infer a program from input and output examples, generally by searching for a composition of certain base functions. Performing a naive brute force search is infeasible for even mildly involved tasks. We note that the examples themselves often present clues as to which functions to compose, and how to rank the resulting programs. In text processing, which is our domain of interest, clues arise from simple textual features: for example, if parts of the input and output strings are permutations of one another, this suggests that sorting may be useful. We describe a system that learns the reliability of such clues, allowing for faster search and a principled ranking over programs. Experiments on a prototype of this system show that this learning scheme facilitates efficient inference on a range of text processing tasks.
Natural Language-Programming Language Software Traceability Link Recovery Needs More than Textual Similarity
School of Computer Science and Artificial Intelligence, Wuhan Textile University(计算机科学与人工智能学院,武汉纺织大学);School of Computer Science, Wuhan University(计算机科学学院,武汉大学);The University of Melbourne(墨尔本大学);The University of Western Australia(西澳大学)
Reasoning in Non-Probabilistic Uncertainty: Logic Programming and Neural-Symbolic Computing as Examples
University of Bremen(不来梅大学);City University London(伦敦城市大学);University of Edinburgh(爱丁堡大学);University of Luxembourg(卢森堡大学);University of Amsterdam(阿姆斯特丹大学)
Masked Language Model Based Textual Adversarial Example Detection
College of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院);School of Information Technology, Deakin University(迪肯大学信息技术学院);School of Computer Science, University of Technology Sydney(悉尼科技大学计算机科学学院);School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间安全学院);School of Information and Communication Technology, Griffith University(格里菲斯大学信息与通信技术学院)
Less is More: Understanding Word-level Textual Adversarial Attack via n-gram Frequency Descend
Southern University of Science and Technology(南方科技大学);Hong Kong University of Science and Technology(香港科技大学);Agency for Science, Technology and Research(新加坡科技研究局);Tencent AI Lab(腾讯AI实验室);OPPO Mobile Telecommunications Corp.(OPPO移动通信公司)
General-purpose Declarative Inductive Programming with Domain-Specific Background Knowledge for Data Wrangling Automation
Universitat Politècnica de València(瓦伦西亚理工大学);University of Miyazaki(宫崎大学)
只要给出一两个例子,人类就能很好地理解如何独立于问题的领域来解决问题,因为他们能够发现问题是什么,并根据上下文选择合适的背景知识。例如,当字符串“8/17/2017”被转换为“17 th of August of 2017”时,人类将分两步处理:(1)他们识别出这是一个日期,(2)他们将日期映射到2017年8月17日。归纳编程(IP)旨在从示例中学习声明性(函数或逻辑)程序。IP的两个关键优势是背景知识的使用和从几个输入/输出示例中综合程序的能力(就像人类一样)。在本文中,我们建议使用IP作为自动化重复的数据操作任务的一种手段,经常出现在许多数据操作问题的{ \em数据争吵}的过程中。在这里,我们表明,使用通用的声明性(编程)语言与通用的IP系统和特定领域的知识的定义,从不同的应用领域的许多特定的数据争吵的问题,可以自动解决从很少的例子。我们还提出了一个数据争论的综合基准,我们向社区公开分享。