Skip to main content
QUICK REVIEW

[Paper Review] Reasoning in Vector Space: An Exploratory Study of Question Answering

Moontae Lee, Xiaodong He|arXiv (Cornell University)|Nov 19, 2015
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes two Tensor Product Representation (TPR)-inspired vector space models for interpretable logical reasoning in question answering, achieving near-perfect accuracy on all 20 bAbI task categories—including difficult positional reasoning and path finding—by explicitly modeling multi-relational inference. The approach disentangles semantic parsing, knowledge encoding, and reasoning, revealing that prior model failures stem from insufficient multi-relational reasoning capacity rather than semantic understanding.

ABSTRACT

Question answering tasks have shown remarkable progress with distributed vector representation. In this paper, we investigate the recently proposed Facebook bAbI tasks which consist of twenty different categories of questions that require complex reasoning. Because the previous work on bAbI are all end-to-end models, errors could come from either an imperfect understanding of semantics or in certain steps of the reasoning. For clearer analysis, we propose two vector space models inspired by Tensor Product Representation (TPR) to perform knowledge encoding and logical reasoning based on common-sense inference. They together achieve near-perfect accuracy on all categories including positional reasoning and path finding that have proved difficult for most of the previous approaches. We hypothesize that the difficulties in these categories are due to the multi-relations in contrast to uni-relational characteristic of other categories. Our exploration sheds light on designing more sophisticated dataset and moving one step toward integrating transparent and interpretable formalism of TPR into existing learning paradigms.

Motivation & Objective

  • To disentangle the sources of error in existing end-to-end neural QA models on bAbI tasks by separating semantic understanding, knowledge encoding, and logical reasoning.
  • To analyze the bAbI dataset through a logical lens, identifying structural differences between uni-relational and multi-relational reasoning tasks.
  • To develop transparent, interpretable vector-space models for logical reasoning using Tensor Product Representation (TPR) formalism.
  • To demonstrate that accurate, interpretable reasoning over distributed representations is achievable using TPR-based inference mechanisms.
  • To lay the foundation for integrating formal, interpretable reasoning into neural learning paradigms for improved model transparency.

Proposed method

  • Proposes two vector-space models inspired by Tensor Product Representation (TPR) to encode knowledge and perform logical reasoning in a transparent, interpretable manner.
  • Uses TPR to bind filler vectors (entities) with role vectors (relations), enabling both binding and unbinding operations via inner products.
  • Applies iterative TPR processing to simulate multi-step logical inference, particularly effective for relational chains and transitive reasoning.
  • Employs clustering based on logical properties to group bAbI categories into distinct reasoning types, distinguishing uni-relational from multi-relational tasks.
  • Designs a formal mapping from logical inference to TPR computation, generalizing reasoning over distributed representations.
  • Trains and evaluates models on the bAbI 1k training set, focusing on accuracy and interpretability of intermediate representations.

Experimental results

Research questions

  • RQ1Why do most existing end-to-end models fail on positional reasoning and path finding tasks in the bAbI benchmark despite high performance on other categories?
  • RQ2Can a vector-space model based on TPR achieve high accuracy on complex reasoning tasks like path finding and positional reasoning while maintaining interpretability?
  • RQ3What structural differences in relational logic underlie the difficulty of certain bAbI categories, and how can they be formally distinguished?
  • RQ4To what extent can distributed representations support transparent, step-by-step logical inference when grounded in formal semantics like TPR?
  • RQ5Can multi-relational reasoning be systematically modeled and distinguished from uni-relational transitive reasoning in vector space?

Key findings

  • The proposed TPR-based models achieve 100% accuracy on 18 out of 20 bAbI categories, including the notoriously difficult positional reasoning and path finding tasks.
  • Category 16 shows 99.5% test accuracy due to ambiguous evidence, indicating that the model’s performance is otherwise near-perfect.
  • The analysis reveals that most bAbI categories rely on uni-relational, transitive inference (e.g., 'container-containee' chains), whereas positional and path tasks require multi-relational reasoning with independent transitivity structures.
  • The failure of most prior models on path and positional reasoning is attributed to insufficient modeling of multiple, independent relational relationships rather than semantic understanding.
  • Neural Reasoner (NR) achieves higher accuracy on larger datasets, suggesting that multi-layered reasoning and representation evolution are key for multi-relational tasks—consistent with the proposed TPR approach.
  • The study provides the first in-depth analysis of bAbI tasks through a logical, relational lens, identifying structural distinctions that explain model performance gaps.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.