HellaSwag: A Benchmark Designed to Fool LLMs
HellaSwag is a commonsense benchmark designed to fool language models. It asks an AI to pick the most logical sentence ending, but the wrong answers are specifically generated to trick machines, not humans. It's used to test for true contextual understanding.
WHY IT EXISTS As language models improved, they began to achieve near-human scores on existing commonsense benchmarks. This gave a false impression that models had mastered reasoning. HellaSwag was created to provide a much harder test that reveals the gap between statistical pattern matching and true understanding.
THE MENTAL MODEL Think of HellaSwag as a Turing Test for commonsense. It presents a scenario and asks for the most logical next step. A human can easily spot a nonsensical sentence ending, but an LLM, trained on word co-occurrence, might be fooled. HellaSwag creates multiple-choice questions where the wrong answers are exactly the kind of plausible-sounding nonsense that LLMs tend to generate.
HOW IT WORKS The benchmark uses a technique called Adversarial Filtering (AF). For a given context, it generates many possible endings. Then, a series of discriminator models iteratively filter these endings, keeping the ones that are wrong but look most plausible to an AI. This creates a "Goldilocks" zone of distractors that are ridiculous to humans but often misclassified by state-of-the-art models.
WHEN TO USE IT Use HellaSwag to rigorously test an LLM's commonsense inference capabilities, especially when evaluating new foundational models. It's a strong diagnostic tool to see if a model's understanding is robust or brittle. A high score suggests a better grasp of contextual nuance than models that only do well on simpler tests.
WHEN NOT TO USE IT HellaSwag is not a measure of factual recall, creative writing ability, or mathematical reasoning. It is highly specific to commonsense completion in everyday scenarios. A model could score poorly on HellaSwag but still be excellent for tasks like code generation or document summarization.
ONE CANONICAL EXAMPLE Given a context like "A woman sits at a piano," the model must choose the most likely followup from four options. While a human would easily pick "She sets her fingers on the keys," a model might be tricked by an adversarially generated option. At its release, humans scored over 95% on HellaSwag, while top models of the time struggled to get above 48%, barely better than random guessing.
Read the original → arxiv.org
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.