[Paper Review] BERT Rediscovers the Classical NLP Pipeline
The paper probes BERT with edge probing tasks to show that linguistic information is organized in a pipeline-like fashion, from syntax to semantics, and that individual sentences can revise lower-level decisions based on higher-level cues.
Pre-trained text encoders have rapidly advanced the state of the art on many NLP tasks. We focus on one such model, BERT, and aim to quantify where linguistic information is captured within the network. We find that the model represents the steps of the traditional NLP pipeline in an interpretable and localizable way, and that the regions responsible for each step appear in the expected sequence: POS tagging, parsing, NER, semantic roles, then coreference. Qualitative analysis reveals that the model can and often does adjust this pipeline dynamically, revising lower-level decisions on the basis of disambiguating information from higher-level representations.
Motivation & Objective
- Quantify where in BERT different linguistic abstractions are encoded using probing tasks derived from the traditional NLP pipeline.
- Determine if the encoding follows the expected hierarchical order from syntax to semantics.
- Assess whether BERT processes sentences with a fixed layer sequence or dynamically revises decisions using higher-level information.
Proposed method
- Use edge probing to extract linguistic information from frozen BERT layers via probing classifiers on multiple tasks.
- Apply eight tasks (POS, Constituents, Dependencies, Entities, SRL, Coreference, SPR, SemEval relations) with micro-averaged F1 as the evaluation metric.
- Pool layer information with scalar mixing across layers to obtain per-task representations.
- Compute cumulative scoring by training probes on progressively larger subsets of layers to observe layer-wise gains.
- Define mixing weight center of gravity and cumulative score-based expected layer as complementary metrics.
Experimental results
Research questions
- RQ1Does BERT encode linguistic information in an order consistent with the traditional NLP pipeline (POS, syntax, semantics, coreference)?
- RQ2How localized are the representations for syntactic versus semantic information across layers?
- RQ3Do higher-level representations influence or revise lower-level decisions on a per-sentence basis?
- RQ4How do edge-probing results compare between BERT-base and BERT-large encoders?
- RQ5Can individual sentences exhibit non-sequential processing decisions driven by higher-level information?
Key findings
- A consistent progression is observed where basic syntactic information precedes more complex semantic information across layers.
- Syntactic information tends to be more localizable to a few layers, while semantic information is spread across many layers.
- Differential scores show most examples are resolved early (in early layers), while cumulative scoring reveals continued gains in higher layers for semantic tasks.
- Per-example analysis demonstrates that individual sentences can revise earlier decisions based on higher-level information such as predicate-argument structure.
- The observed ordering holds for both BERT-large and BERT-base, with a similar relative positioning of task-relevant layers.
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.