Four-term word analogies (A:B::C:D) are classically modeled geometrically as parallelograms: adding the vector B-A+C produces D. Recent work suggests that this model poorly captures how humans produce analogies, with simple local-similarity heuristics often providing a better account (Peterson et al., 2020). But does the parallelogram model fail because it is a bad model of analogical relations, or because people are not very good at generating relation-preserving analogies? We compared human and large language model (LLM) analogy completions on the set of problems from Peterson et al. (2020). We find that LLM-generated analogies are reliably judged as better than human-generated ones, and are also more consistent with parallelograms in a distributional embedding space. Crucially, we show that the improvement over human analogies is driven by greater parallelogram alignment and reduced reliance on accessible words rather than enhanced sensitivity to local similarity. Finally, fine-tuning GloVe to better satisfy the parallelogram constraint makes the model's top-ranked candidates more likely to be the completions humans and LLMs actually produced, and improves its prediction of human ratings. Overall, these results provide support for the parallelogram model of word analogies.
Figures & tables
Category
Subtype 1
Subtype 2
Class-Inclusion
Taxonomic ( flower : tulip )
Class:Individual ( queen : Elizabeth )
Part-Whole
Object:Component ( car : engine )
Collection:Member ( forest : tree )
Similar
Synonymy ( car : auto )
Dimensional Similarity ( simmer : boil )
Contrast
Contrary ( old : young )
Reverse ( attack : defend )
Attribute
Item:Attribute ( beggar : poor )
Object:State ( beggar : poverty )
Non-Attribute
Item:Nonattribute ( harmony : discordant )
Object:Nonstate ( laureate : dishonor )
Table 1: Semantic relation categories included from SemEval-2012 Task 2 ( jurgens2012semeval ) .
Figure 1: Human–LLM similarity varies across semantic relations. Center: cosine similarity between frequency-weighted centroids of human and LLM analogy completions across the 20 SemEval-2012 semantic relation types. Darker colors indicate greater similarity. Insets: example response distributions for humans and LLMs (bar lengths = proportion of responses). Black bars indicate proportion of each response provided by people.
Figure 2: Relational-similarity ratings for LLM versus human analogy completions. Mean rating differences (LLM − Human) by relation type for six LLMs. Dotted lines show average effects across all relations. *** p<.001 , ** p<.01 , * p<.05 , n.s. = not significant.
Figure 3: Performance of humans and six LLMs on three GloVe-based analogy metrics. Bar charts show mean rank with 95% confidence intervals (lower is better). Insets display cumulative proportion of responses retrieved as a function of rank percentage (log scale).
Figure 5: Sharpening the parallelogram improves retrieval of human and LLM completions. (a) Percentage of held-out responses retrieved within the top 1/10/100 neighbors under the parallelogram, C : D similarity, and a nearest-neighbor heuristic, before (faded) and after (saturated) fine-tuning. (b) Cumulative proportion retrieved vs. rank for humans (top) and LLMs (bottom, aggregated across six models); solid = after, dashed = before, shading = fine-tuning’s gain. Vertical dashed lines mark the rank at which C : D similarity overtakes the parallelogram; fine-tuning pushes this crossover much further down the list, extending the range over which the parallelogram remains the best predictor.
Analogies help learners understand unfamiliar concepts by relating them to known concepts. Despite recent advances, large language models (LLMs) continue to struggle to generate analogies of comparable quality to those produced by humans. We present a modular pipeline for educational analogy generation, decomposing the task into four stages: source finding, sub-concept generation, explanation generation, and evaluation. Grounded in Structure Mapping Theory, the pipeline enables systematic, stage-by-stage analysis of how model choice and input configuration affect analogy quality. We evaluate 12 state-of-the-art LLMs across six model families on two datasets with structured sub-concept annotations (SCAR and ParallelPARC), alongside seven embedding models for closed-setting retrieval. Our results show that sub-concepts substantially improve explanation quality and closed setting retrieval precision but provide limited benefit in open-ended source generation. We further introduce an LLM-as-a-judge evaluation methodology and validate its scoring against human annotations from seven annotators, finding that Claude Sonnet 4.6 aligns more reliably with human rankings than with fine-grained absolute scores. Taken together, our findings reveal cross-stage interactions that isolated studies cannot capture, and highlight sub-concept grounding as a key driver of analogy quality generation.
Mariam Barakat, Ekaterina Kochmar
Mohamed bin Zayed University of Artificial Intelligence, UAE
Anaphors are expressions that refer to other expressions, called antecedents. The process of connecting the two is called resolution. Cognitive science has identified multiple factors that affect the speed and success of anaphor resolution, including discourse structure, situation-model properties, and semantic factors. Here, we investigate whether these factors also affect anaphor resolution in five Large Language Models (LLMs) with open weights: GPT-2-XL, Llama-3.1-8B, Pythia-12B, Mistral-7B, and Mistral-24B. To model processing difficulty, we adopt the standard linking hypothesis that relates human reading times to model surprisal at the anaphor. As a second behavioral measure, we compare model accuracy to human accuracy on comprehension questions probing the antecedents of anaphors. The results show selective cognitive alignment: some LLMs exhibit human-like sensitivity to discourse prominence and distance-based factors in anaphor resolution, while showing weaker or absent sensitivity to semantic interference effects. These findings delimit the conditions under which LLMs approximate human anaphor resolution.
Understanding reasoning in large language models is complicated by evaluations that conflate multiple reasoning types. We isolate analogical reasoning, where a model transfers an attribute between entities that share known properties, and study when such transfer can emerge from training. To make the problem analytically tractable, we study a minimal transformer-style abstraction that isolates how learned representations support analogical reasoning. Within this setting, we prove three key results. First, joint training on similarity and attribution premises enables analogical reasoning through aligned representations. Second, sequential training succeeds only when similarity structure is learned before specific attributes, revealing a curriculum asymmetry. Third, in our stylized setting, two-hop reasoning (a→b,b→c⇒a→c) can be viewed as analogical reasoning with identity bridges (b=b), which appear explicitly in training data. Together, these results reveal a unified mechanism: entities with shared properties become aligned in representation space, enabling property transfer through feature resemblance. Experiments with architectures up to 8B parameters show qualitative agreement with the theory and suggest that representational geometry plays an important role in analogical reasoning beyond the stylized model.
Ruichen Xu, Wenjing Yan, Ying-Jun Angela Zhang
Department of Information Engineering, The Chinese University of Hong Kong, Hong Kong.