PROJECT / 02Sequence models · Experimental research

Benchmarking xLSTM and hybrid sequence models

Architecture comparisons become useful when capacity, task, repeated runs, and uncertainty stay visible together.

Role
Research and implementation
Context
Independent academic benchmark
Period
2025
INTERACTIVE EVIDENCE

Compare the benchmark results.

Controlled experiments on hybrid xLSTM, LSTM, and Transformer blocks across associative recall and formal-language tasks.

Public experiment results
PRIMARY SELECTION / MM
MmLSTM
MmLSTM
original mLSTM + mLSTM
Ablation[SS]
Ablation[SM]
Ablation[MS]
Ablation[MM]
MQAR · context 128 · 32 key/value pairsmean ± 95% CI · choose up to four models
MQAR memory-capacity ablationsValidation accuracy at model dimensions 4, 8, and 16 for the configurations selected above.0255075100d = 4d = 8d = 16model dimension
d = 8

MM6 runs92.0%± 13.0

TT6 runs28.0%± 7.8

At d = 8, the model choice exposes the largest capacity differences; by d = 16, the recorded configurations converge.
THE QUESTION

Compare hybrid sequence blocks without reducing the result to a single score that hides width thresholds, task sensitivity, or run-to-run uncertainty.

HOW I APPROACHED IT
  1. 01

    Implemented repeatable benchmarks for Multi-Query Associative Recall and Chomsky-hierarchy formal languages.

  2. 02

    Compared block composition and embedding capacity under fixed training and validation settings.

  3. 03

    Stored individual experiment results as structured JSON and summarized repeated runs with mean and 95% confidence intervals.

TasksMQAR · Formal languages
MQAR runs5–7 per point
UncertaintyMean ± 95% CI
BOUNDARY / LIMITATION

The MQAR view reports the recorded N=128 ablation summaries with 95% confidence intervals over 5–7 runs per point. ST and TS have identical recorded values at each width, so their intervals have zero visible width. The formal-language view uses five runs per result.

TOOLS & METHODS
  • PyTorch
  • Python
  • xLSTM
  • Transformers
  • Jupyter
  • CUDA
Inspect the source repository