Frustratingly Easy Majority Voting Using Length Conditioning

Fiorenzo Parascandolo, Enver Sangineto, Xiaoyi Yu, Wenhui Tan, Jipei He +2 more
10/14/2026
cs.CLcs.AI

Official code: aimagelab/LCMV (1 star, last commit 2026-10-05).

Abstract

Majority Voting (MV) is a simple and widely used strategy which improves the reasoning accuracy of Large Language Models (LLMs) by allocating additional inference-time computation. Specifically, in MV multiple Chain-of-Thoughts (CoTs) are independently sampled and the most frequent final answer is selected. In this work, we propose Length-Conditioned Majority Voting (LCMV), a Test-Time Training approach which improves MV leveraging an empirical observation that has recently been established in several studies: longer CoTs tend to be associated with a lower probability of correctness. We formulate this inductive bias as a length-conditioned prior probability, which is modeled by a simple logistic function. Moreover, we adapt this prior at test time using only unlabeled testing data and without fine-tuning the LLM. Finally, the adapted prior is used to weight the vote of each sampled answer. Extensive experiments across multiple LLMs and reasoning benchmarks show that LCMV consistently improves over both standard MV and existing length-based and confidence-based aggregation strategies, while retaining the simplicity and model-agnostic nature of MV. Our code is available at: https://github.com/aimagelab/LCMV.

View on arXivView PDF

Code Implementations(1)

aimagelab/LCMVOfficial100%

Frustratingly Easy Majority Voting Using Length Conditioning

10Oct 5, 20262 weeks ago

Similar Papers

Cite this paper

@article{parascandolo2026frustratingly,
  title  = {Frustratingly Easy Majority Voting Using Length Conditioning},
  author = {Fiorenzo Parascandolo and Enver Sangineto and Xiaoyi Yu and Wenhui Tan and Jipei He and Ruihua Song and Rita Cucchiara},
  year   = {2026},
  eprint = {2610.19890},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.19890v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.19890.svg)](https://codeofpaper.com/paper/2610.19890)

Discussion