Skip to main content
QUICK REVIEW

[Paper Review] Evaluation of Transfer Learning for Polish with a Text-to-Text Model

Aleksandra Chrabrowa, Łukasz Dragan|arXiv (Cornell University)|May 18, 2022
Natural Language Processing TechniquesComputer Science10 citations
TL;DR

This paper introduces plT5, a multilingual T5-based text-to-text model fine-tuned for Polish, leveraging transfer learning from mT5 with a denoising pre-training objective on diverse Polish corpora. It establishes a new benchmark for Polish NLP, including original datasets for summarization and question answering, and shows plT5 achieves state-of-the-art performance on KLEJ, translation, and question answering, outperforming other models except in summarization where plBART leads.

ABSTRACT

We introduce a new benchmark for assessing the quality of text-to-text models for Polish. The benchmark consists of diverse tasks and datasets: KLEJ benchmark adapted for text-to-text, en-pl translation, summarization, and question answering. In particular, since summarization and question answering lack benchmark datasets for the Polish language, we describe their construction and make them publicly available. Additionally, we present plT5 - a general-purpose text-to-text model for Polish that can be fine-tuned on various Natural Language Processing (NLP) tasks with a single training objective. Unsupervised denoising pre-training is performed efficiently by initializing the model weights with a multi-lingual T5 (mT5) counterpart. We evaluate the performance of plT5, mT5, Polish BART (plBART), and Polish GPT-2 (papuGaPT2). The plT5 scores top on all of these tasks except summarization, where plBART is best. In general (except for summarization), the larger the model, the better the results. The encoder-decoder architectures prove to be better than the decoder-only equivalent.

Motivation & Objective

  • To evaluate transfer learning effectiveness for Polish using a unified text-to-text framework.
  • To address the lack of benchmark datasets for Polish in summarization and question answering by constructing and releasing new datasets.
  • To develop and pre-train a monolingual Polish T5 model (plT5) using transfer learning from mT5 for improved performance on downstream tasks.
  • To compare plT5 against existing Polish models (plBART, papuGaPT2) and mT5 across multiple NLP tasks.
  • To demonstrate the efficiency and effectiveness of initializing a monolingual model from a multilingual checkpoint.

Proposed method

  • Pre-trained plT5 using a denoising autoencoding objective (span-corruption) on a mixture of Polish text corpora including Wikipedia, NKJP, Wolne Lektury, Open Subtitles, and Common Crawl.
  • Initialized model weights from mT5 by copying shared tokens and averaging embeddings for out-of-vocabulary tokens.
  • Trained a sentencepiece unigram tokenizer on 25% of representative Polish text to create a 50k-vocabulary subword tokenizer.
  • Fine-tuned plT5 on four tasks: text-to-text KLEJ benchmark, English-Polish translation, summarization, and question answering.
  • Used the same training and decoding procedures across all tasks, leveraging the text-to-text paradigm for unified model application.
  • Evaluated performance using standard metrics: accuracy for classification, BLEU for translation, ROUGE for summarization, and exact match/F1 for question answering.

Experimental results

Research questions

  • RQ1How does plT5 perform compared to mT5 and other Polish-specific models (plBART, papuGaPT2) on a diverse set of Polish NLP tasks?
  • RQ2Can transfer learning from a multilingual T5 model yield strong performance on monolingual Polish tasks with minimal domain-specific pre-training?
  • RQ3What is the impact of model size on performance across different NLP tasks in Polish?
  • RQ4How do encoder-decoder architectures (like T5) compare to decoder-only models (like GPT-2) in the Polish context?
  • RQ5To what extent do the newly constructed benchmark datasets for summarization and question answering improve evaluation consistency and reproducibility?

Key findings

  • plT5 achieved the highest performance on the KLEJ benchmark, English-Polish translation, and question answering tasks among all evaluated models.
  • For summarization, plBART outperformed plT5, indicating that the choice of architecture matters significantly for this task.
  • Larger model sizes (base and large) consistently outperformed smaller variants across all tasks except summarization, where the performance gap was less pronounced.
  • Encoder-decoder models (plT5, plBART) significantly outperformed decoder-only models (papuGaPT2) on all tasks except summarization.
  • The transfer learning approach from mT5 enabled efficient pre-training and yielded strong performance, validating the effectiveness of initializing monolingual models from multilingual checkpoints.
  • The authors released new benchmark datasets for Polish summarization and question answering, which are publicly available and support future research.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.