Skip to main content
QUICK REVIEW

[Paper Review] Character-Level Question Answering with Attention

David Golub, Xiaodong He|arXiv (Cornell University)|Apr 4, 2016
Topic ModelingComputer Science33 references91 citations
TL;DR

This paper proposes a character-level encoder-decoder model with attention for question answering over structured knowledge bases, using character-level embeddings to improve generalization to unseen entities. It achieves 70.9% accuracy on the SimpleQuestions dataset—8.2 percentage points higher than prior state-of-the-art—while using 16x fewer parameters and requiring significantly less training data without data augmentation.

ABSTRACT

We show that a character-level encoder-decoder framework can be successfully applied to question answering with a structured knowledge base. We use our model for single-relation question answering and demonstrate the effectiveness of our approach on the SimpleQuestions dataset (Bordes et al., 2015), where we improve state-of-the-art accuracy from 63.9% to 70.9%, without use of ensembles. Importantly, our character-level model has 16x fewer parameters than an equivalent word-level model, can be learned with significantly less data compared to previous work, which relies on data augmentation, and is robust to new entities in testing.

Motivation & Objective

  • To address the challenge of mapping natural language questions to structured knowledge base queries, especially when entities and predicates are unseen during training.
  • To reduce reliance on data augmentation by leveraging character-level modeling for better generalization to out-of-vocabulary entities and predicates.
  • To develop a compact, efficient neural model that maintains high performance on factoid question answering tasks.
  • To demonstrate that character-level representations can capture semantic meaning necessary for accurate KB query generation, even without word-level supervision.

Proposed method

  • A bidirectional LSTM encoder processes the question character-by-character to produce a context vector with attention over input characters.
  • The decoder uses an attention mechanism over the question’s character-level hidden states and generates the KB query token-by-token using embeddings derived from character-level representations.
  • Jointly trained character-level embeddings for questions, entities, and predicates are used to compute semantic relevance scores without relying on word-level vocabulary.
  • A general interaction function computes the likelihood of each KB entry (entity or predicate) by measuring semantic similarity between the question embedding and KB entry embeddings.
  • The model uses a soft attention mechanism that can attend to non-contiguous character spans, enabling it to capture complex linguistic structures.
  • The architecture is trained end-to-end to maximize the likelihood of generating the correct KB query for each question.

Experimental results

Research questions

  • RQ1Can a character-level neural model outperform word-level models in question answering over structured knowledge bases?
  • RQ2How well can a character-level model generalize to unseen entities and predicates not present in the training data?
  • RQ3Can a character-level encoder-decoder framework achieve high accuracy with significantly less training data compared to previous approaches?
  • RQ4What kind of semantic patterns do attention mechanisms learn when operating at the character level on natural language questions?
  • RQ5Can character-level modeling eliminate the need for data augmentation in KB question answering?

Key findings

  • The model achieves 70.9% accuracy on the Freebase2M setting and 70.3% on Freebase5M, improving state-of-the-art results by 8.2 and 6.4 percentage points respectively.
  • The model uses 16x fewer parameters than an equivalent word-level model, resulting in a more compact and efficient architecture.
  • The model generalizes robustly to unseen entities, correctly predicting aliases not seen during training, such as 'phrenology', due to character-level pattern learning.
  • Attention distributions reveal that the model learns to attend to word boundaries (spaces) as semantic delimiters, and can attend to disjoint character spans for complex mentions.
  • Error analysis shows that 46% of errors stem from confusing similar predicates (e.g., '/music/release/track' vs. '/music/release/track_list'), indicating a need for better disambiguation.
  • The model successfully attends to words like 'university' that contribute to both entity and predicate prediction, showing it does not require rigid separation between entity and predicate mentions.

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.