Andrew McCallumMohit IyyerMarco SerafiniChris DyerKyunghyun ChoDas, Rajarshi2024-04-262024-04-262022-052022-0510.7275/28628666https://hdl.handle.net/20.500.14394/18849Question answering (QA) over knowledge bases provides a user-friendly way of accessing the massive amount of information stored in them. We have experienced tremendous progress in the performance of QA systems, thanks to the recent advancements in representation learning by deep neural models. However, such deep models function as black boxes with an opaque reasoning process, are brittle, and offer very limited control (e.g. for debugging an erroneous model prediction). It is also unclear how to reliably add or update knowledge stored in their model parameters. This thesis proposes nonparametric models for question answering that disentangle logic from knowledge. For a given query, the proposed models are capable of deriving interpretable reasoning patterns “on-the-fly” from other contextually similar queries in the training set. We show that our models can seamlessly handle new knowledge (new entities and relations) as they are continuously added to the knowledge base. Our model is effective for complex and compositional natural language queries requiring subgraph reasoning patterns and works even when annotations of the reasoning patterns (logical forms) are not available, achieving new state-of-the-art results on multiple benchmarks. Leveraging our nonparametric approach, we also demonstrate that it is possible to correct wrong predictions of deep QA models without any need for re-training, thus paving a way toward building more controllable and debuggable QA systems. Finally, compared to deep parametric models, this thesis demonstrates that nonparametric models of reasoning (i) can generalize better to questions needing complex reasoning especially when the number of questions seen during training is limited (ii) can reason more effectively as new data is added, (iii) offer more interpretability for its prediction and (iv) are more controllable and debuggable.http://creativecommons.org/licenses/by-nc/4.0/ReasoningCase-based ReasoningQuestion AnsweringKnowledge BasesSemantic ParsingProgram SynthesisArtificial Intelligence and RoboticsDatabases and Information SystemsData ScienceNonparametric Contextual Reasoning for Question Answering over Large Knowledge Basesdissertationhttps://orcid.org/0000-0001-5352-2003