An approach to vocabulary expansion for neural network language model by means of hierarchical clustering
Pavel V. Dudarin, Nadezhda Glebovna Yarushkina · 2019
Neural network language models become the main tool to solve tasks in NLP field.These models already have shown state-of-the-art results in classification, translation, named entity recognition and so on.Pre-trained models are distributed freely in the internet, and could be reused with help of transfer learning techniques.However, the real life problem's domain could differ from the origin domain which the network was trained.In this paper an approach to vocabulary expansion for neural network language model by means of hierarchical clustering is proposed.This technique allows to adopt prerained language model to a different domain.Firstly, tokens from the language model are hierarchically clustered.Then new words from problem's domain are matched to the tokens accordingly obtained hierarchy.In the experimental part the proposed approach is demonstrated on the slightly modified ULM-FiT language model.