Proceedings

A Deep Generative Model for Code Switched Text

Download BibTeX Cite

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence. Main track. Pages 5175-5181.

https://doi.org/10.24963/ijcai.2019/719

Abstract

Code-switching, the interleaving of two or more languages within a sentence or discourse is pervasive in multilingual societies. Accurate language models for code-switched text are critical for NLP tasks. State-of-the-art data-intensive neural language models are difficult to train well from scarce language-labeled code-switched text. A potential solution is to use deep generative models to synthesize large volumes of realistic code-switched text. Although generative adversarial networks and variational autoencoders can synthesize plausible monolingual text from continuous latent space, they cannot adequately address code-switched text, owing to their informal style and complex interplay between the constituent languages. We introduce VACS, a novel variational autoencoder architecture specifically tailored to code-switching phenomena. VACS encodes to and decodes from a two-level hierarchical representation, which models syntactic contextual signals in the lower level, and language switching signals in the upper layer. Sampling representations from the prior and decoding them produced well-formed, diverse code-switched sentences. Extensive experiments show that using synthetic code-switched text with natural monolingual data results in significant (33.06\%) drop in perplexity.

  1. [Bahdanau et al., 2014] Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014.
  2. [Baheti et al., 2017] Ashutosh Baheti, Sunayana Sitaram, Monojit Choudhury, and Kalika Bali. Curriculum design for code-switching: Experiments with language identifi- cation and language modeling with deep neural networks. Proceedings of ICON, 2017.
  3. [Bidisha et al., 2019] Bidisha, Niloy Samanta, Soumen Gan- guly, and Chakrabarti. Improved sentiment detection via label transfer from monolingual to synthetic code- switched text. 2019.
  4. [Bowman et al., 2015a] Samuel R Bowman, Gabor Angeli, Christopher Potts, and Christopher D Manning. A large annotated corpus for learning natural language inference. arXiv preprint arXiv:1508.05326, 2015.
  5. [Bowman et al., 2015b] Samuel R Bowman, Luke Vilnis, Oriol Vinyals, and Dai. Generating sentences from a con- tinuous space. arXiv preprint arXiv:1511.06349, 2015.
  6. [Brown et al., 1992] Peter F Brown, Vincent J Della Pietra, Robert L Mercer, Stephen A Della Pietra, and Jennifer C Lai. An estimate of an upper bound for the entropy of english. Computational Linguistics, 18(1), 1992.
  7. [Chandu et al., 2018] Khyathi Chandu, Thomas Manzini, Sumeet Singh, and Alan W Black. Language informed modeling of code-switched text. In Proceedings of the Third Workshop on Computational Approaches to Linguis- tic Code-Switching, 2018.
  8. [Chorowski et al., 2015] Jan K Chorowski, Dzmitry Bah- danau, Dmitriy Serdyuk, Kyunghyun Cho, and Yoshua Bengio. Attention-based models for speech recognition. In NIPS, 2015.
  9. [Gambäck and Das, 2016] Björn Gambäck and Amitava Das. Comparing the level of code-switching in corpora. In LREC, 2016.
  10. [Garg et al., 2018] Saurabh Garg, Tanmay Parekh, and Preethi Jyothi. Code-switched language models using dual rnns and same-source pretraining. arXiv preprint arXiv:1809.01962, 2018.
  11. [Goodfellow et al., 2014] Ian Goodfellow, Jean Pouget- Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Gen- erative adversarial nets. In NIPS, 2014.
  12. [Guzmán et al., 2017] Gualberto A Guzmán, Joseph Ri- card, Jacqueline Serigos, Barbara E Bullock, and Almeida Jacqueline Toribio. Metrics for modeling code- switching across corpora. In INTERSPEECH, 2017.
  13. [Kannan and Vinyals, 2017] Anjuli Kannan and Oriol Vinyals. Adversarial evaluation of dialogue models. arXiv preprint arXiv:1701.08198, 2017.
  14. [Kim et al., 2016] Yoon Kim, Yacine Jernite, David Sontag, and Alexander M Rush. Character-aware neural language models. In AAAI, 2016.
  15. [Kingma and Welling, 2013] Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
  16. [Muysken et al., 2000] Pieter Muysken, Carmen Pena Díaz, Pieter Cornelis Muysken, et al. Bilingual speech: A ty- pology of code-mixing, volume 11. Cambridge University Press, 2000.
  17. [Myers-Scotton, 1997] Carol Myers-Scotton. Duelling lan- guages: Grammatical structure in codeswitching. Oxford University Press, 1997.
  18. [Patro et al., 2017] Jasabanta Patro, Bidisha Samanta, Saurabh Singh, Abhipsa Basu, Prithwish Mukherjee, Monojit Choudhury, and Animesh Mukherjee. All that is English may be Hindi: Enhancing language identification through automatic ranking of the likeliness of word borrowing in social media. In EMNLP Conference, 2017.
  19. [Pratapa et al., 2018] Adithya Pratapa, Gayatri Bhat, Mono- jit Choudhury, Sunayana Sitaram, Sandipan Dandapat, and Kalika Bali. Language modeling for code-mixing: The role of linguistic theory based synthetic data. In ACL Con- ference, 2018.
  20. [Rezende et al., 2014] Danilo Jimenez Rezende, Shakir Mo- hamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. arXiv preprint arXiv:1401.4082, 2014.
  21. [Rijhwani et al., 2017] Shruti Rijhwani, Royal Sequiera, Monojit Choudhury, Kalika Bali, and Chandra Shekhar Maddila. Estimating code-switching on twitter with a novel generalized word-level language detection tech- nique. In ACL Conference, volume 1, 2017.
  22. [Rudra et al., 2016] Koustav Rudra, Shruti Rijhwani, Rafiya Begum, Kalika Bali, Monojit Choudhury, and Niloy Gan- guly. Understanding language preference for expression of opinion and sentiment: What do hindi-english speakers do on twitter? In EMNLP Conference, 2016.
  23. [Sønderby et al., 2016] Casper Kaae Sønderby, Tapani Raiko, Lars Maaløe, Søren Kaae Sønderby, and Ole Winther. Ladder variational autoencoders. In NIPS, 2016.
  24. [Sutskever et al., 2014] Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In NIPS, 2014.
  25. [Vinyals et al., 2015] Oriol Vinyals, Alexander Toshev, Samy Bengio, and Dumitru Erhan. Show and tell: A neu- ral image caption generator. In IEEE CVPR, 2015.
  26. [Winata et al., 2018] Genta Indra Winata, Andrea Madotto, Chien-Sheng Wu, and Pascale Fung. Code-switching lan- guage modeling using syntax-aware multi-task learning. arXiv preprint arXiv:1805.12070, 2018.
  27. [Zhang et al., 2017] Yizhe Zhang, Zhe Gan, Kai Fan, Zhi Chen, Ricardo Henao, Dinghan Shen, and Lawrence Carin. Adversarial feature matching for text generation. arXiv preprint arXiv:1706.03850, 2017.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards