SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2603.00051 · 2026

LitBench: A Graph-Centric Large Language Model Benchmarking Tool For Literature Tasks

Rex Ying, Jialin Chen, Ali Maatouk, Leandros Tassiulas, Ngoc Bui, Jiasheng Zhang, Andreas Varvarigos

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 3 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2603.00051.json · badge: /api/ran/2603.00051.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
google-research/arxiv-latex-cleaner canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
FunctionStatusWhere it lives
if_prefixed Ran
ran; our contract draft was wrong, not the code
google-research/arxiv-latex-cleaner/arxiv_latex_cleaner/__main__.py
code served (permissive licence) · get_code("e591590e71c840ae")
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 argparse

def if_prefixed(orig_string):
    if orig_string.startswith('\\'):
        string = orig_string[1:]
    else:
        string = orig_string
    if not string.startswith('if'):
        raise argparse.ArgumentTypeError(f"Expected a string starting with 'if', got '{orig_string}'!")
    return string

# The function takes one parameter: orig_string
# It should be a string that either:
# 1. Starts with '\' followed by 'if' (the backslash will be stripped)
# 2. Directly starts with 'if'
# Any other format will raise an error

ARGS = {
    'orig_string': '\\ifexample'
}
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
merge_args_into_config Ran
ran; our contract draft was wrong, not the code
google-research/arxiv-latex-cleaner/arxiv_latex_cleaner/arxiv_latex_cleaner.py
code served (permissive licence) · get_code("d225401cc9ba2795")
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 copy

def merge_args_into_config(args, config_params):
    final_args = copy.deepcopy(config_params)
    config_keys = config_params.keys()
    for key, value in args.items():
        if key in config_keys:
            if any([isinstance(value, t) for t in [str, bool, float, int]]):
                final_args[key] = value
            elif isinstance(value, list):
                final_args[key] = value + config_params[key]
            elif isinstance(value, dict):
                final_args[key].update(**value)
        else:
            final_args[key] = value
    return final_args


# Setup code
ARGS = {
    "args": {
        "learning_rate": 0.001,
        "batch_size": 32,
        "epochs": 10,
        "model_name": "test_model",
        "use_gpu": False,
        "extra_layers": [1, 2, 3],
        "optimizer_config": {"momentum": 0.9},
        "new_param": "unique_value"
    },
    "config_params": {
        "learning_rate": 0.01,
        "batch_size": 16,
        "epochs": 5,
        "model_name": "default_model",
        "use_gpu": True,
        "extra_layers": [4, 5],
        "optimizer_config": {"weight_decay": 0.0001},
        "dropout": 0.5
    }
}
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 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
strip_whitespace Ran
ran; our contract draft was wrong, not the code
google-research/arxiv-latex-cleaner/arxiv_latex_cleaner/arxiv_latex_cleaner.py
code served (permissive licence) · get_code("2658d9e8d8f85bf0")
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 regex

torch_imported = False
try:
    import torch
    torch_imported = True
except ImportError:
    pass

# Construct arguments for strip_whitespace
text_input = "hello   world\t\nfoo\r\nbar"

ARGS = {
    "text": text_input
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
regex, 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

Also present in other papers' code

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

While large language models (LLMs) have become the de facto framework for literature-related tasks, they still struggle to function as domain-specific literature agents due to their inability to connect pieces of knowledge and reason across domain-specific contexts, terminologies, and nomenclatures. This challenge underscores the need for a tool that facilitates such domain-specific adaptation and enables rigorous benchmarking across literature tasks. To that end, we introduce LitBench, a benchmarking tool designed to enable the development and evaluation of domain-specific LLMs tailored to literature-related tasks. At its core, LitBench uses a data curation process that generates domain-specific literature sub-graphs and constructs training and evaluation datasets based on the textual attributes of the resulting nodes and edges. The tool is designed for flexibility, supporting the curation of literature graphs across any domain chosen by the user, whether high-level fields or specialized interdisciplinary areas. In addition to dataset curation, LitBench defines a comprehensive suite of literature tasks, ranging from node and edge level analyses to advanced applications such as related work generation. These tasks enable LLMs to internalize domain-specific knowledge and relationships embedded in the curated graph during training, while also supporting rigorous evaluation of model performance. Our results show that small domain-specific LLMs trained and evaluated on LitBench datasets achieve competitive performance compared to state-of-the-art models like GPT-4o and DeepSeek-R1. To enhance accessibility and ease of use, we open-source the tool along with an AI agent tool that streamlines data curation, model training, and evaluation.

For agents

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

get_harvested_code_for_paper("2603.00051")
get_code_for_paper("2603.00051")
have("2603.00051")

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

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

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

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

Connect an agent — have() is free.