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:

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:

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:

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

  1. Dataset Design: Balanced mix of factual, synthetic, and abstract relations
  2. Evaluation Framework: Inspect AI tasks with configurable difficulty
  3. Scoring Metrics: Multi-dimensional (accuracy, latency, explanation quality, transfer)
  4. 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

  1. Validate RFT Framework: Test if RFT explains LLM capabilities
  2. Capability Metric: Establish relational understanding as measurable construct
  3. Emergence Pattern: Chart how relational abilities emerge with model scale
  4. Predictive Validity: Show RFT score predicts general capabilities

Practical Applications

  1. Model Selection: Choose models based on relational capability needs
  2. Training Objectives: Target RFT dimensions to improve intelligence
  3. Capability Profiling: Identify model strengths/weaknesses
  4. Benchmark Suite: Industry-standard evaluation for relational reasoning

Connection to Broader Work

This research extends the initial exploration in:

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:

  1. Read the corresponding markdown file
  2. Review the implementation approach section
  3. Build the dataset as specified
  4. Implement the Inspect AI task
  5. Run across model tiers
  6. 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 tests
  • abstract_mutual_entailment - Synthetic/non-memorizable relations
  • nary_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 graphs
  • emergent_relations - Higher-order relation inference
  • path_finding - Knowledge graph traversal

Transfer of Stimulus Function (Pillar 4):

  • sentiment_transfer - Emotional valence propagation
  • property_transfer - Physical/abstract property inheritance
  • category_membership_transfer - Taxonomic inference
  • behavioral_function_transfer - Social/behavioral meaning transfer
  • transfer_controls - Validation that spurious transfers are rejected

Integrated Benchmark:

  • rft_benchmark(difficulty="easy"|"medium"|"hard") - Full suite
  • rft_quick_check - Minimal sanity check
  • pillar_* 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:

  1. Verify eval correctness: Run the evals on a few models to verify they produce sensible results
  2. Check scoring accuracy: Ensure scorers correctly classify correct/incorrect/partial responses
  3. Review sample quality: Check that generated samples test the intended capabilities
  4. Validate difficulty calibration: Confirm easy/medium/hard produce expected score distributions
  5. 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.