SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.00662 · 2024

No Representation, No Trust: Connecting Representation, Collapse, and Trust Issues in PPO

arXiv · PDF · Open in the Atlas

Code that ran

6 of 8 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2405.00662.json · badge: /api/ran/2405.00662.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
claire-labo/no-representation-no-trust canonical (classifier label)
classifier basis: census
6 ran · 2 no recorded run
FunctionStatusWhere it lives
compute_loss Ran
ran; our contract draft was wrong, not the code
claire-labo/no-representation-no-trust/src/po_dynamics/toy_problem.py
code served (permissive licence) · get_code("dfa6b6e94ad09908")
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 1, dtype family float, shape (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

torch.manual_seed(0)

# Create small probability tensors
# prob_a1 and old_prob_a1 are used in division and clamping operations
# They should be positive probabilities (between 0 and 1)
prob_a1 = torch.tensor([0.3, 0.7, 0.5, 0.2], dtype=torch.float32)
old_prob_a1 = torch.tensor([0.4, 0.6, 0.4, 0.3], dtype=torch.float32)

ARGS = {
    "prob_a1": prob_a1,
    "old_prob_a1": old_prob_a1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (4,) — shape (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_all_diffs Ran
ran; our contract draft was wrong, not the code
claire-labo/no-representation-no-trust/src/po_dynamics/capacity.py
code served (permissive licence) · get_code("ae7f6764022caa45")
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 dict. The image it ran in was not recorded. If your copy returns the same type 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

torch.manual_seed(0)

# The function expects a dict called checkpoint_logs
# It looks for keys starting with 'capacity-checkpoint/start/'
# and corresponding keys with 'capacity-checkpoint/end/'
# Then it computes the difference between end and start values

checkpoint_logs = {
    'capacity-checkpoint/start/metric1': 10.5,
    'capacity-checkpoint/end/metric1': 15.3,
    'capacity-checkpoint/start/metric2': 20.0,
    'capacity-checkpoint/end/metric2': 25.5,
    'capacity-checkpoint/start/metric3': 5.0,
    # Note: metric3 has no corresponding end, so it won't be in results
    'other_key': 100.0,  # This key doesn't match the pattern
}

ARGS = {
    'checkpoint_logs': checkpoint_logs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
layer_init Ran
ran; our contract draft was wrong, not the code
claire-labo/no-representation-no-trust/src/cleanrl/ppo_atari_original.py
pointer only (licence: MIT); the stored copy get_code serves, from jaggbow/saf, is pointer only (licence: NONE) · get_code("beb42d440ccf2925")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from jaggbow/saf, 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. A run is recorded.

layer_init Ran
ran; our contract draft was wrong, not the code
claire-labo/no-representation-no-trust/src/cleanrl/ppo_atari_1model.py
code served (permissive licence) · get_code("064fcfc6277bdc44")
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 Linear. The image it ran in was not recorded. If your copy returns the same type 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
import numpy as np
import torch.nn as nn

torch.manual_seed(0)

# Create a small linear layer that will be initialized
layer = nn.Linear(in_features=3, out_features=4, bias=True)

# Define all arguments for layer_init
ARGS = {
    'layer': layer,
    'std': np.sqrt(2),
    'bias_const': 0.0,
    'toggle_init': True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
make_env Ran
ran on a synthesized input
claire-labo/no-representation-no-trust/src/cleanrl/ppo_mujoco_original.py
code served (permissive licence) · get_code("06ab2be7a18cea95")
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 function. The image it ran in was not recorded. If your copy returns the same type 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 gymnasium as gym
import numpy as np
import os

# Create videos directory if needed (though we won't actually write)
os.makedirs('videos', exist_ok=True)

ARGS = {
    'env_id': 'CartPole-v1',
    'idx': 0,
    'capture_video': False,
    'run_name': 'test_run',
    'gamma': 0.99
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gymnasium, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
make_env Ran
ran; our contract draft was wrong, not the code
claire-labo/no-representation-no-trust/src/cleanrl/ppo_mujoco_torchrl.py
code served (permissive licence) · get_code("6bdd010a8786120c")
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 function. The image it ran in was not recorded. If your copy returns the same type 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 gymnasium as gym
import numpy as np

class MockArgs:
    def __init__(self):
        self.normalize_obs = False
        self.time_aware = False
        self.truncate_steps = 100
        self.clip_obs = False
        self.normalize_reward = False
        self.clip_reward = False

args = MockArgs()

ARGS = {
    'env_id': 'CartPole-v1',
    'idx': 0,
    'capture_video': False,
    'run_name': 'test_run',
    'gamma': 0.99
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gymnasium, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
compute_complete_episode_mask Not yet run
unverified (harvested, no recorded run)
claire-labo/no-representation-no-trust/src/po_dynamics/solve.py
code served (permissive licence) · get_code("0f2ca43ea64f48a8")
How it ran

no invocation recorded.

load_and_merge_solve_config Not yet run
unverified (harvested, no recorded run)
claire-labo/no-representation-no-trust/src/po_dynamics/capacity.py
code served (permissive licence) · get_code("caaf9f4d417c3d7e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 1 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
layer_init 28 other papers
16 dated earlier, 1 the same month, 8 later, 2 same year, order not determinable, 1 undated · 2 only as an assembly brick
1611.02779 (2016-11)
RL$^2$: Fast Reinforcement Learning via Slow Reinforcement Learning
1611.05763 (2016-11)
Learning to reinforcement learn
1703.03400 (2017-03)
Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
and 25 more not named here
make_env 1 other paper
1 dated earlier
2402.03903 (2024-02)
Averaging n-step Returns Reduces Variance in Reinforcement Learning

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

Repositories linked to this paper

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

Abstract

Reinforcement learning (RL) is inherently rife with non-stationarity since the states and rewards the agent observes during training depend on its changing policy. Therefore, networks in deep RL must be capable of adapting to new observations and fitting new targets. However, previous works have observed that networks trained under non-stationarity exhibit an inability to continue learning, termed loss of plasticity, and eventually a collapse in performance. For off-policy deep value-based RL methods, this phenomenon has been correlated with a decrease in representation rank and the ability to fit random targets, termed capacity loss. Although this correlation has generally been attributed to neural network learning under non-stationarity, the connection to representation dynamics has not been carefully studied in on-policy policy optimization methods. In this work, we empirically study representation dynamics in Proximal Policy Optimization (PPO) on the Atari and MuJoCo environments, revealing that PPO agents are also affected by feature rank deterioration and capacity loss. We show that this is aggravated by stronger non-stationarity, ultimately driving the actor's performance to collapse, regardless of the performance of the critic. We ask why the trust region, specific to methods like PPO, cannot alleviate or prevent the collapse and find a connection between representation collapse and the degradation of the trust region, one exacerbating the other. Finally, we present Proximal Feature Optimization (PFO), a novel auxiliary loss that, along with other interventions, shows that regularizing the representation dynamics mitigates the performance collapse of PPO agents.

For agents

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

get_harvested_code_for_paper("2405.00662")
get_code_for_paper("2405.00662")
have("2405.00662")

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

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

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

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

Connect an agent — have() is free.