RFT & LLM Research Agenda
This directory contains research proposals exploring the connections between Relational Frame Theory (RFT) and Large Language Models (LLMs).
Overview
The overarching goal is to chart the capability landscape from lower to higher-level LLMs by measuring relational understanding, demonstrating that better relational frames lead to better intelligence.
Core Hypothesis
Emergence in LLMs comes from relational diversity. Models that exhibit stronger capabilities across the four pillars of RFT will demonstrate superior general intelligence.
Four Pillars of RFT
1. Mutual Entailment
Definition: Bidirectional relational understanding (if A→B, then B→A)
Research Areas:
- Scaling Mutual Entailment - Testing how performance degrades with relation complexity (binary → n-ary)
- Abstract Relation Reversal - Distinguishing memorization from genuine understanding using synthetic relations
Key Question: Can models reverse relations they’ve never seen, proving genuine relational understanding vs. memorization?
2. Combinatorial Mutual Entailment
Definition: Building complex relational networks by combining simple relations
Research Areas:
- Network Completion - Multi-hop reasoning through relational networks
- Emergent Relations - Spontaneous inference of higher-order relations (e.g., “colleague” from “same workplace”)
Key Question: Can models derive novel relations through multi-hop reasoning and recognize emergent relational concepts?
3. Arbitrarily Applicable Relational Responding
Definition: Applying relational frames across arbitrary domains
Research Areas:
- Cross-Domain Transfer - Testing if relations learned in Domain A transfer to Domain B
- Meta-Relational Reasoning - Reasoning about properties of relations themselves (transitivity, symmetry, etc.)
Key Question: Can models apply learned relational patterns to entirely novel domains without domain-specific training?
4. Transfer of Stimulus Function
Definition: Properties/sentiments/behaviors transfer through relational connections
Research Areas:
- Function Transfer - Testing sentiment, property, and behavioral function transfer
- Context-Dependent Transfer - Modulating transfer based on contextual framing
Key Question: Do models exhibit transformation of functions across related concepts through learned relational networks?
Integrated Benchmark
Comprehensive RFT Benchmark Suite - A unified evaluation framework measuring all four RFT dimensions, producing a composite capability score that predicts general intelligence.
Implementation Approach
All research proposals are designed to be implemented using Inspect AI, building on the foundation established in the reversal curse evaluation.
Common Elements
- Dataset Design: Balanced mix of factual, synthetic, and abstract relations
- Evaluation Framework: Inspect AI tasks with configurable difficulty
- Scoring Metrics: Multi-dimensional (accuracy, latency, explanation quality, transfer)
- Model Comparison: Test across capability tiers (small, mid, large, frontier)
Research Priorities
High Priority (immediate research value):
- Scaling Mutual Entailment
- Abstract Relation Reversal
- Network Completion
- Emergent Relations
- Cross-Domain Transfer
- Function Transfer
- Integrated Benchmark
Medium Priority (extend high-priority work):
- Meta-Relational Reasoning
- Context-Dependent Transfer
Expected Impact
Scientific Contributions
- Validate RFT Framework: Test if RFT explains LLM capabilities
- Capability Metric: Establish relational understanding as measurable construct
- Emergence Pattern: Chart how relational abilities emerge with model scale
- Predictive Validity: Show RFT score predicts general capabilities
Practical Applications
- Model Selection: Choose models based on relational capability needs
- Training Objectives: Target RFT dimensions to improve intelligence
- Capability Profiling: Identify model strengths/weaknesses
- Benchmark Suite: Industry-standard evaluation for relational reasoning
Connection to Broader Work
This research extends the initial exploration in:
- What if LLMs Learn Relations Like Humans Do? - Original hypothesis
- Inspect AI Evals for the Reversal Curse - First implementation
Research Roadmap
Phase 1: Foundation (Months 1-3)
- Implement mutual entailment experiments (depth + abstraction)
- Validate against reversal curse baseline
- Establish evaluation methodology
Phase 2: Expansion (Months 4-6)
- Develop combinatorial entailment evaluations
- Build cross-domain transfer tests
- Create function transfer datasets
Phase 3: Integration (Months 7-9)
- Implement comprehensive benchmark
- Run full evaluation across model tiers
- Validate correlations with existing benchmarks
Phase 4: Publication (Months 10-12)
- Analyze results across all dimensions
- Write research papers
- Release benchmark suite publicly
- Share datasets and evaluation code
Getting Started
Each research proposal includes:
- ✅ Research question and hypothesis
- ✅ Background and motivation
- ✅ Detailed implementation approach
- ✅ Expected outcomes
- ✅ Step-by-step implementation plan
- ✅ Related work and open questions
To implement any proposal:
- Read the corresponding markdown file
- Review the implementation approach section
- Build the dataset as specified
- Implement the Inspect AI task
- Run across model tiers
- Analyze results
Implementation Status
Completed Evals (in rft/ directory)
The following Inspect AI evaluations have been implemented and are ready for human review:
Core Files
| File | Description | Status |
|---|---|---|
models.py |
Core data models (RelationType, RelationPair, Entity, etc.) | ✅ Complete |
mutual_entailment_eval.py |
Binary, abstract, and n-ary relation reversals | ✅ Complete |
combinatorial_entailment_eval.py |
Network completion, emergent relations, path finding | ✅ Complete |
stimulus_function_transfer_eval.py |
Sentiment, property, category, behavioral transfer | ✅ Complete |
rft_benchmark.py |
Integrated benchmark suite with all pillars | ✅ Complete |
test_rft_evals.py |
Unit tests for evaluation components | ✅ Complete |
Available Tasks
Mutual Entailment (Pillar 1):
binary_mutual_entailment- Basic A→B ⟺ B→A testsabstract_mutual_entailment- Synthetic/non-memorizable relationsnary_mutual_entailment(n=3)- Chain reasoning (configurable n)mutual_entailment_scaling- Performance vs. complexity curves
Combinatorial Entailment (Pillar 2):
network_completion- Multi-hop inference in relational graphsemergent_relations- Higher-order relation inferencepath_finding- Knowledge graph traversal
Transfer of Stimulus Function (Pillar 4):
sentiment_transfer- Emotional valence propagationproperty_transfer- Physical/abstract property inheritancecategory_membership_transfer- Taxonomic inferencebehavioral_function_transfer- Social/behavioral meaning transfertransfer_controls- Validation that spurious transfers are rejected
Integrated Benchmark:
rft_benchmark(difficulty="easy"|"medium"|"hard")- Full suiterft_quick_check- Minimal sanity checkpillar_*tasks for focused evaluation
Running the Evals
# Quick sanity check
inspect eval rft/rft_benchmark.py:rft_quick_check --model anthropic/claude-3-haiku-20240307
# Full benchmark (medium difficulty)
inspect eval rft/rft_benchmark.py:rft_benchmark_medium --model anthropic/claude-3-5-sonnet-20241022
# Individual pillar
inspect eval rft/mutual_entailment_eval.py:abstract_mutual_entailment --model openai/gpt-4
# Run tests
cd rft && pytest test_rft_evals.py -v
What’s Needed for HANDOFF
Human Review Required:
- Verify eval correctness: Run the evals on a few models to verify they produce sensible results
- Check scoring accuracy: Ensure scorers correctly classify correct/incorrect/partial responses
- Review sample quality: Check that generated samples test the intended capabilities
- Validate difficulty calibration: Confirm easy/medium/hard produce expected score distributions
- Test model comparison: Run across model tiers to verify capability differentiation
Optional Improvements:
- Add more diverse relation types to the sample generators
- Implement chain-of-thought prompting variations
- Add explanation quality scoring (currently accuracy-focused)
- Create visualization scripts for benchmark results
- Add more control conditions for validation
Meta
Created: 2026-01-10 Updated: 2026-01-18 Status: Phase 1 implementation complete - awaiting human review Next Steps: Run evals across model tiers, validate results, refine based on findings
This research agenda aims to demonstrate that relational frame theory provides a powerful explanatory framework for understanding LLM capabilities and a practical evaluation methodology for measuring intelligence.