SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.10510 · ICML · 2025

DEFAME: Dynamic Evidence-based FAct-checking with Multimodal Experts

Anna Rohrbach, Marcus Rohrbach, Tobias Braun, Mark Rothermel

arXiv · PDF · Open in the Atlas

Code that ran

1 of 2 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; 1 failure of our instrument; 1 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/2412.10510.json · badge: /api/ran/2412.10510.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
multimodal-ai-lab/defame canonical (classifier label)
classifier basis: census
1 ran · 0 no recorded run
multimodal-ai-lab/DEFAME canonical (classifier label)
classifier basis: classifier_2025
0 ran · 1 no recorded run
FunctionStatusWhere it lives
get_action_documentation Ran
ran; our contract draft was wrong, not the code
multimodal-ai-lab/defame/defame/common/action.py
code served (permissive licence) · get_code("d83581b4d26de022")
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 inspect
from abc import ABC

class Action(ABC):
    """Executed by the actor. Performing an Action yields Evidence.
    Each action should validate its arguments. Docstrings of the implementing
    subclasses are automatically used as descriptions for the LLM. Make sure
    to provide a docstring on class-level describing the purpose of the action and
    provide a docstring in the __init__() method explaining the usage of the parameters.
    See existing subclasses for examples."""
    name: str
    requires_image: bool = False
    additional_info: str = None
    _init_parameters: dict = None

    def _save_parameters(self, local_variables: dict):
        """Memorizes the parameters provided to the __init__() method of the action.
        Used for the string representation of the action, needed in the Report.
        Always call this first in the __init__() method of an action."""
        init_signature = inspect.signature(self.__init__)
        init_parameters = dict()
        for param in init_signature.parameters:
            value = local_variables[param]
            if value is not None:
                init_parameters[param] = value
        self._init_parameters = init_parameters

    def __str__(self):
        if self._init_parameters:
            param_str = ', '.join([f'{k}={v.__repr__()}' for k, v in self._init_parameters.items()])
            return f'{self.name}({param_str})'
        else:
            return self.name

    def __eq__(self, other):
        if isinstance(other, self.__class__):
            return self.__dict__ == other.__dict__
        return False

    def __hash__(self):
        return hash(tuple(sorted(self.__dict__.items())))

def get_action_documentation(action_cls: type[Action]) -> str:
    """Returns an LLM-friendly representation of the given action class,
    explaining the action's purpose and usage (with signature)."""
    description = inspect.getdoc(action_cls).strip()
    usage = inspect.getdoc(action_cls.__init__).strip(' \t\n')
    parameters = dict(inspect.signature(action_cls.__init__).parameters)
    parameters.pop('self')
    signature = '(' + ', '.join([str(p) for p in parameters.values()]) + ')'
    documentation = f'\n`{action_cls.name}`: {description}\nSignature:\n```python\n{action_cls.name}{signature}\n```\nUsage:\n{usage}\n'.strip()
    if action_cls.additional_info:
        documentation += f'\n{action_cls.additional_info}'
    return documentation


class ConcreteAction(Action):
    """Click on a button to submit the form.
    This action performs a click operation on a UI element."""
    name = "ClickButton"
    requires_image = False
    additional_info = "Note: This only works on clickable elements."
    
    def __init__(self, button_id: str, delay: int = 0):
        """
        Click a button identified by its ID.
        
        Args:
            button_id: The unique identifier of the button to click
            delay: Optional delay in milliseconds before clicking
        """
        self._save_parameters(locals())
        self.button_id = button_id
        self.delay = delay


ARGS = {
    'action_cls': ConcreteAction
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
input_multiline Not yet run
unverified (harvested, no recorded run)
multimodal-ai-lab/DEFAME/config/globals.py
code served (permissive licence) · get_code("921cbc10b295fbf5")
How it ran

no invocation recorded. this sample carries JSON test cases instead of a setup block; get_reference_implementation serves them with the level they back.

Also present in other papers' code

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

The proliferation of disinformation demands reliable and scalable fact-checking solutions. We present Dynamic Evidence-based FAct-checking with Multimodal Experts (DEFAME), a modular, zero-shot MLLM pipeline for open-domain, text-image claim verification. DEFAME operates in a six-stage process, dynamically selecting the tools and search depth to extract and evaluate textual and visual evidence. Unlike prior approaches that are text-only, lack explainability, or rely solely on parametric knowledge, DEFAME performs end-to-end verification, accounting for images in claims and evidence while generating structured, multimodal reports. Evaluation on the popular benchmarks VERITE, AVERITEC, and MOCHEG shows that DEFAME surpasses all previous methods, establishing itself as the new general state-of-the-art fact-checking system for uni-and multimodal fact-checking. Moreover, we introduce a new multimodal benchmark, CLAIM-REVIEW2024+, featuring claims after the knowledge cutoff of GPT-4O, avoiding data leakage. Here, DEFAME drastically outperforms the GPT-4O baselines, showing temporal generalizability and the potential for real-time fact-checking 2 .

For agents

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

get_harvested_code_for_paper("2412.10510")
get_code_for_paper("2412.10510")
have("2412.10510")

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

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

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

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

Connect an agent — have() is free.