Abstract Relation Reversal Beyond Factual Knowledge
Abstract Relation Reversal Beyond Factual Knowledge
Research Question
Can we distinguish between models that perform mutual entailment through memorization versus genuine relational understanding by testing on abstract, novel, and synthetic relations that couldn’t have been in training data?
Hypothesis
Models that exhibit mutual entailment on abstract relations (mathematical, logical, fictional) demonstrate more fundamental relational understanding than those limited to memorized facts. Performance on abstract mutual entailment should correlate more strongly with general reasoning capability than performance on factual mutual entailment.
Background & Motivation
The reversal curse tests on celebrity parent-child relationships have a critical confound: memorization. Models might have seen “Tom Cruise’s mother is Mary Lee Pfeiffer” in training data. When they fail to reverse it, we can’t distinguish between:
- Failure to understand bidirectional relations (genuine RFT deficit)
- Asymmetric exposure in training data (one direction seen much more often)
- Statistical artifacts (certain phrasings more common than others)
To isolate genuine relational understanding, we need to test on relations that:
- Cannot have been memorized (synthetic entities)
- Require understanding of relational structure (abstract symbols)
- Demonstrate transfer to novel domains (fictional scenarios)
Implementation Approach
Dataset Categories
1. Synthetic Entity Relations
Create entirely novel entities and relations introduced only in the eval context:
Training examples (few-shot):
"The blicket glorps the dax"
"A dax is glorped by a blicket"
"The wug contains the fep"
"A fep is contained by a wug"
Test:
"The zorb glorps the mib" → Can model produce "A mib is glorped by a zorb"?
"The toma contains the pif" → Can model produce "A pif is contained by a toma"?
Key: The model has NEVER seen these entities, so it can only succeed through relational understanding.
2. Mathematical Relations
Use mathematical relations with novel symbols or unusual bases:
Examples:
In base-7 arithmetic:
"15₇ > 12₇" ⟺ "12₇ < 15₇"
"φ(12) = 4" ⟺ "4 is the totient of 12" (Euler's totient function)
Test novel instances:
"23₇ > 16₇" → "16₇ < 23₇"?
"φ(20) = 8" → "8 is the totient of 20"?
3. Logical Relations
Use formal logical structures:
"Proposition P implies Proposition Q" ⟺ "Proposition Q is implied by Proposition P"
"Predicate F applies to term t" ⟺ "Term t satisfies predicate F"
4. Fictional Scenario Relations
Create a novel fictional universe with consistent relations:
Context: In the land of Zephoria, "florbing" is a social relation.
Examples:
"Aldric florbs Beatrice" ⟺ "Beatrice is florbed by Aldric"
"Cedric florbs Delilah" ⟺ "Delilah is florbed by Cedric"
Test:
"Eamon florbs Fiona" → "Fiona is florbed by Eamon"?
5. Relational Algebra
Pure relational transformations:
Given: R(a, b) means "a is R-related to b"
Teach: R(a, b) ⟺ R⁻¹(b, a)
Examples with specific relations:
ABOVE(cloud, mountain) ⟺ BELOW(mountain, cloud)
OWNS(person, car) ⟺ OWNED_BY(car, person)
Test with novel relations:
ADJACENT_TO(x, y) → ADJACENT_TO(y, x)? (symmetric)
TEACHES(prof, student) → TAUGHT_BY(student, prof)? (inverse)
Evaluation Design (Inspect AI)
@task
def abstract_mutual_entailment(
abstraction_level: str = "synthetic", # synthetic, mathematical, logical, fictional
n_few_shot: int = 3,
):
"""
Test mutual entailment on abstract relations that cannot be memorized.
abstraction_level options:
- synthetic: Novel nonsense words
- mathematical: Math relations with unusual notation
- logical: Formal logical structures
- fictional: Coherent fictional world relations
- relational: Pure relational algebra
"""
return Task(
dataset=generate_abstract_dataset(abstraction_level),
solver=[
system_message(ABSTRACT_RELATIONAL_PROMPT),
few_shot_abstract_examples(n_few_shot, abstraction_level),
generate(),
],
scorer=exact_bidirectional_match(),
metadata={"abstraction": abstraction_level, "memorization_possible": False}
)
Comparison Framework
For each model, run:
- Factual Baseline: Standard reversal curse (celebrity parent-child)
- Abstract Suite: All abstraction levels above
Compare:
- Factual accuracy vs. Abstract accuracy (memorization gap)
- Correlation between abstract performance and other reasoning benchmarks
- Transfer: Does performance on one abstraction type predict others?
Scoring Metrics
- Pure Relational Understanding Score: Accuracy on abstract relations only
- Memorization vs. Understanding Gap: (Factual accuracy) - (Abstract accuracy)
- Abstraction Transfer: Correlation across different abstraction types
- Few-Shot Learning: How quickly does model learn the reversal pattern?
Expected Outcomes
Evidence for Genuine Understanding
If models show high abstract mutual entailment:
- They understand relational structure, not just memorized facts
- This should correlate with:
- Mathematical reasoning ability
- Logical reasoning benchmarks
- General problem-solving capability
Evidence for Memorization
If models show:
- High factual mutual entailment
- Low abstract mutual entailment
- Large memorization gap
Then their “success” on reversal curse is likely statistical artifact.
Capability Differentiation
We predict:
- Frontier models (Claude Opus, GPT-4): Strong on both factual and abstract
- Mid-tier models: Moderate factual, poor abstract (memorization)
- Smaller models: Poor on both, but memorization gap should be smaller (no capacity for extensive memorization)
Connection to Intelligence
This research directly tests whether mutual entailment is:
- Memorization artifact: Models just have training data in both directions
- Genuine capability: Models understand relational structure
If abstract mutual entailment correlates with general intelligence measures, it supports the RFT hypothesis that relational understanding is fundamental to intelligence.
Implementation Steps
- ✅ Create research proposal document
- ⬜ Design synthetic entity relation generator
- ⬜ Create mathematical relation datasets (novel notation systems)
- ⬜ Build fictional universe with consistent relation types
- ⬜ Implement logical relation transformations
- ⬜ Develop relational algebra test suite
- ⬜ Build Inspect AI tasks for each abstraction level
- ⬜ Run factual baseline for comparison
- ⬜ Execute full abstract suite across model tiers
- ⬜ Analyze memorization gap and correlations
- ⬜ Compare to existing reasoning benchmarks (MMLU, GSM8K, etc.)
Related Work
- Chollet (2019): On the Measure of Intelligence (abstraction and generalization)
- Lake et al. (2017): Building Machines That Learn and Think Like People
- Webb et al. (2023): Emergent Analogical Reasoning in LLMs
- Dziri et al. (2023): Faith and Fate: Limits of Transformers on Compositionality
- Relational Frame Theory literature on arbitrarily applicable relational responding
Open Questions
- What’s the minimum number of few-shot examples needed for models to learn the reversal pattern?
- Does chain-of-thought help models discover relational inverses?
- Can we use abstract mutual entailment as a training objective?
- How does this relate to in-context learning capability?
- Are there specific relation types that are easier/harder to reverse?