swimba-standard-bench-eval
Swimba: Switch Mamba Model Scales State Space Models — Du et al. (2026) (arXiv:2603.06938, 2026)
What this evaluates
Evaluates language understanding, reasoning, and knowledge recall capabilities of a Switch Mamba model on standard multiple-choice benchmarks. It also measures inference efficiency (throughput, latency, FLOPs) to assess the computational trade-offs of the parameter-space mixture-of-experts design.
Datasets
- BoolQ — total ?; splits: test (-1)
- OpenBookQA — total ?; splits: test (-1)
- RTE — total ?; splits: test (-1)
- MMLU — total ?; splits: test (-1)
- PIQA — total ?; splits: test (-1)
- WinoGrande — total ?; splits: test (-1)
- HellaSwag — total ?; splits: test (-1)
- ARC-Challenge — total ?; splits: test (-1)
- ARC-Easy — total ?; splits: test (-1)
Metrics
Accuracy (primary) — range: [0, 1]
- The fraction of examples where the correct choice has the highest total log-likelihood.
Normalized accuracy — range: [0, 1]
- The fraction of examples where the correct choice has the highest length-normalized log-likelihood, computed by dividing each choice log-likelihood by its answer length in bytes.
Input / output format
Input: Multiple-choice questions or prompts with candidate answers, processed via LM-Evaluation-Harness.
Output: Log-likelihood scores for each candidate answer choice.
Scoring recipe
def compute_accuracy(lls, gold_idx):
return int(np.argmax(lls) == gold_idx)
def compute_normalized_accuracy(lls, lengths, gold_idx):
norm_lls = [ll / length for ll, length in zip(lls, lengths)]
return int(np.argmax(norm_lls) == gold_idx)
# Aggregate over dataset
acc_scores = [compute_accuracy(pred['lls'], gold) for pred, gold in zip(predictions, golds)]
norm_acc_scores = [compute_normalized_accuracy(pred['lls'], pred['lengths'], gold) for pred, gold in zip(predictions, golds)]
return sum(acc_scores) / len(golds), sum(norm_acc_scores) / len(golds)
Common pitfalls
- Using greedy decoding or generation-based accuracy instead of log-likelihood evaluation, which LM-Evaluation-Harness requires for multiple-choice tasks.
- Ignoring length normalization when computing normalized accuracy, leading to inflated scores for longer answer choices.
- Reporting single-run results without standard deviations, whereas the paper explicitly reports subscripts for standard deviation across runs.
Evidence (verbatim from paper)
For performance with LM-Evaluation-Harness, we report accuracy, the fraction of examples where the correct choice has the highest total log-likelihood; and normalized accuracy, the fraction of examples where the correct choice has the highest length-normalized log-likelihood, computed by dividing each choice log-likelihood by its answer length in bytes
Citation
@misc{du2026swimba,
title={Swimba: Switch Mamba Model Scales State Space Models},
author={Du et al. (2026)},
year={2026},
note={arXiv:2603.06938}
}
1---2name: swimba-standard-bench-eval3description: Evaluates language understanding, reasoning, and knowledge recall capabilities of a Switch Mamba model on standard multiple-choice benchmarks. It also measures inference efficiency (throughput, latency, FLOPs) to assess the computational trade-offs of the parameter-space mixture-of-experts design. Use when the user wants to benchmark on BoolQ, OpenBookQA, RTE, MMLU, PIQA, WinoGrande, HellaSwag, ARC-Challenge, ARC-Easy, or asks about evaluating this task. Reports Accuracy.4---56# swimba-standard-bench-eval78> Swimba: Switch Mamba Model Scales State Space Models — Du et al. (2026) (arXiv:2603.06938, 2026)910## What this evaluates1112Evaluates language understanding, reasoning, and knowledge recall capabilities of a Switch Mamba model on standard multiple-choice benchmarks. It also measures inference efficiency (throughput, latency, FLOPs) to assess the computational trade-offs of the parameter-space mixture-of-experts design.1314## Datasets1516- **BoolQ** — total ?; splits: test (-1)17- **OpenBookQA** — total ?; splits: test (-1)18- **RTE** — total ?; splits: test (-1)19- **MMLU** — total ?; splits: test (-1)20- **PIQA** — total ?; splits: test (-1)21- **WinoGrande** — total ?; splits: test (-1)22- **HellaSwag** — total ?; splits: test (-1)23- **ARC-Challenge** — total ?; splits: test (-1)24- **ARC-Easy** — total ?; splits: test (-1)2526## Metrics2728- `Accuracy` **(primary)** — range: [0, 1]29 - The fraction of examples where the correct choice has the highest total log-likelihood.30- `Normalized accuracy` — range: [0, 1]31 - The fraction of examples where the correct choice has the highest length-normalized log-likelihood, computed by dividing each choice log-likelihood by its answer length in bytes.3233## Input / output format3435**Input**: Multiple-choice questions or prompts with candidate answers, processed via LM-Evaluation-Harness.3637**Output**: Log-likelihood scores for each candidate answer choice.3839## Scoring recipe4041```python42def compute_accuracy(lls, gold_idx):43 return int(np.argmax(lls) == gold_idx)4445def compute_normalized_accuracy(lls, lengths, gold_idx):46 norm_lls = [ll / length for ll, length in zip(lls, lengths)]47 return int(np.argmax(norm_lls) == gold_idx)4849# Aggregate over dataset50acc_scores = [compute_accuracy(pred['lls'], gold) for pred, gold in zip(predictions, golds)]51norm_acc_scores = [compute_normalized_accuracy(pred['lls'], pred['lengths'], gold) for pred, gold in zip(predictions, golds)]52return sum(acc_scores) / len(golds), sum(norm_acc_scores) / len(golds)53```5455## Common pitfalls5657- Using greedy decoding or generation-based accuracy instead of log-likelihood evaluation, which LM-Evaluation-Harness requires for multiple-choice tasks.58- Ignoring length normalization when computing normalized accuracy, leading to inflated scores for longer answer choices.59- Reporting single-run results without standard deviations, whereas the paper explicitly reports subscripts for standard deviation across runs.6061## Evidence (verbatim from paper)6263> For performance with LM-Evaluation-Harness, we report accuracy, the fraction of examples where the correct choice has the highest total log-likelihood; and normalized accuracy, the fraction of examples where the correct choice has the highest length-normalized log-likelihood, computed by dividing each choice log-likelihood by its answer length in bytes6465## Citation6667```bibtex68@misc{du2026swimba,69 title={Swimba: Switch Mamba Model Scales State Space Models},70 author={Du et al. (2026)},71 year={2026},72 note={arXiv:2603.06938}73}74```7576- arXiv: 2603.06938