Efficient Best-Of-N with Radial Consensus Score
Organizations: Applied Artificial Intelligence Initiative, Deakin University, Australia
Abstract
Solving complex problems with large language models (LLMs) often requires selecting the best answer from multiple candidate responses (best-of-), 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- 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
| Variant | Distribution | Supported LLMs |
| Uniform | Black-box | |
| Frequency-weighted | Black-box | |
| Cosine-weighted | Black-box | |
| Probability-weighted | White-box |
| 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 |
| 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 | 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 | 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 | 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 | |
| (a) Method GPQA MMLU-Pro BBH-Date BBH-Navigate Avg. SC 13.1 47.6 76.8 39.2 44.2 SCW 12.6 47.6 76.2 39.7 44.0 RCS 14.6 48.6 76.4 39.2 44.7 RCS 14.1 48.6 78.0 40.8 45.4 RCS 13.6 47.6 77.6 41.2 45.0 RCS 13.6 47.6 77.2 40.5 44.7 | (b) Method Complexity NLL, ANLL SC SCW CE ModeX RCS RCS RCS |
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 |
| 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. |
| 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 ? | 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" |
| 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 |
| Model | Baseline | SciQ | GPQA | Arithmetics | GSM8K | Form.Log. |
| Qwen2.5-3B | NLL | |||||
| ANLL | ||||||
| SC | 0.001 | 0.326 | 0.003 | |||
| SCW | 0.001 | 1.000 | 0.108 | 0.388 | ||
| CE | 0.036 | |||||
| ModeX | 0.007 |
| 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 |
| 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 |
| 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 |
Best-of-N Sampling
Best-of-N sampling generates multiple candidate outputs and selects one using reward, confidence, agreement, or task-specific evidence.
See all 33 papers