Solving complex problems with large language models (LLMs) often requires selecting the best answer from multiple candidate responses (best-of-N), yet identifying the most reliable one remains challenging, particularly when correctness does not align with majority agreement. Existing approaches based on voting or probability scoring rely on surface-level signals (e.g., frequency or token-level likelihood), often missing high-quality rare answers and ignoring the geometric structure of candidate representations, where correctness may emerge as semantic consistency rather than surface agreement. To address these limitations, we introduce Radial Consensus Score (RCS), a simple, efficient, and training-free method for best-of-N selection. RCS models semantic consensus by computing a weighted Frechet mean (semantic center) of answer embeddings and ranking candidates by their radial distance to this center. This enables it to recover semantically coherent correct answers despite lexical fragmentation, even when no single surface form holds a plurality under exact-match voting. Importantly, RCS offers a flexible framework that supports multiple weighting schemes, enabling the integration of arbitrary signals, such as semantic agreement or model confidence, with the position of the center adapting accordingly. Extensive experiments across five open-weight models and various benchmarks demonstrate that RCS matches or outperforms strong baselines at every sampling budget, with the largest gains when correct answers are lexically fragmented. Moreover, RCS serves as an effective drop-in replacement for majority voting in multi-agent debate and remains effective in black-box scenarios. These results suggest that geometric consensus can serve as a scalable and reliable alternative to voting-based methods for answer selection. Code is publicly available at https://github.com/manhitv/RCS.
Figures & tables
Figure 1: (a) Majority voting ignores semantically similar answers by treating surface forms independently. (b) It also fails to select high-confidence but minority answers. RCS addresses the lexical fragmentation issue by mapping answers into an embedding space via Encoder E and estimating a centroid c , either uniformly or probability-weighted over answer embeddings; the latter can also recover high-confidence minority answers. Additional qualitative examples are provided in Section 5.3 .
Variant
Distribution P
Supported LLMs
Uniform
pi=N1
Black-box
Frequency-weighted
pi=∑jfjfi
Black-box
Cosine-weighted
pi∝N1∑j=1Ncos(ui,uj)
Black-box
Probability-weighted
pi∝Pr(yi∣x)
White-box
Table 1: Different instantiations of the distribution P in RCS, where fi and Pr(yi∣x) denote the empirical frequency and model probability of candidate yi , respectively. For the cosine-similarity-weighted variant, cos(ui,uj) denotes the cosine similarity between ℓ2 -normalized embeddings.
Model
Method
BBF
SciQ
GPQA
Arithmetics
GSM8K
Form.Log.
Average
Qwen2.5-3B
Greedy
✓
59.3
20.9
89.0
65.0
34.9
53.8
Oracle
✓
80.8 ± 0.7
51.0 ± 2.9
99.5 ± 0.5
93.1 ± 0.8
73.5 ± 5.7
79.6
NLL
✗
59.4 ± 0.7
15.7 ± 2.4
36.0 ± 0.9
25.0 ± 3.1
23.0 ± 2.7
31.8
ANLL
✗
59.2 ± 0.5
15.9 ± 2.2
36.0 ± 1.3
24.9 ± 3.3
22.8 ± 3.0
31.8
SC
✓
64.4 ± 0.6
21.4 ± 0.6
78.7 ± 3.3
52.8 ± 1.3
40.5 ± 2.1
51.6
SCW
✓
64.5 ± 0.8
23.0 ± 0.3
51.8 ± 3.0
37.4 ± 2.8
25.7 ± 2.4
40.5
Table 2: Best-of- N selection accuracy. BBF : black-box friendly. For non-RCS methods, underline marks the best baseline per setting. Among RCS variants, bold indicates the best RCS method per column. Item-level McNemar tests (Appendix Table 9 ) show that RCS uni significantly outperforms self-consistency in 15 of 25 model × benchmark cells ( p<0.05 ). Additional results in Appendix Table 8 .
Figure 2: Average performance over five benchmarks for different numbers of sampling responses N . Each subplot corresponds to an LLM backbone, showing how accuracy changes with increasing N .
Model
Method
N
Arithmetics
Form.Log.
R=0
R=1
R=2
Avg.
R=0
R=1
R=2
Avg.
Qwen2.5-3B
SC
10
94.5 ± 4.0
60.4 ± 1.6
34.6 ± 5.8
63.1
44.8 ± 2.5
35.3 ± 2.9
27.6 ± 5.4
35.9
RCS uni
10
94.3 ± 3.7
59.5 ± 4.1
34.0 ± 11.0
62.6
46.0 ± 2.3
35.8 ± 5.3
28.8 ± 6.0
36.9
RCS freq
10
95.2 ± 3.6
61.4 ± 1.2
34.7 ± 5.4
63.8
44.8 ± 2.8
36.1 ± 3.3
28.7 ± 5.5
36.5
SC
20
96.5 ± 0.5
24.8 ± 3.0
34.0 ± 3.3
51.8
42.3 ± 0.5
40.5 ± 1.6
35.7 ± 1.6
39.5
RCS uni
20
97.7 ± 1.0
27.3 ± 3.2
34.5 ± 5.1
53.2
46.6 ± 0.9
45.2 ± 1.4
37.8 ± 0.9
43.2
Table 3: Performance on Arithmetics and Form.Log. with Multi-agent Debate. Best values are bolded. R=0,1,2 indicate debate rounds, while Avg. denotes the average over all rounds.
Table 4: Performance under (a) black-box setting ( N= 10) and (b) complexity comparison.
Figure 4: Effect of encoders on Llama3.2-3B. Results for Qwen2.5-3B are in Appendix Figure 7 .
Figure 5: Effect of varying τ using Qwen2.5-3B. Results for Llama3.2-3B are in Appendix Figure 8 .
Figure 6: Effect of reasoning paths on Arithmetics and Formal Logic.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Parameter
Value
Temperature
1
Max new tokens (short-form QA)
32
Max new tokens (long-form tasks)
512
Appendix
Table 5: Sampling hyperparameters used for generation.
Tasks
Prompt
SciQ, GPQA
This is a bot that correctly answers questions.
Arithmetics, GSM8K
Make sure to state your final answer in curly brackets at the very end of your response, just like: {final answer: 12.34} . Let’s think step by step.
Form.Log., MMLU-Pro, BBH-Date
Make sure to state your final answer choice in curly brackets at the very end of your response, just like: {final answer: (A)} . Let’s think step by step.
BBH-Navigate
Make sure to state your final answer choice in curly brackets at the very end of your response, just like: {final answer: Yes} . Let’s think step by step.
Appendix
Table 6: System prompts used for generation across tasks.
Dataset
#Samples
Question
Answer
SciQ
1000
Compounds that are capable of accepting electrons, such as o 2 or f2, are called what?
oxidants
GPQA
198
Which of the following physical theories never requires UV regularization?
Superstring Theory
Arithmetics
200
What is 23+47 ?
70
GSM8K
200
A robe takes 2 bolts of blue fiber and half that much white fiber. How many bolts in total does it take?
3
Formal Logic
126
Select the best translation into predicate logic: Sheena is a punk rocker. Choices: ("Sx", "xS", "sP", "Ps")
"Ps"
MMLU-Pro
105
Determine the number of men needed to build a boat in 77 days if it takes 36 men 132 days to build one. Choices: ("84 men", "36 men", "99 men", "132 men", "45 men", "70 men", "62 men", "50 men", "77 men", "120 men" )
"62 men"
Appendix
Table 7: Overview of evaluation benchmarks, including the number of samples and representative examples.
Model
Method
BBF
SciQ
GPQA
Arithmetics
GSM8K
Form.Log.
Average
Qwen2.5-7B
Greedy
✓
64.1
20.5
97.0
88.3
43.6
63.1
Oracle
✓
82.0 ± 1.1
49.9 ± 1.6
100.0 ± 0.0
94.6 ± 0.8
67.7 ± 2.5
78.8
NLL
✗
66.4 ± 0.1
18.3 ± 1.3
47.3 ± 5.7
32.7 ± 4.3
25.7 ± 0.5
38.1
ANLL
✗
66.2 ± 0.4
18.1 ± 0.9
47.0 ± 5.6
32.7 ± 4.4
25.9 ± 0.5
38.0
SC
✓
70.3 ± 0.9
22.1 ± 4.2
74.3 ± 2.0
52.3 ± 2.0
48.4 ± 0.0
53.5
SCW
✓
70.2 ± 0.8
26.3 ± 3.2
52.8 ± 5.0
36.4 ± 5.2
32.8 ± 3.3
43.7
Appendix
Table 8: Extended Results: Best-of- N selection accuracy across settings. Best-of- N selection accuracy. BBF : black-box friendly. For non-RCS methods, underline marks the best baseline per setting. Among RCS variants, bold indicates the best RCS method per column. No baseline significantly outperforms RCS at the column level ( p<0.05 , paired t-test); a full per-cell (model × benchmark) McNemar breakdown against all six baselines is in Appendix Table 9 .
Model
Baseline
SciQ
GPQA
Arithmetics
GSM8K
Form.Log.
Qwen2.5-3B
NLL
<10−20
<10−4
<10−74
<10−54
<10−16
ANLL
<10−21
<10−4
<10−74
<10−54
<10−17
SC
0.001
0.326
<10−7
<10−18
0.003
SCW
0.001
1.000
0.108
<10−6
0.388
CE
<10−4
<10−4
<10−4
<10−19
0.036
ModeX
<10−9
0.007
<10−39
<10−28
<10−6
Appendix
Table 9: Full per-cell (model × benchmark) item-level McNemar p -value of RCS uni against each of the six baselines. Bold = significant at α=0.05 in RCS uni ’s favor; red bold = significant in the baseline’s favor.
Figure 7: Effect of the sentence embedding model on Arithmetics and Form.Log. using Qwen2.5-3B.
Figure 8: Performance when varying correctness threshold ( τ ) using Llama3.2-3B.
Model
Method
SciQ
GPQA
Arithmetics
GSM8K
Form.Log.
Qwen2.5-3B
NLL
61.7 ± 1.2
17.6 ± 3.1
49.2 ± 12.4
45.2 ± 4.7
28.0 ± 3.2
ANLL
61.6 ± 1.1
17.1 ± 4.1
48.7 ± 11.4
46.0 ± 4.8
27.5 ± 3.3
SC
63.8 ± 0.5
18.1 ± 2.7
78.7 ± 7.2
65.0 ± 0.5
39.4 ± 1.8
SCW
64.0 ± 0.2
24.0 ± 2.6
46.8 ± 1.1
38.1 ± 6.2
27.0 ± 2.1
CE
63.6 ± 0.3
15.7 ± 1.7
78.5 ± 7.4
66.8 ± 5.0
42.4 ± 0.2
ModeX
61.2 ± 1.2
18.0 ± 2.4
46.0 ± 3.0
32.0 ± 0.5
24.9 ± 0.9
Appendix
Table 10: Best-of- N selection accuracy across settings ( N=5 ).
Model
Method
SciQ
GPQA
Arithmetics
GSM8K
Form.Log.
Qwen2.5-3B
NLL
59.0 ± 0.4
16.4 ± 2.3
48.2 ± 11.9
40.6 ± 0.5
26.5 ± 2.6
ANLL
58.4 ± 0.4
16.2 ± 2.6
47.8 ± 12.5
40.8 ± 1.1
26.5 ± 2.6
SC
64.9 ± 0.6
20.0 ± 0.3
95.3 ± 5.1
88.3 ± 0.9
48.1 ± 3.6
SCW
64.9 ± 0.6
24.4 ± 2.7
56.2 ± 4.6
33.8 ± 3.9
28.3 ± 1.8
CE
64.2 ± 0.9
18.3 ± 1.3
95.3 ± 5.9
88.8 ± 0.9
47.1 ± 2.4
ModeX
62.2 ± 0.8
21.9 ± 1.7
51.7 ± 3.4
37.9 ± 2.1
23.3 ± 1.8
Appendix
Table 11: Best-of- N selection accuracy across settings ( N=20 ).
Model
Method
SciQ
GPQA
Arithmetics
GSM8K
Form.Log.
Qwen2.5-3B
NLL
56.3 ± 0.8
16.8 ± 1.8
45.3 ± 13.0
42.8 ± 1.5
25.9 ± 3.8
ANLL
56.1 ± 0.9
16.8 ± 2.0
44.8 ± 13.3
43.0 ± 2.8
25.1 ± 3.8
SC
65.2 ± 0.4
21.8 ± 1.4
97.3 ± 2.9
90.2 ± 1.1
49.5 ± 1.2
SCW
65.3 ± 0.3
25.6 ± 2.3
54.5 ± 4.2
38.1 ± 1.8
30.7 ± 3.0
CE
65.2 ± 0.3
20.4 ± 2.7
97.5 ± 2.6
90.4 ± 0.5
48.9 ± 3.2
ModeX
63.0 ± 1.0
20.0 ± 0.5
49.8 ± 3.2
35.7 ± 3.1
25.7 ± 6.7
Appendix
Table 12: Best-of- N selection accuracy across settings ( N=40 ).