Persian Natural Language Inference: A Meta-learning approach

Heydar Soudani,Mohammad Hassan Mojab,Hamid Beigy
DOI: https://doi.org/10.48550/arXiv.2205.08755
2022-05-18
Abstract:Incorporating information from other languages can improve the results of tasks in low-resource languages. A powerful method of building functional natural language processing systems for low-resource languages is to combine multilingual pre-trained representations with cross-lingual transfer learning. In general, however, shared representations are learned separately, either across tasks or across languages. This paper proposes a meta-learning approach for inferring natural language in Persian. Alternately, meta-learning uses different task information (such as QA in Persian) or other language information (such as natural language inference in English). Also, we investigate the role of task augmentation strategy for forming additional high-quality tasks. We evaluate the proposed method using four languages and an auxiliary task. Compared to the baseline approach, the proposed model consistently outperforms it, improving accuracy by roughly six percent. We also examine the effect of finding appropriate initial parameters using zero-shot evaluation and CCA similarity.
Computation and Language
What problem does this paper attempt to address?
The main problem that this paper attempts to solve is **how to improve the performance of Persian natural language inference (NLI) tasks, especially in the case of limited data resources**. Specifically, the paper proposes a meta - learning - based method to solve this problem. The following is a detailed explanation: ### 1. **Background and Problem Description** As a low - resource language, Persian lacks sufficient language resources in natural language understanding. Although this problem can be solved by collecting annotated data, this process is both time - consuming and expensive. In addition, the number of samples in existing Persian NLI datasets such as FarsTail and ParsiNLU is far less than that of resource - rich languages (such as English). This has led to poor performance in Persian NLI tasks. ### 2. **Limitations of Existing Methods** To address the problem of data scarcity, researchers have attempted to use cross - lingual methods, that is, to transfer knowledge from other languages to Persian. However, these methods usually rely on pre - trained language representations and have limited effectiveness on low - resource languages because: - There is a lack of large - scale monolingual corpora for pre - training. - There is a lack of sufficient annotated data for fine - tuning downstream tasks. ### 3. **Solution Proposed in the Paper** The paper proposes a meta - learning - based framework, aiming to improve the performance of Persian NLI tasks by combining multilingual and multitask information. Specific contributions include: - **Meta - learning method**: Use meta - learning algorithms (such as Reptile and Prototypical Networks) to share parameters among multiple languages and tasks, thereby improving the generalization ability of the model. - **Auxiliary languages and tasks**: Use English, Spanish, French, and German as auxiliary languages, and introduce question - answering (QA) as an auxiliary task to enhance the learning ability of the model. - **Task enhancement strategy**: Adopt the DReCa method for data enhancement to generate high - quality tasks, so as to alleviate the over - fitting problem and improve the adaptability of the model. ### 4. **Experimental Results** The experimental results show that, compared with the baseline method and other non - meta - learning methods, the proposed meta - learning method significantly improves the accuracy in Persian NLI tasks. Specifically: - Two meta - learning algorithms (Reptile and Prototypical Networks) are proposed, among which Prototypical Networks performs better. - In zero - shot and fine - tuning settings, the model performs well, increasing the accuracy by approximately 4% and 6% respectively. - The meta - learning method makes the data distributions of the auxiliary languages and the target language closer, thereby improving the generalization ability of the model. ### Summary By introducing a meta - learning framework, this paper successfully solves the problem of performance improvement in Persian NLI tasks in the case of limited data resources. By combining multilingual and multitask information and adopting effective task enhancement strategies, the model has achieved significant improvement in Persian NLI tasks.