AI Paper Atlas

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

CAT-probing: A Metric-based Approach to Interpret How Pre-trained Models for Programming Language Attend Code Structure

Nuo Chen, Qiushi Sun, Renyu Zhu, Xiang Li, Xuesong Lu, Ming Gao

EMNLP 2022Large language models › Language, safety and interpretabilityapproach: Controlled text generation14 citations (OpenAlex)

East China Normal University

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

5measured effects
3improved
2hurt

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
add code structure features to pre-training inputs and tasks (RoBERTa to CodeBERT to GraphCodeBERT)encoder-only PTMs · code summarization (CodeXGLUE, 4 languages)CAT-scoreImproved
use CAT-score as a proxy for structure abilityRoBERTa, CodeBERT, GraphCodeBERT · code summarization test performanceCAT-score vs performanceImproved
use UniXcoder (multi-mode pre-training) instead of encoder-only modelsCAT-score concordance · code summarizationCAT-score vs performanceHurt
increase layer depthCodePTMs · CAT-score by layerCAT-scoreHurt
filter attention and distance matrices by frequent token types (ablation)CAT-probing · attention heatmap case studiesattention noiseImproved

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