scimeatlas

Research map / Large language models / Reasoning and chain of thought

CodeMEM: AST-Guided Adaptive Memory for Repository-Level Iterative Code Generation

Peiding Wang, Li Zhang, Fang Liu, Chongyang Tao, Yinghao Zhu

ACL 2026Large language models › Reasoning and chain of thoughtapproach: Efficient LLM servingopen problems in this approach4 citations (OpenAlex)

Beihang University · The University of Hong Kong

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

12measured effects
10improved
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
use CodeMEM instead of full-context FC (BM25)DeepSeek-V3.2 · CodeIF-Bench (avg IA)IA: 41.1 -> 46.1Improved
use CodeMEM instead of full-context FC (BM25)DeepSeek-V3.2 · CodeIF-Bench (avg CA)CA: 38.4 -> 42.8Improved
use CodeMEM instead of FCDeepSeek-V3.2 · CoderEvalPass@1 by interaction round: 55.7 (Turn-5) vs 50.9 (FC BM25)Improved
add Code Context Memory (CtxMem) (ablation)CodeMEM · CodeIF-Bench (avg IA)IA: 42.5 -> 46.1Improved
add AST-based selector (CtxAST) (ablation)CodeMEM · CodeIF-Bench (avg IA)IA: 41.7 -> 46.1Improved
add AST-based detector (SessAST) (ablation)CodeMEM · CodeIF-Bench (avg CA)CA: 41.4 -> 42.8Improved
add CtxMem (ablation)CodeMEM · CoderEval (Turn-5)Pass@1: 51.7 -> 55.7Improved
add CtxAST (ablation)CodeMEM · CoderEval (Turn-5)Pass@1: 51.3 -> 55.7Improved
use CodeMEM instead of Mem0 or MemGPT natural-language memoryDeepSeek-V3.2 · CodeIF-Bench (avg IA)IA: 32.5 (Mem0), 39.1 (MemGPT) -> 46.1Improved
use CodeMEM in rounds 5 and 6 (non-functional requirements)DeepSeek-V3.2 · CodeIF-Bench (Turn-6 IA)IA: 60.0 (FC BM25) -> 40.0Hurt
add AST-based detector (SessAST) (ablation)CodeMEM · CodeIF-Benchavg time and tokens: 54.1 s, 107.8k tokens vs 36.4 s, 75.1k without SessASTHurt
add AST-based selector (CtxAST) (ablation)CodeMEM · CodeIF-Benchavg tokens: 315.2k -> 107.8kImproved

Open problems in efficient LLM serving

Do efficient-serving and inference-saving methods hold up on larger models, other hardware and real workloads?

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