paper-with-me

Papers

Semantic Voting: Execution-Grounded Consensus for LLM Code Generation

2026-05-09 · Shan Jiang, Zijian Yi, Chenguang Zhu arxiv

LLM code-generation pipelines often sample multiple candidates and select one final answer without access to a complete oracle. Existing pipelines mix textual voting, ranking, and execution-based agreement, but the relative contribution of each component remains unclear. We study 18 configurations across different models, thinking levels, and benchmarks, comparing output-pattern majority voting, weighted voting, MBR-Exec, and SemanticVote - a method that clusters candidates by execution fingerprints on LLM-generated inputs. Three findings emerge. (1) The best execution-based selector exceeds output-pattern majority voting by 19-52 percentage points on every configuration, with every execution-based selector exceeding it by at least 18 points. (2) Once candidates are executed on diverse inputs, aggregation rule has limited effect: SemanticVote, weighted voting, and MBR-Exec are statistically indistinguishable across all 18 configurations. The largest factor is input quality: sketch-based input generation consistently outperforms direct LLM generation by 0.6-2.1 pp and random fuzzing by up to 11.3 pp. (3) Thinking level interacts differently with selection families: deeper thinking improves majority voting by 12 pp but execution-based methods stay flat or degrade as candidate diversity falls. These results frame inference-time code selection as a signal-quality problem rather than an aggregation-rule problem: when oracles are unavailable, the behavioral evidence matters more than the aggregation rule.

📄 PDF Abstract BibTeX arXiv:2605.08680

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Majority Voting for Code Generation

2026-04-17 · Tim Launer, Jonas Hübotter, Marco Bagatella, Ido Hakimi 외 arxiv

We investigate Functional Majority Voting (FMV), a method based on functional consensus for code generation with Large Language Models, which identifies a representative solution from multiple generations using their run…

Reinforcement LearningCode Generation

Pixel Consensus Voting for Panoptic Segmentation

2020-04-04 · CVPR 2020 6 · Haochen Wang, Ruotian Luo, Michael Maire, Greg Shakhnarovich

The core of our approach, Pixel Consensus Voting, is a framework for instance segmentation based on the Generalized Hough transform. Pixels cast discretized, probabilistic votes for the likely regions that contain instan…

Instance SegmentationPanoptic SegmentationSegmentationSemantic Segmentation

The Six Sigma Agent: Achieving Enterprise-Grade Reliability in LLM Systems Through Consensus-Driven Decomposed Execution

2026-01-29 · Khush Patel, Siva Surendira, Jithin George, Shreyas Kapale arxiv

Large Language Models demonstrate remarkable capabilities yet remain fundamentally probabilistic, presenting critical reliability challenges for enterprise deployment. We introduce the Six Sigma Agent, a novel architectu…

EMS: Multi-Agent Voting via Efficient Majority-then-Stopping

2026-04-03 · Yiqing Liu, Hantao Yao, Wu Liu, Yongdong Zhang arxiv

Majority voting is the standard for aggregating multi-agent responses into a final decision. However, traditional methods typically require all agents to complete their reasoning before aggregation begins, leading to sig…

Tool Verification for Test-Time Reinforcement Learning

2026-03-02 · Ruotong Liao, Nikolai Röhrich, Xiaohan Wang, Yuhui Zhang 외 arxiv

Test-time reinforcement learning (TTRL) has emerged as a promising paradigm for Recursive Self-Improving AI (RSI) by adapting Large Reasoning Models (LRMs) on unlabeled test inputs, using self-consensus rewards derived f…

Reinforcement Learning