HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Semantic Sentence Matching with Densely-connected Recurrent and Co-attentive Information

Seonhoon Kim; Inho Kang; Nojun Kwak

Semantic Sentence Matching with Densely-connected Recurrent and Co-attentive Information

Abstract

Sentence matching is widely used in various natural language tasks such as natural language inference, paraphrase identification, and question answering. For these tasks, understanding logical and semantic relationship between two sentences is required but it is yet challenging. Although attention mechanism is useful to capture the semantic relationship and to properly align the elements of two sentences, previous methods of attention mechanism simply use a summation operation which does not retain original features enough. Inspired by DenseNet, a densely connected convolutional network, we propose a densely-connected co-attentive recurrent neural network, each layer of which uses concatenated information of attentive features as well as hidden features of all the preceding recurrent layers. It enables preserving the original and the co-attentive feature information from the bottommost word embedding layer to the uppermost recurrent layer. To alleviate the problem of an ever-increasing size of feature vectors due to dense concatenation operations, we also propose to use an autoencoder after dense concatenation. We evaluate our proposed architecture on highly competitive benchmark datasets related to sentence matching. Experimental results show that our architecture, which retains recurrent and attentive features, achieves state-of-the-art performances for most of the tasks.

Benchmarks

BenchmarkMethodologyMetrics
natural-language-inference-on-snliDensely-Connected Recurrent and Co-Attentive Network Ensemble
% Test Accuracy: 90.1
% Train Accuracy: 95.0
Parameters: 53.3m
natural-language-inference-on-snliDensely-Connected Recurrent and Co-Attentive Network
% Test Accuracy: 88.9
% Train Accuracy: 93.1
Parameters: 6.7m
natural-language-inference-on-snliDensely-Connected Recurrent and Co-Attentive Network (encoder)
% Test Accuracy: 86.5
% Train Accuracy: 91.4
Parameters: 5.6m

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
Semantic Sentence Matching with Densely-connected Recurrent and Co-attentive Information | Papers | HyperAI