SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2507.13833 · ICML · 2026

DISTFLOW: A Fully Distributed RL Framework for Scalable and Efficient LLM Post-Training

Tianyi Zhou, Siyuan Feng, Yuan Cheng, Jiarui Hu, Yuan Qi, Ping Zhang, Jiaming Xu, Mingjun Zhang, Liming Liu, Tongyu Wang, Dian Yang, Zhixin Wang, and 1 more

arXiv · PDF · Open in the Atlas

Code that ran

1 of 5 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, 0 violated it and 0 have no contract verdict; 0 failures of our instrument; 4 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/2507.13833.json · badge: /api/ran/2507.13833.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
sii-research/siiRL canonical (classifier label)
classifier basis: census
1 ran · 4 no recorded run
FunctionStatusWhere it lives
compute_response_mask Ran
ran, honoured the contract we drafted
sii-research/siiRL/siirl/dag_worker/core_algos.py
code served (permissive licence) · get_code("93649546581dd98e")
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 Tensor, ndim 2, dtype family float, shape (2, 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 torch
from tensordict import TensorDict

torch.manual_seed(0)

# Test case 1: 2D responses (NLP case)
batch_size = 2
response_length = 4
sequence_length = 10

responses_2d = torch.randint(0, 100, (batch_size, response_length))
attention_mask_2d = torch.ones(batch_size, sequence_length)

data_2d = TensorDict({
    'responses': responses_2d,
    'attention_mask': attention_mask_2d,
}, batch_size=batch_size)

ARGS = {
    'data': data_2d
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensordict, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 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
get_policy_loss_fn Not yet run
unverified (harvested, no recorded run)
sii-research/siiRL/siirl/dag_worker/core_algos.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from xcyao00/HTPO, is pointer only (licence: NONE) · get_code("4934c3fc0de3741a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from xcyao00/HTPO, 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. No invocation recorded.

get_weight_loader Not yet run
unverified (harvested, no recorded run)
sii-research/siiRL/siirl/models/weight_loader_registry.py
code served (permissive licence) · get_code("426b805969d45ecc")
How it ran

no invocation recorded.

get_weight_saver Not yet run
unverified (harvested, no recorded run)
sii-research/siiRL/siirl/models/weight_loader_registry.py
code served (permissive licence) · get_code("507e0caf435dd1c2")
How it ran

no invocation recorded.

patch_tokenizer Not yet run
unverified (harvested, no recorded run)
sii-research/siiRL/siirl/models/patcher.py
code served (permissive licence) · get_code("9050a7fc8936cd84")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 4 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
get_policy_loss_fn 2 other papers
2 later
2605.02545 (2026-05)
Strategy-Aware Optimization Modeling with Reasoning LLMs
2605.08283 (2026-05)
HTPO: Towards Exploration-Exploitation Balanced Policy Optimization via Hierarchical Token-level Objective Control

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

Effectively scaling Reinforcement Learning (RL) is crucial for enhancing the reasoning and alignment of Large Language Models. The massive data and complex execution flows inherent in these tasks require a distributed architecture capable of efficient scaling. However, to simplify programming and dependency management, mainstream frameworks often rely on a centralized architecture where a single node dispatches both control and data. This inherent coupling creates significant communication bottlenecks, severely limiting system scalability and efficiency. We present DISTFLOW, a novel, fully distributed RL framework that adopts a multicontroller paradigm. By decoupling data transmission from control dispatch, DISTFLOW establishes a parallelism-aware, decentralized Data Coordinator that leverages local caching, load balancing, and asynchronous double buffer to minimize communication overhead and mitigate straggler effects. For control logic, it introduces a task scheduler built upon Directed Acyclic Graph (DAG) that facilitates fine-grained, independent execution. Experimental results demonstrate that DISTFLOW achieves near-linear scalability up to 512 GPUs and delivers up to a 2.63x throughput improvement over state-of-the-art (SOTA) frameworks. The source code is available at: https: //github.com/sii-research/siiRL.

For agents

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

get_harvested_code_for_paper("2507.13833")
get_code_for_paper("2507.13833")
have("2507.13833")

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

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

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

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

Connect an agent — have() is free.