SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.16495 · 2024

AtomR: Atomic Operator-Empowered Large Language Models for Heterogeneous Knowledge Reasoning

arXiv · PDF · Open in the Atlas

Code that ran

13 of 13 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 0 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/2411.16495.json · badge: /api/ran/2411.16495.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
THU-KEG/AtomR canonical (classifier label)
classifier basis: census
13 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_em Ran
ran, honoured the contract we drafted
THU-KEG/AtomR/src/calculate_metrics.py
pointer only (licence: NONE) · get_code("195f8f58bad34ea5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

calculate_f1 Ran
ran, honoured the contract we drafted
THU-KEG/AtomR/src/calculate_metrics.py
pointer only (licence: NONE) · get_code("06bd0fab42352980")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

extract_function_parameters Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/utils.py
pointer only (licence: NONE) · get_code("d8246404fe3d07ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

extract_json_tree Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/utils.py
pointer only (licence: NONE) · get_code("d416633bc4a27d59")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

extract_ref_indices Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/utils.py
pointer only (licence: NONE) · get_code("fc0dde79121e724b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

format_direct_answer_prompt_2wiki Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/prompts/answer_formulation_prompts.py
pointer only (licence: NONE) · get_code("0e84913598fcef69")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

format_direct_answer_prompt_hotpotqa Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/prompts/answer_formulation_prompts.py
pointer only (licence: NONE) · get_code("e3d56dc72fde480c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

format_kb_retrieval_answers Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/global_reasoner.py
pointer only (licence: NONE) · get_code("0c95c3f6f273a570")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

format_knowledge_source_selection_prompt Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/prompts/answer_formulation_prompts.py
pointer only (licence: NONE) · get_code("c8789437204b7582")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

format_text_retrieval_answers Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/global_reasoner.py
pointer only (licence: NONE) · get_code("cc1c3b57c07cc796")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

format_web_retrieval_answers Ran
ran; our contract draft was wrong, not the code
THU-KEG/AtomR/src/global_reasoner.py
pointer only (licence: NONE) · get_code("d4c571e9d833c51e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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
THU-KEG/AtomR/src/calculate_metrics.py
pointer only (licence: NONE) · get_code("702b1281050dbc40")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

overlap_coefficient Ran
ran, honoured the contract we drafted
THU-KEG/AtomR/src/knowledge_sources.py
pointer only (licence: NONE) · get_code("c499bbf79b863287")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, THU-KEG/AtomR 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.

Also present in other papers' code

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

Despite the outstanding capabilities of large language models (LLMs), knowledge-intensive reasoning still remains a challenging task due to LLMs' limitations in compositional reasoning and the hallucination problem. A prevalent solution is to employ chain-of-thought (CoT) with retrieval-augmented generation (RAG), which first formulates a reasoning plan by decomposing complex questions into simpler sub-questions, and then applies iterative RAG at each sub-question. However, prior works exhibit two crucial problems: inadequate reasoning planning and poor incorporation of heterogeneous knowledge. In this paper, we introduce AtomR, a framework for LLMs to conduct accurate heterogeneous knowledge reasoning at the atomic level. Inspired by how knowledge graph query languages model compositional reasoning through combining predefined operations, we propose three atomic knowledge operators, a unified set of operators for LLMs to retrieve and manipulate knowledge from heterogeneous sources. First, in the reasoning planning stage, AtomR decomposes a complex question into a reasoning tree where each leaf node corresponds to an atomic knowledge operator, achieving question decomposition that is highly fine-grained and orthogonal. Subsequently, in the reasoning execution stage, AtomR executes each atomic knowledge operator, which flexibly selects, retrieves, and operates atomic level knowledge from heterogeneous sources. We also introduce BlendQA, a challenging benchmark specially tailored for heterogeneous knowledge reasoning. Experiments on three single-source and two multi-source datasets show that AtomR outperforms state-of-the-art baselines by a large margin, with F1 score improvements of 9.4% on 2WikiMultihop and 9.5% on BlendQA. We release our code and datasets.

For agents

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

get_harvested_code_for_paper("2411.16495")
get_code_for_paper("2411.16495")
have("2411.16495")

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

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

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

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

Connect an agent — have() is free.