Research Article

A Review of the Limitations of Language Models in NLP

Xuantong Zhang1,*, Binyu Li2
1. Capital Normal University High School, 100048, Beijing, China
2. Tianjin Jiacheng Middle School, 300011, Tianjin, China

* Corresponding author: [email protected]

Abstract

In the field of Natural Language Processing (NLP), large neural language models have successfully been applied to a variety of tasks, including machine translation and reading comprehension. These models often learn the structure of language (such as grammar and semantics) by predicting the next word or character. However, there's an overly optimistic assessment of the current state of natural language understanding, which assumes that models can handle text at a semantic level. This article primarily explores the successes of large neural language models (such as BERT and GPT-2) in numerous tasks that require the understanding of linguistic meaning in the domain of NLP. Language models trained purely on form cannot learn meaning, as understanding meaning involves the relationship between linguistic form and non-linguistic communicative intent. The article aims to guide scientific research in the field of Natural Language Understanding (NLU) by clearly distinguishing the concepts of form and meaning. The learning, generalization, and other capabilities of different models under various attributes show significant differences, suggesting that a combination of different models and properties can achieve unexpected results. The simple learning combinations of some models may offer new insights into the understanding of linguistic meaning by models.

Keywords: Natural language processing; LMs limitations; neural language model; formal language; linguistic meaning.
Published: November 26, 2024
DOI: 10.54254/2755-2721/97/20241301
Volume: ACE Vol.97
pp. 102-107
Download PDF

References

  1. Lena, S., William, M., Gail, W., David, C., Dana, A. (2024). What Formal Languages Can Transformers Express? A Survey. Transactions of the Association for Computational Linguistics 2024; 12 543–561. doi: https://doi.org/10.1162/tacl_a_00663.
  2. Traylor, A., Feiman, R., & Pavlick, E. (2021, August). AND does not mean OR: Using formal languages to study language models’ representations. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers) (pp. 158-167).
  3. Valvoda, J., Saphra, N., Rawski, J., Williams, A., & Cotterell, R. (2022). Benchmarking compositionality with formal languages. arxiv preprint arxiv:2208.08195.
  4. Bhattamishra, S., Ahuja, K., & Goyal, N. (2020). On the ability and limitations of transformers to recognize formal languages. arxiv preprint arxiv:2009.11264.
  5. Hao, Y., Angluin, D., & Frank, R. (2022). Formal language recognition by hard attention transformers: Perspectives from circuit complexity. Transactions of the Association for Computational Linguistics, 10, 800-810.
  6. Ashish, V., Noam, S., Niki, P., Jakob, U., Llion, J., Aidan, N., et al., (2017). Attention is all you need. In Advances in Neural Information Processing Systems 30 (NeurIPS).
  7. Dzmitry, B., Kyunghyun, C., & Yoshua, B. (2014). Neural Machine Translation by Jointly Learning to Align and Translate. CoRR.
  8. Emily, M., and Alexander, K. (2020). Climbing towards NLU: On meaning, form, and understanding in the age of data. In Proceedings of the58th Annual Meeting of the Association for Computational Linguistics, pages 5185–5198. Association for Computational Linguistics.
  9. Richard, M. (1970). Universal grammar. Theoria.
  10. Mehryar, M. (1997). Finite-state transducers in language and speech processing. Computational Linguistics, 23(2):269–311.yuan8