Research map / Architectures and efficiency / Attention and transformers
CodeSSM: Towards State Space Models for Code Understanding
Shweta Verma, Abhinav Anand, Mira Mezini
TU Darmstadt · Hessian Center for Artificial Intelligence · National Research Center for Applied Cybersecurity ATHENE
Read the paperPlace an idea next to itCheck your own paper ↗
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.
This paper tried a common change: Add dropout
add dropout to CodeSSM · downstream tasks · performance: MLM 80.022 -> 79.180 Hurt
What 1,045 accepted papers report for this change
- 716 improved
- 114 no clear effect
- 21 mixed
- 194 hurt
- Don't Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and Inference ICML 2026 · apply layer dropout to whole transformer blocks instead of attention and FFN sub-blocks separately · 20 TPP val loss, 271M · val loss: 2.377 -> 2.367Improved
- Quantifying the Uncertainty of Foundation Models with Singular Value Ensembles ICML 2026 · use MC Dropout · vision and SST-2 · accuracy: 86.3 -> 76.6 on Flowers102Hurt
- Motion Planning in Compressed Representation Spaces ICML 2026 · add nested dropout during training · WOMD guided generation · goal FDE: 4.145 -> 1.104Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| pretrain CodeSSM on CSN with 2048 context vs CodeBERT on NLCodeSearch | CodeSSM-base · NLCodeSearch (AdvTest) | MRR: 27.19 -> 28.38 | Improved |
| CodeSSM-Sc-256 vs BertCoder on SQA (6-point gain with 8x shorter pretraining context) | CodeSSM-Sc · SQA | MRR: 76.25 -> 82.12 | Improved |
| increase pretraining context length from 256 to 2048 (ablation) | CodeSSM-Sc · SQA | MRR: 82.12 -> 82.29 | Improved |
| scale StarCoder pretraining data from 1.8M to 4.8M samples (ablation) | CodeSSM-Sc-2048 · NLCodeSearch (AdvTest) | MRR: 29.88 -> 30.87 | Improved |
| longer pretraining context for vulnerability and clone detection (ablation) | CodeSSM-Sc · DiverseVul, clone detection | F1: DiverseVul 69.31 -> 67.72 | Hurt |
| replace SSM with DFT (CodeF) (ablation) | CodeSSM · CSN validation MLM | MLM accuracy: 80.022 -> 73.324 | Hurt |
| remove bidirectional processing (CodeSSM-Uni) (ablation) | CodeSSM · downstream tasks | performance | Hurt |
| add dropout to CodeSSM (ablation) | CodeSSM · downstream tasks | performance: MLM 80.022 -> 79.180 | Hurt |
| add positional embeddings (CodeSSM-pos) (ablation) | CodeSSM · clone detection | F1: 0.935 -> 0.939 | No clear effect |
| use CodeSSM instead of RoCoder on type inference | CodeSSM · Type inference | overall F1: RoCoder 0.687 vs CodeSSM-Sc-L 0.637 | Hurt |
| use CodeSSM instead of RoCoder at inference with 2048 context | CodeSSM · SQA (2048) memory | GB: 79.12 -> 28.84 | Improved |
| use CodeSSM instead of RoCoder at 512 tokens throughput | CodeSSM · NLCodeSearch (512) throughput | samples/s: 38.11 -> 36.38 | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- CodeBERT — CodeBERT: A Pre-Trained Model for Programming and Natural Languages (EMNLP 2020) · better on 5 of 5 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in state space and recurrent sequence models
Do state space and recurrent models keep their efficiency and recall at large scale and long context?
- Experiments stop at small models, around 1.3B parameters or less. · 24 papers state it
- Theory covers simplified models, not the architectures used in practice. · 13 papers state it
- Kernels are naive or unoptimized, so speed gains are not realized. · 10 papers state it
Closest papers by meaning
- Towards Understanding What State Space Models Learn About Code (EMNLP 2026 · similarity 0.94)
- Hidden Positives: Why Code Retrieval Benchmarks Underestimate Model Quality (NeurIPS 2026 · similarity 0.88)
- CodeMMLU: A Multi-Task Benchmark for Assessing Code Understanding & Reasoning Capabilities of CodeLLMs (ICLR 2025 · similarity 0.87)
- Towards A Generalist Code Embedding Model Based On Massive Data Synthesis (NeurIPS 2025 · similarity 0.86)
- Understanding and Mitigating Bottlenecks of State Space Models through the Lens of Recency and Over-smoothing (ICLR 2025 · similarity 0.86)
- CodeSteer: Symbolic-Augmented Language Models via Code/Text Guidance (ICML 2025 · similarity 0.85)
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.