potentialpaper

Ensembling Language Models with Sequential Monte Carlo

Robin Chan, Tianyu Liu, Samuel Kiegeland, Clemente Pasti, Jacob Hoover Vigly, Timothy J. O'Donnell, Ryan Cotterell, Tim Vieira

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Combining the predictions of multiple models is one of the most effective strategies in machine learning. Thus, it is only natural to investigate the ensembling of language models (LMs). However, because LMs define distributions over strings, a proper ensemble requires aggregating predictions at the string level, which requires a computation that is generally intractable. In this work, we cast LM ensembling as an inference problem and propose the deployment of sequential Monte Carlo (SMC), an appropriate approximate inference scheme. Concretely, we introduce a unified framework for composing multiple LMs into ensemble distributions parameterized by a broad family of aggregation functions. To sample from these distributions, we introduce an SMC algorithm that operates in a shared byte space, enabling ensembles of models with mismatching vocabularies and consistent sampling in the limit. We evaluate a range of ensembles across prompt and model combinations for various text generation tasks, finding that consensus-seeking strategies such as the product consistently outperform probability averaging, and that better posterior approximations can yield better ensemble performance.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:50 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper develops a global string-level view of language-model ensembling and uses sequential Monte Carlo to approximate a family of ensemble distributions across potentially different tokenizers.

The reviewers find the conceptual unification and inference construction sound, with the main limitations concerning practical evidence rather than the central method. The response should clarify whether the reported "Best ff-ensemble" is selected independently of the test results, report the quality and computational cost of the actual returned output rather than only weighted-particle expected accuracy, and delimit claims about scaling beyond two experts.

Area Chair bDtC · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper develops a global string-level view of language-model ensembling and uses sequential Monte Carlo to approximate a family of ensemble distributions across potentially different tokenizers.

The reviewers find the conceptual unification and inference construction sound, with the main limitations concerning practical evidence rather than the central method. The response should clarify whether the reported "Best ff-ensemble" is selected independently of the test results, report the quality and computational cost of the actual returned output rather than only weighted-particle expected accuracy, and delimit claims about scaling beyond two experts.

1 comment
Authors · CommentOpenReview ↗

We thank the AC for the summary. We believe these concerns are explicitly addressed in our rebuttal. Firstly, although the "best ff-ensemble" was chosen based on the full evaluation reported in our appendix, we added a validation-set experiment showing that this choice is closely approximated by selection on a small held-out set. We also report single-sample and greedy accuracy alongside expected accuracy, with no change in conclusions, and discuss computational cost in all three responses. Finally, we added a multi-seed ablation scaling the number of experts beyond two, with full tables in the responses to Reviewers s2XP and Dv33. We are happy to clarify any remaining points during the discussion period.

Reviewer 2kVEOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies language-model ensembling as approximate inference over complete string-level distributions. It introduces an f-ensemble framework with different aggregation functions and uses character-level Sequential Monte Carlo to sample from these ensemble distributions. Experiments show that consensus-seeking ensembles often outperform probability-averaging baselines across several reasoning and structured generation tasks.

Strengths and weaknesses

Strengths

  1. The paper provides strong theoretical foundations.
  2. The paper has comprehensive empirical results
  3. The paper is well written, with a clear motivation and formal method description.

Weaknesses

  1. What is the cost of the SMC compared with the decoding and token-level ensemble methods? The proposed SMC-based string-level ensembling requires running multiple models or prompts with multiple particles, which may be substantially more expensive than standard decoding or token-level ensembling.
  2. How would the method scale to more models? The experiments mainly consider two-expert ensembles, so it is unclear how well the method scales to larger ensembles with more models, prompts, or heterogeneous model families.
  3. How is the method sensitive to the resampling threshold and other parameters? The method depends on several design choices but these sensitivities are not fully explored.
Questions

Please see weaknesses above.

Limitations

Please see weaknesses above.

Final justification

The authors have adequately addressed my main concerns, particularly regarding computational cost and scalability. So I raise my score from 3 to 4.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for taking the time to engage with our work! We appreciate the positive comments about the theoretical results and formalisms of the method, as well as the comprehensiveness of the empirical results. We also appreciate the reviewer’s feedback about some of the perceived weaknesses of the draft, which we hope to address in the following:

1. SMC cost. (W1) We acknowledge that this is an important practical aspect. We refer to the runtime table and analysis provided in App. G (Tab. 2). The cost comes from maintaining MM particles and scales approximately linearly with MM, making it a tunable knob to trade approximation quality for runtime. Our particle study (App. I.3) shows approximation quality already saturates at around 10–25 particles, whereas gains are already visible at smaller MM. Importantly, wall-clock cost does not grow with the number of experts if models are served concurrently. The per-step latency is thus bounded by the slowest expert, as in local ensembling baselines.

2. Scaling to more models. (W2) Concerning this point, we believe that our ablations in the K=2K=2 settings allow us to better isolate and characterize some of the ensemble's behavior. To complement this, we have now added a full, multi-seed ablation for K={2,…,6}K=\{2,\dots,6\} experts in the within-model ensembling setting for the three main ablation datasets (BBH, Spider, JSON), with the intention of expanding this to the other datasets as well in later versions of the paper. For each KK we report the best ensemble (mean over 3 seeds, ± 95% CI); \+expert gives the standalone accuracy of the expert newly added at that step, and K=1K{=}1 is the first expert alone. Bold marks ensembles beating every single expert in the pool at that KK.

Ensembling helps in a majority of settings, and adding experts generally continues to improve performance, with the size of the gain depending on how much the new expert complements the pool. The trend is clearest on Spider, where accuracy rises essentially monotonically from K=2K{=}2 to K=6K{=}6. Performance is still affected by weak experts entering the pool (e.g., JSON at larger KK), consistent with the paper's discussion.

task model K=1K{=}1 K=2K{=}2 K=3K{=}3 K=4K{=}4 K=5K{=}5 K=6K{=}6
Spider Qwen 43.8 51.3±0.9+56.6\substack{51.3\pm0.9\\+56.6} 51.5±1.2+36.8\substack{51.5\pm1.2\\+36.8} 53.0±1.3+61.3\substack{53.0\pm1.3\\+61.3} 54.7±1.4+56.6\substack{54.7\pm1.4\\+56.6} 54.1±0.2+58.5\substack{54.1\pm0.2\\+58.5}
Spider Phi 19.4 34.1±0.9+31.8\substack{\mathbf{34.1\pm0.9}\\+31.8} 34.6±0.8+18.1\substack{\mathbf{34.6\pm0.8}\\+18.1} 36.4±1.8+34.5\substack{\mathbf{36.4\pm1.8}\\+34.5} 37.1±1.2+39.9\substack{37.1\pm1.2\\+39.9} 38.3±2.1+40.4\substack{38.3\pm2.1\\+40.4}
Spider Llama 37.7 40.8±0.5+39.1\substack{\mathbf{40.8\pm0.5}\\+39.1} 42.6±1.0+32.2\substack{\mathbf{42.6\pm1.0}\\+32.2} 44.2±1.1+40.2\substack{\mathbf{44.2\pm1.1}\\+40.2} 44.4±1.4+39.0\substack{\mathbf{44.4\pm1.4}\\+39.0} 47.1±3.2+40.5\substack{\mathbf{47.1\pm3.2}\\+40.5}
BBH Qwen 14.1 14.9±0.3+10.0\substack{\mathbf{14.9\pm0.3}\\+10.0} 15.3±0.6+15.2\substack{\mathbf{15.3\pm0.6}\\+15.2} 13.5±1.3+12.7\substack{13.5\pm1.3\\+12.7} 14.8±1.0+12.1\substack{14.8\pm1.0\\+12.1} 13.7±0.3+14.8\substack{13.7\pm0.3\\+14.8}
BBH Phi 27.9 28.2±0.8+25.3\substack{\mathbf{28.2\pm0.8}\\+25.3} 31.0±0.4+27.1\substack{\mathbf{31.0\pm0.4}\\+27.1} 29.8±0.2+26.6\substack{\mathbf{29.8\pm0.2}\\+26.6} 30.1±1.7+23.9\substack{\mathbf{30.1\pm1.7}\\+23.9} 28.9±1.1+28.1\substack{\mathbf{28.9\pm1.1}\\+28.1}
BBH Llama 38.0 43.3±0.5+36.7\substack{\mathbf{43.3\pm0.5}\\+36.7} 44.8±1.0+40.9\substack{\mathbf{44.8\pm1.0}\\+40.9} 44.8±3.5+35.0\substack{\mathbf{44.8\pm3.5}\\+35.0} 45.4±0.6+32.5\substack{\mathbf{45.4\pm0.6}\\+32.5} 44.4±2.3+37.0\substack{\mathbf{44.4\pm2.3}\\+37.0}
JSON Qwen 95.5 95.8±0.2+93.8\substack{\mathbf{95.8\pm0.2}\\+93.8} 96.0±0.7+95.9\substack{\mathbf{96.0\pm0.7}\\+95.9} 95.5±0.2+93.0\substack{95.5\pm0.2\\+93.0} 91.6±0.9+67.8\substack{91.6\pm0.9\\+67.8} 91.1±1.6+94.8\substack{91.1\pm1.6\\+94.8}
JSON Phi 76.0 88.0±1.1+88.0\substack{88.0\pm1.1\\+88.0} 89.0±2.0+94.0\substack{89.0\pm2.0\\+94.0} 88.0±3.4+76.0\substack{88.0\pm3.4\\+76.0} 79.0±2.0+71.0\substack{79.0\pm2.0\\+71.0} 83.3±3.6+78.0\substack{83.3\pm3.6\\+78.0}
JSON Llama 82.0 88.9±0.6+83.9\substack{\mathbf{88.9\pm0.6}\\+83.9} 88.7±0.2+86.3\substack{\mathbf{88.7\pm0.2}\\+86.3} 89.2±1.2+85.6\substack{\mathbf{89.2\pm1.2}\\+85.6} 84.3±1.5+40.5\substack{84.3\pm1.5\\+40.5} 88.0±3.0+83.9\substack{\mathbf{88.0\pm3.0}\\+83.9}

3. Resampling threshold sensitivity. (W3) We thank the reviewer for raising this point; the resampling threshold is indeed a design choice we haven’t yet discussed in depth. Below we vary the ESS threshold η\eta of Alg. 1, from η=0\eta{=}0 (weights are never reset, i.e. pure sequential importance sampling) up to our default η=0.9\eta{=}0.9 (resampling is triggered whenever the effective sample size falls below 0.9M0.9M, taken as a standard value from Loula et al. 2025). Numbers are the best ensemble (min operator) in the within-model setting, mean % over 5 seeds (± 95% CI); bold marks the best setting per row.

task model η=0\eta{=}0 η=0.3\eta{=}0.3 η=0.6\eta{=}0.6 η=0.9\eta{=}0.9
BBH Qwen 14.5±0.5 14.4±0.3 15.6±0.6 15.3±2.0
BBH Phi 28.7±0.5 28.6±0.5 28.8±0.8 28.2±1.1
BBH Llama 42.7±0.9 42.6±1.0 42.2±0.8 42.3±0.9
Spider Qwen 50.8±0.4 50.6±1.0 50.2±0.8 51.2±1.8
Spider Phi 33.2±0.9 33.8±0.5 33.9±1.3 34.2±0.7
Spider Llama 40.1±0.9 40.1±0.6 41.1±0.9 41.9±1.4
JSON Qwen 96.0±0.4 95.6±0.3 95.4±0.2 95.7±0.4
JSON Llama 89.4±0.6 89.4±0.8 89.3±0.7 88.9±1.1
JSON Phi 88.0±1.9 88.0±1.8 88.4±1.0 87.4±0.3

The signal that emerges is a slight general advantage of performing resampling vs not at all, with differences arising depending on the task. We read this as a property of the present regime rather than of SMC in general. Resampling counteracts weight degeneracy, which at M=10M{=}10 over the comparatively short outputs of these tasks has limited opportunity to build up, so we would expect the threshold to become more consequential with larger particle budgets or longer generations. Approximation quality, which is what our RQ3 claims rest on, is instead driven primarily by the particle count, where the effect is clearly visible (App. I.3, Figs. 6–8). Taken together with the ablations over particle count (App. I.3, Figs. 6–8) and over ff (Tabs. 3, 4), we believe the main design axes of the method are now covered. The one axis we keep fixed is the expert weighting ww, which is uniform throughout; tuning or learning ww is a natural extension that we leave to future work.

We hope that these additional clarifications, discussions, and results address the reviewer’s concerns!

Reviewer 2kVE · CommentOpenReview ↗

Thanks for the response. My concerns have been addressed. I will raise my score.

Authors · CommentOpenReview ↗

Thank you for engaging with our rebuttal -- we’re happy to hear that your concerns have been addressed!

Reviewer Dv33OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes f-ensemble, a generalized ensembling framework for language models. The paper shows equivalence between generalized means (product, min, max, sum as special cases) and weighted α\alpha-divergences, with a suitable choice of τ\tau parameter. The authors specifically analyze the special cases when τ≤0\tau \leq 0 (consensus-seeking) or τ>0\tau > 0 (coverage-seeking). Finally, the authors use character-level sequential Monte Carlo importance sampling to sample from the f-ensemble function. The empirical setup spans over three LLMs from LLaMA, Qwen and Phi families, experimenting over five text generation task. The central empirical highlights are --- (1) consensus-seeking means beats the standard probability-averaging baselines, and (2) diversifying experts helps more in ensembles.

Strengths and weaknesses

Strengths

  • The theoretical results showing the equivalence of different functional families are solid.
  • The prompt-injection result is interesting and sets the context pretty nicely.
  • The analysis tying SMC approximation quality to expected accuracy for consensus operators is a nice attempt to interpret how f-ensemble works, beyond the theoretical claims.
  • The idea of operating in a shared character/byte-level space for ensembling is also an appropriate framing of cross-family model ensemble.

Weaknesses

  • The experimental setup is not robust enough to understand the generalization of the central claims. The authors only use K=2 experts, which is sufficiently small to understand the ensemble dynamics.
  • Even the experimental results in section 6.2 are inadequately explained. More discussion on the results are needed to understand the empirical impact of the proposed method.
  • In coverage-seeking variants, the improvements are sheldom negative, over the single model baselines. Not enough discussion was provided to explain this behavior.
  • The choice of reporting "expected accuracy" is also something I found pretty unusual. The paper does not report single-sample/greedy accuracy, which would be the honest practical comparison.
Questions
  • Why report only expected accuracy and not the accuracy of a single sampled output?
  • Under what scenario one must choose between byte-level SMC over character-level SMC or vice-versa?
  • What are the implications of character-level or byte-level ensembles on memory footprint?
Limitations

Yes

Final justification

The author responses are well noted; I remain stick to my inclination toward accepting the paper.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for taking the time to engage with the details of our work! We appreciate the positive assessment of the theoretical results, the motivating example, and the framing of ensembling in a shared character-level space. We also appreciate some of the more critical feedback, which helps improve the overall quality of the work. We hope to address some of the reviewer’s concerns below:

1. Only K=2K=2 experts. (W1) Concerning this point, we believe that our ablations in the K=2K=2 settings allow us to better isolate and characterize some of the ensemble's behavior. Nevertheless, we have added a full, multi-seed ablation for K={2,…,6}K=\{2,\dots,6\} experts in the within-model setting on the three main ablation datasets (BBH, Spider, JSON). For each KK we report the best ensemble (mean over 3 seeds, ± 95% CI); \+expert gives the standalone accuracy of the expert newly added at that step, and K=1K{=}1 is the first expert alone. Bold marks ensembles beating every single expert in the pool at that KK. Ensembling helps in a majority of settings, and adding experts generally continues to improve performance, with the size of the gain depending on how much the new expert complements the pool. The trend is clearest on Spider, where accuracy rises essentially monotonically from K=2K{=}2 to K=6K{=}6. Performance is still affected by weak experts entering the pool (e.g. JSON at larger KK), consistent with the paper's discussion.

task model K=1K{=}1 K=2K{=}2 K=3K{=}3 K=4K{=}4 K=5K{=}5 K=6K{=}6
Spider Qwen 43.8 51.3±0.9+56.6\substack{51.3\pm0.9\\+56.6} 51.5±1.2+36.8\substack{51.5\pm1.2\\+36.8} 53.0±1.3+61.3\substack{53.0\pm1.3\\+61.3} 54.7±1.4+56.6\substack{54.7\pm1.4\\+56.6} 54.1±0.2+58.5\substack{54.1\pm0.2\\+58.5}
Spider Phi 19.4 34.1±0.9+31.8\substack{\mathbf{34.1\pm0.9}\\+31.8} 34.6±0.8+18.1\substack{\mathbf{34.6\pm0.8}\\+18.1} 36.4±1.8+34.5\substack{\mathbf{36.4\pm1.8}\\+34.5} 37.1±1.2+39.9\substack{37.1\pm1.2\\+39.9} 38.3±2.1+40.4\substack{38.3\pm2.1\\+40.4}
Spider Llama 37.7 40.8±0.5+39.1\substack{\mathbf{40.8\pm0.5}\\+39.1} 42.6±1.0+32.2\substack{\mathbf{42.6\pm1.0}\\+32.2} 44.2±1.1+40.2\substack{\mathbf{44.2\pm1.1}\\+40.2} 44.4±1.4+39.0\substack{\mathbf{44.4\pm1.4}\\+39.0} 47.1±3.2+40.5\substack{\mathbf{47.1\pm3.2}\\+40.5}
BBH Qwen 14.1 14.9±0.3+10.0\substack{\mathbf{14.9\pm0.3}\\+10.0} 15.3±0.6+15.2\substack{\mathbf{15.3\pm0.6}\\+15.2} 13.5±1.3+12.7\substack{13.5\pm1.3\\+12.7} 14.8±1.0+12.1\substack{14.8\pm1.0\\+12.1} 13.7±0.3+14.8\substack{13.7\pm0.3\\+14.8}
BBH Phi 27.9 28.2±0.8+25.3\substack{\mathbf{28.2\pm0.8}\\+25.3} 31.0±0.4+27.1\substack{\mathbf{31.0\pm0.4}\\+27.1} 29.8±0.2+26.6\substack{\mathbf{29.8\pm0.2}\\+26.6} 30.1±1.7+23.9\substack{\mathbf{30.1\pm1.7}\\+23.9} 28.9±1.1+28.1\substack{\mathbf{28.9\pm1.1}\\+28.1}
BBH Llama 38.0 43.3±0.5+36.7\substack{\mathbf{43.3\pm0.5}\\+36.7} 44.8±1.0+40.9\substack{\mathbf{44.8\pm1.0}\\+40.9} 44.8±3.5+35.0\substack{\mathbf{44.8\pm3.5}\\+35.0} 45.4±0.6+32.5\substack{\mathbf{45.4\pm0.6}\\+32.5} 44.4±2.3+37.0\substack{\mathbf{44.4\pm2.3}\\+37.0}
JSON Qwen 95.5 95.8±0.2+93.8\substack{\mathbf{95.8\pm0.2}\\+93.8} 96.0±0.7+95.9\substack{\mathbf{96.0\pm0.7}\\+95.9} 95.5±0.2+93.0\substack{95.5\pm0.2\\+93.0} 91.6±0.9+67.8\substack{91.6\pm0.9\\+67.8} 91.1±1.6+94.8\substack{91.1\pm1.6\\+94.8}
JSON Phi 76.0 88.0±1.1+88.0\substack{88.0\pm1.1\\+88.0} 89.0±2.0+94.0\substack{89.0\pm2.0\\+94.0} 88.0±3.4+76.0\substack{88.0\pm3.4\\+76.0} 79.0±2.0+71.0\substack{79.0\pm2.0\\+71.0} 83.3±3.6+78.0\substack{83.3\pm3.6\\+78.0}
JSON Llama 82.0 88.9±0.6+83.9\substack{\mathbf{88.9\pm0.6}\\+83.9} 88.7±0.2+86.3\substack{\mathbf{88.7\pm0.2}\\+86.3} 89.2±1.2+85.6\substack{\mathbf{89.2\pm1.2}\\+85.6} 84.3±1.5+40.5\substack{84.3\pm1.5\\+40.5} 88.0±3.0+83.9\substack{\mathbf{88.0\pm3.0}\\+83.9}

2. Expected accuracy. (W4, Q1) This is a fair point. We use expected accuracy (EAcc) for consistency with the LM+SMC literature (Loula et al. 2025, Lipkin et al. 2025): since an ff-ensemble defines a distribution over outputs, EAcc measures the mass it places on correct answers and is a strictly more informative, lower-variance summary than the accuracy of one draw. We agree that the single-sample number is the more commonly used, and report both, plus greedy decoding (computing the accuracy by using the highest-weight final particle), below.

Model Metric JSON BBH SPIDER
Llama EAcc (in paper) 88.9 ± 1.1 42.3 ± 0.9 41.9 ± 1.4
Llama Acc 91.0 ± 4.8 43.4 ± 3.6 42.2 ± 3.8
Llama Greedy 93.0 ± 4.6 39.0 ± 2.3 37.8 ± 2.7
Qwen EAcc (in paper) 95.7 ± 0.4 15.3 ± 2.0 51.2 ± 1.8
Qwen Acc 97.0 ± 1.5 15.2 ± 2.3 50.4 ± 3.2
Qwen Greedy 95.8 ± 1.4 16.0 ± 2.5 51.8 ± 1.6
Phi EAcc (in paper) 87.4 ± 0.3 28.2 ± 1.1 34.2 ± 0.7
Phi Acc 88.2 ± 0.6 29.7 ± 2.9 35.0 ± 3.0
Phi Greedy 88.8 ± 2.8 25.9 ± 3.5 30.8 ± 3.7

The three metrics agree closely, and none of the paper's conclusions change. Note that EAcc has visibly tighter intervals, which is precisely why we adopt it as the primary metric; we will report Acc alongside it in the camera-ready.

3. Coverage-seeking variants seldom improve over single-model baselines. (W2, W3) This is expected, and we agree §6.2 should make the argument more clear. For the sum ensemble, we show the reason theoretically. Namely, by Eq. 10, any weighted mixture has an expected accuracy ceiling equal to the weighted average of the base models'. The max ensemble has no closed-form bound, but the mechanism is analogous: since max⁡kpk(x)≥pj(x)\max_k p_k(x) \geq p_j(x) pointwise, normalization shifts mass toward strings on which only one expert is confident, i.e. exactly where the experts disagree and one is likely wrong. Coverage-seeking operators can inherit the union of both models' errors (which happens here), while consensus-seeking ones (τ≤0\tau \leq 0) suppress any string either expert rejects, which is desirable in this experimental setting.

4. Choosing between byte-level and character-level SMC. (Q2) To clarify: there is no choice to make here, as we operate in byte space throughout. Bytes are the finest common denominator and strictly more general than characters: under a fixed encoding, every character corresponds to one or more bytes, so the byte view refines the character view (cf. App. E, where each tokenized LM is mapped to a distribution over byte strings by marginalizing over the token sequences that decode to them). We use "character-level" and "byte-level" interchangeably in the paper for readability, and will make this clearer in the revision. The interesting trade-off that does arise is token-level vs. byte-level SMC. Token-level SMC is available only when the experts share a tokenizer (our within-model setting) and is considerably cheaper, since shorter sequences mean fewer SMC steps and model calls per string (Tab. 2). Byte-level SMC is what makes cross-family ensembling possible at all, as it removes two distortions: (i) different models segment the same string differently, so their token probabilities are not comparable; and (ii) a single model spreads mass across several valid tokenizations of the same byte string, so a token-level score is not the model's probability of that string (Phan et al. 2025; Vieira et al. 2025a,b). Byte-level SMC marginalizes over admissible tokenizations and therefore aggregates exactly the quantities the ff-ensemble is defined over. The fidelity gain accordingly grows with how far the experts' tokenizers diverge: when they are identical, both distortions largely vanish, and byte-level SMC does not improve over token-level in our within-model results (Tab. 5) despite costing substantially more. When they differ, byte-level is the only faithful option.

5. Memory footprint (Q3). In both (byte and token) variants, the footprint is dominated by the expert LMs (weights plus the inference engine's KV cache). Byte-level SMC additionally maintains, per model, a token->byte trie (built once, on the order of the vocabulary) and a pruned beam over tokenizations (beam width BB, set to 20 in our runs) to marginalize admissible segmentations. Since each beam hypothesis carries its own LM context, byte-level increases the number of concurrent contexts relative to token-level SMC, which is its main additional cost. This is bounded by the beam width and pruning threshold. In practice, the overhead is minor: our experiments ran on consumer-grade GPUs (App. G) without additional resources needed for serving the byte-level LMs. We defer a detailed cost analysis of tokenization-marginalized inference to Vieira et al. (2025b).

We hope that these additional clarifications, discussions, and results address the reviewer’s concerns!

Area Chair bDtC · CommentOpenReview ↗

Dear reviewer,

the authors have submitted their response to your review. Since the author-reviewer discussion period ends today, please review their rebuttal and let us know whether your concerns have been resolved. If appropriate, kindly update your review rating and post a brief comment reflecting your final stance before the discussion window closes

Reviewer s2XPOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces a framework for ensembling language models as global string-level distributions rather than local token-level combinations. It defines general f-ensembles over multiple language model probabilities and examines the generalized-mean families as the aggregation. The paper also proposes using sequential Monte Carlo inference to approximately sample from these global ensemble distributions. Experiments on multiple tasks suggest that consensus-seeking ensembles, especially min/product-style operators, can outperform probability averaging and sometimes improve over the best individual model or prompt.

Strengths and weaknesses

Strength

The paper reveals the misalignment between sampling from global string ensembles and locally next-token aggregation in LM ensemble.

The proposed f-ensemble formulation generalized existing ensemble aggregations in a shared character/byte space. The unified framework gives a useful conceptual lens for understanding why ensembles on various aggregations may behave differently from probability averaging.

On the design - the employment of SMC gives a coherent way to approximate globally defined ensemble distributions while still working with autoregressive language models, and the byte-level construction is also valuable because tokenizer mismatch is a real practical obstacle for cross-model ensembling.

Weakness

(some of them mentioned in the paper's Limitation section)

The empirical evidence is limited relative to the generality of the claims. It is unclear whether the conclusions transfer to open-ended generation, larger models, more than two experts. Also, the results show in many within-model experiments the local token level ensemble already exhibits good performance, the paper could further discuss this results and under which cases SMC help with the performance.

As shown in the results (Table 2), the method is computationally expensive and potentially token inefficient comparing to baseline methods.

Questions
  1. How are f operators selected in the “best f-ensemble” rows? Is this selection based on a held-out validation set or on the reported test tasks?

  2. Can you report generated-output accuracy in addition to expected accuracy under the weighted particle distribution? For practical use, it is important to know how often the method returns a correct final output.

  3. Can you show some ablations on how does performance scale with more than two experts?

Limitations

yes

Final justification

After considering the rebuttal, I raise my assessment to 5. The authors provide additional evidence addressing my concern about the operator selection, accuracy alignment and more than two experts scenarios. Given the scope of the paper, I think the results are sufficient to support the main claims. The remaining limitations, including computational overhead and the fact that byte-level SMC is not uniformly strongest, are appropriately acknowledged and do not undermine the core contribution.

Formatting concerns

No formatting concern

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for taking the time to engage with our work! We appreciate the overall positive assessment, especially the nice comments about the motivation and the design of the proposed method. We also appreciate some of the concerns raised by the reviewer, which we hope to address below:

1. How ff operators are selected. (Q1) This is indeed very practically relevant. In our experiment, we compute the full results for all ff (see Tab. 3) and simply report the best-performing ensemble for completeness. For larger datasets, this selection can be easily done with a randomly sampled held-out validation set. To show this, we run a small experiment on BBH: for each model we take the per-instance correctness of all four operators, draw a random validation subset of size nn, pick the operator with the highest accuracy on it, and measure both how often that matches the operator chosen on the full dataset and the resulting regret (the accuracy gap to the truly best operator, estimated on the full set), averaged over 2000 random subsets and the three models.

validation size nn P(selected = full-data best) mean regret
5 49% 1.18 pp
10 56% 0.83 pp
20 63% 0.58 pp
30 69% 0.46 pp
50 80% 0.29 pp

Even a tiny held-out set of 10–20 examples already selects a near-optimal operator (regret <1<1 pp), and the regret shrinks steadily as nn grows. This confirms that a small random validation set can be enough to choose ff reliably.

2. Generated output accuracy vs. expected accuracy. (Q2) We understand that reporting Accuracy (Acc) is important for consistency with other works in language model ensembling, and we will additionally report it in the next version of the draft. We would like to highlight that we use expected accuracy (EAcc) consistently with the LM+SMC literature (Loula et al. 2025, Lipkin et al. 2025), as this is a strictly more informative measure of the sampling distribution and lower variance than the raw accuracy. To show this, we compute the re-computed raw accuracy & greedy sampling and compare it to our expected accuracy below. The results and conclusions to be drawn don’t change significantly.

Model Metric JSON BBH SPIDER
Llama EAcc (in paper) 88.9 ± 1.1 42.3 ± 0.9 41.9 ± 1.4
Llama Acc 91.0 ± 4.8 43.4 ± 3.6 42.2 ± 3.8
Llama Greedy 93.0 ± 4.6 39.0 ± 2.3 37.8 ± 2.7
Qwen EAcc (in paper) 95.7 ± 0.4 15.3 ± 2.0 51.2 ± 1.8
Qwen Acc 97.0 ± 1.5 15.2 ± 2.3 50.4 ± 3.2
Qwen Greedy 95.8 ± 1.4 16.0 ± 2.5 51.8 ± 1.6
Phi EAcc (in paper) 87.4 ± 0.3 28.2 ± 1.1 34.2 ± 0.7
Phi Acc 88.2 ± 0.6 29.7 ± 2.9 35.0 ± 3.0
Phi Greedy 88.8 ± 2.8 25.9 ± 3.5 30.8 ± 3.7

The three metrics agree closely, and none of the paper's conclusions change. Note that EAcc has visibly tighter intervals, which is precisely why we adopt it as the primary metric.

3. Ablations with more than two experts. (Q3,W1) Concerning this point, we believe that our ablations in the K=2K=2 settings allow us to better isolate and characterize some of the ensemble's behavior. To complement this, we have now added a full, multi-seed ablation for K={2,…,6}K=\{2,\dots,6\} experts in the within-model ensembling setting on the three main ablation datasets (BBH, Spider, JSON), and intend to extend it to the remaining datasets. For each KK we report the best ensemble (mean over 3 seeds, ± 95% CI), and \+expert gives the standalone accuracy of the expert newly added at that step. The K=1K{=}1 column is the first expert alone. Bold marks ensembles that beat every single expert in the pool at that KK.

Consistent with the findings in the paper, ensembling helps in a majority of settings, and adding further experts generally continues to improve performance, with the size of the gain depending on how much the newly added expert complements the pool (as discussed in App. I.2 in the paper). The trend is clearest on Spider, where accuracy rises essentially monotonically from K=2K{=}2 to K=6K{=}6. Ensemble performance is still somewhat affected by weaker experts being added to the pool (e.g. JSON at larger KK), as also discussed in the paper.

task model K=1K{=}1 K=2K{=}2 K=3K{=}3 K=4K{=}4 K=5K{=}5 K=6K{=}6
Spider Qwen 43.8 51.3±0.9+56.6\substack{51.3\pm0.9\\+56.6} 51.5±1.2+36.8\substack{51.5\pm1.2\\+36.8} 53.0±1.3+61.3\substack{53.0\pm1.3\\+61.3} 54.7±1.4+56.6\substack{54.7\pm1.4\\+56.6} 54.1±0.2+58.5\substack{54.1\pm0.2\\+58.5}
Spider Phi 19.4 34.1±0.9+31.8\substack{\mathbf{34.1\pm0.9}\\+31.8} 34.6±0.8+18.1\substack{\mathbf{34.6\pm0.8}\\+18.1} 36.4±1.8+34.5\substack{\mathbf{36.4\pm1.8}\\+34.5} 37.1±1.2+39.9\substack{37.1\pm1.2\\+39.9} 38.3±2.1+40.4\substack{38.3\pm2.1\\+40.4}
Spider Llama 37.7 40.8±0.5+39.1\substack{\mathbf{40.8\pm0.5}\\+39.1} 42.6±1.0+32.2\substack{\mathbf{42.6\pm1.0}\\+32.2} 44.2±1.1+40.2\substack{\mathbf{44.2\pm1.1}\\+40.2} 44.4±1.4+39.0\substack{\mathbf{44.4\pm1.4}\\+39.0} 47.1±3.2+40.5\substack{\mathbf{47.1\pm3.2}\\+40.5}
BBH Qwen 14.1 14.9±0.3+10.0\substack{\mathbf{14.9\pm0.3}\\+10.0} 15.3±0.6+15.2\substack{\mathbf{15.3\pm0.6}\\+15.2} 13.5±1.3+12.7\substack{13.5\pm1.3\\+12.7} 14.8±1.0+12.1\substack{14.8\pm1.0\\+12.1} 13.7±0.3+14.8\substack{13.7\pm0.3\\+14.8}
BBH Phi 27.9 28.2±0.8+25.3\substack{\mathbf{28.2\pm0.8}\\+25.3} 31.0±0.4+27.1\substack{\mathbf{31.0\pm0.4}\\+27.1} 29.8±0.2+26.6\substack{\mathbf{29.8\pm0.2}\\+26.6} 30.1±1.7+23.9\substack{\mathbf{30.1\pm1.7}\\+23.9} 28.9±1.1+28.1\substack{\mathbf{28.9\pm1.1}\\+28.1}
BBH Llama 38.0 43.3±0.5+36.7\substack{\mathbf{43.3\pm0.5}\\+36.7} 44.8±1.0+40.9\substack{\mathbf{44.8\pm1.0}\\+40.9} 44.8±3.5+35.0\substack{\mathbf{44.8\pm3.5}\\+35.0} 45.4±0.6+32.5\substack{\mathbf{45.4\pm0.6}\\+32.5} 44.4±2.3+37.0\substack{\mathbf{44.4\pm2.3}\\+37.0}
JSON Qwen 95.5 95.8±0.2+93.8\substack{\mathbf{95.8\pm0.2}\\+93.8} 96.0±0.7+95.9\substack{\mathbf{96.0\pm0.7}\\+95.9} 95.5±0.2+93.0\substack{95.5\pm0.2\\+93.0} 91.6±0.9+67.8\substack{91.6\pm0.9\\+67.8} 91.1±1.6+94.8\substack{91.1\pm1.6\\+94.8}
JSON Phi 76.0 88.0±1.1+88.0\substack{88.0\pm1.1\\+88.0} 89.0±2.0+94.0\substack{89.0\pm2.0\\+94.0} 88.0±3.4+76.0\substack{88.0\pm3.4\\+76.0} 79.0±2.0+71.0\substack{79.0\pm2.0\\+71.0} 83.3±3.6+78.0\substack{83.3\pm3.6\\+78.0}
JSON Llama 82.0 88.9±0.6+83.9\substack{\mathbf{88.9\pm0.6}\\+83.9} 88.7±0.2+86.3\substack{\mathbf{88.7\pm0.2}\\+86.3} 89.2±1.2+85.6\substack{\mathbf{89.2\pm1.2}\\+85.6} 84.3±1.5+40.5\substack{84.3\pm1.5\\+40.5} 88.0±3.0+83.9\substack{\mathbf{88.0\pm3.0}\\+83.9}

4. When does SMC help over local ensembling. (W1) We would like to point out that the paper already provides this analysis; however, we agree that a better conceptual discussion could be interesting. Concretely, [RQ3] in §6.2 studies exactly under which conditions better global approximation (i.e., moving from local ensembling at M=1M{=}1 to SMC at larger MM) improves performance. There we show that for consensus-seeking operators, approximation quality correlates significantly with expected accuracy (Fig. 4, Tab. 6), i.e. SMC helps where local and global scoring disagree: as illustrated in §2, the local product favors continuations that are individually probable at each step but improbable as full strings, and SMC's reweighting corrects for this by concentrating compute on globally promising particles. On some of the more straightforward tasks with short generations, the local/global discrepancy is small, so local ensembling can perform comparably within-model; the gap widens when the discrepancy can accumulate over more generation steps, and we will make these conditions explicit in §6.2.

5. Computational cost. (W2) We acknowledge this practical concern and refer to the runtime analysis in App. G (Tab. 2). The overhead comes from maintaining MM particles and scales approximately linearly with MM, making it a knob to trade approximation quality for runtime; App. I.3 shows quality saturating at around 10-25 particles, with gains visible at smaller MM already. Wall-clock cost does not grow with the number of experts when models are served concurrently, so per-step latency is bounded by the slowest expert, exactly as in local ensembling baselines.

We hope that these additional clarifications, discussions, and results address the reviewer’s concerns!

Area Chair bDtC · CommentOpenReview ↗

Dear reviewer,

the authors have submitted their response to your review. Since the author-reviewer discussion period ends today, please review their rebuttal and let us know whether your concerns have been resolved. If appropriate, kindly update your review rating and post a brief comment reflecting your final stance before the discussion window closes

Reviewer s2XP · CommentOpenReview ↗

Thank authors for their rebuttals, my major concerns have been resolved and I have updated my score accordingly.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…