Reusing Weights in Subword-aware Neural Language Models
Official code: zh3nis/morph-sum (2 stars, Python, GPL-3.0, last commit 2018-05-15).
Abstract
We propose several ways of reusing subword embeddings and other weights in subword-aware neural language models. The proposed techniques do not benefit a competitive character-aware model, but some of them improve the performance of syllable- and morpheme-aware models while showing significant reductions in model sizes.
Show full abstractHide
We discover a simple hands-on principle: in a multi-layer input embedding model, layers should be tied consecutively bottom-up if reused at output. Our best morpheme-aware model with properly reused weights beats the competitive word-level model by a large margin across multiple languages and has 20%-87% fewer parameters.