[Paper Review] Unsupervised Transfer Learning via BERT Neuron Selection
This paper proposes a novel unsupervised transfer learning method using task-specific neuron selection in BERT to improve performance on NLP classification tasks without fine-tuning the full model. By identifying and selecting the most important neurons across all layers for sentiment analysis, natural language inference, and sentence similarity, the method achieves state-of-the-art results with only a few hundred interpretable neurons, significantly outperforming BERT's last-layer representation and demonstrating that transferability correlates with similarity in task-specific neuron fingerprints.
Recent advancements in language representation models such as BERT have led to a rapid improvement in numerous natural language processing tasks. However, language models usually consist of a few hundred million trainable parameters with embedding space distributed across multiple layers, thus making them challenging to be fine-tuned for a specific task or to be transferred to a new domain. To determine whether there are task-specific neurons that can be exploited for unsupervised transfer learning, we introduce a method for selecting the most important neurons to solve a specific classification task. This algorithm is further extended to multi-source transfer learning by computing the importance of neurons for several single-source transfer learning scenarios between different subsets of data sources. Besides, a task-specific fingerprint for each data source is obtained based on the percentage of the selected neurons in each layer. We perform extensive experiments in unsupervised transfer learning for sentiment analysis, natural language inference and sentence similarity, and compare our results with the existing literature and baselines. Significantly, we found that the source and target data sources with higher degrees of similarity between their task-specific fingerprints demonstrate a better transferability property. We conclude that our method can lead to better performance using just a few hundred task-specific and interpretable neurons.
Motivation & Objective
- To address the challenge of transferring large pre-trained language models to low-resource domains without full fine-tuning.
- To identify task-specific neurons in BERT that generalize across domains for unsupervised transfer learning.
- To develop a scalable, interpretable method for selecting only the most relevant neurons from all BERT layers.
- To demonstrate that similarity in task-specific neuron fingerprints predicts transferability between data sources.
- To outperform existing baselines in unsupervised transfer learning for sentiment analysis, NLI, and sentence similarity without architectural changes.
Proposed method
- Proposes SingleTSNS: a single-source neuron selection algorithm that assigns importance scores to neurons across all BERT layers using random sampling and accumulation for stability.
- Extends to MultiTSNS: a multi-source method that trains a separate neuron-importance learner per disjoint data subset pair, then combines results via a meta-aggregator to compute meta-importance scores.
- Applies feature selection to retain only the most important neurons from the meta-importance scores, reducing model size to a few hundred neurons.
- Introduces a task-specific fingerprint: the percentage of selected neurons per layer, serving as a compact, interpretable representation of a data source's linguistic characteristics.
- Uses a water-filling algorithm to fairly allocate limited source data samples across multiple sources in multi-source transfer learning.
- Employs a meta-aggregator to combine importance metrics from multiple source pairs, enabling effective fusion of diverse data sources for improved generalization.
Experimental results
Research questions
- RQ1Can a small set of task-specific neurons from BERT’s full layer stack achieve superior unsupervised transfer learning performance compared to using the full last-layer representation?
- RQ2Does the similarity between task-specific neuron fingerprints of source and target domains predict transferability in zero-shot transfer learning?
- RQ3Can multi-source transfer learning via neuron selection improve performance beyond single-source approaches, especially when combining diverse data sources?
- RQ4Is the proposed neuron selection method interpretable and effective across diverse NLP tasks such as sentiment analysis, natural language inference, and sentence similarity?
- RQ5Can the method achieve state-of-the-art results without fine-tuning the BERT architecture or using labeled target data?
Key findings
- MultiTSNS outperforms the current state-of-the-art in unsupervised transfer learning for sentiment analysis, achieving a 3.0% average improvement over BERT’s last-layer representation when using only 500 neurons.
- For the SciTail NLI benchmark, MultiTSNS improves performance by 3.8% to 13.0% over BERT baseline across different source combinations, with gains up to 9.5% over SingleTSNS.
- The method achieves significant performance gains on previously unreported unsupervised transfer learning tasks for QQP and SciTail datasets, demonstrating broad applicability.
- Transfer performance strongly correlates with fingerprint similarity: source and target data sources with similar task-specific neuron fingerprints yield better transfer results.
- The task-specific fingerprint—defined as the layer-wise percentage of selected neurons—provides a compact, interpretable, and predictive representation of a data source’s linguistic characteristics.
- Using only 500 neurons selected via MultiTSNS achieves better performance than using 1024 last-layer neurons from BERT, indicating that full model fine-tuning is not necessary for high performance.
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.