scimeatlas

Research map / Architectures and efficiency / Attention and transformers

CodeSSM: Towards State Space Models for Code Understanding

Shweta Verma, Abhinav Anand, Mira Mezini

EMNLP 2025Architectures and efficiency › Attention and transformersapproach: State space and recurrent sequence modelsopen problems in this approach4 citations (OpenAlex)

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 ↗

13measured effects
5improved
1no clear effect
7hurt

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

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 changedWhereMeasuredEffect
pretrain CodeSSM on CSN with 2048 context vs CodeBERT on NLCodeSearchCodeSSM-base · NLCodeSearch (AdvTest)MRR: 27.19 -> 28.38Improved
CodeSSM-Sc-256 vs BertCoder on SQA (6-point gain with 8x shorter pretraining context)CodeSSM-Sc · SQAMRR: 76.25 -> 82.12Improved
increase pretraining context length from 256 to 2048 (ablation)CodeSSM-Sc · SQAMRR: 82.12 -> 82.29Improved
scale StarCoder pretraining data from 1.8M to 4.8M samples (ablation)CodeSSM-Sc-2048 · NLCodeSearch (AdvTest)MRR: 29.88 -> 30.87Improved
longer pretraining context for vulnerability and clone detection (ablation)CodeSSM-Sc · DiverseVul, clone detectionF1: DiverseVul 69.31 -> 67.72Hurt
replace SSM with DFT (CodeF) (ablation)CodeSSM · CSN validation MLMMLM accuracy: 80.022 -> 73.324Hurt
remove bidirectional processing (CodeSSM-Uni) (ablation)CodeSSM · downstream tasksperformanceHurt
add dropout to CodeSSM (ablation)CodeSSM · downstream tasksperformance: MLM 80.022 -> 79.180Hurt
add positional embeddings (CodeSSM-pos) (ablation)CodeSSM · clone detectionF1: 0.935 -> 0.939No clear effect
use CodeSSM instead of RoCoder on type inferenceCodeSSM · Type inferenceoverall F1: RoCoder 0.687 vs CodeSSM-Sc-L 0.637Hurt
use CodeSSM instead of RoCoder at inference with 2048 contextCodeSSM · SQA (2048) memoryGB: 79.12 -> 28.84Improved
use CodeSSM instead of RoCoder at 512 tokens throughputCodeSSM · NLCodeSearch (512) throughputsamples/s: 38.11 -> 36.38Hurt

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.

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?

All 5 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