SMTB: Fast Structure-Mapping with Tight Bounds
Abstract
Structure-mapping forms analogies by aligning systems of relationally connected elements based on shared structure instead of surface features. We introduce a new structure-mapping algorithm: Structure-Mapping with Tight Bounds (SMTB) that is 5--15x faster than the structure-mapping engine (SME) and about 50\% better at finding mappings in large nested domains. SMTB is part of the broader Cognitive Rule Engine (CRE) project, a flexible multi-language-compatible framework with an accessible Python interface to state-of-the-art C++ implementations of core algorithms commonly used in cognitive systems such as pattern matching, planning, and structure-mapping. CRE and SMTB are designed to work with a wide range of representation choices. Unlike SME, which biases higher-order correspondences in tree-like predicate logic, SMTB maximizes relational connectivity without privileging higher-order relations. This allows SMTB to work just as well over arbitrary relational graphs as it does in tree-like domains of nested predicate logic. We discuss situations where privileging "higher-orderness" in structure-mapping can cause issues, and illustrate how SMTB avoids failure modes that SME would encounter in these situations. We also provide an evaluation comparing SMTB to SME v4 over 5845 domain pairs from the SME corpus.
Create a lesson
Related papers
GaokaoMathGen: Chinese Gaokao Mathematics Finale Problem Generation Controlled by Latent Reasoning Structures
Shared title terminologycs.AIQian Chen, Kun Zhu, Zhongyi Wang et al.
SciFig2Data: A Workflow for Recovering Structured Data from Scientific Figures
Shared title terminologycs.AIXinhe Wu, Yicheng Ye, Yadong Jin
PRETZEL: A Benchmark for Cyclic Peptide Structure Prediction
Shared title terminologycs.AIYongchan Hong, Zihang Fang, Mukta Ubale et al.
Policy as Code: A Coroutine-Bridge Harness for Fast-Reasoning Reliability on CAR-bench
Shared title terminologycs.AIIvan Matveev
Progressive Skill Discovery as Access Control for Tool-Using LLM Agents: Structural Governance through Role-Scoped Capability Delivery
Shared title terminologycs.AIMichael Stettler, Benjamin Girardet, Jonas Canton et al.
EnSIMem: Entity-Structured Indexing for Long-Term Agent Memory
Shared title terminologycs.AIXuanyu Meng, Xing Fan, Xinyi Fan et al.