Emergent Relations from Combinatorial Entailment

Research Question

Can LLMs spontaneously infer higher-order relations (e.g., ‘colleague’, ‘rival’, ‘ancestor’) from combinations of simpler, primitive relations? What level of relational sophistication is required for such emergent understanding?

Hypothesis

Models exhibit spontaneous inference of higher-order relations from combinations of simpler relations. The ability to recognize that certain relational patterns constitute a distinct semantic concept (e.g., “works at same company” + “different department” = “colleague”) demonstrates advanced relational reasoning and should correlate with model capability.

Background & Motivation

Humans naturally derive complex relational concepts from simpler ones:

Primitive relations: works_at, born_in, child_of, married_to Emergent relations: colleague, compatriot, sibling, in-law

For example:

  • Colleague: works_at(X, Company) ∧ works_at(Y, Company) ∧ X ≠ Y
  • Sibling: child_of(X, Parent) ∧ child_of(Y, Parent) ∧ X ≠ Y
  • In-law: married_to(X, Y) ∧ sibling(Y, Z) → in_law(X, Z)
  • Ancestor: parent*(X, Y) [transitive closure of parent relation]

The key insight: these higher-order relations aren’t just logical compositions - they’re semantic concepts. Humans recognize “colleague” as a distinct relationship type, not just “two people who work at the same place.”

Can LLMs:

  1. Recognize these patterns as distinct concepts?
  2. Name the emergent relation appropriately?
  3. Use emergent relations in further reasoning?
  4. Generalize to novel emergent relation types?

Implementation Approach

Dataset Design

1. Primitive Relations to Emergent Concepts

Provide primitive facts and test whether models can identify emergent relations:

Primitive facts:
- works_at(Alice, TechCorp)
- works_at(Bob, TechCorp)
- works_at(Charlie, RetailCo)
- reports_to(Alice, David)
- reports_to(Bob, David)

Query: "What is the relationship between Alice and Bob?"

Expected: "colleagues" or "coworkers" (not just "they work at the same company")

Contrasts:
- Alice & Charlie: Not colleagues (different companies)
- Alice & David: Not colleagues (hierarchical relationship)

2. Multi-Step Emergent Relations

Test relations that require multiple inferential steps:

Facts:
- married_to(Alice, Bob)
- parent(Bob, Charlie)
- parent(Charlie, David)

Query: "What is Alice's relationship to David?"

Expected: "step-grandparent" or "grandparent-in-law"
(Requires: Alice → Bob [spouse], Bob → Charlie [parent], Charlie → David [parent])

3. Competing Relation Types

Test disambiguation when multiple relations might apply:

Facts:
- works_at(Alice, TechCorp)
- works_at(Bob, TechCorp)
- reports_to(Bob, Alice)
- friend(Alice, Bob)

Query: "What is the primary professional relationship between Alice and Bob?"

Options:
- Colleagues (both true, but less specific)
- Manager-subordinate (more specific professional relation)
- Friends (personal, not professional)

Expected: Model should identify "manager-subordinate" as primary professional relationship

4. Novel Emergent Relations

Test whether models can learn new emergent relation types from examples:

Teaching examples:
"A 'zormate' is when two people have the same birthday and live in the same city"

- birthday(Alice, "Jan 1")
- birthday(Bob, "Jan 1")
- lives_in(Alice, "Portland")
- lives_in(Bob, "Portland")

Query: "Are Alice and Bob zormates?"
Expected: "Yes"

Transfer:
- birthday(Charlie, "Jan 1")
- lives_in(Charlie, "Seattle")

Query: "Are Alice and Charlie zormates?"
Expected: "No" (different cities)

Evaluation Design (Inspect AI)

@task
def emergent_relation_recognition(
    relation_complexity: str = "simple",  # simple, multi_step, novel
    provide_definitions: bool = False,
):
    """
    Test whether models can recognize emergent relations from primitive facts.

    Complexity levels:
    - simple: Single-step emergent relations (colleague, sibling)
    - multi_step: Requires multiple inferences (step-grandparent)
    - novel: New relation types defined in context

    Variations:
    - With definitions: Tell model what 'colleague' means
    - Without definitions: Expect model to know from training
    """
    return Task(
        dataset=generate_emergent_relation_dataset(
            relation_complexity,
            provide_definitions
        ),
        solver=[
            system_message(EMERGENT_RELATION_PROMPT),
            provide_primitive_facts(),
            optional_relation_definitions(provide_definitions),
            generate(),
        ],
        scorer=emergent_relation_scorer(),
    )

Test Dimensions

Dimension 1: Relation Complexity Hierarchy

Test progressively complex emergent relations:

Level 1: Direct composition

  • Colleague: same workplace
  • Sibling: same parent
  • Neighbor: same street

Level 2: Composition + constraint

  • Friend (at work): same workplace + mutual friend relation
  • Rival: same field + competing interests
  • Peer: same level in hierarchy

Level 3: Multi-step composition

  • In-law: spouse’s family member
  • Ancestor: transitive parent
  • Colleague’s friend: friend-of relation through workplace

Level 4: Abstract patterns

  • Social network clusters
  • Influence chains
  • Conflict of interest

Dimension 2: Semantic Grounding

Do models understand that emergent relations have semantic meaning beyond logical composition?

Test: Inference using emergent concepts

Facts establish that Alice and Bob are colleagues.

Query: "If Alice is stressed about a project deadline, who might understand her situation?"

Expected reasoning:
- Bob is a colleague → shares work context
- More likely than family/friends who don't share work context
- Model should use 'colleague' concept, not just raw facts

Dimension 3: Generalization

Can models apply emergent relation understanding to novel domains?

Teach in Domain A (workplace):
colleague = same_workplace ∧ different_person

Transfer to Domain B (sports):
"What do you call two people on the same team?"

Expected: "teammates" (analogous to colleagues)

Scoring Metrics

  1. Relation Recognition Accuracy

    • Can model identify correct emergent relation name?
    • Score by relation complexity level
  2. Semantic Understanding

    • Can model use emergent relation in further reasoning?
    • Does model make appropriate inferences based on relation type?
  3. Generalization

    • Can model learn novel emergent relation from examples?
    • Can model transfer pattern to new domains?
  4. Precision

    • Does model avoid over-generalizing (calling all shared properties “colleague”)?
    • Can model distinguish between similar relations (colleague vs. peer vs. friend)?

Expected Outcomes

Capability Stratification

Frontier models:

  • Recognize standard emergent relations (colleague, sibling, ancestor)
  • Can learn novel emergent relations from few examples
  • Use emergent concepts in downstream reasoning
  • Transfer patterns across domains

Mid-tier models:

  • Recognize common emergent relations
  • Struggle with novel relation learning
  • Limited semantic understanding

Smaller models:

  • May fail to recognize even simple emergent relations
  • Treat each primitive fact independently

Evidence for Relational Intelligence

If we find:

  • Emergent relation recognition correlates with general reasoning ability
  • Models that succeed show better abstraction on other tasks
  • Performance improves with model scale

Then emergent relation understanding is a key component of intelligence.

RFT Connection Validation

Success on this task would validate RFT’s concept of combinatorial mutual entailment as critical for:

  • Building rich relational networks
  • Deriving new concepts from known relations
  • Abstract reasoning and analogical thinking

Implementation Steps

  1. ✅ Create research proposal document
  2. ⬜ Design taxonomy of emergent relation types
  3. ⬜ Build primitive fact generator for workplace, family, social domains
  4. ⬜ Create emergent relation definition corpus
  5. ⬜ Implement relation recognition scorer
  6. ⬜ Develop semantic inference test cases
  7. ⬜ Build novel relation teaching examples
  8. ⬜ Create transfer domain test sets
  9. ⬜ Implement Inspect AI tasks for each complexity level
  10. ⬜ Run baseline: standard relations (colleague, sibling)
  11. ⬜ Test multi-step emergent relations
  12. ⬜ Evaluate novel relation learning
  13. ⬜ Test cross-domain generalization
  14. ⬜ Analyze correlation with other reasoning benchmarks
  • Relation Extraction:

    • Sorokin & Gurevych (2017): Context-Aware Representations for Knowledge Base Relation Extraction
    • Zhang et al. (2017): Position-aware Attention and Supervised Data Improve Slot Filling
  • Knowledge Graph Construction:

    • Wang et al. (2021): Automated Knowledge Graph Construction
    • Rossiello et al. (2021): KELM - Knowledge-Enhanced Language Model
  • Analogical Reasoning:

    • Webb et al. (2023): Emergent Analogical Reasoning in Large Language Models
    • Mitchell (2021): Why AI is Harder Than We Think
  • RFT on Derived Relations:

    • Stewart & Barnes-Holmes (2001): Understanding metaphor: A relational frame perspective
    • Dymond & Roche (2013): Advances in Relational Frame Theory

Open Questions

  • What’s the minimum complexity of emergent relation that models can reliably recognize?
  • Can we identify which models “chunk” emergent relations vs. recompute from primitives?
  • How does chain-of-thought affect emergent relation recognition?
  • Are there universal emergent relation patterns across cultures/languages?
  • Can models create genuinely novel emergent relation types not in training data?
  • How does this relate to concept formation and abstraction more broadly?