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

StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understanding

Jiayang Cheng, Lin Qiu, Tsz Ho Chan, Tianqing Fang, Weiqi Wang, Chunkit Chan, Dongyu Ru, Qipeng Guo, Hongming Zhang, Yangqiu Song, Yue Zhang, Zheng Zhang · DOI

Introduction

Analogical reasoning is a cornerstone of human cognition, allowing us to understand new concepts by relating them to familiar ones. While AI research has long explored word-level analogies—such as the classic "king is to man as queen is to woman"—these simple relationships fail to capture the complexity of narrative-level reasoning. Humans frequently use "story-level" analogies to explain the world; for instance, comparing a virus invading a cell to a burglar breaking into a house.

To bridge this gap, researchers have introduced STORYANALOGY, a large-scale dataset designed to evaluate whether Large Language Models (LLMs) can navigate deep relational structures or if they remain tethered to surface-level patterns. The study reveals a significant "reasoning gap": while humans excel at identifying structural similarities between unrelated narratives, even state-of-the-art models like ChatGPT struggle when faced with complex, story-driven analogies.

The Challenge: Structural vs. Surface Similarity

The fundamental difficulty in story-level analogy lies in the distinction between structural similarity and surface similarity. In the "burglar and the virus" example, the two subjects have nothing in common physically (surface similarity). However, they share a common underlying logic: an external agent enters a protected space to cause harm (structural similarity).

Building on Structure-Mapping Theory (SMT) from cognitive psychology, the authors define two metrics to quantify these relationships:

  1. Entity Similarity (EntSim): The degree to which two stories discuss the same types of objects or characters (e.g., both stories are about fruit).
  2. Relation Similarity (RelSim): The degree to which two stories share the same underlying plot logic or causal structure.

From these, they derived a formal Analogy Score ($\alpha$), defined as the ratio of RelSim to EntSim. A high-quality analogy is characterized by high relational similarity paired with low entity similarity, forcing the reasoner to look past the "fluff" of the narrative to the logic beneath.

The STORYANALOGY Dataset

STORYANALOGY consists of 24,388 story pairs, making it the first large-scale benchmark of its kind. The dataset was constructed using a human-in-the-loop pipeline. Researchers used GPT-3.5 to generate candidate story pairs based on "seed" examples from four diverse domains:

  • ProPara: Scientific processes (e.g., the stages of photosynthesis).
  • ROCStories: Everyday social narratives.
  • Word Analogy & ConceptNet: Abstract relational triples transformed into full-blown narratives.

These candidates were then filtered and annotated by human workers on Amazon Mechanical Turk to ensure high quality and to calculate precise EntSim and RelSim scores. This process resulted in a robust corpus that tests a model's ability to identify and generate analogies across scientific and social contexts.

Key Insights: The Reasoning Gap

The researchers' evaluation of current LLMs and embedding models yielded several critical insights into the current state of AI reasoning:

The Surface Similarity Trap

Standard sentence embedding models (such as SimCSE) and zero-shot LLMs are proficient at finding stories about the same topic. However, they are frequently "distracted" by shared keywords. When presented with "hard negatives"—distractor stories that use similar vocabulary to the source but possess a different underlying logic—LLMs almost invariably choose the distractor over the true analogy.

Benchmarking Performance

In multiple-choice tests, the performance gap between humans and machines is stark. Human participants achieved over 85% accuracy in identifying the correct analogy among distractors. In contrast, GPT-3.5 averaged only 37.1% accuracy, barely outperforming a 25% random baseline. This suggests that while LLMs are fluent, they lack a deep grasp of structural mapping.

Small Models and Fine-tuning

One of the most promising findings is that analogical reasoning can be taught. By fine-tuning a smaller model (FlanT5-xxl) on the STORYANALOGY dataset, researchers were able to achieve performance levels that matched or exceeded zero-shot ChatGPT in analogy generation. Furthermore, using contrastive learning (RoBERTa-CL) significantly improved a model's ability to identify analogies, though a gap with human performance remains.

Results in Generation and Identification

  • Identification: Models trained with contrastive learning on STORYANALOGY data proved much more resilient to surface-level distractors than their unsupervised counterparts.
  • Generation: Human evaluations of AI-generated analogies showed that fine-tuning improved "Analogy Quality" scores for the FlanT5 series by over 20%. This brought the smaller models to parity with the zero-shot capabilities of much larger models like ChatGPT.

Limitations and Future Directions

While STORYANALOGY is a significant step forward, the authors note that the dataset does not yet cover highly specialized domains such as legal precedents or complex biomedical literature, where analogy is a vital tool for explanation. Additionally, there is a trade-off between creativity and plausibility; as models were fine-tuned to be more "analogical," their tendency to generate slightly nonsensical or hallucinated stories increased.

Future research will likely explore "analogical prompting"—techniques that encourage LLMs to explicitly map entities between stories (e.g., "the virus is like the burglar")—to further bridge the gap between human-like structural understanding and machine-like pattern matching.

Summary updated

BibTeX
@inproceedings{cheng2023storyanalogy,
  author = {Jiayang Cheng and Lin Qiu and Tsz Ho Chan and Tianqing Fang and Weiqi Wang and Chunkit Chan and Dongyu Ru and Qipeng Guo and Hongming Zhang and Yangqiu Song and Yue Zhang and Zheng Zhang},
  title = {{StoryAnalogy: Deriving Story-level Analogies from Large Language Models to Unlock Analogical Understanding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.706},
}
Figure