HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Multi-Perspective Context Matching for Machine Comprehension

Zhiguo Wang; Haitao Mi; Wael Hamza; Radu Florian

Multi-Perspective Context Matching for Machine Comprehension

Abstract

Previous machine comprehension (MC) datasets are either too small to train end-to-end deep learning models, or not difficult enough to evaluate the ability of current MC techniques. The newly released SQuAD dataset alleviates these limitations, and gives us a chance to develop more realistic MC models. Based on this dataset, we propose a Multi-Perspective Context Matching (MPCM) model, which is an end-to-end system that directly predicts the answer beginning and ending points in a passage. Our model first adjusts each word-embedding vector in the passage by multiplying a relevancy weight computed against the question. Then, we encode the question and weighted passage by using bi-directional LSTMs. For each point in the passage, our model matches the context of this point against the encoded question from multiple perspectives and produces a matching vector. Given those matched vectors, we employ another bi-directional LSTM to aggregate all the information and predict the beginning and ending points. Experimental result on the test set of SQuAD shows that our model achieves a competitive result on the leaderboard.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
open-domain-question-answering-on-squad11MPCM
EM: 65.5
question-answering-on-squad11Multi-Perspective Matching (ensemble)
EM: 73.765
F1: 81.257
question-answering-on-squad11Multi-Perspective Matching (single model)
EM: 70.387
F1: 78.784
question-answering-on-squad11-devMPCM
EM: 66.1
F1: 75.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Multi-Perspective Context Matching for Machine Comprehension | Papers | HyperAI