[Paper Review] Does Deep Learning Learn to Abstract? A Systematic Probing Framework
This paper introduces a systematic probing framework to investigate whether deep learning models, specifically pre-trained language models (PLMs), learn abstract concepts rather than memorizing surface patterns. By designing transferability-based experiments with controlled grammar tasks, the authors provide strong evidence that T5 and GPT2 exhibit abstraction capability, learning generalizable rules that transfer across tasks with different symbols. Key findings include a 'memorize-then-abstract' training trajectory, concentration of abstract concepts in a few middle-layer attention heads, robustness to low-level mutations, and the critical role of generic pre-training and scale in enabling abstraction.
Abstraction is a desirable capability for deep learning models, which means to induce abstract concepts from concrete instances and flexibly apply them beyond the learning context. At the same time, there is a lack of clear understanding about both the presence and further characteristics of this capability in deep learning models. In this paper, we introduce a systematic probing framework to explore the abstraction capability of deep learning models from a transferability perspective. A set of controlled experiments are conducted based on this framework, providing strong evidence that two probed pre-trained language models (PLMs), T5 and GPT2, have the abstraction capability. We also conduct in-depth analysis, thus shedding further light: (1) the whole training phase exhibits a "memorize-then-abstract" two-stage process; (2) the learned abstract concepts are gathered in a few middle-layer attention heads, rather than being evenly distributed throughout the model; (3) the probed abstraction capabilities exhibit robustness against concept mutations, and are more robust to low-level/source-side mutations than high-level/target-side ones; (4) generic pre-training is critical to the emergence of abstraction capability, and PLMs exhibit better abstraction with larger model sizes and data scales.
Motivation & Objective
- To investigate whether deep learning models learn abstract concepts or merely memorize surface patterns.
- To decouple abstract concept learning from superficial correlations in pre-trained language models (PLMs).
- To explore the characteristics of abstraction capability in terms of training dynamics, model architecture distribution, robustness, and influence of pre-training and scale.
- To develop a systematic probing framework based on transferability to isolate and measure abstraction from surface pattern memorization.
Proposed method
- Design a grammar probing framework using formal grammars with controlled terminal symbol sets to separate abstract concepts from surface patterns.
- Construct multiple probing tasks sharing the same underlying grammar but differing in symbol sets to test transferability.
- Train and evaluate T5 and GPT2 models on source tasks and test their zero-shot performance on target tasks with no symbol overlap.
- Use perplexity and accuracy as evaluation metrics to measure model performance on abstract rule generalization.
- Systematically vary data scale, model size, and terminal diversity to study their effects on abstraction.
- Perform ablation studies and mutation experiments to assess robustness of abstraction under concept perturbations.
Experimental results
Research questions
- RQ1RQ1: What is the characteristic of the training dynamics on learning abstract concepts?
- RQ2RQ2: How are these learned abstract concepts distributed in the model—concentrated or evenly spread?
- RQ3RQ3: How robust is the abstraction capability when abstract concepts are mutated, especially across different levels of mutation?
- RQ4RQ4: How do generic pre-training and general factors like model size and data scale influence the emergence of abstraction?
Key findings
- The training process follows a 'memorize-then-abstract' two-stage pattern, where models first memorize surface patterns before learning abstract rules.
- Abstract concepts are concentrated in a few middle-layer attention heads, rather than being uniformly distributed across the model.
- The abstraction capability is more robust to low-level/source-side mutations than to high-level/target-side mutations, indicating greater resilience to input-level perturbations.
- Generic pre-training is essential for abstraction, and larger model sizes and larger data scales significantly improve abstraction performance.
- T5-Base and GPT2-Medium achieved average scores of 88.2 and 48.9 respectively on the main transfer task, with T5-Large reaching 98.8 on a 680K data scale, demonstrating strong generalization.
- Under terminal diversity variation, T5-Large maintained high performance (avg 94.2 at 128 terminals), while smaller models showed lower but increasing performance with diversity, indicating scalability of abstraction.
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.