scimeatlas

Research map / Large language models / Language, safety and interpretability

When Models Know but Can't Say: Relational Encoding Limits Linear Vulnerability Classification in Code LLMs

Rui Melo, André Catarino, Cláudia Mamede, Corina Pasareanu, Rui Abreu

EMNLP 2026Large language models › Language, safety and interpretabilityapproach: Pruning and circuits in LLMsopen problems in this approach0 citations (OpenAlex)

Carnegie Mellon University · University of Porto

Read the paperPlace an idea next to itCheck your own paper ↗

8measured effects
3improved
4no clear effect
1hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
regress out code length from activations (ablation)vulnerability probe · DeltaSecommitspeak AUROC: 0.648 -> 0.64-0.66No clear effect
replace linear probe with shallow MLP (64 hidden units) (ablation)vulnerable vs secure probe · DeltaSecommitspeak AUROC: 0.648 -> 0.635-0.644No clear effect
increase PCA components from 50 to 100 (ablation)linear probe · vulnerable vs secureAUROC: <0.01 AUROC differenceNo clear effect
probe CWE type instead of vulnerability statuslinear probe · DeltaSecommitsAUROC: 0.648 -> 0.877 (median)Improved
scale from 7B to 13B-15B modelsper-pair alignment · DeltaSecommitsalignment (%): 85.85 -> 85.58No clear effect
use paired relational ranking instead of absolute classificationvulnerability direction · vulnerable-secure pairsaccuracy-like measure: AUROC 0.648 vs per-pair alignment 87-88%Improved
use final layer L27 instead of L3-L23vulnerability direction · per-pair alignmentalignment (%): 87-88 -> 70.19Hurt
use pair-stratified CV and token aggregation (ablation)linear probe · AUROC reportingAUROC: +0.055 last-token, +0.016 mean-token (CV); +0.117 (aggregation)Improved

Open problems this paper states

Open problems in pruning and circuits in LLMs

Can circuit and interpretability findings be shown to be causal, and to hold on larger and closed models?

All 4 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy