SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.19428 · ACL · 2025

Frictional Agent Alignment Framework: Slow Down and Don't Break Things

Abhijnan Nath, Nikhil Krishnaswamy, Carine Graff, Andrei Bachinin

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 0 failures of our instrument; 2 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2505.19428.json · badge: /api/ran/2505.19428.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
csu-signal/FAAF_ACL canonical (classifier label)
classifier basis not recorded on the link
5 ran · 2 no recorded run
FunctionStatusWhere it lives
transform_and_assign_preference_deli Ran
ran on a synthesized input
csu-signal/FAAF_ACL/ppo_baseline_training.py
code served (permissive licence) · get_code("758b839d26630385")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Create a minimal example dict that satisfies the function's requirements
example = {
    'context': "Alice and Bob are discussing the logic puzzle. Alice says: 'If a card has a vowel on one side, it must have an even number on the other.' Bob asks: 'But what about odd-numbered cards? Could they have vowels?'",
    'belief_state': "Both participants assume checking vowel cards is sufficient for validating the rule.",
    'contradiction_reason': " However, this ignores the need to verify odd-numbered cards cannot have vowels.",
    'chosen_rationale': "The rule is bidirectional: all vowels must map to even numbers AND all odd numbers must map to consonants. Checking only one direction is incomplete reasoning.",
    'chosen_friction': "When we say 'all cards with vowels have even numbers,' does that constrain what can appear on the other side of number cards? Think about what must be true for odd-numbered cards.",
    'rejected_rationale': "Just checking the vowel cards is enough because the rule is about vowels.",
    'rejected_friction': "Have you verified all the vowel cards? That should be sufficient."
}

ARGS = {
    'example': example
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transform_and_assign_preferences Ran
ran on a synthesized input
csu-signal/FAAF_ACL/ppo_baseline_training.py
code served (permissive licence) · get_code("8a1c09011c8b16e7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Analyze the function to determine what the 'example' parameter needs
# The function accesses: example['context'], example['chosen'], example['chosen_rationale'], 
# example['rejected'], example['rejected_rationale']

example = {
    'context': 'P1: I think the red block weighs 10 grams. P2: How do you know that? P3: We should test it on the scale.',
    'chosen': 'You may want to reconsider whether the scale slider is actually necessary for this task, given the hint provided.',
    'chosen_rationale': 'The participants were told they don\'t need to use the scale slider, suggesting the weights may follow a pattern in increments.',
    'rejected': 'I agree with your approach so far.',
    'rejected_rationale': 'This response fails to challenge assumptions and doesn\'t provide indirect persuasion as required.'
}

ARGS = {
    'example': example
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transform_and_assign_preferences_2 Ran
ran on a synthesized input
csu-signal/FAAF_ACL/ppo_baseline_training.py
code served (permissive licence) · get_code("0b5c8529d88e68f1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Build the example dict with all required keys
example = {
    'chosen_context': """
    P1: I think the blue block weighs 5 units.
    P2: But we haven't weighed it yet. How can you be sure?
    P3: Let's weigh the blue and green blocks together first.
    """,
    'chosen_task_state': "The participants are in the initial phase of the game, attempting to determine block weights through systematic measurement.",
    'chosen_belief_state': "P1 believes the blue block is 5 units without evidence. P2 is skeptical. P3 suggests a systematic approach.",
    'chosen_rationale': "P1 made a rash assumption about the blue block's weight without experimental evidence. This could lead to incorrect deductions.",
    'chosen_friction_statement': "Have you considered that making assumptions without weighing might lead us astray? What if we validate our guesses first?",
    'rejected_task_state': "The game is starting and participants are guessing randomly.",
    'rejected_belief_state': "Everyone is confused about the rules.",
    'rejected_rationale': "Just a random friction statement.",
    'rejected_friction_statement': "This is wrong and unhelpful."
}

ARGS = {
    'example': example
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transform_and_assign_preferences_deli Ran
ran on a synthesized input
csu-signal/FAAF_ACL/opt_reward_modeling.py
code served (permissive licence) · get_code("29778de54fcf7f64")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Define a minimal row dict that satisfies the function's requirements
# The function expects a dict with string keys and string values

row = {
    'context': "The participant selected cards A and 3. The rule states: All cards with vowels on one side must have an even number on the other.",
    'chosen_rationale': "This is a correct application of the rule",
    'rejected_rationale': "This is an incorrect application of the rule",
    'chosen_friction': "Consider whether you have tested all necessary counterexamples.",
    'rejected_friction': "You may have overlooked a key card."
}

ARGS = {
    'row': row
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transform_and_assign_preferences_wtd Ran
ran on a synthesized input
csu-signal/FAAF_ACL/opt_reward_modeling.py
code served (permissive licence) · get_code("355f8800dc1410a1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

# Construct a minimal row dict that satisfies the function's needs
row = {
    'context': 'P1: I think the red block is 10 grams. P2: That matches what we were told. P3: Should we weigh the blue block next?',
    'chosen_rationale': 'The participants are making logical progress by following the constraint that only two blocks can be weighed at a time',
    'chosen_friction_statement': 'However, have you considered whether the constraint about weighing only two blocks might be a hint about the block weight distribution pattern?',
    'rejected_rationale': 'The participants seem confused about the weighing mechanics and should just use the scale more',
    'rejected_friction_statement': 'You might want to try a different approach with the scale'
}

ARGS = {
    'row': row
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
format_evaluation_prompt Not yet run
unverified (harvested, no recorded run)
csu-signal/FAAF_ACL/llm_judge_evals.py
code served (permissive licence) · get_code("962f0e9962c9f8a8")
How it ran

no invocation recorded.

preprocess_function Not yet run
unverified (harvested, no recorded run)
csu-signal/FAAF_ACL/opt_reward_modeling.py
code served (permissive licence) · get_code("5212f303a42f980a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

AI support of collaborative interactions entails mediating potential misalignment between interlocutor beliefs. Common preference alignment methods like DPO excel in static settings, but struggle in dynamic collaborative tasks where the explicit signals of interlocutor beliefs are sparse and skewed. We propose the Frictional Agent Alignment Framework (FAAF), to generate precise, context-aware "friction" that prompts for deliberation and re-examination of existing evidence. FAAF's two-player objective decouples from data skew: a frictive-state policy identifies belief misalignments, while an intervention policy crafts collaborator-preferred responses. We derive an analytical solution to this objective, enabling training a single policy via a simple supervised loss. Experiments on three benchmarks show FAAF outperforms competitors in producing concise, interpretable friction and in OOD generalization. By aligning LLMs to act as adaptive "thought partners"-not passive responders-FAAF advances scalable, dynamic human-AI collaboration. Our code and data can be found at https: //github.com/csu-signal/FAAF_ACL.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2505.19428")
get_code_for_paper("2505.19428")
have("2505.19428")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2505.19428.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2505.19428.svg)](https://syntology.ai/paper/2505.19428)

Connect an agent — have() is free.