CLJun 5, 2025

RELIC: Evaluating Compositional Instruction Following via Language Recognition

arXiv:2506.05205v13 citationsh-index: 18
Originality Incremental advance
AI Analysis

This addresses the need for robust evaluation of instruction following in LLMs, though it is incremental as it builds on existing evaluation methods.

The paper tackles the problem of evaluating large language models' ability to follow compositional instructions by introducing the RELIC framework, which uses language recognition tasks with synthetic grammars, and finds that even advanced models perform near chance on complex grammars, relying on shallow heuristics.

Large language models (LLMs) are increasingly expected to perform tasks based only on a specification of the task provided in context, without examples of inputs and outputs; this ability is referred to as instruction following. We introduce the Recognition of Languages In-Context (RELIC) framework to evaluate instruction following using language recognition: the task of determining if a string is generated by formal grammar. Unlike many standard evaluations of LLMs' ability to use their context, this task requires composing together a large number of instructions (grammar productions) retrieved from the context. Because the languages are synthetic, the task can be increased in complexity as LLMs' skills improve, and new instances can be automatically generated, mitigating data contamination. We evaluate state-of-the-art LLMs on RELIC and find that their accuracy can be reliably predicted from the complexity of the grammar and the individual example strings, and that even the most advanced LLMs currently available show near-chance performance on more complex grammars and samples, in line with theoretical expectations. We also use RELIC to diagnose how LLMs attempt to solve increasingly difficult reasoning tasks, finding that as the complexity of the language recognition task increases, models switch to relying on shallow heuristics instead of following complex instructions.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes