DAJ: Data-Reweighted LLM Judge for Test-Time Scaling in Code Generation
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Test-time scaling for code generation commonly relies on Best-of-N selection, in which multiple candidate solutions are sampled from a base model, and the best one is selected by an LLM judge. However, training reliable LLM judges is challenging due to severe distribution shifts, including imbalances between easy and hard problems, mismatches between training tasks and evaluation benchmarks, and trajectory mismatch arising from training data generated by cheaper models whose behavior differs from that of inference-time models. We propose DAJ, a reasoning-based LLM judge trained with verifiable rewards under a bi-level data-reweighted learning framework. The proposed framework learns data-importance weights (either domain-level or instance-level) to optimize generalization performance on a held-out meta set aligned with target benchmarks. To the best of our knowledge, this is the first application of data reweighting to LLM-as-a-Judge training for test-time scaling. Our approach automatically emphasizes hard problems, in-distribution samples, and trajectory-aligned data, without relying on hand-crafted heuristics. Empirically, DAJ achieves state-of-the-art performance on LiveCodeBench and BigCodeBench, outperforming strong test-time scaling baselines as well as leading proprietary models.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 24 of its 54 references that are in the map. First posted on arXiv 29 Jan 2026.
Builds on
24 of 54 references.
Closest ancestors · 3
Same direction, newest first
- 2024OpenAI o1 System Card21 Dec
- 2024Qwen2.5-Coder Technical Report18 Sep
- 2022Competition-Level Code Generation with AlphaCode8 Feb
Other references · 21
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2025Qwen3 Technical Reportcited by 8,195
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023Let's Verify Step by Stepcited by 3,598
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2024ORPO: Monolithic Preference Optimization without Reference Modelcited by 556
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2024Improve Mathematical Reasoning in Language Models by Automated Process Supervisioncited by 426
- 2025The Lessons of Developing Process Reward Models in Mathematical Reasoningcited by 402
- 2022Self-critiquing models for assisting human evaluatorscited by 372
9 more
- 2024KTO: Model Alignment as Prospect Theoretic Optimizationcited by 256
- 2025Inference-Time Scaling for Generalist Reward Modelingcited by 233
- 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 215
- 2024Meta-Rewarding Language Models: Self-Improving Alignment with LLM-as-a-Meta-Judgecited by 202
- 2024Self-Taught Evaluatorscited by 70
- 2023Rewarding Chatbots for Real-World Engagement with Millions of Userscited by 58
- 2025Evaluating Judges as Evaluators: The JETTS Benchmark of LLM-as-Judges as Test-Time Scaling Evaluatorscited by 42
- 2024Process Supervision-Guided Policy Optimization for Code Generationcited by 25
- 2025PairJudge RM: Perform Best-of-N Sampling with Knockout Tournamentcited by 21
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation
- 2025S*: Test Time Scaling for Code Generation
- 2026CodeContests-O: Powering LLMs via Feedback-Driven Iterative Test Case Generation
- 2025LeetCodeDataset: A Temporal Dataset for Robust Evaluation and Efficient Training of Code LLMs
- 2026ThinkBooster: A Unified Framework for Seamless Test-Time Scaling of LLM Reasoning
- 2025Go-UT-Bench: A Fine-Tuning Dataset for LLM-Based Unit Test Generation in Go
- 2025OpenCodeReasoning-II: A Simple Test Time Scaling Approach via Self-Critique
- 2025Dynamic Scaling of Unit Tests for Code Reward Modeling