Skipping Word: A Character-Sequential Representation based Framework for Question Answering

Lingxun Meng, Yan Li, Mengyi Liu, Peng Shu

Abstract

Traditional Natural Language Processing (NLP) systems for question answering (QA) heavily rely on pre-trained word embeddings, which introduce challenges such as out-of-vocabulary (OOV) words and heavy corpus dependency. This paper proposes a "Character-Sequential Representation" (CSR) framework that bypasses word-level processing entirely. By treating sentences as raw character sequences and employing a Convolutional Neural Network (ConvNet) architecture, the model learns semantic representations directly from the fundamental building blocks of language. Evaluated on the TrecQA and WikiQA benchmarks, the CSR framework achieves state-of-the-art results, demonstrating that character-level modeling is not only robust against common NLP pitfalls but also highly effective for sentence-level semantic understanding.

Introduction

Most modern NLP systems utilize word embeddings like Word2Vec or GloVe. While effective, these representations suffer from several drawbacks: they require massive pre-training corpora, struggle with OOV terms (e.g., typos or names), and necessitate complex preprocessing like word segmentation in languages such as Chinese. This paper explores the "skip-word" hypothesis: can we achieve superior performance by modeling sentences directly as character sequences?

Methodology

The CSR framework is an end-to-end architecture designed to process raw strings. The pipeline consists of several integrated stages:

  1. Character Look-up Table: Characters (letters, digits, punctuation) are mapped to low-dimensional vectors ($d=50$). This table is learned from scratch during training, ensuring task-specific optimization.
  2. Convolutional Layer: 1D convolutional filters slide over the character sequence to capture local patterns, effectively learning n-gram features without explicit word boundaries.
  3. Max Pooling: This layer extracts the most salient features, producing a fixed-length representation regardless of input sentence length.
  4. Batch Normalization (BN): Applied after convolution to stabilize training and manage the variance inherent in character-level data.
  5. Weight Sharing: The model employs a Siamese-style architecture where the question and answer branches share weights, ensuring a consistent semantic evaluation.
Figure 1: The architecture of the Character-Sequential Representation (CSR) framework for question answering.

Experimental Setup

The model was evaluated on two primary benchmarks:

  • TrecQA: A standard QA dataset from the Text Retrieval Conference.
  • WikiQA: A larger, open-domain dataset derived from Bing search queries.

Unlike traditional models that often require complex similarity matrices or hand-crafted features, the CSR model maintains a streamlined pipeline, learning embeddings end-to-end for the specific task of answer selection.

Key Results

The CSR model demonstrated superior performance and stability compared to established word-based architectures.

Figure 4: Performance comparison of the CSR model against state-of-the-art models on TrecQA and WikiQA datasets.

On the TrecQA dataset, the CSR model achieved a Mean Reciprocal Rank (MRR) of 0.8232, surpassing the previous state-of-the-art NASM model (0.8117). On WikiQA, it reached a Mean Average Precision (MAP) of 0.6608, significantly outperforming standard word-based ConvNets (0.6520) and Bigram models (0.5993). Notably, these results were achieved using a character embedding dimension of only 50, proving to be more memory-efficient than typical 300-dimensional word vectors.

Discussion and Insights

The success of the CSR framework highlights several key advantages of character-level modeling:

  • Robustness: By modeling characters, the system inherently handles morphology (e.g., "running" vs "runner") and is resilient to typos.
  • Simplicity: The end-to-end nature of the model eliminates the need for "frozen" pre-trained vectors, which often lead to unstable performance depending on the source corpus (e.g., Google News vs. Twitter).
  • Efficiency: The small embedding size and lack of complex linguistic preprocessing make the model highly portable and efficient.

Conclusion and Future Work

The "skip-word" strategy proves to be a powerful alternative to traditional word-based NLP. Future research could explore deeper architectures, different pooling strategies (such as k-max pooling), and the application of "wide" convolutions for better boundary detection. Additionally, validating the CSR framework on non-segmented languages like Chinese remains a promising direction for cross-lingual NLP.

Summary updated

BibTeX
@inproceedings{meng2016skipping,
  author = {Lingxun Meng and Yan Li and Mengyi Liu and Peng Shu},
  title = {{Skipping Word: A Character-Sequential Representation based Framework for Question Answering}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2016},
  doi = {10.1145/2983323.2983861},
}
Figure