ANALOGICAL - A Novel Benchmark for Long Text Analogy Evaluation in Large Language Models

Thilini Wijesiriwardene, Ruwan Wickramarachchi, Bimal G. Gajera, Shreeyash Mukul Gowaikar, Chandan Gupta, Aman Chadha, Aishwarya Naresh Reganti, Amit P. Sheth, Amitava Das · DOI

Introduction

In the foundational era of Natural Language Processing (NLP), word-level analogies served as the primary method for the intrinsic evaluation of semantic space. Benchmarks like word2vec were frequently tested on their ability to solve proportional analogies, such as king : queen :: man : woman. However, as the field evolved toward Large Language Models (LLMs), evaluation methodologies shifted toward extrinsic benchmarks like GLUE and SuperGLUE. While these benchmarks effectively measure performance on downstream tasks like sentiment analysis or question answering, they offer limited insight into how models organize internal semantic representations of complex, relational similarities in extended text.

To address this gap, researchers have introduced ANALOGICAL, a comprehensive benchmark designed to evaluate LLMs' ability to identify analogies across varying levels of linguistic complexity, ranging from simple word pairs to abstract metaphors and narratives.

The ANALOGICAL Taxonomy

The core of the ANALOGICAL benchmark is a six-level taxonomy that categorizes analogies by their structural and conceptual complexity:

  1. Word Level: Traditional word-level pairs (e.g., the BATS or Google datasets).
  2. Word vs. Sentence: Mapping a single abstract concept to its dictionary definition or a descriptive sentence.
  3. Syntactic: Comparing a sentence to a version of itself that has undergone random reordering, masking, or partial deletion.
  4. Negation: Testing whether a model can distinguish between a statement and its logical negation.
  5. Entailment: Recognizing the relational similarity between a premise and its logical consequence.
  6. Metaphor: The most complex level, requiring the model to map proverbs or quotes to explanatory narratives (e.g., matching the proverb "keep your powder dry" to a story about preparedness).

Methodology and Metrics

The study evaluated eight prominent LLMs—including BERT, RoBERTa, T5, and SpanBERT—in a zero-shot setting. Rather than fine-tuning the models, the researchers extracted embeddings from the [CLS] token and measured the distance between analogical pairs across 13 different datasets.

A significant contribution of this work is the critique of standard distance metrics. The authors argue that Cosine Similarity and Euclidean Distance are often inappropriate for LLM embeddings because the vector dimensions are frequently highly correlated. For instance, dimensions representing "Verb Consumption" may correlate strongly with "Noun Quantity." To account for these dependencies, the researchers advocate for the Mahalanobis Distance (MD), which provides a more accurate measure of semantic equivalence in high-dimensional, correlated spaces.

Key Findings

The experimental results reveal several critical insights into the current state of LLM semantic representation:

The Complexity Wall

There is a distinct "upward trend" in difficulty across the taxonomy. While most models perform exceptionally well at the Word level (Level 1), achieving mean MD values near zero (indicating high similarity), performance degrades significantly as the tasks become more abstract. By the Metaphor level (Level 6), six out of the eight models tested showed suboptimal performance, with MD values trending toward 1, indicating a failure to recognize deep relational similarities.

Abstraction and Negation Blindness

Level 2 (Word vs. Sentence) proved surprisingly challenging, suggesting that LLMs struggle to map concise abstract concepts to their expanded linguistic forms. Furthermore, the benchmark highlighted "negation blindness" in models like T5 and RoBERTa, which often placed sentences and their negations very close together in vector space, failing to capture the fundamental semantic shift caused by negation.

Model Performance

Among the models tested, SpanBERT emerged as the most robust across the taxonomy. It consistently outperformed larger and more recent architectures, particularly in handling compositionality and abstraction. Within the Syntactic level, random word reordering proved to be the most difficult task, demonstrating that models are highly sensitive to word order even when the vocabulary remains identical.

Conclusion and Future Directions

The ANALOGICAL benchmark highlights the relational limits of current LLMs. While these models are adept at surface-level associations, they struggle with the abstract reasoning required for complex metaphors and logical entailment.

The authors acknowledge certain limitations, such as the reliance on the [CLS] token for representation and the relatively simple nature of the syntactic datasets. Future research will focus on exploring alternative pooling strategies, such as mean pooling or prompt-based embeddings, and investigating the underlying architectural reasons why certain models handle abstraction more effectively than others. By reintroducing intrinsic evaluation through ANALOGICAL, the researchers provide a vital tool for understanding the internal semantic logic of the models that power modern AI.

Summary updated

BibTeX
@inproceedings{wijesiriwardene2023analogical,
  author = {Thilini Wijesiriwardene and Ruwan Wickramarachchi and Bimal G. Gajera and Shreeyash Mukul Gowaikar and Chandan Gupta and Aman Chadha and Aishwarya Naresh Reganti and Amit P. Sheth and Amitava Das},
  title = {{ANALOGICAL - A Novel Benchmark for Long Text Analogy Evaluation in Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.218},
}
Figure