atlas

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

SecCodePRM: A Process Reward Model for Code Security

ICML 2026 · Large language models › Reasoning and chain of thought · approach: Process reward models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SecCodePRM, a 7B step-level process reward model fine-tuned from Qwen2.5-Coder that scores code prefixes for security, applied to vulnerability detection and best-of-N secure code generation.

Problem

Vulnerability detection and secure code generation typically need complete programs and give only end-of-program feedback, which is costly and degrades on long code; the paper targets real-time, prefix-level security assessment.

Approach

Train a classification-head PRM on the Qwen2.5-Coder-7B backbone that emits a safe/vulnerable margin at each step separator, with step labels derived from contrastive diffs of vulnerable vs. patched code and caller-function propagation, then aggregate step rewards with risk-sensitive weighting for detection and use them to rank candidates for inference-time scaling.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: BigVul SVEN PrimeVul ReposVul PreciseBugs CWEval LiveCodeBench

Benchmarks: SVEN PrimeVul PreciseBugs ReposVul CWEval LiveCodeBench

Metrics: accuracy precision recall F1 pair-wise P-C/P-V/P-B/P-R SR@k pass@k safe@k

Baselines: VulSim VulBERTA ReGVD LLMxCPG CodeT5 CodeBERT UniXcoder StarCoder2 CodeGen2.5 Qwen2.5-PRM-7B GPT-3.5 GPT-4

Builds on: Qwen2.5-Coder CodeQL Gestalt Pattern Matching

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