NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Can LLMs facilitate interpretation of pre-trained language models?

Basel Mousi, Nadir Durrani, Fahim Dalvi

TL;DR

This paper introduces a scalable framework that leverages ChatGPT to automatically discover and label fine-grained latent concepts inside pre-trained language models (pLMs). By replacing bottlenecked human-in-the-loop annotation with an LLM, the authors successfully mapped 39,000 concepts across five major pLMs, demonstrating that ChatGPT provides semantically richer labels than humans and unlocks advanced downstream interpretability techniques like fine-grained probing and neuron analysis.

What Problem Does This Paper Address?

To understand what knowledge is encoded within pre-trained language models (like BERT or RoBERTa), researchers typically rely on two methods: probing models against predefined linguistic ontologies (e.g., part-of-speech tags) or using human annotators to label clusters of internal representations.

However, both approaches hit a wall. Predefined ontologies restrict our view to broad, generic categories, missing the highly specific, nuanced concepts a model might actually be learning. On the other hand, human-in-the-loop annotation is notoriously unscalable—previous state-of-the-art attempts were limited to analyzing just a few hundred concepts in a single layer. This paper tackles this scalability and scope bottleneck by asking: Can we use Large Language Models (LLMs) as automated, high-quality annotators to map out the entire latent concept space of other language models?

Methods

The authors propose a two-step pipeline for automated concept interpretation:

  1. Concept Discovery: They pass text data through a target pLM to extract contextualized word representations (feature vectors). They then apply agglomerative hierarchical clustering (using Ward’s minimum variance criterion and squared Euclidean distance) to group these vectors into $K$ distinct clusters per layer. Each cluster represents a "latent concept" learned by the model.
  2. Concept Annotation: Instead of handing these word clusters to humans, they feed them directly to ChatGPT using a zero-shot prompt (e.g., "Give a short and concise label that best describes the following list of words...").
Figure 1: ChatGPT as an annotator: Human annotation or taggers trained on pre-defined concepts, cover only a fraction of a model’s concept space. ChatGPT enables scaling up annotation to include nearly all concepts, including the concepts that may not have been manually annotated before.

Once labeled, these concepts are utilized in two interpretability applications:

  • Probing Frameworks: Training binary classifiers on the cluster representations to verify if the model consistently distinguishes these fine-grained concepts.
  • Neuron Analysis: Using the Probeless ranking method to isolate individual neurons or neuron groups responsible for specific sub-concepts.

Datasets

  • Latent Concept Data: The pipeline was run using a subset of the WMT News 2018 dataset, selecting 250K random sentences (~5M tokens). To optimize memory, they restricted the dataset to 25,000 unique word types, each represented across 10 different contexts.
  • Evaluated Models: The method was tested across five distinct 12-layer transformer architectures: BERT-cased, RoBERTa, XLNet, ALBERT, and XLM-RoBERTa.
  • New Benchmark: The authors released Transformers Concept-Net (TCN), a massive dataset containing 39,000 annotated concepts across the five models to foster future interpretability research.
  • Baseline Comparison: They compared ChatGPT's performance against the human-annotated BERT Concept Net (BCN) dataset.

Key Insights and Ideas

  • LLMs as Super-Annotators: ChatGPT doesn't just match human annotation speed; it provides semantically richer, natural-language descriptions (e.g., labeling a cluster "Terms related to ice hockey" vs. a rigid human taxonomy like SEM:entertainment:sport:ice_hockey).
  • Resurrecting "Uninterpretable" Clusters: One of the most striking findings was that ChatGPT successfully assigned accurate labels to 21 out of 26 clusters that human annotators had previously discarded as "uninterpretable" or noise. The LLM's vast pre-training data allows it to recognize obscure connections that humans miss.
  • Revealing Hierarchical Neuron Distribution: Fine-grained labeling allows us to see how broad linguistic categories break down internally. For example, instead of finding general "adverb" neurons, the authors showed how top-ranking neurons are distributed across highly specific sub-concepts like adverbs of frequency vs. adverbs of manner.
Examples of fine-grained concepts discovered in BERT, ranging from lexical patterns to semantic groups like Arab Names

Key Results

  • High Human Acceptance: In a rigorous human evaluation, 90.7% of ChatGPT’s generated labels were deemed acceptable, with 75.1% rated as highly precise.
  • Outperforming Humans: ChatGPT matched or outperformed human reference annotations (BCN) in 75.5% of cases.
  • Cross-Model Probing Success: Probing classifiers trained on these automated concepts achieved exceptionally high test accuracies (frequently >0.90) across different architectures, proving that these LLM-labeled concepts represent genuine, stable structures inside the models.
  • Sub-concept Neuron Mapping: The neuron analysis revealed that the top 10 neurons tracking a "Super Concept" (like Adverbs) have a quantifiable, fractional overlap (alignment scores around 0.21 to 0.36) with specific "Sub Concepts" (like Adverbs of Time), mapping out an internal structural hierarchy.
Visualizing the neuron overlap between an Adverb Super Concept and its fine-grained sub-concepts

Limitations and Future Work

  • Content Policy Blindspots: Because commercial LLMs use strict safety filters, ChatGPT refused to label clusters containing sensitive or offensive words (e.g., concepts capturing racial biases or hate speech). This severely limits the framework's current utility for AI safety and bias mitigation research.
  • Context Deprivation: By default, providing just a list of words can lead to ambiguous labels (e.g., mislabeling baseball scores as generic "Numerical Data"). While adding context sentences fixes this, it significantly increases API token costs and latency.
  • Evolving World Knowledge: The framework relies on the LLM's internal knowledge base remaining up-to-date, which poses a challenge when trying to interpret pLMs trained on highly specialized or rapidly changing modern datasets.

Summary updated

BibTeX
@inproceedings{mousi2023can,
  author = {Basel Mousi and Nadir Durrani and Fahim Dalvi},
  title = {{Can LLMs facilitate interpretation of pre-trained language models?}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=nIuJXuSdhn},
}
Figure