[Paper Review] Discovery of Natural Language Concepts in Individual Units of CNNs
This paper proposes a concept alignment method to discover which morphemes, words, and phrases individual units in deep convolutional neural networks (CNNs) for NLP detect. By measuring unit activation across replicated text, the method reveals that CNN units selectively respond to interpretable linguistic concepts—demonstrating that intermediate representations in NLP models encode meaningful language units without additional supervision, with high correlation between concept frequency, importance, and unit activation.
Although deep convolutional networks have achieved improved performance in many natural language tasks, they have been treated as black boxes because they are difficult to interpret. Especially, little is known about how they represent language in their intermediate layers. In an attempt to understand the representations of deep convolutional networks trained on language tasks, we show that individual units are selectively responsive to specific morphemes, words, and phrases, rather than responding to arbitrary and uninterpretable patterns. In order to quantitatively analyze such an intriguing phenomenon, we propose a concept alignment method based on how units respond to the replicated text. We conduct analyses with different architectures on multiple datasets for classification and translation tasks and provide new insights into how deep models understand natural language.
Motivation & Objective
- Understand how deep convolutional networks represent natural language in their intermediate layers, addressing the lack of interpretability in NLP models.
- Investigate whether individual units in CNNs for NLP tasks respond selectively to specific linguistic concepts rather than arbitrary patterns.
- Develop a method to systematically identify which natural language concepts (morphemes, words, phrases) are encoded by each unit in the network.
- Analyze how these concept representations vary across network depth, architecture, task type, and data distribution.
- Explore the relationship between concept emergence and their frequency or importance in the training data and task objective.
Proposed method
- For each unit in a CNN's hidden layer, identify the most activated sentences from the training set.
- Break down the most activated sentences into morphemes, words, and phrases to extract candidate natural language concepts.
- Measure unit activation on replicated text where each concept is systematically replaced with dummy tokens to assess contribution.
- Use the activation difference between original and occluded text to quantify how much each concept contributes to a unit’s response.
- Apply this concept alignment method across multiple architectures (VDCNN, ByteNet), datasets (Yelp, AG News, DBpedia, Europarl, News Commentary), and tasks (classification, translation).
- Correlate the number of units aligned to each concept with its document frequency and Delta of Expected Loss (DEL) to assess influence on task performance.
Experimental results
Research questions
- RQ1Do individual units in CNNs for NLP tasks respond selectively to specific morphemes, words, or phrases, or do they activate in an uninterpretable manner?
- RQ2How do the linguistic concepts detected by units vary across different network depths, architectures, and training tasks?
- RQ3What factors determine why certain concepts are detected by many units while others are not?
- RQ4To what extent do concept detection patterns correlate with concept frequency in the training data and their impact on model loss (DEL)?
- RQ5Can insights from unit-level concept detection inform more efficient model design, such as reducing parameters without sacrificing performance?
Key findings
- Individual units in CNNs for NLP tasks act as selective detectors for specific morphemes, words, and phrases, demonstrating that intermediate representations are interpretable and semantically meaningful.
- The method successfully identifies linguistic concepts aligned to units without additional labeling or retraining, revealing that units respond to natural language concepts rather than arbitrary patterns.
- There is a strong positive correlation (r = 0.732) between the frequency of a concept in the training data and the number of units detecting it.
- Concepts with higher influence on model performance—measured by Delta of Expected Loss (DEL)—also show higher alignment with units (r = 0.492), indicating units encode task-critical information.
- Concept granularity stabilizes around middle-to-higher layers (e.g., after ~6 encoder layers in ByteNet), suggesting that deeper layers may not add significant new linguistic information for the given tasks.
- The analysis reveals that representations in middle layers are already highly informative, supporting the idea that intermediate layers may be more transferable than deeper layers in NLP, contrary to trends in computer vision.
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.