[Paper Review] How Transferable are Neural Networks in NLP Applications?
This paper investigates the transferability of neural networks in NLP through systematic experiments across six datasets using CNN and LSTM-RNN models. It finds that transferability heavily depends on semantic similarity between source and target tasks, with word embeddings being transferable across different semantics, while output layers are not. Multi-task learning and parameter initialization yield comparable performance, with no significant gain from combining them.
Transfer learning is aimed to make use of valuable knowledge in a source domain to help model performance in a target domain. It is particularly important to neural networks, which are very likely to be overfitting. In some fields like image processing, many studies have shown the effectiveness of neural network-based transfer learning. For neural NLP, however, existing studies have only casually applied transfer learning, and conclusions are inconsistent. In this paper, we conduct systematic case studies and provide an illuminating picture on the transferability of neural networks in NLP.
Motivation & Objective
- To systematically evaluate how transferable neural networks are in NLP applications, especially given inconsistent prior results.
- To investigate whether transfer learning via parameter initialization (INIT) or multi-task learning (MULT) improves performance on low-resource NLP tasks.
- To analyze the transferability of individual neural network layers across different tasks and architectures.
- To determine whether combining INIT and MULT yields additional performance gains in NLP transfer learning.
- To provide empirical insights into the conditions under which neural network transfer is effective in NLP, contrasting with findings in computer vision.
Proposed method
- Conducted experiments on six NLP datasets: IMDB, MR, QC, SNLI, SICK, and MSRP, covering sentence and sentence pair classification.
- Used two widely adopted architectures: Convolutional Neural Networks (CNN) and Long Short-Term Memory Recurrent Neural Networks (LSTM-RNN).
- Applied two transfer methods: (1) INIT—using pre-trained parameters from a source task to initialize the target task; (2) MULT—training source and target tasks jointly with shared embeddings and hidden layers.
- For MULT, introduced a hyperparameter λ ∈ (0,1) to balance loss contributions from source and target tasks, tuned in steps of 0.1 and then refined to 0.01–0.09 with 0.02 granularity.
- Evaluated transfer performance using peak accuracy across different λ values and compared with non-transfer baselines.
- Analyzed layer-wise transferability by examining the contribution of word embeddings, hidden layers, and output layers to transfer performance.
Experimental results
Research questions
- RQ1RQ1: How transferable are neural networks between two NLP tasks that are semantically similar or different?
- RQ2RQ2: How transferable are individual layers (e.g., word embeddings, hidden layers, output layers) in NLP neural models?
- RQ3RQ3: How effective are INIT and MULT individually, and does combining them yield further performance gains?
- RQ4RQ4: How does the semantic similarity between source and target datasets influence transferability in NLP?
- RQ5RQ5: Are the observed transfer patterns consistent across different neural architectures (CNN vs. LSTM-RNN) and datasets?
Key findings
- Transferability in NLP strongly depends on semantic similarity between source and target tasks, unlike in image processing where transfer is more robust across diverse tasks.
- Word embeddings are transferable across semantically different tasks, suggesting they capture general linguistic patterns.
- Output layers are highly dataset-specific and show minimal transferability, indicating they are task-optimized and not reusable.
- Multi-task learning (MULT) and parameter initialization (INIT) perform comparably across experiments, with MULT slightly outperforming INIT in some cases (e.g., SNLI + SICK) and vice versa in others (e.g., IMDB + MR).
- Combining INIT and MULT does not yield additional performance gains, as the peak performance of the combined method remains within the range of either method alone.
- In experiments with QC and MSRP, neither MULT nor INIT improved performance over non-transfer baselines, confirming that transfer is ineffective when tasks are semantically dissimilar.
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.