Skip to main navigation menu Skip to main content Skip to site footer

Complex Program Induction for Querying Knowledge Bases in the Absence of Gold Programs

Abstract

Recent years have seen increasingly complex question-answering on knowledge bases (KBQA) involving logical, quantitative and comparative reasoning over KB subgraphs. Neural Program Induction (NPI) is a pragmatic approach toward modularizing the reasoning process by translating a complex natural language query into a multi-step executable program. While NPI has been commonly trained with the 'gold' program or its sketch, for realistic KBQA applications such gold programs are expensive to obtain. There, practically only natural language queries and the corresponding answers can be provided for training. The resulting combinatorial explosion in program space, along with extremely sparse rewards makes NPI for KBQA ambitious and challenging. We present Complex Imperative Program Induction from Terminal Rewards (CIPITR), an advanced neural programmer that mitigates reward sparsity with auxiliary rewards, and restricts the program space to semantically correct programs using high-level constraints, KB schema and inferred answer type. CIPITR solves complex KBQA considerably more accurately than key-value memory networks and neural symbolic machines (NSM). For moderately complex queries requiring 2-5 step programs, CIPITR scores at least 3x higher F1 than the competing systems. On one of the hardest class of programs (comparative reasoning) with 5-10 steps, CIPITR outperforms NSM by a factor of 89 and memory networks by 9 times.

Article at MIT Press (presented at ACL 2019)

Author Biography

Amrita Saha

Department: Cognitive Solutions and Services at IBM Research India

Rank: Advisory Software Engineer in Research