SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.07226 · AAAI · 2024

Stitching Sub-trajectories with Conditional Diffusion Model for Goal-Conditioned Offline RL

Kee-Eung Kim, Daiki Matsunaga, Sungyoon Kim, Yunseon Choi

arXiv · PDF · Open in the Atlas

Code that ran

20 of 29 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, 1 violated it and 8 have no contract verdict; 8 failures of our instrument; 9 no recorded run), measured 2026-11-22; 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/2402.07226.json · badge: /api/ran/2402.07226.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
rlatjddbs/ssd canonical (classifier label)
classifier basis: census
4 ran · 0 no recorded run
rlatjddbs/SSD community
Papers with Code archive
16 ran · 9 no recorded run
FunctionStatusWhere it lives
Conv1dBlock Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("7d5fe12da38ea3f5")
How it ran

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

Downsample1d Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("52a4fe52c83d4acb")
How it ran

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

HindsightCritic Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("d5a64382ebf227b3")
How it ran

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

ResidualTemporalBlock Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("d7aa55fb04049d51")
How it ran

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

Timer Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("92d5319d3f565de2")
How it ran

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

Upsample1d Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("3ff139e92610787b")
How it ran

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

WeightedL1 Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("dfe036fdc5d15991")
How it ran

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

WeightedL2 Ran
ran on a synthesized input
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("264959cf75b98c11")
How it ran

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

batch_to_device Ran
ran; our contract draft was wrong, not the code
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("61a25fc7fbbca3a7")
How it ran

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

cycle Ran
ran; our contract draft was wrong, not the code
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("33fe2742a5ad304c")
How it ran

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

discounted_return Ran
ran, honoured the contract we drafted
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("1aec056948f8cf9f")
How it ran

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

discounted_return Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rlatjddbs/ssd/bc/agents.py
pointer only (licence: NONE) · get_code("09e5d94abb73ef7b")
How it ran

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

goal_distance Ran
ran, violated the contract we drafted
rlatjddbs/ssd/bc/base_agent.py
pointer only (licence: NONE); the stored copy get_code serves, from sunlighted/rbsl, is pointer only (licence: NONE) · get_code("6eb59c36d3f33fe4")
How it ran

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

increasing_schedule Ran
ran, honoured the contract we drafted
rlatjddbs/ssd/utils/eval_module.py
pointer only (licence: NONE) · get_code("67c16af0a0af4b08")
How it ran

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

main Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("77cff4b5b63e486e")
How it ran

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

main_maze Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rlatjddbs/ssd/utils/eval_module.py
pointer only (licence: NONE) · get_code("b33aeaa0860fa787")
How it ran

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

pad_horizon Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("4afff382ab811901")
How it ran

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

to_device Ran
ran; our contract draft was wrong, not the code
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("06e523fad286371d")
How it ran

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

to_np Ran
ran, honoured the contract we drafted
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("0e8d8251e66ab160")
How it ran

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

to_torch Ran
ran; our contract draft was wrong, not the code
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("a31d5ee8d54d737b")
How it ran

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

DiffuserCritic Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("0b6de38ffcf51a1e")
How it ran

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

GaussianDiffusion Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("880a368bc0c23611")
How it ran

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

TemporalUnetTransformer Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("0d1e4f14a279e96a")
How it ran

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

ValueL1 Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("ddcd47f61ee383c7")
How it ran

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

ValueL2 Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("14519433f6d88b11")
How it ran

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

ValueLoss Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("ab29d5d735d5a9cb")
How it ran

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

WeightedLoss Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("aa6bfea7b5d980c8")
How it ran

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

copy_nn_module Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("26a7c332d2d6fdbb")
How it ran

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

soft_copy_nn_module Not yet run
unverified (harvested, no recorded run)
rlatjddbs/SSD/dc/dc.py
pointer only (licence: NONE) · get_code("49af4ec227a55bc8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, rlatjddbs/SSD 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 29 samples lifted from this paper's linked repositories, 29 carry a function identity and 0 do not. Of the 29 distinct functions with an identity, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 5 the same month, 4 later) and 20 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
WeightedL1
brick of this paper's assembly: helper
8 other papers
5 dated earlier, 1 the same month, 2 later · 2 only as an assembly brick
2208.06193 (2022-08)
Diffusion Policies as an Expressive Policy Class for Offline Reinforcement Learning
2210.15629 (2022-10)
Language Control Diffusion: Efficiently Scaling through Space, Time, and Tasks
2305.18459 (2023-05)
Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
and 5 more not named here
WeightedL2
brick of this paper's assembly: helper
8 other papers
5 dated earlier, 1 the same month, 2 later · 2 only as an assembly brick
2208.06193 (2022-08)
Diffusion Policies as an Expressive Policy Class for Offline Reinforcement Learning
2210.15629 (2022-10)
Language Control Diffusion: Efficiently Scaling through Space, Time, and Tasks
2305.18459 (2023-05)
Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
and 5 more not named here
goal_distance 4 other papers
3 dated earlier, 1 later
1806.07851 (2018-06)
Sim-to-Real Reinforcement Learning for Deformable Object Manipulation
2104.06922 (2021-04)
Safe Continuous Control with Constrained Model-Based Policy Optimization
2206.03023 (2022-06)
Offline Goal-Conditioned Reinforcement Learning via f -Advantage Regression
and 1 more not named here
ValueL1
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 the same month · 1 only as an assembly brick
2305.18459 (2023-05)
Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
2402.14407 (2024-02)
Learning an Actionable Discrete Diffusion Policy via Large-Scale Actionless Video Pre-Training
ValueL2
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 the same month · 1 only as an assembly brick
2305.18459 (2023-05)
Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
2402.14407 (2024-02)
Learning an Actionable Discrete Diffusion Policy via Large-Scale Actionless Video Pre-Training
ValueLoss
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 the same month · 1 only as an assembly brick
2305.18459 (2023-05)
Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
2402.14407 (2024-02)
Learning an Actionable Discrete Diffusion Policy via Large-Scale Actionless Video Pre-Training
to_np
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2106.02039 (2021-06)
Offline Reinforcement Learning as One Big Sequence Modeling Problem
2305.18459 (2023-05)
Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
to_torch
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
2305.18459 (2023-05)
Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning
2407.14653 (2024-07)
OASIS: Conditional Distribution Shaping for Offline Safe Reinforcement Learning
to_device
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2310.19427 (2023-10)
Refining Diffusion Planner for Reliable Behavior Synthesis by Automatic Detection of Infeasible Plans

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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Offline Goal-Conditioned Reinforcement Learning (Offline GCRL) is an important problem in RL that focuses on acquiring diverse goal-oriented skills solely from pre-collected behavior datasets. In this setting, the reward feedback is typically absent except when the goal is achieved, which makes it difficult to learn policies especially from a finite dataset of suboptimal behaviors. In addition, realistic scenarios involve long-horizon planning, which necessitates the extraction of useful skills within sub-trajectories. Recently, the conditional diffusion model has been shown to be a promising approach to generate high-quality long-horizon plans for RL. However, their practicality for the goal-conditioned setting is still limited due to a number of technical assumptions made by the methods. In this paper, we propose SSD (Subtrajectory Stitching with Diffusion), a model-based offline GCRL method that leverages the conditional diffusion model to address these limitations. In summary, we use the diffusion model that generates future plans conditioned on the target goal and value, with the target value estimated from the goal-relabeled offline dataset. We report state-of-the-art performance in the standard benchmark set of GCRL tasks, and demonstrate the capability to successfully stitch the segments of suboptimal trajectories in the offline data to generate highquality plans.

For agents

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

get_harvested_code_for_paper("2402.07226")
get_code_for_paper("2402.07226")
have("2402.07226")

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

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

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

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

Connect an agent — have() is free.