Research map / Large language models / Agents, code and math
A.S.E: A Repository-Level Benchmark for Evaluating Security in AI-Generated Code
Keke Lian, Bing Wang, Lei Zhang, Libo Chen, Junjie Wang, Ziming Zhao, Yujiu Yang, Miaoqian Lin, Haotong Duan, Haoran Zhao, Shuang Liao, Mingda Guo and 10 more
Tencent · Peking University · Fudan University · Shanghai Jiao Tong University · Tsinghua University · Zhejiang University
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| slow-thinking mode instead of fast-thinking (ablation) | Claude-3.7-Sonnet · A.S.E | Security: 46.72 -> 44.65 | Hurt |
| slow-thinking mode instead of fast-thinking (ablation) | Claude-Sonnet-4 · A.S.E | Overall: 57.14 -> 50.92 | Hurt |
| scale Qwen3-Instruct from 4B to 30B-A3B to 235B-A22B (ablation) | Qwen3-Instruct-2507 · A.S.E | Security: 32.08 -> 45.46 -> 48.03 | Improved |
| scale Qwen2.5-Coder-Instruct model size (ablation) | Qwen2.5-Coder-Instruct · A.S.E | Security: 40.78 (7B) vs 30.99 (32B) | Mixed |
| use Thinking variant instead of Instruct (ablation) | Qwen3-235B-A22B-2507 · A.S.E | Security: 48.03 -> 24.51 | Hurt |
| evaluate mutated variants instead of original seeds (ablation) | A.S.E benchmark · A.S.E | performance | No clear effect |
| higher generation stability | o3, GPT-4.1, Qwen3-235B-A22B · A.S.E | Security: o3: stability 98.91, security 0.36 | No clear effect |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- SEC-bench: Automated Benchmarking of LLM Agents on Real-World Software Security Tasks (NeurIPS 2025 · similarity 0.90)
- BaxBench: Can LLMs Generate Correct and Secure Backends? (ICML 2025 · similarity 0.89)
- DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generation (AAAI 2025 · similarity 0.88)
- Training Language Models to Generate Quality Code with Program Analysis Feedback (NeurIPS 2025 · similarity 0.87)
- AI Control: Improving Safety Despite Intentional Subversion (ICML 2024 · similarity 0.87)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.87)
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.