arXiv:2610.01383cs.AIOct 2026

Manuscript Offprint

arXiv:2610.01383

PRISM: A Category-Theoretic Framework for Measuring and Refining Multimodal Analogies

Mirella Zeisler, Ojas Shirekar, Mircea Licǎ, Chirag Raman

ABSTRACT

Analogical reasoning involves identifying and preserving relational structures across domains. However, existing approaches to AI-driven multimodal analogy generation lack an interpretable measure of whether this structure is understood and maintained in the generated output. We address this gap with Pullback Refinement via Interpretable Structural Mapping (PRISM), a modality-agnostic framework for measuring and improving relational alignment in multimodal analogies, evaluated on visual metaphor generation. PRISM represents analogies as explicit relational mappings grounded in category theory and uses VLMs to instantiate these structures across modalities. Its first component, the pullback score, quantifies relational alignment from the resulting graph representation. On the AnaloBench benchmark, selecting the correct analogy purely by pullback score achieves 82.5% accuracy, demonstrating that the score captures meaningful relational information. PRISM's second component is an iterative refinement loop that uses the pullback score as an in-context feedback signal to iteratively revise the generated image towards greater relational depth. VLM-as-a-judge and human evaluations show that PRISM consistently improves metaphor consistency and analogy appropriateness over zero-shot generation, with human participants preferring the refined output in 57.65% of pairwise comparisons. However, a qualitative analysis reveals that refinement can favour visually crowded compositions rather than genuinely deeper relational correspondences.

1 INTRODUCTION

Human cognition is deeply rooted in analogical reasoning, which is the ability to identify and transfer relational structures across domains. Already present in young infants, it is central to learning, creativity and generalisation (Gentner & Hoyos, 2017). An analogy operates not by matching surface-level features, but instead by aligning the underlying relational structure between a source and a target domain (Gentner, 1983). This relational abstraction enables humans to apply knowledge across vastly different contexts, from scientific reasoning to creative expression. As AI systems are increasingly deployed in open-ended, multi-domain settings, the ability to reason analogically in a similarly generalisable manner becomes a critical capability.

Advances in large language model (LLMs) and vision-language model (VLMs) capabilities have produced systems that perform strongly on a wide range of tasks, including several benchmarks designed to probe analogical reasoning (Qin et al., 2025; Musker et al., 2025). However, strong benchmark performance does not necessarily imply genuine relational abstraction. There is growing evidence that models exploit statistical regularities in training data rather than performing true structural inference (Mitchell, 2021; Lewis & Mitchell, 2024). This distinction is especially pronounced in the multimodal setting, where recent work shows that current VLMs still struggle to generalise relational rules across visual transformations (Yiu et al., 2024), a difficulty echoed by recent diagnostic benchmarks for visual analogical mapping (Yilmaz et al., 2025), compositional analogies (Du et al., 2026), and visual metaphor understanding (Kundu et al., 2025). Furthermore, even when models produce correct outputs or generate explanations, their internal reasoning processes remain opaque and do not reliably correspond to interpretable analogical mappings (Chen et al., 2025; Opiełka et al., 2025).

Existing approaches to analogical reasoning in AI tend to be either powerful but opaque, or interpretable but narrow. Structured prompting strategies and schema-based methods have demonstrated

Figure

Figure 1: Overview of PRISM, a category-theoretic framework for structural alignment within multimodal analogies. The pullback score quantifies relational correspondences between source and target domain graphs and provides structural feedback for iterative refinement. We evaluate PRISM on visual metaphor generation, where refinement aims to produce analogies with stronger relational correspondences.

progress in specific task settings — such as scientific analogy generation (Yuan et al., 2023) or visual metaphor transfer (Xu et al., 2026) — but these approaches do not generalise across task formulations. What remains missing is a unified, human-interpretable representation of analogical structure that can operate across modalities and task types while still leveraging the broad knowledge encoded in state-of-the-art foundation models.

In this paper, we address this gap by proposing Pullback Refinement via Interpretable Structural Mapping (PRISM), a modality-agnostic structural framework for analogical reasoning that is both human-interpretable and generalisable across diverse reasoning tasks. PRISM represents analogies as explicit relational mappings grounded in category-theoretic constraints, and uses VLMs to populate and employ these representations across multimodal inputs. We evaluate PRISM using visual metaphor generation as the testbed, since this task requires an abstract understanding of both domains, and generative tasks are less prone to shortcut learning (Mitchell, 2021; Pekar et al., 2020).

Our contributions are two-fold: (1) We translate a category-theoretic definition of analogical structure into an implementable representational schema. Building on the formal account of analogies in Ott (2025), we instantiate a domain graph representation that realises category-theoretic analogies within a VLM-based pipeline. Rather than relying on task-specific heuristics, the representation captures the relational structure between a source and target domain in a unified, modality-agnostic form while remaining faithful to the underlying theory. From this representation, we derive the pullback score, a category-theoretic measure of relational alignment that quantifies the extent to which structure is preserved across a mapping. (2) We design and evaluate PRISM's iterative refinement loop, which improves the relational quality of generated analogies using feedback on structural alignment. This loop makes use of the pullback score as a feedback signal to encourage models to generate analogies that preserve deeper relational correspondences rather than superficial similarities, providing a practical step towards more transparent, generalisable and structurally grounded analogical reasoning in multimodal AI systems.

References (70)