Explaining Character-Aware Neural Networks for Word-Level Prediction: Do They Discover Linguistic Rules?
Fréderic Godin, Kris Demuynck, Joni Dambre, Wesley De Neve, Thomas Demeester
Abstract
Character-level features are currently used in different neural network-based natural language processing algorithms. However, little is known about the character-level patterns those models learn. Moreover, models are often compared only quantitatively while a qualitative analysis is missing. In this paper, we investigate which character-level patterns neural networks learn and if those patterns coincide with manually-defined word segmentations and annotations. To that end, we extend the contextual decomposition technique (Murdoch et al. 2018) to convolutional neural networks which allows us to compare convolutional neural networks and bidirectional long short-term memory networks. We evaluate and compare these models for the task of morphological tagging on three morphologically different languages and show that these models implicitly discover understandable linguistic rules.- Anthology ID:
- D18-1365
- Volume:
- Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing
- Month:
- October-November
- Year:
- 2018
- Address:
- Brussels, Belgium
- Editors:
- Ellen Riloff, David Chiang, Julia Hockenmaier, Jun’ichi Tsujii
- Venue:
- EMNLP
- SIG:
- SIGDAT
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 3275–3284
- Language:
- URL:
- https://aclanthology.org/D18-1365
- DOI:
- 10.18653/v1/D18-1365
- Cite (ACL):
- Fréderic Godin, Kris Demuynck, Joni Dambre, Wesley De Neve, and Thomas Demeester. 2018. Explaining Character-Aware Neural Networks for Word-Level Prediction: Do They Discover Linguistic Rules?. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pages 3275–3284, Brussels, Belgium. Association for Computational Linguistics.
- Cite (Informal):
- Explaining Character-Aware Neural Networks for Word-Level Prediction: Do They Discover Linguistic Rules? (Godin et al., EMNLP 2018)
- PDF:
- https://preview.aclanthology.org/naacl24-info/D18-1365.pdf
- Code
- FredericGodin/ContextualDecomposition-NLP
- Data
- Universal Dependencies