Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Decoding Probing: Revealing Internal Linguistic Structures in Neural Language Models using Minimal Pairs (2403.17299v1)

Published 26 Mar 2024 in cs.CL and q-bio.NC

Abstract: Inspired by cognitive neuroscience studies, we introduce a novel decoding probing' method that uses minimal pairs benchmark (BLiMP) to probe internal linguistic characteristics in neural LLMs layer by layer. By treating the LLM as thebrain' and its representations as `neural activations', we decode grammaticality labels of minimal pairs from the intermediate layers' representations. This approach reveals: 1) Self-supervised LLMs capture abstract linguistic structures in intermediate layers that GloVe and RNN LLMs cannot learn. 2) Information about syntactic grammaticality is robustly captured through the first third layers of GPT-2 and also distributed in later layers. As sentence complexity increases, more layers are required for learning grammatical capabilities. 3) Morphological and semantics/syntax interface-related features are harder to capture than syntax. 4) For Transformer-based models, both embeddings and attentions capture grammatical features but show distinct patterns. Different attention heads exhibit similar tendencies toward various linguistic phenomena, but with varied contributions.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (5)
  1. Linyang He (6 papers)
  2. Peili Chen (2 papers)
  3. Ercong Nie (25 papers)
  4. Yuanning Li (5 papers)
  5. Jonathan R. Brennan (3 papers)
Citations (1)
X Twitter Logo Streamline Icon: https://streamlinehq.com