Transfer of Stimulus Function via Relational Networks

Research Question

Do LLMs exhibit transformation of functions (sentiment, category, properties, behavior) across related concepts through learned relational networks? Can we measure how functional properties propagate through relational structures?

Hypothesis

Models exhibit transformation of functions (sentiment, category, properties) across related concepts through learned relational networks. The degree and accuracy of function transfer should correlate with model capability and relational understanding, serving as a measurable indicator of sophisticated relational reasoning.

Background & Motivation

In RFT, transfer of stimulus function occurs when a learned response to one stimulus transfers to related stimuli through relational networks. For humans:

Example 1: Emotional transfer

  • Child learns to fear dogs (stimulus function: fear response)
  • Child learns “wolf is like dog” (relational frame: similarity)
  • Child now fears wolves (transferred function)

Example 2: Value transfer

  • “Gold is valuable” (stimulus function: value)
  • “This currency is backed by gold” (relational frame: equivalence)
  • Currency inherits value (transferred function)

Example 3: Category membership

  • “Whales live in ocean” (property)
  • “Dolphins are similar to whales” (relational frame)
  • Inference: “Dolphins might live in ocean” (transferred property)

For LLMs, we can test whether:

  1. Functions (sentiments, properties, categories) transfer through relational connections
  2. Transfer respects relational structure (functions transfer along certain relations, not others)
  3. Transfer magnitude varies with relational strength/type
  4. Models can explicitly reason about function transfer

Implementation Approach

Test Categories

Test 1: Sentiment Transfer

Setup: Establish sentiment toward an entity, test if it transfers to related entities

Establish function:
"The Zorblax 3000 is an excellent product. Customers love it."
[Zorblax 3000: positive sentiment]

Provide relation:
"The Zorblax 4000 is the successor to the Zorblax 3000"
"The Zorblax Pro is the premium version of the Zorblax 3000"

Test transfer:
Query: "How do you expect customers to feel about the Zorblax 4000?"

Expected: Positive sentiment should transfer via "successor" relation
Models should infer: "Probably positive, given the previous version's success"

Contrast:
"The Blargon X is a competing product to the Zorblax 3000"
Query: "How do customers of Zorblax 3000 feel about Blargon X?"

Expected: Positive sentiment should NOT transfer (competing relation)

Test 2: Property Transfer

Setup: Establish property, test transfer through different relation types

Property establishment:
"Florentium is highly conductive"
[Florentium: conductivity property]

Relations:
1. "Florentium-7 is an isotope of Florentium"
2. "Neo-Florentium is chemically similar to Florentium"
3. "Florentium alloy contains 90% Florentium"

Test transfer:
Q: "Is Florentium-7 likely to be conductive?"
Expected: Yes (isotope relation → property transfer likely)

Q: "Is Neo-Florentium likely to be conductive?"
Expected: Possibly (similar relation → property might transfer)

Q: "Is Florentium alloy likely to be conductive?"
Expected: Probably (high percentage → property likely transfers)

Contrast:
"Anti-Florentium is the opposite of Florentium"
Q: "Is Anti-Florentium likely to be conductive?"
Expected: No/Unclear (opposite relation → property might invert or not transfer)

Test 3: Category Membership Transfer

Setup: Establish category membership, test through taxonomic relations

Category establishment:
"A Blicket is a type of animal that lives in trees"

Relations:
- "A Greater Blicket is a species of Blicket"
- "A Blicket-bird is similar to a Blicket"
- "A Blicket's nest is built by Blickets"

Test:
Q: "Where does a Greater Blicket live?"
Expected: "In trees" (category membership transfers via sub-type relation)

Q: "Where does a Blicket-bird live?"
Expected: "Possibly in trees" (similarity → property might transfer)

Q: "Where is a Blicket's nest found?"
Expected: "In trees" (artifact of tree-dwelling creature)

Test 4: Behavioral Function Transfer

Setup: Establish behavior, test transfer through social relations

Behavior establishment:
"In the fictional land of Zephoria, Gleaming is a sign of respect"

Relations:
- "Florbing is the formal version of Gleaming"
- "Gleaming evolved from ancient Bowing"
- "Reverse-Gleaming is the opposite of Gleaming"

Test:
Q: "What does Florbing signify in Zephoria?"
Expected: "Respect" (formal version → function transfers)

Q: "What did ancient Bowing signify?"
Expected: "Likely respect" (evolutionary precursor → function might transfer)

Q: "What does Reverse-Gleaming signify?"
Expected: "Disrespect/opposite of respect" (opposite relation → inverted function)

Test 5: Quantitative Function Transfer

Setup: Test magnitude of transfer

Establish:
"Product A has 95% customer satisfaction"
[A: satisfaction = 95%]

Relations with different strengths:
- "Product B is identical to Product A except for color"
- "Product C is the same brand as Product A but different category"
- "Product D is inspired by Product A"

Test:
Q: "What satisfaction level would you expect for Product B?"
Expected: ~95% (very close relation)

Q: "What satisfaction level would you expect for Product C?"
Expected: Lower but positive (brand association, weaker transfer)

Q: "What satisfaction level would you expect for Product D?"
Expected: Uncertain (weak relation, minimal transfer)

Evaluation Design (Inspect AI)

@task
def stimulus_function_transfer(
    function_type: str = "sentiment",  # sentiment, property, category, behavior
    relation_type: str = "similarity",  # similarity, hierarchy, causation, opposition
    transfer_directionality: str = "forward",  # forward, backward, bidirectional
):
    """
    Test transfer of stimulus functions through relational networks.

    function_type:
    - sentiment: Emotional valence transfer
    - property: Physical/abstract property transfer
    - category: Category membership transfer
    - behavior: Behavioral function transfer
    - quantitative: Numerical property transfer

    relation_type:
    - similarity: "like", "similar to"
    - hierarchy: "type of", "version of"
    - causation: "causes", "leads to"
    - opposition: "opposite of", "contrary to"
    - composition: "part of", "contains"

    transfer_directionality:
    - forward: A→B, does function transfer A to B?
    - backward: A→B, does function transfer B to A?
    - bidirectional: Test both directions
    """
    return Task(
        dataset=generate_function_transfer_dataset(
            function_type,
            relation_type,
            transfer_directionality
        ),
        solver=[
            system_message(FUNCTION_TRANSFER_PROMPT),
            establish_stimulus_function(),
            provide_relational_connection(),
            query_function_transfer(),
            generate(),
        ],
        scorer=function_transfer_scorer(function_type),
    )

Control Conditions

Control 1: No-Relation Baseline

Test function attribution without relational connection:

"Product A is excellent"
"Product Z exists"
[No stated relation between A and Z]

Q: "What do you expect about Product Z?"
Expected: No transfer (no relational basis)

Control 2: Inappropriate Relation Types

Test that models don’t transfer along non-sensible relations:

"Product A is excellent"
"Product A was invented in 2020"
"Product B was also invented in 2020"

Q: "Is Product B excellent?"
Expected: No transfer (temporal coincidence doesn't transfer quality)

Control 3: Conflicting Functions

"Product A is excellent"
"Product A is very expensive"
"Product B is identical to A but cheap"

Q: "Is Product B excellent?"
Expected: Conflict - quality might not transfer if price is essential to quality

Scoring Metrics

  1. Transfer Accuracy

    • Did function transfer when it should?
    • Did function NOT transfer when it shouldn’t?
  2. Transfer Magnitude

    • For quantitative properties, is transfer proportional to relation strength?
  3. Directionality

    • Does model respect relation directionality?
    • Asymmetric relations: function transfers A→B but not B→A
  4. Relation-Type Specificity

    • Different functions transfer via different relations
    • Sentiment via similarity/hierarchy
    • Properties via composition/containment
    • Does model match function to relation type appropriately?
  5. Explanation Quality

    • Can model explain WHY function did/didn’t transfer?
    • “The property transfers because…” indicates understanding

Expected Outcomes

Capability Stratification

Frontier models:

  • Accurate function transfer via appropriate relations
  • Discriminate when NOT to transfer
  • Understand transfer magnitude
  • Provide clear reasoning about transfer

Mid-tier models:

  • Transfer common cases (sentiment, basic properties)
  • Over-generalize (transfer when inappropriate)
  • Limited magnitude sensitivity

Smaller models:

  • Inconsistent transfer
  • Struggle to integrate relational and functional information

Functional Types

We predict differential difficulty:

  • Easiest: Sentiment (well-represented in training data)
  • Moderate: Properties, categories (requires some reasoning)
  • Hardest: Novel behavioral functions (requires abstraction)

Relation Types

We predict differential transfer rates:

  • High transfer: Similarity, hierarchy, composition
  • Moderate transfer: Causation (contextual)
  • Low/inverse transfer: Opposition

Connection to RFT

This directly tests transfer of stimulus function, a core RFT phenomenon:

  • In RFT: Responses to stimuli transfer via relational frames
  • In LLMs: Properties/sentiments/behaviors transfer via learned relations
  • This is crucial for:
    • Generalization beyond training data
    • Analogical reasoning
    • Inference in novel situations

Connection to Intelligence

Transfer of stimulus function is fundamental to:

  • Generalization: Apply knowledge to new situations
  • Inference: Derive properties of unfamiliar entities
  • Analogy: Reason about similarity structures
  • Causal reasoning: Predict effects through causal chains

If function transfer correlates with general intelligence, it supports RFT’s role in cognition.

Implementation Steps

  1. ✅ Create research proposal document
  2. ⬜ Design function type taxonomy (sentiment, property, category, behavior)
  3. ⬜ Build relation type generators (similarity, hierarchy, causation, opposition)
  4. ⬜ Create function establishment templates
  5. ⬜ Develop relational connection scenarios
  6. ⬜ Build transfer query generators
  7. ⬜ Implement control conditions (no-relation, inappropriate-relation)
  8. ⬜ Design function transfer scorer
  9. ⬜ Create explanation evaluation criteria
  10. ⬜ Build Inspect AI tasks for each function×relation combination
  11. ⬜ Run baseline: sentiment transfer via similarity
  12. ⬜ Test property transfer via various relation types
  13. ⬜ Evaluate category membership transfer
  14. ⬜ Test novel behavioral functions
  15. ⬜ Analyze transfer patterns and model capability correlation
  • Sentiment Analysis & Transfer:

    • Pang & Lee (2008): Opinion Mining and Sentiment Analysis
    • Barnes et al. (2018): Multiword Expression Identification
  • Property Induction:

    • Osherson et al. (1990): Category-based induction
    • Kemp & Tenenbaum (2009): Structured statistical models of inductive reasoning
  • Analogical Reasoning:

    • Gentner & Forbus (2011): Computational models of analogy
    • Webb et al. (2023): Emergent Analogical Reasoning in LLMs
  • RFT on Transfer of Function:

    • Dymond & Rehfeldt (2000): Understanding complex behavior: The transformation of stimulus function
    • Whelan & Barnes-Holmes (2004): The transformation of consequential functions

Open Questions

  • How does function transfer relate to attention mechanisms in transformers?
  • Can we identify which attention heads encode relational vs. functional information?
  • Does chain-of-thought improve function transfer accuracy?
  • Are there universal patterns in which functions transfer via which relations?
  • Can models learn to modulate transfer based on context/uncertainty?
  • How does function transfer interact with mutual entailment (do functions transfer bidirectionally)?