scimeatlas

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

A Critical Study of What Code-LLMs (Do Not) Learn

Abhinav Anand, Shweta Verma, Krishna Narasimhan, Mira Mezini

ACL 2024Large language models › Language, safety and interpretabilityapproach: Pruning and circuits in LLMsopen problems in this approach13 citations (OpenAlex)

Technische Universität Darmstadt · AI Quality & Testing Hub · Hessian Center for Artificial Intelligence (hessian.AI) · National Research Center for Applied Cybersecurity ATHENE

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

8measured effects
1improved
1no clear effect
4hurt
2mixed

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
use attention threshold 0.05 instead of the prior 0.3attention analysis of code-LLMs · syntax graph comparisonF-scoreImproved
fine-tune on a task (CodeT5 musu, CodeRL) vs pre-trained (ablation)code-LLM hidden representations · tree distance / sibling / data-flow probesDirectProbe label accuracy: e.g. siblings (Keyword-All) 0.91 (CodeT5) -> 0.85 (CodeRL)Hurt
actor-critic training with test-case reward (CodeRL vs CodeT5 lntp) (ablation)CodeT5 lntp · attention recall with code graphsrecallNo clear effect
scale to billions of parameters (CodeGen 3.7B, CodeT5+2B) (ablation)code-LLMs · attention analysis, syntax and data-flow graphsrecall / GEDHurt
scale to CodeT5+2B decoder / CodeT5+2B (ablation)code-LLMs · siblings probe (Keyword-All, not siblings)DirectProbe label accuracy: 0.82 (CodeT5) -> 0.48 (CodeT5+2B)Hurt
add syntactic-identifier edges to the syntax graph (ablation)model graphs · graph edit distanceGED per node: cost per node increases by factor 1.5-2Hurt
use encoder-decoder instead of encoder-only architecture (ablation)code-LLMs · attention recall in deeper layersrecallMixed
use non-classifier DirectProbe vs linear probe assumption (ablation)hidden representation probing · number of clusters vs labelsnumber of clusters: clusters usually twice the number of labelsMixed

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