SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.11782 · ACL · 2024

What Evidence Do Language Models Find Convincing?

U Berkeley, Dan Klein, Eric Wallace, Alexander Wan

arXiv · PDF · Open in the Atlas

Code that ran

8 of 14 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 0 have no contract verdict; 8 failures of our instrument; 6 no recorded run), measured 2026-11-23; 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/2402.11782.json · badge: /api/ran/2402.11782.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
AlexWan0/rag-convincingness canonical (classifier label)
classifier basis: census
8 ran · 6 no recorded run
FunctionStatusWhere it lives
add_all_features Ran
ran; our contract draft was wrong, not the code
AlexWan0/rag-convincingness/features/features.py
code served (permissive licence) · get_code("8dbe2b09dd9a22cf")
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 DataFrame. 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 pandas as pd
import tempfile

class Feature:
    col_name: str

    def __init__(self, text_col: str='text', temp_path: str='./', num_workers: int=4, verbose: bool=False):
        self.text_col = text_col
        self.num_workers = num_workers
        self.verbose = verbose
        self.temp_path = temp_path
        if not self.col_name.startswith('_'):
            raise ValueError('col_name must start with an underscore')

    def __call__(self, pages_df: pd.DataFrame) -> pd.DataFrame:
        raise NotImplementedError('Feature must be implemented')


class DummyFeature1(Feature):
    col_name = '_feature_1'
    
    def __call__(self, pages_df: pd.DataFrame) -> pd.DataFrame:
        pages_df[self.col_name] = 0
        return pages_df


class DummyFeature2(Feature):
    col_name = '_feature_2'
    
    def __call__(self, pages_df: pd.DataFrame) -> pd.DataFrame:
        pages_df[self.col_name] = 1
        return pages_df


def collect_feature_subclasses() -> list[Feature]:
    return Feature.__subclasses__()


def add_all_features(pages_df: pd.DataFrame, skip: bool=True, text_col: str='text') -> pd.DataFrame:
    print(f'found {len(collect_feature_subclasses())} features')
    for f in collect_feature_subclasses():
        print(f'adding feature {f.col_name}')
        if skip and f.col_name in pages_df.columns:
            print(f'skipping feature {f.col_name}')
            continue
        try:
            pages_df = f(text_col=text_col)(pages_df)
        except Exception as e:
            print('Feature extraction error:', e)
    return pages_df


pages_df = pd.DataFrame({
    'text': ['sample text one', 'sample text two', 'sample text three'],
    'id': [1, 2, 3]
})

ARGS = {
    'pages_df': pages_df,
    'skip': True,
    'text_col': 'text'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
filter_pair_thresh Ran
ran; our contract draft was wrong, not the code
AlexWan0/rag-convincingness/utils.py
code served (permissive licence) · get_code("3e1a07c48820be7a")
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 tuple. 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 pandas as pd
import numpy as np

# Create a sample DataFrame with the required columns
data = {
    'search_query': ['query1', 'query1', 'query1', 'query2', 'query2', 'query2', 'query3', 'query3'],
    'anthropic_author_stance_p': ['yes', 'yes', 'no', 'yes', 'no', 'no', 'yes', 'maybe'],
    'answer_id': [1, 2, 3, 4, 5, 6, 7, 8]
}
df = pd.DataFrame(data)

ARGS = {
    'df': df,
    'min_pairings': 2,
    'answer_col': 'anthropic_author_stance_p'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
forward_logprobs Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
AlexWan0/rag-convincingness/features/sentiment.py
code served (permissive licence) · get_code("008f4097a52aa730")
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 Tensor, ndim 2, dtype family float, shape (1, 16) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape 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 torch.nn as nn
import torch.nn.functional as F

torch.manual_seed(0)

# Stand-in tokenizer class
class StandInTokenizer:
    def __call__(self, text, return_tensors=None):
        # Return a mock tokenizer output
        class TokenizerOutput:
            def __init__(self):
                self.input_ids = torch.tensor([[1, 2, 3, 4]], dtype=torch.long)
            
            def to(self, device):
                return self
        
        return TokenizerOutput()

# Stand-in model class
class StandInModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.config = type('Config', (), {'decoder_start_token_id': 2})()
        self.encoder = nn.Linear(4, 8)
        self.decoder = nn.Linear(8, 16)
        self.lm_head = nn.Linear(8, 16)
    
    def forward(self, input_ids, decoder_input_ids=None):
        # input_ids shape: (batch_size, seq_len)
        # decoder_input_ids shape: (batch_size, 1)
        batch_size = input_ids.shape[0]
        
        # Simulate encoder processing
        encoder_hidden = torch.randn(batch_size, 1, 8)
        
        # Simulate decoder processing
        decoder_hidden = torch.randn(batch_size, 1, 8)
        
        # Generate logits with shape (batch_size, seq_len, vocab_size)
        logits = torch.randn(batch_size, 1, 16)
        
        class ModelOutput:
            def __init__(self, logits_tensor):
                self.logits = logits_tensor
        
        return ModelOutput(logits)

# Construct arguments
text = "Hello world"
tokenizer = StandInTokenizer()
model = StandInModel()

ARGS = {
    "text": text,
    "tokenizer": tokenizer,
    "model": model,
}
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 Tensor, ndim 2, dtype family float, shape (1, 16) — shape (1, 16) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
get_paired_data Ran
ran; our contract draft was wrong, not the code
AlexWan0/rag-convincingness/features/features.py
code served (permissive licence) · get_code("795313f87c8c500d")
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 pandas as pd

# Create a sample DataFrame with the required columns
pairs_df = pd.DataFrame({
    'metric_1': [10.5, 20.3, 15.7],
    'metric_2': [8.2, 18.1, 14.2],
    'eval_1_prob': [0.75, 0.82, 0.68],
    'eval_2_prob': [0.65, 0.71, 0.60]
})

col_name = 'metric'

ARGS = {
    'pairs_df': pairs_df,
    'col_name': col_name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
get_singular_data Ran
ran; our contract draft was wrong, not the code
AlexWan0/rag-convincingness/features/features.py
code served (permissive licence) · get_code("45727f55b57c93b6")
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 pandas as pd

# Create a sample DataFrame with the required columns
# The function expects columns: {col_name}_1, {col_name}_2, eval_1_prob, eval_2_prob
pairs_df = pd.DataFrame({
    'feature_1': [1.0, 2.0, 3.0],
    'feature_2': [4.0, 5.0, 6.0],
    'eval_1_prob': [0.7, 0.8, 0.6],
    'eval_2_prob': [0.3, 0.2, 0.4]
})

col_name = 'feature'

ARGS = {
    'pairs_df': pairs_df,
    'col_name': col_name
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
parse_model_classifications Ran
ran; our contract draft was wrong, not the code
AlexWan0/rag-convincingness/utils.py
code served (permissive licence) · get_code("157961a1fec9bf5a")
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 str. 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 torch.nn as nn

torch.manual_seed(0)

# Construct arguments for parse_model_classifications
model_prediction = "The model predicts class_a with high confidence"
classes = ["Class_A", "Class_B", "Class_C"]

ARGS = {
    "model_prediction": model_prediction,
    "classes": classes
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
parse_model_classifications_seq Ran
ran; our contract draft was wrong, not the code
AlexWan0/rag-convincingness/utils.py
code served (permissive licence) · get_code("cb4535eb573a84c1")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 torch.nn as nn
from functools import partial

# Set seed for reproducibility
torch.manual_seed(0)

# Construct valid arguments for parse_model_classifications_seq
model_predictions = [
    "The model predicts category A with high confidence",
    "This sample belongs to category B",
    "category C is the most likely classification"
]

classes = ["Category A", "Category B", "Category C"]

ARGS = {
    "model_predictions": model_predictions,
    "classes": classes
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
split_lastline Ran
ran; our contract draft was wrong, not the code
AlexWan0/rag-convincingness/filter_ensemble_preds.py
code served (permissive licence) · get_code("5b4b0bc3896fdaab")
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 str. 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

def split_lastline(text):
    if text is None:
        return None
    return text.split('\n')[-1]

# The function takes a single parameter 'text' which should be a string or None
# It splits by newline and returns the last line
# We need to provide a valid string argument

ARGS = {
    'text': 'line1\nline2\nline3'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
classify Not yet run
unverified (harvested, no recorded run)
AlexWan0/rag-convincingness/features/sentiment.py
code served (permissive licence) · get_code("b770f867538c53bd")
How it ran

no invocation recorded.

compute_perplexity Not yet run
unverified (harvested, no recorded run)
AlexWan0/rag-convincingness/features/gpt2_perplexity.py
code served (permissive licence) · get_code("4cb9ff0406030e9e")
How it ran

no invocation recorded.

find_best_window Not yet run
unverified (harvested, no recorded run)
AlexWan0/rag-convincingness/threshold_text.py
code served (permissive licence) · get_code("15015d08362a93cc")
How it ran

no invocation recorded.

init_models Not yet run
unverified (harvested, no recorded run)
AlexWan0/rag-convincingness/threshold_text.py
code served (permissive licence) · get_code("428011007e11e776")
How it ran

no invocation recorded.

run Not yet run
unverified (harvested, no recorded run)
AlexWan0/rag-convincingness/threshold_text.py
code served (permissive licence) · get_code("e5669aefb3d9d9f7")
How it ran

no invocation recorded.

sentiment_classify Not yet run
unverified (harvested, no recorded run)
AlexWan0/rag-convincingness/features/sentiment.py
code served (permissive licence) · get_code("0608b80ea7e352fa")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 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 14 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-23.

Repositories linked to this paper

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

Abstract

Retrieval-augmented language models are being increasingly tasked with subjective, contentious, and conflicting queries such as "is aspartame linked to cancer". To resolve these ambiguous queries, one must search through a large range of websites and consider which, if any, of this evidence do I find convincing? In this work, we study how LLMs answer this question. In particular, we construct CON-FLICTINGQA, a dataset that pairs controversial queries with a series of real-world evidence documents that contain different facts (e.g., quantitative results), argument styles (e.g., appeals to authority), and answers (Yes or No). We use this dataset to perform sensitivity and counterfactual analyses to explore which text features most affect LLM predictions. Overall, we find that current models rely heavily on the relevance of a website to the query, while largely ignoring stylistic features that humans find important such as whether a text contains scientific references or is written with a neutral tone. Taken together, these results highlight the importance of RAG corpus quality (e.g., the need to filter misinformation), and possibly even a shift in how LLMs are trained to better align with human judgements.

For agents

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

get_harvested_code_for_paper("2402.11782")
get_code_for_paper("2402.11782")
have("2402.11782")

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

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

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

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

Connect an agent — have() is free.