NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AnaloBench: Benchmarking the Identification of Abstract and Long-context Analogies

Xiao Ye, Andrew Wang, Jacob Choi, Yining Lu, Shreya Sharma, Lingfeng Shen, Vijay Murari Tiyyala, Nicholas Andrews, Daniel Khashabi

Abstract

Humans regularly engage in analogical thinking, relating personal experiences to current situations (X is analogous to Y because of Z). Analogical thinking allows humans to solve problems in creative ways, grasp difficult concepts, and articulate ideas more effectively. Can language models (LMs) do the same? To answer this question, we propose AnaloBench, a benchmark to determine analogical reasoning ability in LMs. Our benchmarking approach focuses on aspects of this ability that are common among humans: (i) recalling related experiences from a large amount of information, and (ii) applying analogical reasoning to complex and lengthy scenarios. We test a broad collection of proprietary models (e.g., GPT family, Claude V2) and open source models such as LLaMA2. As in prior results, scaling up LMs results in some performance boosts. Surprisingly, scale offers minimal gains when analogies involve lengthy scenarios or require recalling relevant scenarios from a large pool of information—a process analogous to finding a needle in a haystack. We hope these observations encourage further research in this field.

Introduction

Analogical reasoning—the ability to relate a new situation to a past experience based on shared relational patterns—is a cornerstone of human intelligence. While Large Language Models (LLMs) have demonstrated proficiency in word-level analogies (e.g., man : woman :: king : queen), their ability to identify abstract analogies buried within complex, natural language narratives remains under-explored. Previous benchmarks often relied on simple surface-level word matching or focused on short sentences, failing to capture the "long-context" challenge inherent in human reasoning.

To address this, we introduce AnaloBench, a rigorous benchmark designed to evaluate whether LLMs can identify abstract analogies within long stories, even when characters, settings, and literal events differ entirely. Our findings reveal a striking "reasoning gap": while scaling models improves performance on short analogies, even the most advanced LLMs struggle as story length increases—a task that humans actually find easier with more detail.

The AnaloBench Framework

Dataset Construction

We developed a multi-stage pipeline to ensure the quality and complexity of AnaloBench:

  1. Seed Collection: Human authors created 340 high-quality "seed" analogies consisting of short sentence pairs.
  2. Clustering: These pairs were organized into 47 clusters of mutually analogous concepts to establish an objective ground truth.
  3. Story Expansion: To test long-context reasoning, we utilized GPT-4 to expand these seeds into detailed 10-sentence and 30-sentence stories. We verified that these expanded narratives logically entailed the original relational meaning of the seeds.

Task Design

AnaloBench evaluates models through two distinct challenges:

  • Task 1 ($T_1$) - Selection: Given a target story, the model must identify the analogous story from four multiple-choice options.
  • Task 2 ($T_2$) - Retrieval: Given a target story, the model must retrieve the top 10 analogous stories from a "bank" of 200 candidates. This simulates the human ability to recall relevant past experiences from memory.

Key Findings

The Length Penalty vs. The Human Advantage

A primary insight from our study is the "Length Penalty." For LLMs, additional information often acts as noise. As story length increased from 1 sentence to 30, model performance plummeted. Conversely, human annotators reported that the 30-sentence stories were easier to process than the 10-sentence versions. For humans, the extra detail helped disambiguate the underlying analogy, whereas for models, it obscured the "relational thread."

The Scaling Plateau

While increasing model parameters (e.g., moving from a 7B to a 70B model) yields significant gains on short-form analogies, these benefits largely disappear in long-context scenarios. On the 30-sentence task, the performance of even the largest open-source models approached the random-guess baseline (25%).

Retrieval as the "Final Boss"

In the $T_2$ retrieval task, performance dropped even more sharply. GPT-4’s Mean Average Precision (MAP) fell from 55.4% on 1-sentence tasks to a dismal 10.8% on 30-sentence tasks. This suggests that "finding a needle in a haystack" is significantly more difficult for AI when the "needle" is an abstract relational concept rather than a literal fact or keyword.

Results Summary

We evaluated 12 open-source models (including LLaMA2 and Tulu2) and 3 proprietary models (GPT-4, GPT-3.5, and Claude-v2):

  • Human-AI Gap: On short tasks, GPT-4 (89.1%) nearly matched human performance (96%). However, on 30-sentence tasks, the gap widened to 29% (Human 73.3% vs. GPT-4 60.7%).
  • Open Source Performance: The best-performing open-source model, Tulu2-70B, achieved 71.8% on short analogies but crashed to 31.5% on long-context versions.

Conclusion and Future Work

AnaloBench highlights a critical limitation in current LLM architectures: the inability to maintain abstract relational reasoning across long contexts. While models are becoming better at processing large volumes of data, they struggle to "distill" that data into the abstract patterns required for complex analogy. Future research should focus on architectures or prompting strategies that prioritize relational abstraction over literal token attention, moving closer to the robust analogical capabilities of the human mind.

Summary updated

BibTeX
@inproceedings{ye2024analobench,
  author = {Xiao Ye and Andrew Wang and Jacob Choi and Yining Lu and Shreya Sharma and Lingfeng Shen and Vijay Murari Tiyyala and Nicholas Andrews and Daniel Khashabi},
  title = {{AnaloBench: Benchmarking the Identification of Abstract and Long-context Analogies}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=XeFgwhs67p},
}
Figure