[Paper Review] An Investigation of Transfer Learning-Based Sentiment Analysis in Japanese
This paper investigates transfer learning-based sentiment analysis in Japanese using ELMo, ULMFiT, and BERT on Rakuten and Yahoo movie review datasets. It demonstrates that fine-tuned BERT and ULMFiT models achieve state-of-the-art performance with only 1/3 of the training data, while ELMo and ULMFiT generalize well even when pre-trained on small corpora, and fine-tuning both ELMo and task-specific layers further improves results.
Text classification approaches have usually required task-specific model architectures and huge labeled datasets. Recently, thanks to the rise of text-based transfer learning techniques, it is possible to pre-train a language model in an unsupervised manner and leverage them to perform effective on downstream tasks. In this work we focus on Japanese and show the potential use of transfer learning techniques in text classification. Specifically, we perform binary and multi-class sentiment classification on the Rakuten product review and Yahoo movie review datasets. We show that transfer learning-based approaches perform better than task-specific models trained on 3 times as much data. Furthermore, these approaches perform just as well for language modeling pre-trained on only 1/30 of the data. We release our pre-trained models and code as open source.
Motivation & Objective
- To evaluate the effectiveness of transfer learning models—ELMo, ULMFiT, and BERT—for Japanese sentiment analysis.
- To investigate whether pre-training on smaller corpora (e.g., 1/30 of Wikipedia) yields competitive performance compared to full-scale pre-training.
- To compare fine-tuning strategies, including freezing vs. fine-tuning all layers, for ELMo and BERT.
- To release open-source pre-trained models and code to support future research in Japanese NLP.
Proposed method
- Pre-train language models (ELMo, ULMFiT, BERT) on large monolingual Japanese text corpora in an unsupervised manner.
- Fine-tune the pre-trained models on domain-specific labeled datasets (Rakuten and Yahoo reviews) for sentiment classification.
- Use a binary and multi-class text classifier (BCN) on top of contextual embeddings for downstream classification.
- Apply discriminative fine-tuning and slanted triangular learning rates in ULMFiT for stable adaptation.
- Evaluate performance using error rates on low-shot learning settings (1/3 of training data) and small pre-training corpora (100MB).
- Experiment with both frozen and fine-tuned ELMo/BERT layers to assess the impact of parameter updating strategies.
Experimental results
Research questions
- RQ1Can transfer learning-based models like BERT, ULMFiT, and ELMo achieve superior sentiment classification performance in Japanese compared to task-specific models trained on larger datasets?
- RQ2How does pre-training on a small subset of Japanese Wikipedia (100MB) affect the performance of ELMo, ULMFiT, and BERT in sentiment analysis?
- RQ3Does fine-tuning both the language model and classifier layers improve performance compared to freezing the language model weights?
- RQ4How does domain adaptation affect the performance of ULMFiT and BERT in Japanese sentiment classification?
- RQ5What is the relative effectiveness of feature extraction (freezing BERT) versus full fine-tuning for BERT in low-resource settings?
Key findings
- Transfer learning-based models outperform previous state-of-the-art models even when trained on only 1/3 of the training data, achieving a 10.14% error rate on the Yahoo binary sentiment dataset.
- ULMFiT and ELMo maintain strong performance when pre-trained on just 1/30 of Wikipedia, with ULMFiT achieving a 10.62% error rate on the same dataset.
- BERT performs significantly worse when pre-trained on a small 100MB corpus (14.26% error rate), indicating that BERT requires large-scale pre-training for optimal performance.
- Fine-tuning both ELMo and the classifier layers improves performance (8.65% error rate) compared to freezing ELMo (10.24% error rate), showing the benefit of end-to-end adaptation.
- Using BERT as a fixed feature extractor (freezing all layers) yields competitive performance (10.68% error rate), suggesting computational efficiency without major accuracy loss.
- Domain adaptation consistently improves ULMFiT performance, while BERT shows limited gains in binary classification, suggesting task-specific tuning is more critical for BERT.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.