AI Paper Atlas

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

CTX-Coder: Cross-Attention Architectures Empower LLMs for Long-Context Vulnerability Detection

Jujie Wang, Kangfeng Zheng, Bin Wu, Chunhua Wu, Yulin Yao, Jiaqi Gao, Minjiao Yang

AAAI 2026 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 0 citations (OpenAlex)

Read the paperCheck your idea against 137,217 papers

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 cross-attention for contextual function embeddings (ablation)CTX-Coder (Llama 3.1) · CTX-Vul (Total)F1: 0.5791 -> 0.7810Improved
insert cross-attention every 4th block instead of every 8th (ablation)CTX-Coder · CTX-Vul (Total)F1: 0.6891 -> 0.7810Improved
insert cross-attention every 2nd block instead of every 4th (ablation)CTX-Coder · CTX-Vul (Total)F1: 0.7810 -> 0.8090Improved
insert cross-attention every 4th block instead of a single middle layer (ablation)CTX-Coder · CTX-Vul (Total)F1: 0.6210 -> 0.7810Improved
add unimodal pretraining (ablation)CTX-Coder · CTX-Vul (Total)F1: 0.4269 -> 0.7515Improved
add multimodal pretraining after unimodal (ablation)CTX-Coder · CTX-Vul (Total)F1: 0.7515 -> 0.7810Improved
use CTX-Coder instead of fully finetuned Qwen 2.5 (14B)CTX-Coder · CTX-Vul (Medium)F1: 0.5833 -> 0.8017Improved
use finetuned LLMs instead of non-trainable methods (LOVA, Grace)vulnerability detection · CTX-Vul (Total)F1: 0.1542 -> 0.5791Improved
use CTX-Coder instead of larger Qwen 2.5 (14B) on docstring generationCTX-Coder · Python docstring generationBLEU: 20.38 vs 20.65No clear effect
use CTX-Coder instead of larger Qwen 2.5 (14B) on cross-file completionCTX-Coder · CrossCodeEval Pythonedit similarity: 74.80 -> 71.47Hurt

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