CLJun 27, 2021

A Closer Look at How Fine-tuning Changes BERT

arXiv:2106.14282v3646 citations
Originality Incremental advance
AI Analysis

This work addresses a gap in understanding fine-tuning effects for NLP researchers, though it is incremental as it builds on existing probing techniques.

The paper investigates how fine-tuning alters BERT's embedding space, confirming that it increases distances between examples of different labels and showing that fine-tuning adjusts representations for downstream tasks while preserving original spatial structure, with experiments on five NLP tasks.

Given the prevalence of pre-trained contextualized representations in today's NLP, there have been many efforts to understand what information they contain, and why they seem to be universally successful. The most common approach to use these representations involves fine-tuning them for an end task. Yet, how fine-tuning changes the underlying embedding space is less studied. In this work, we study the English BERT family and use two probing techniques to analyze how fine-tuning changes the space. We hypothesize that fine-tuning affects classification performance by increasing the distances between examples associated with different labels. We confirm this hypothesis with carefully designed experiments on five different NLP tasks. Via these experiments, we also discover an exception to the prevailing wisdom that "fine-tuning always improves performance". Finally, by comparing the representations before and after fine-tuning, we discover that fine-tuning does not introduce arbitrary changes to representations; instead, it adjusts the representations to downstream tasks while largely preserving the original spatial structure of the data points.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes