SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.09584 · 2024

Toward General Instruction-Following Alignment for Retrieval-Augmented Generation

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 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/2410.09584.json · badge: /api/ran/2410.09584.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
dongguanting/FollowRAG canonical (classifier label)
classifier basis: census
7 ran · 2 no recorded run
FunctionStatusWhere it lives
construct_eval_prompt Ran
ran; our contract draft was wrong, not the code
dongguanting/FollowRAG/FollowRAG/eval/rag_eval.py
pointer only (licence: NONE) · get_code("d663a34433138f3b")
How it ran

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

count_words Ran
ran, honoured the contract we drafted
dongguanting/FollowRAG/FollowRAG/utils/instruction_following_eval/instructions_util.py
pointer only (licence: NONE) · get_code("cdcc85ca09b00f7e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongguanting/FollowRAG 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_rating Ran
ran, honoured the contract we drafted
dongguanting/FollowRAG/FollowRAG/eval/rag_eval.py
pointer only (licence: NONE) · get_code("8ad4bfd77fd4b38e")
How it ran

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

read_json Ran
ran; our contract draft was wrong, not the code
dongguanting/FollowRAG/FollowRAG/utils/util.py
pointer only (licence: NONE) · get_code("621bb80a81f5a607")
How it ran

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

read_jsonl Ran
ran; our contract draft was wrong, not the code
dongguanting/FollowRAG/FollowRAG/utils/util.py
pointer only (licence: NONE) · get_code("7bb90ae0136ac9dd")
How it ran

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

read_txt Ran
ran; our contract draft was wrong, not the code
dongguanting/FollowRAG/FollowRAG/utils/util.py
pointer only (licence: NONE) · get_code("740114bd24430c6f")
How it ran

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

split_into_sentences Ran
ran; our contract draft was wrong, not the code
dongguanting/FollowRAG/FollowRAG/utils/instruction_following_eval/instructions_util.py
pointer only (licence: NONE); the stored copy get_code serves, from Rainier-rq1/From_Coarse_to_Fine, is pointer only (licence: NONE) · get_code("34d346853108011e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongguanting/FollowRAG 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_gpt Not yet run
unverified (harvested, no recorded run)
dongguanting/FollowRAG/FollowRAG/utils/call_llm.py
pointer only (licence: NONE) · get_code("30de2ad5d6678c9d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongguanting/FollowRAG 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. No invocation recorded.

count_sentences Not yet run
unverified (harvested, no recorded run)
dongguanting/FollowRAG/FollowRAG/utils/instruction_following_eval/instructions_util.py
pointer only (licence: NONE) · get_code("f79646ddd0a03162")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dongguanting/FollowRAG 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. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 6 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
split_into_sentences 8 other papers
4 dated earlier, 4 later
2309.00071 (2023-09)
YaRN: Efficient Context Window Extension of Large Language Models
2311.07911 (2023-11)
Instruction-Following Evaluation for Large Language Models
2404.15846 (2024-04)
From Complex to Simple: Enhancing Multi-Constraint Complex Instruction Following Ability of Large Language Models
and 5 more not named here
count_words 6 other papers
5 dated earlier, 1 later
2309.00071 (2023-09)
YaRN: Efficient Context Window Extension of Large Language Models
2311.07911 (2023-11)
Instruction-Following Evaluation for Large Language Models
2401.16745 (2024-01)
MT-Eval: A Multi-Turn Capabilities Evaluation Benchmark for Large Language Models
and 3 more not named here
count_sentences 5 other papers
4 dated earlier, 1 later
2309.00071 (2023-09)
YaRN: Efficient Context Window Extension of Large Language Models
2311.07911 (2023-11)
Instruction-Following Evaluation for Large Language Models
2404.15846 (2024-04)
From Complex to Simple: Enhancing Multi-Constraint Complex Instruction Following Ability of Large Language Models
and 2 more not named here

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

Following natural instructions is crucial for the effective application of Retrieval-Augmented Generation (RAG) systems. Despite recent advancements in Large Language Models (LLMs), research on assessing and improving instruction-following (IF) alignment within the RAG domain remains limited. To address this issue, we propose VIF-RAG, the first automated, scalable, and verifiable synthetic pipeline for instruction-following alignment in RAG systems. We start by manually crafting a minimal set of atomic instructions (<100) and developing combination rules to synthesize and verify complex instructions for a seed set. We then use supervised models for instruction rewriting while simultaneously generating code to automate the verification of instruction quality via a Python executor. Finally, we integrate these instructions with extensive RAG and general data samples, scaling up to a high-quality VIF-RAG-QA dataset (>100k) through automated processes. To further bridge the gap in instruction-following auto-evaluation for RAG systems, we introduce FollowRAG Benchmark, which includes approximately 3K test samples, covering 22 categories of general instruction constraints and four knowledge-intensive QA datasets. Due to its robust pipeline design, FollowRAG can seamlessly integrate with different RAG benchmarks. Using FollowRAG and eight widely-used IF and foundational abilities benchmarks for LLMs, we demonstrate that VIF-RAG markedly enhances LLM performance across a broad range of general instruction constraints while effectively leveraging its capabilities in RAG scenarios. Further analysis offers practical insights for achieving IF alignment in RAG systems. Our code and datasets are released at https://FollowRAG.github.io.

For agents

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

get_harvested_code_for_paper("2410.09584")
get_code_for_paper("2410.09584")
have("2410.09584")

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

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

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

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

Connect an agent — have() is free.