HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Message Passing Attention Networks for Document Understanding

Giannis Nikolentzos; Antoine J.-P. Tixier; Michalis Vazirgiannis

Message Passing Attention Networks for Document Understanding

Abstract

Graph neural networks have recently emerged as a very effective framework for processing graph-structured data. These models have achieved state-of-the-art performance in many tasks. Most graph neural networks can be described in terms of message passing, vertex update, and readout functions. In this paper, we represent documents as word co-occurrence networks and propose an application of the message passing framework to NLP, the Message Passing Attention network for Document understanding (MPAD). We also propose several hierarchical variants of MPAD. Experiments conducted on 10 standard text classification datasets show that our architectures are competitive with the state-of-the-art. Ablation studies reveal further insights about the impact of the different components on performance. Code is publicly available at: https://github.com/giannisnik/mpad .

Code Repositories

Tixierae/gow_tools
Mentioned in GitHub
giannisnik/mpad
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
document-classification-on-bbcsportMPAD-path
Accuracy: 99.59
document-classification-on-mpqaMPAD-path
Accuracy: 89.81
sentiment-analysis-on-sst-2-binaryMPAD-path
Accuracy: 87.75
sentiment-analysis-on-sst-5-fine-grainedMPAD-path
Accuracy: 49.68
text-classification-on-trec-6MPAD-path
Error: 6.2

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