Code Monkey home page Code Monkey logo

astral's Introduction

ASTRAL

Paper

ASTRAL: adversarial trained LSTM-CNN for named entity recognition [Link, PDF]

Dataset

We have turned the datasets' files into standard form like those in the repository NER.

CoNLL-03: resources/tasks/conll_03

OntoNotes 5.0: resources/tasks/ontoner

WNUT-17: resources/tasks/wnut_17

Here eng.train, eng.testa, and eng.testb respectively represent tran set, dev set, and test set. The files can also be downloaded from google drive.

Results

Table 1 Dataset statistics. The size of datasets is in the number of entities/tokens.

Dataset Train Dev Test Entities frequency Entity types
CoNLL-03 23,499/204,567 5,942/51,578 5,648/46,666 11.6% 4
OntoNotes 5.0 81,828/1,088,503 11,066/147,724 11,257/152,728 7.5% 18
WNUT-17 3,160/62,729 1,250/15,733 1,589/23,394 5.9% 6

Table 2 Test F1 score for different models on the datasets. In this table, ‘‘∗’’ indicates the results implemented by us, and ‘‘-’’ indicates that the performances of the models on the corresponding datasets are not yet obtained.

Model CoNLL-03 OntoNote 5.0 WNUT-17
Character-LSTM [17] 90.94 84.86∗ 44.79∗
BLSTM-CNN [12] 91.62 86.28 45.14∗
Stacked Multitask [18] 45.55
ELMo [9] 92.22
CVT+Multitask [19] 92.60
BERT [10] 92.81 88.28∗ 49.23∗
Contextual String Embedding [20] 92.86 88.75 49.49
ASTRAL (ours) 93.32 89.44 49.72

Code

To be released.

Abstract

Named Entity Recognition (NER) is a challenging task that extracts named entities from unstructured text data, including news, articles, social comments, etc. The NER system has been studied for decades. Recently, the development of Deep Neural Networks and the progress of pre-trained word embedding have become a driving force for NER. Under such circumstances, how to make full use of the information extracted by word embedding requires more in-depth research. In this paper, we propose an Adversarial Trained LSTM-CNN (ASTRAL) system to improve the current NER method from both the model structure and the training process. In order to make use of the spatial information between adjacent words, Gated-CNN is introduced to fuse the information of adjacent words. Besides, a specific Adversarial training method is proposed to deal with the overfitting problem in NER. We add perturbation to variables in the network during the training process, making the variables more diverse, improving the generalization and robustness of the model. Our model is evaluated on three benchmarks, CoNLL-03, OntoNotes 5.0, and WNUT-17, achieving state-of-the-art results. Ablation study and case study also show that our system can converge faster and is less prone to overfitting.

Reference

If you find this repo useful, please consider citing:

@article{wang2020astral,
  title={ASTRAL: adversarial trained LSTM-CNN for named entity recognition},
  author={Wang, Jiuniu and Xu, Wenjia and Fu, Xingyu and Xu, Guangluan and Wu, Yirong},
  journal={Knowledge-Based Systems},
  volume={197},
  pages={105842},
  year={2020},
  publisher={Elsevier}
}

Acknowledgements

Thanks to the repository flair.

astral's People

Contributors

wangjiuniu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.