Research
Blackbird Language Matrices: Testing the Limits of AI Language Learning
Can machines learn language like humans? An SNSF Advanced Grant project led by Paola Merlo at Idiap investigates how well AI can recognize linguistic patterns, learn from few examples, and generalize across languages. To assess these abilities, the team developed Blackbird Language Matrices, a set of language-based tests inspired by human intelligence assessments.
Publication
November 24, 2026

Humans can recognize patterns, infer underlying rules, and apply what they learn to unfamiliar situations. Paola's research explores whether AI can demonstrate similar abilities, particularly by identifying regularities in unstructured data, generalizing from limited examples, and applying abstract rules across languages.

To assess these capabilities, Paola and her team developed new tasks and datasets to test how well neural networks and Large Language Models (LLMs) generalize and handle complex compositional reasoning.

Their approach draws inspiration from Raven's Progressive Matrices (RPMs), widely used visual intelligence tests that assess abstract reasoning and pattern recognition. Participants are shown a matrix of images with one element missing and must identify the correct completion from several options.

Adapting this concept to language, the team developed Blackbird Language Matrices (BLMs), a set of tests designed to evaluate how machines recognize and apply linguistic patterns. Rather than interpreting visual elements, models must identify linguistic components, such as noun phrases and verbs, recognize their attributes (for example, singular and plural forms), and infer the patterns governing how these elements combine and alternate.

The results reveal an intriguing picture. While some models achieve superhuman performance on certain tasks, they can struggle to find the correct solution in others. Human participants, by comparison, tend to demonstrate more consistent performance across the different tests. This contrast highlights an important limitation of current AI systems: strong performance in one area does not necessarily translate into a general ability to reason, abstract, and generalize across different linguistic situations.

The researchers have also developed Blackbird Language Matrices for several languages. This makes it possible to conduct comparative studies across languages and investigate whether models can identify abstract linguistic principles that apply beyond the language on which they were trained.

The project has benefited from Idiap's multidisciplinary research environment and the expertise of its research groups, particularly the Natural Language Understanding (NLU) group. Future work will explore collaborations with the Neuro-Symbolic AI group to investigate new approaches to these challenges.