Multilingual Hierarchical Attention Networks for Document Classification

Nikolaos Pappas, Andrei Popescu-Belis
7/4/2017
cs.CL

Official code: idiap/mhan (78 stars, GPL-3.0, last commit 2019-11-27).

Abstract

Hierarchical attention networks have recently achieved remarkable performance for document classification in a given language. However, when multilingual document collections are considered, training such models separately for each language entails linear parameter growth and lack of cross-language transfer. Learning a single multilingual model with fewer parameters is therefore a challenging but potentially beneficial objective. To this end, we propose multilingual hierarchical attention networks for learning document structures, with shared encoders and/or shared attention mechanisms across languages, using multi-task learning and an aligned semantic space as input. We evaluate the proposed models on multilingual document classification with disjoint label sets, on a large dataset which we provide, with 600k news documents in 8 languages, and 5k labels. The multilingual models outperform monolingual ones in low-resource as well as full-resource settings, and use fewer parameters, thus confirming their computational efficiency and the utility of cross-language transfer.

View on arXivView PDF

Code Implementations(1)

idiap/mhanOfficial100%
GPL-3.0

Multilingual hierarchical attention networks toolkit

7817CSS, HTMLSep 27, 20176 years agoGPL-3.0

Similar Papers

Cite this paper

@article{pappas2017multilingual,
  title  = {Multilingual Hierarchical Attention Networks for Document Classification},
  author = {Nikolaos Pappas and Andrei Popescu-Belis},
  year   = {2017},
  eprint = {1707.00896},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.00896}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1707.00896.svg)](https://codeofpaper.com/paper/1707.00896)

Discussion