SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.03823 · ACL · 2024

A Modular Approach for Multimodal Summarization of TV Shows

Mirella Lapata, Louis Mahon

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 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; 1 honoured the contract we drafted, 3 violated it and 0 have no contract verdict; 6 failures of our instrument; 2 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/2403.03823.json · badge: /api/ran/2403.03823.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
shmsw25/FActScore canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
best_demos Ran
ran; our contract draft was wrong, not the code
shmsw25/FActScore/factscore/atomic_facts.py
pointer only (licence: MIT); the stored copy get_code serves, from dmis-lab/olaph, is pointer only (licence: NONE) · get_code("510528f4db1006bc")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dmis-lab/olaph, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

call_ChatGPT Ran
ran; our contract draft was wrong, not the code
shmsw25/FActScore/factscore/openai_lm.py
code served (permissive licence) · get_code("6c0eab0d68ea3036")
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 openai
import sys
import time
import numpy as np
import logging

# Mock the openai module to avoid actual API calls
class MockChatCompletion:
    @staticmethod
    def create(model, messages, max_tokens, temperature):
        return {
            "id": "chatcmpl-123",
            "object": "chat.completion",
            "created": 1234567890,
            "model": model,
            "choices": [
                {
                    "index": 0,
                    "message": {
                        "role": "assistant",
                        "content": "This is a mock response."
                    },
                    "finish_reason": "stop"
                }
            ],
            "usage": {
                "prompt_tokens": 10,
                "completion_tokens": 20,
                "total_tokens": 30
            }
        }

openai.ChatCompletion = MockChatCompletion

# Set up logging
logging.basicConfig(level=logging.INFO)

# Define valid arguments for call_ChatGPT
ARGS = {
    'message': [
        {
            'role': 'user',
            'content': 'What is the capital of France?'
        }
    ],
    'model_name': 'gpt-3.5-turbo',
    'max_len': 1024,
    'temp': 0.7,
    'verbose': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, openai — 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
call_GPT3 Ran
ran; our contract draft was wrong, not the code
shmsw25/FActScore/factscore/openai_lm.py
code served (permissive licence) · get_code("e5bb87d92ea99a8b")
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 openai
import sys
import time
import numpy as np
import logging

# Mock the openai module since we can't make real API calls
class MockCompletion:
    @staticmethod
    def create(model, prompt, max_tokens, temperature, logprobs, echo):
        return {
            'id': 'mock-id',
            'object': 'text_completion',
            'created': 1234567890,
            'model': model,
            'choices': [
                {
                    'text': 'This is a mock response.',
                    'index': 0,
                    'logprobs': None,
                    'finish_reason': 'length'
                }
            ],
            'usage': {
                'prompt_tokens': 10,
                'completion_tokens': 5,
                'total_tokens': 15
            }
        }

class MockError(Exception):
    pass

class MockInvalidRequestError(MockError):
    pass

# Patch openai module
openai.Completion = MockCompletion
openai.error = type('error', (), {'InvalidRequestError': MockInvalidRequestError})()

ARGS = {
    'prompt': 'What is the capital of France?',
    'model_name': 'text-davinci-003',
    'max_len': 512,
    'temp': 0.7,
    'num_log_probs': 0,
    'echo': False,
    'verbose': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, openai — 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_memory_footprint Ran
ran, honoured the contract we drafted
shmsw25/FActScore/factscore/utils.py
code served (permissive licence) · get_code("f06c53e363e1ebaa")
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 int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was 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

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        # Add parameters
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
        # Add buffers (non-parameter tensors)
        self.register_buffer('running_mean', torch.randn(3))
        self.register_buffer('running_var', torch.randn(3))
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    'model': model,
    'return_buffers': True,
}
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 int, ndim 0, dtype family int, shape () — shape () 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
is_invalid_paragraph_ppl Ran
ran, violated the contract we drafted
shmsw25/FActScore/factscore/abstain_detection.py
pointer only (licence: MIT); the stored copy get_code serves, from dmis-lab/olaph, is pointer only (licence: NONE) · get_code("8eb846a8e76a79b8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dmis-lab/olaph, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_invalid_ppl Ran
ran, violated the contract we drafted
shmsw25/FActScore/factscore/abstain_detection.py
pointer only (licence: MIT); the stored copy get_code serves, from dmis-lab/olaph, is pointer only (licence: NONE) · get_code("672bd38d830be48d")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dmis-lab/olaph, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_answer Ran
ran; our contract draft was wrong, not the code
shmsw25/FActScore/factscore/atomic_facts.py
pointer only (licence: MIT); the stored copy get_code serves, from saptarshi059/cdqa-project, is pointer only (licence: NONE) · get_code("6a96435eba311b08")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from saptarshi059/cdqa-project, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_citation Ran
ran; our contract draft was wrong, not the code
shmsw25/FActScore/factscore/abstain_detection.py
pointer only (licence: MIT); the stored copy get_code serves, from rhyang2021/logu, is pointer only (licence: NONE) · get_code("3635046105ae0fce")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from rhyang2021/logu, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

softmax Ran
ran, violated the contract we drafted
shmsw25/FActScore/factscore/npm.py
code served (permissive licence) · get_code("925c59b7e44138ab")
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 ndarray, ndim 1, dtype family float, shape (4,) as a later run recorded it. The image it ran in was 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 numpy as np

# The softmax function takes a single parameter 'x' which should be a numpy array
# The function computes exp(x - max(x)) / sum(exp(x - max(x)))
# So x needs to be a 1D or 2D numpy array of numeric values

x = np.array([1.0, 2.0, 3.0, 4.0])

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (4,) — shape (4,) 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
text_to_sentences Ran
ran; our contract draft was wrong, not the code
shmsw25/FActScore/factscore/atomic_facts.py
pointer only (licence: MIT); the stored copy get_code serves, from dmis-lab/olaph, is pointer only (licence: NONE) · get_code("13867f872a481bd3")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from dmis-lab/olaph, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

convert_model_to_int8_on_gpu Not yet run
unverified (harvested, no recorded run)
shmsw25/FActScore/factscore/utils.py
code served (permissive licence) · get_code("7e4c366c4dbf9568")
How it ran

no invocation recorded.

recover_instruct_llama Not yet run
unverified (harvested, no recorded run)
shmsw25/FActScore/factscore/download_data.py
code served (permissive licence) · get_code("02c83d89394be1c7")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 1 the same month, 7 later) and 0 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.

FunctionAlso present inEarliest-datedOthers named
normalize_answer 37 other papers
27 dated earlier, 1 the same month, 9 later · 1 only as an assembly brick
1808.07042 (2018-08)
CoQA: A Conversational Question Answering Challenge
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1902.01718 (2019-02)
End-to-End Open-Domain Question Answering with BERTserini
and 34 more not named here
is_invalid_paragraph_ppl 6 other papers
3 dated earlier, 3 later
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.12659 (2024-02)
FinBen: A Holistic Financial Benchmark for Large Language Models
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
and 3 more not named here
is_invalid_ppl 6 other papers
3 dated earlier, 3 later
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.12659 (2024-02)
FinBen: A Holistic Financial Benchmark for Large Language Models
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
and 3 more not named here
remove_citation 6 other papers
3 dated earlier, 3 later
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.12659 (2024-02)
FinBen: A Holistic Financial Benchmark for Large Language Models
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
and 3 more not named here
best_demos 5 other papers
3 dated earlier, 2 later
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.12659 (2024-02)
FinBen: A Holistic Financial Benchmark for Large Language Models
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
and 2 more not named here
text_to_sentences 5 other papers
3 dated earlier, 2 later
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.12659 (2024-02)
FinBen: A Holistic Financial Benchmark for Large Language Models
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
and 2 more not named here
recover_instruct_llama 4 other papers
3 dated earlier, 1 later
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.12659 (2024-02)
FinBen: A Holistic Financial Benchmark for Large Language Models
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
and 1 more not named here
convert_model_to_int8_on_gpu 3 other papers
3 dated earlier
2212.10511 (2022-12)
When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
get_memory_footprint 3 other papers
3 dated earlier
2212.10511 (2022-12)
When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
softmax 3 other papers
3 dated earlier
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.12659 (2024-02)
FinBen: A Holistic Financial Benchmark for Large Language Models
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
call_ChatGPT 2 other papers
2 dated earlier
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation
2402.18045 (2024-02)
Multi-FAct: Assessing Factuality of Multilingual LLMs using FActScore
call_GPT3 1 other paper
1 dated earlier
2305.14251 (2023-05)
FACTSCORE: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generation

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

In this paper we address the task of summarizing television shows, which touches key areas in AI research: complex reasoning, multiple modalities, and long narratives. We present a modular approach where separate components perform specialized sub-tasks which we argue affords greater flexibility compared to end-toend methods. Our modules involve detecting scene boundaries, reordering scenes so as to minimize the number of cuts between different events, converting visual information to text, summarizing the dialogue in each scene, and fusing the scene summaries into a final summary for the entire episode. We also present a new metric, PRISMA (Precision and Recall Evaluation of Summary Facts), to measure both precision and recall of generated summaries, which we decompose into atomic facts. Tested on the recently released SummScreen3D dataset (Papalampidi and Lapata, 2023), our method produces higher quality summaries than comparison models, as measured with ROUGE and our new fact-based metric.

For agents

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

get_harvested_code_for_paper("2403.03823")
get_code_for_paper("2403.03823")
have("2403.03823")

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

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

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

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

Connect an agent — have() is free.