SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.17135 · 2024

Unsupervised Zero-Shot Reinforcement Learning via Functional Reward Encodings

arXiv · PDF · Open in the Atlas

Code that ran

8 of 11 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, 2 violated it and 0 have no contract verdict; 4 failures of our instrument; 3 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.17135.json · badge: /api/ran/2402.17135.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
kvfrans/fre canonical (classifier label)
classifier basis: census
8 ran · 3 no recorded run
FunctionStatusWhere it lives
evaluate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kvfrans/fre/common/evaluation.py
pointer only (licence: NONE) · get_code("645ceabf0ab26408")
How it ran

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

expectile_loss Ran
ran, violated the contract we drafted
kvfrans/fre/algs/iql.py
pointer only (licence: NONE); the stored copy get_code serves, from ZhengYinan-AIR/FISOR, is pointer only (licence: NONE) · get_code("ad221b0896e1bcd0")
How it ran

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

expectile_loss Ran
ran, violated the contract we drafted
kvfrans/fre/experiment/run_fre.py
pointer only (licence: NONE) · get_code("33d24c59c871db71")
How it ran

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

flatten Ran
ran; our contract draft was wrong, not the code
kvfrans/fre/common/evaluation.py
pointer only (licence: NONE) · get_code("12a345043a2eef22")
How it ran

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

get_canvas_image Ran
ran, honoured the contract we drafted
kvfrans/fre/experiment/ant_helper.py
pointer only (licence: NONE); the stored copy get_code serves, from seohongpark/HILP, is pointer only (licence: NONE) · get_code("2d17f9689108389d")
How it ran

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

mish Ran
ran, honoured the contract we drafted
kvfrans/fre/common/networks/basic.py
pointer only (licence: NONE); the stored copy get_code serves, from diffusionyes/maxentdp, is pointer only (licence: NONE) · get_code("7fc1d127bf81537f")
How it ran

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

shard_batch Ran
ran; our contract draft was wrong, not the code
kvfrans/fre/common/train_state.py
pointer only (licence: NONE) · get_code("2c467ba4d50c077e")
How it ran

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

supply_rng Ran
ran; our contract draft was wrong, not the code
kvfrans/fre/common/utils.py
pointer only (licence: NONE) · get_code("58ec0d58eba92372")
How it ran

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

ensemblize Not yet run
unverified (harvested, no recorded run)
kvfrans/fre/common/networks/basic.py
pointer only (licence: NONE); the stored copy get_code serves, from seohongpark/HILP, is pointer only (licence: NONE) · get_code("7f174e0d2fe49c08")
How it ran

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

target_update Not yet run
unverified (harvested, no recorded run)
kvfrans/fre/common/train_state.py
pointer only (licence: NONE) · get_code("b10ceb550bad20ce")
How it ran

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

value_image Not yet run
unverified (harvested, no recorded run)
kvfrans/fre/experiment/ant_helper.py
pointer only (licence: NONE) · get_code("38840ed49d8dfd99")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kvfrans/fre 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 7 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 2 the same month, 6 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
mish 7 other papers
1 dated earlier, 6 later · 1 only as an assembly brick
2312.11752 (2023-12)
Learning a Diffusion Model Policy from Rewards via Q-Score Matching
2405.20555 (2024-05)
Diffusion Actor-Critic: Formulating Constrained Policy Iteration as Diffusion Noise Regression for Offline Reinforcement Learning
2410.20312 (2024-10)
Q-Distribution guided Q-learning for offline reinforcement learning: Uncertainty penalized Q-value via consistency model
and 4 more not named here
ensemblize 6 other papers
1 dated earlier, 1 the same month, 4 later · 2 only as an assembly brick
2307.11949 (2023-07)
HIQL: Offline Goal-Conditioned RL with Latent States as Actions
2402.15567 (2024-02)
Foundation Policies with Hilbert Representations
2406.09329 (2024-06)
Is Value Learning Really the Main Bottleneck in Offline RL?
and 3 more not named here
get_canvas_image 4 other papers
2 dated earlier, 1 the same month, 1 later
2304.04782 (2023-04)
Reinforcement Learning from Passive Data via Latent Intentions
2307.11949 (2023-07)
HIQL: Offline Goal-Conditioned RL with Latent States as Actions
2402.15567 (2024-02)
Foundation Policies with Hilbert Representations
and 1 more not named here
expectile_loss 3 other papers
2 dated earlier, 1 later
2304.10573 (2023-04)
IDQL: Implicit Q-Learning as an Actor-Critic Method with Diffusion Policies
2401.10700 (2024-01)
Safe Offline Reinforcement Learning with Feasibility-Guided Diffusion Model
2502.05932 (2025-02)
Skill Expansion and Composition in Parameter Space
flatten 3 other papers
3 later
2412.07762 (2024-12)
Efficient Online Reinforcement Learning Fine-Tuning Need Not Retain Offline Data
2605.06156 (2026-05)
Entropy-Regularized Adjoint Matching for Offline Reinforcement Learning
2609.15883 (2026-09)
Learning Multimodal One-step Flow Policy via Value-weighted Optimal Transport
expectile_loss 1 other paper
1 dated earlier
2307.11949 (2023-07)
HIQL: Offline Goal-Conditioned RL with Latent States as Actions
supply_rng 1 other paper
1 later
2609.15883 (2026-09)
Learning Multimodal One-step Flow Policy via Value-weighted Optimal Transport

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

Can we pre-train a generalist agent from a large amount of unlabeled offline trajectories such that it can be immediately adapted to any new downstream tasks in a zero-shot manner? In this work, we present a functional reward encoding (FRE) as a general, scalable solution to this zero-shot RL problem. Our main idea is to learn functional representations of any arbitrary tasks by encoding their state-reward samples using a transformer-based variational auto-encoder. This functional encoding not only enables the pre-training of an agent from a wide diversity of general unsupervised reward functions, but also provides a way to solve any new downstream tasks in a zero-shot manner, given a small number of reward-annotated samples. We empirically show that FRE agents trained on diverse random unsupervised reward functions can generalize to solve novel tasks in a range of simulated robotic benchmarks, often outperforming previous zero-shot RL and offline RL methods. Code for this project is provided at: https://github.com/kvfrans/fre

For agents

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

get_harvested_code_for_paper("2402.17135")
get_code_for_paper("2402.17135")
have("2402.17135")

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

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

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

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

Connect an agent — have() is free.