MATH · IN · MODELS
methods / Direction Extraction / Structural probing (metric/distance probe)

Structural probing (metric/distance probe)

Techniqueintermediate

Fits a linear transform B so that squared Euclidean distance/norm under B approximates a target graph metric (e.g. parse-tree edge distance and depth) across all pairs of tokens simultaneously — a metric-learning probe, not a single-output classifier or regressor.

Used in (11 observations)

structure: Tree Metric Embedding · models: Gemma 3 27B, Llama-3.1-8B, Mistral-7B-v0.3, Qwen3-14B, Qwen3-4B · paper: A Minimalist Structural Probe for Phase-Count Abstraction in Transformer Language Models
structure: Tree Metric Embedding · models: CodeBERT-base, GraphCodeBERT-base, CodeT5-base, RoBERTa-base, CodeBERTa-small · paper: AST-Probe: Recovering Abstract Syntax Trees from Hidden Representations of Pre-trained Language Models
structure: Tree Metric Embedding · models: BERT-large-cased · paper: Evidence of Hierarchically-Complex Syntactic Structure Within BERT's Word Representations
structure: Tree Metric Embedding · models: mBERT (BERT-base, Multilingual Cased) · paper: Finding Universal Grammatical Relations in Multilingual BERT
structure: Tree Metric Embedding · models: Llama-3-8B, OLMo-7B, Pythia-70M, Pythia-160M, Pythia-410M, Pythia-1B, Pythia-1.4B, Pythia-2.8B, Pythia-6.9B · paper: Polar probe linearly decodes semantic structures from LLMs
structure: Tree Metric Embedding · models: mBERT (BERT-base, Multilingual Cased) · paper: Examining Cross-lingual Contextual Embeddings with Orthogonal Structural Probes
structure: Tree Metric Embedding · models: BERT-base-cased · paper: Emergent Linguistic Structure in Artificial Neural Networks Trained by Self-Supervision
structure: Linear Subspace · models: Wav2Vec 2.0 Base (LibriSpeech-960h), wav2vec 2.0 Large, Llama-2-13B, Pythia-1B · paper: Emergence of Phonemic, Syntactic, and Semantic Representations in Artificial Neural Networks
structure: Tree Metric Embedding · models: ELMo (5.5B-word pretrained, 2-layer biLSTM), BERT-base-cased, BERT-large-cased · paper: A Structural Probe for Finding Syntax in Word Representations, Probing BERT in Hyperbolic Spaces
structure: Tree Metric Embedding · models: BERT-base-cased · paper: On the Evolution of Syntactic Information Encoded by BERT's Contextualized Representations
structure: Tree Metric Embedding · models: mBERT (BERT-base, Multilingual Cased) · paper: A Non-Linear Structural Probe