Skip to content
OpenTrain AIFor AI Companies

HGRN2: Gated Linear RNNs with State Expansion

Published Apr 1, 2024
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few hours
Fast first run
Risk flags
0
None detected

Results and benchmarks

Freshness tier: cold
HGRN2: Gated Linear RNNs with State Expansion is the primary contribution described in this paper.
Task Dataset Metric Value Source
Gated Linear Rnns State Expansion Transformer Perplexity 24.40 paper-derived
Language modeling Complex HGRN1 Perplexity 24.14 paper-derived
Language modeling Real HGRN1 Perplexity 25.34 paper-derived
Gated Linear Rnns State Expansion 10 billion tokens from Pile Perplexity 4.62 paper-derived

Audit each benchmark finding before selecting an implementation path. Evidence refs map to the disclosure below.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Strong

🚀 Efficient implementations for emerging model architectures

5,623 stars · 672 forks · Last push Aug 25, 2026 · MIT license

  • License
  • CI
  • Dependencies
  • Docker

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Community adoption signal (5623 stars)

Why this implementation
Confidence: high

sustcsonglin/flash-linear-attention is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (MIT).

Open sustcsonglin/flash-linear-attention
Reproduction risks
  • No repository-level red flags were detected, but paper-specific preprocessing and hyperparameter details may still be under-specified.
  • Selected sustcsonglin/flash-linear-attention as the strongest maintained implementation for new work.
  • Includes CI workflow signals.
  • Includes dependency/environment manifest signals.
  • Repository activity is within the last 24 months.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

Maintenance
Active
Confidence
High
Reproducibility
Strong
Stars
5,623
Last push
Aug 25, 2026 (1d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No Docker setup
Maintenance
Active
Confidence
Low
Reproducibility
Strong
Stars
5,618
Last push
Aug 23, 2026 (3d)

Community adoption signal (5618 stars)

  • No Docker setup
  • Low confidence match
opennlplab/hgrn2
historical official
Maintenance
Stale
Confidence
High
Reproducibility
Limited
Stars
59
Last push
Aug 20, 2024 (737d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases

Reproduction readiness

Time to first repro: hours
Last checked: Aug 26, 2026

Ready to run

Ready to reproduce

  • Clone sustcsonglin/flash-linear-attention and install dependencies from pyproject.toml.
  • CI pipeline detected, so automated tests are in place.
  • Last updated 1 days ago.
Open sustcsonglin/flash-linear-attention

Quick start

git clone https://github.com/sustcsonglin/flash-linear-attention.git
pip install -e .

Repositories and ecosystem

No additional verified repositories beyond the primary recommendation.

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

Gated Linear Rnns State Expansion, Language modeling

Methods

None detected

Domains

None detected

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).