RULER 4k

PaperImplementation

Progress Over Time

Interactive timeline showing model performance evolution on RULER 4k

No timeline data available

RULER 4k Leaderboard

0 models
ContextCostLicense
Notice missing or incorrect data?
About this benchmark

What is RULER 4k?

RULER 4k evaluates the official 13-task RULER v1 suite at a 4096-token context budget.

RULER 4k is a text benchmark evaluating models on long context and reasoning tasks. LLM Stats tracks 0 models on this benchmark, scored on a 0–1 scale.

Compare leaders on the best AI for long context and best AI for reasoning leaderboards.

Source paper

Title
RULER: What's the Real Context Size of Your Long-Context Language Models?
Authors
Cheng-Ping Hsieh, Simeng Sun, Samuel Kriman, Shantanu Acharya, and 4 others
Published
Abstract

The needle-in-a-haystack (NIAH) test, which examines the ability to retrieve a piece of information (the "needle") from long distractor texts (the "haystack"), has been widely adopted to evaluate long-context language models (LMs). However, this simple retrieval-based test is indicative of only a superficial form of long-context understanding. To provide a more comprehensive evaluation of long-context LMs, we create a new synthetic benchmark RULER with flexible configurations for customized sequence length and task complexity. RULER expands upon the vanilla NIAH test to encompass variations with diverse types and quantities of needles. Moreover, RULER introduces new task categories multi-hop tracing and aggregation to test behaviors beyond searching from context. We evaluate 17 long-context LMs with 13 representative tasks in RULER. Despite achieving nearly perfect accuracy in the vanilla NIAH test, almost all models exhibit large performance drops as the context length increases. While these models all claim context sizes of 32K tokens or greater, only half of them can maintain satisfactory performance at the length of 32K. Our analysis of Yi-34B, which supports context length of 200K, reveals large room for improvement as we increase input length and task complexity. We open source RULER to spur comprehensive evaluation of long-context LMs.

FAQ

Common questions about the RULER 4k benchmark and leaderboard.

What is the RULER 4k benchmark?

RULER 4k evaluates the official 13-task RULER v1 suite at a 4096-token context budget.

Where can I find the RULER 4k paper?

The RULER 4k paper is available at https://arxiv.org/abs/2404.06654. The paper details the methodology, dataset construction, and evaluation criteria.

Where can I find the RULER 4k dataset?

The RULER 4k dataset is available at https://github.com/NVIDIA/RULER.

What categories does RULER 4k cover?

RULER 4k is categorized under long context and reasoning. The benchmark evaluates text models.

What's the difference between RULER 4k and RULER?

RULER 4k is a variant of RULER. See the RULER leaderboard for the broader benchmark and per-model comparison.