SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.05266 · NeurIPS · 2022

Does Self-supervised Learning Really Improve Reinforcement Learning from Pixels?

Michael Ryoo, Xiang Li, Jinghuan Shang, Srijan Das

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 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 1 has no contract verdict; 5 failures of our instrument; 0 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/2206.05266.json · badge: /api/ran/2206.05266.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
LostXine/elo-sac canonical (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
LostXine/elo-rainbow canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
gaussian_logprob Ran
ran; our contract draft was wrong, not the code
LostXine/elo-sac/elo_sac.py
code served (permissive licence) · get_code("daa7b3a0355eb7c3")
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) and returned Tensor, ndim 2, dtype family float, shape (2, 1) 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
import numpy as np

torch.manual_seed(0)

# Create a small noise tensor with shape (batch_size=2, feature_dim=4)
noise = torch.randn(2, 4)

# Create a small log_std tensor with shape (batch_size=2, feature_dim=4)
log_std = torch.randn(2, 4)

ARGS = {
    "noise": noise,
    "log_std": log_std,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, 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, 1) — shape (2, 1) 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
make_dir Ran
ran; our contract draft was wrong, not the code
LostXine/elo-sac/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from silihuang-ai/idt, is pointer only (licence: NONE) · get_code("42958997018c3581")
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 silihuang-ai/idt, 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.

make_encoder Ran
ran; our contract draft was wrong, not the code
LostXine/elo-sac/encoder.py
code served (permissive licence) · get_code("ced159fb4f2d853b")
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 PixelEncoder. 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    'encoder_type': 'pixel',
    'obs_shape': (3, 84, 84),
    'feature_dim': 50,
    'num_layers': 2,
    'num_filters': 32,
    'output_logits': False
}
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 PixelEncoder — a PixelEncoder output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a PixelEncoder 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_handler Ran
ran; our contract draft was wrong, not the code
LostXine/elo-rainbow/server.py
code served (permissive licence) · get_code("ef505603f4520121")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned type. 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 logging

class ParaManager:
    def __init__(self):
        self.task_counter = 0
        self.eval_counter = 0
        
    def get_next(self):
        """Return next task as a string"""
        self.task_counter += 1
        return f"task_{self.task_counter}"
    
    def get_eval(self):
        """Return evaluation task as a string"""
        self.eval_counter += 1
        return f"eval_{self.eval_counter}"
    
    def get_status(self, full=False):
        """Return status information as a string"""
        if full:
            return f"Full status: tasks={self.task_counter}, evals={self.eval_counter}"
        else:
            return f"Status: tasks={self.task_counter}"
    
    def post_para(self, data_str):
        """Process posted parameter data. Return 0 for success, non-zero for error"""
        # Return 0 (False) for success, non-zero (True) for error
        if data_str and len(data_str) > 0:
            return 0  # Success
        else:
            return 1  # Error

para_manager = ParaManager()

ARGS = {
    'para_manager': para_manager
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
module_hash Ran
ran, honoured the contract we drafted
LostXine/elo-sac/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from agentification/RP_PGM, is pointer only (licence: NONE) · get_code("63cc0b17d508c362")
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 agentification/RP_PGM, 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.

preprocess_obs Ran
ran on a synthesized input
LostXine/elo-sac/utils.py
code served (permissive licence) · get_code("6428d2b9919f888a")
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 4, dtype family float, shape (2, 3, 4, 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 a small observation tensor (batch=2, channels=3, height=4, width=4)
# with values in the typical image range [0, 255]
obs = torch.randint(0, 256, (2, 3, 4, 4), dtype=torch.uint8)

# bits parameter - number of bits for quantization
bits = 5

ARGS = {
    "obs": obs,
    "bits": bits
}
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 4, dtype family float, shape (2, 3, 4, 4) — shape (2, 3, 4, 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
squash Ran
ran; our contract draft was wrong, not the code
LostXine/elo-sac/elo_sac.py
code served (permissive licence) · get_code("e4f442d1770eacd1")
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) and returned tuple. 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 torch.nn.functional as F

torch.manual_seed(0)

# Create small tensors for the function arguments
batch_size = 2
dim = 4

# mu: input tensor that will be passed through tanh
mu = torch.randn(batch_size, dim)

# pi: tensor that will be passed through tanh (can be None)
pi = torch.randn(batch_size, dim)

# log_pi: log probability tensor (can be None)
log_pi = torch.randn(batch_size, 1)

ARGS = {
    "mu": mu,
    "pi": pi,
    "log_pi": log_pi,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 5 later) and 2 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
gaussian_logprob 15 other papers
12 dated earlier, 3 later · 3 only as an assembly brick
1910.01741 (2019-10)
Improving Sample Efficiency in Model-Free Reinforcement Learning from Images
2004.04136 (2020-04)
CURL: Contrastive Unsupervised Representations for Reinforcement Learning
2004.14990 (2020-04)
Reinforcement Learning with Augmented Data
and 12 more not named here
squash 14 other papers
11 dated earlier, 3 later · 3 only as an assembly brick
1910.01741 (2019-10)
Improving Sample Efficiency in Model-Free Reinforcement Learning from Images
2004.04136 (2020-04)
CURL: Contrastive Unsupervised Representations for Reinforcement Learning
2004.14990 (2020-04)
Reinforcement Learning with Augmented Data
and 11 more not named here
make_dir 8 other papers
5 dated earlier, 3 later
1910.01741 (2019-10)
Improving Sample Efficiency in Model-Free Reinforcement Learning from Images
2004.04136 (2020-04)
CURL: Contrastive Unsupervised Representations for Reinforcement Learning
2010.09163 (2020-10)
D2RL: Deep Dense Architectures in Reinforcement Learning
and 5 more not named here
make_encoder 5 other papers
4 dated earlier, 1 later
2004.04136 (2020-04)
CURL: Contrastive Unsupervised Representations for Reinforcement Learning
2004.14990 (2020-04)
Reinforcement Learning with Augmented Data
2010.09163 (2020-10)
D2RL: Deep Dense Architectures in Reinforcement Learning
and 2 more not named here
module_hash 5 other papers
4 dated earlier, 1 later
1910.01741 (2019-10)
Improving Sample Efficiency in Model-Free Reinforcement Learning from Images
2004.04136 (2020-04)
CURL: Contrastive Unsupervised Representations for Reinforcement Learning
2010.09163 (2020-10)
D2RL: Deep Dense Architectures in Reinforcement Learning
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

We investigate whether self-supervised learning (SSL) can improve online reinforcement learning (RL) from pixels. We extend the contrastive reinforcement learning framework (e.g., CURL) that jointly optimizes SSL and RL losses and conduct an extensive amount of experiments with various self-supervised losses. Our observations suggest that the existing SSL framework for RL fails to bring meaningful improvement over the baselines only taking advantage of image augmentation when the same amount of data and augmentation is used. We further perform evolutionary searches to find the optimal combination of multiple self-supervised losses for RL, but find that even such a loss combination fails to meaningfully outperform the methods that only utilize carefully designed image augmentations. After evaluating these approaches together in multiple different environments including a real-world robot environment, we confirm that no single self-supervised loss or image augmentation method can dominate all environments and that the current framework for joint optimization of SSL and RL is limited. Finally, we conduct the ablation study on multiple factors and demonstrate the properties of representations learned with different approaches.

For agents

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

get_harvested_code_for_paper("2206.05266")
get_code_for_paper("2206.05266")
have("2206.05266")

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

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

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

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

Connect an agent — have() is free.