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.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/swimba-standard-bench-eval6 skill_kind: dataset_eval7 source_arxiv: 2603.069388 bibtex_key: du2026swimba9 confidence: high10---1112# swimba-standard-bench-eval1314> Swimba: Switch Mamba Model Scales State Space Models — Du et al. (2026) (arXiv:2603.06938, 2026)1516## What this evaluates1718Evaluates 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.1920## Datasets2122- **BoolQ** — total ?; splits: test (-1)23- **OpenBookQA** — total ?; splits: test (-1)24- **RTE** — total ?; splits: test (-1)25- **MMLU** — total ?; splits: test (-1)26- **PIQA** — total ?; splits: test (-1)27- **WinoGrande** — total ?; splits: test (-1)28- **HellaSwag** — total ?; splits: test (-1)29- **ARC-Challenge** — total ?; splits: test (-1)30- **ARC-Easy** — total ?; splits: test (-1)3132## Metrics3334- `Accuracy` **(primary)** — range: [0, 1]35 - The fraction of examples where the correct choice has the highest total log-likelihood.36- `Normalized accuracy` — range: [0, 1]37 - 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.3839## Input / output format4041**Input**: Multiple-choice questions or prompts with candidate answers, processed via LM-Evaluation-Harness.4243**Output**: Log-likelihood scores for each candidate answer choice.4445## Scoring recipe4647```python48def compute_accuracy(lls, gold_idx):49 return int(np.argmax(lls) == gold_idx)5051def compute_normalized_accuracy(lls, lengths, gold_idx):52 norm_lls = [ll / length for ll, length in zip(lls, lengths)]53 return int(np.argmax(norm_lls) == gold_idx)5455# Aggregate over dataset56acc_scores = [compute_accuracy(pred['lls'], gold) for pred, gold in zip(predictions, golds)]57norm_acc_scores = [compute_normalized_accuracy(pred['lls'], pred['lengths'], gold) for pred, gold in zip(predictions, golds)]58return sum(acc_scores) / len(golds), sum(norm_acc_scores) / len(golds)59```6061## Common pitfalls6263- Using greedy decoding or generation-based accuracy instead of log-likelihood evaluation, which LM-Evaluation-Harness requires for multiple-choice tasks.64- Ignoring length normalization when computing normalized accuracy, leading to inflated scores for longer answer choices.65- Reporting single-run results without standard deviations, whereas the paper explicitly reports subscripts for standard deviation across runs.6667## Evidence (verbatim from paper)6869> 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 bytes7071## Citation7273```bibtex74@misc{du2026swimba,75 title={Swimba: Switch Mamba Model Scales State Space Models},76 author={Du et al. (2026)},77 year={2026},78 note={arXiv:2603.06938}79}80```8182- arXiv: 2603.06938