Parameter Space Factorization for Zero-Shot Learning across Tasks and Languages
This addresses the challenge of sample-efficient generalization for low-resource NLP tasks and languages, though it is incremental as it builds on existing zero-shot transfer methods.
The paper tackles the problem of zero-shot learning across NLP tasks and languages by proposing a Bayesian generative model that factorizes neural parameter spaces into language and task latent variables, enabling accurate predictions on unseen task-language combinations, such as achieving comparable or better results than state-of-the-art methods on 33 diverse languages.
Most combinations of NLP tasks and language varieties lack in-domain examples for supervised training because of the paucity of annotated data. How can neural models make sample-efficient generalizations from task-language combinations with available data to low-resource ones? In this work, we propose a Bayesian generative model for the space of neural parameters. We assume that this space can be factorized into latent variables for each language and each task. We infer the posteriors over such latent variables based on data from seen task-language combinations through variational inference. This enables zero-shot classification on unseen combinations at prediction time. For instance, given training data for named entity recognition (NER) in Vietnamese and for part-of-speech (POS) tagging in Wolof, our model can perform accurate predictions for NER in Wolof. In particular, we experiment with a typologically diverse sample of 33 languages from 4 continents and 11 families, and show that our model yields comparable or better results than state-of-the-art, zero-shot cross-lingual transfer methods. Moreover, we demonstrate that approximate Bayesian model averaging results in smoother predictive distributions, whose entropy inversely correlates with accuracy. Hence, the proposed framework also offers robust estimates of prediction uncertainty. Our code is located at github.com/cambridgeltl/parameter-factorization