SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.20878 · 2026

CIG: Exploration via Conditional Information Gain

Germany, J Zöllner, Tim Joseph, Marcus Fechner, Philipp Stegmaier, Karam Daaboul, Kit Karlsruhe

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 0 failures of our instrument; 2 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/2605.20878.json · badge: /api/ran/2605.20878.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
seohongpark/ogbench community
Papers with Code archive
6 ran · 2 no recorded run
Farama-Foundation/Minigrid community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
ActionBonus Ran
ran on a synthesized input · constructed an object; no result was computed
Farama-Foundation/Minigrid/minigrid/wrappers.py
pointer only (licence: NOASSERTION) · get_code("5639477a293168af")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, Farama-Foundation/Minigrid (NOASSERTION). 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.

GCDiscreteActor Ran
ran on a synthesized input · constructed an object; no result was computed
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("c388bc83e49a9e13")
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 an instance of its own class, GCDiscreteActor: the run constructed the object and did not call it, so no result was computed. 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 jax
import jax.numpy as jnp
import flax.linen as nn
import distrax

# Set seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

def default_init(scale=1.0):
    """Default kernel initializer."""
    return nn.initializers.variance_scaling(scale, 'fan_avg', 'uniform')

class MLP(nn.Module):
    """Multi-layer perceptron."""
    hidden_dims: tuple
    activations: any = nn.gelu
    activate_final: bool = False
    kernel_init: any = default_init()
    layer_norm: bool = False

    @nn.compact
    def __call__(self, x):
        for i, size in enumerate(self.hidden_dims):
            x = nn.Dense(size, kernel_init=self.kernel_init)(x)
            if i + 1 < len(self.hidden_dims) or self.activate_final:
                x = self.activations(x)
                if self.layer_norm:
                    x = nn.LayerNorm()(x)
        return x

class StubGCEncoder(nn.Module):
    """Stub encoder for goal-conditioned inputs."""
    output_dim: int = 8
    
    @nn.compact
    def __call__(self, observations, goals, goal_encoded=False):
        # Simple concatenation + projection
        if goals is not None:
            combined = jnp.concatenate([observations, goals], axis=-1)
        else:
            combined = observations
        return nn.Dense(self.output_dim)(combined)

# Create a simple gc_encoder instance
gc_encoder_module = StubGCEncoder(output_dim=8)

# Define ARGS for GCDiscreteActor
ARGS = {
    'hidden_dims': (16, 12),
    'action_dim': 5,
    'final_fc_init_scale': 0.01,
    'gc_encoder': gc_encoder_module,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
distrax, flax, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GCDiscreteActor — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GCDiscreteActor 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
GCDiscreteCritic Ran
ran on a synthesized input · constructed an object; no result was computed
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("c7d17f7e1be1f1c4")
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 an instance of its own class, GCDiscreteCritic: the run constructed the object and did not call it, so no result was computed. 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 jax
import jax.numpy as jnp
import flax.linen as nn
from typing import Sequence

def default_init(scale=1.0):
    """Default kernel initializer."""
    return nn.initializers.variance_scaling(scale, 'fan_avg', 'uniform')

def ensemblize(cls, num_qs, out_axes=0, **kwargs):
    """Ensemblize a module."""
    return nn.vmap(cls, variable_axes={'params': 0}, split_rngs={'params': True}, in_axes=None, out_axes=out_axes, axis_size=num_qs, **kwargs)

class MLP(nn.Module):
    """Multi-layer perceptron."""
    hidden_dims: Sequence[int]
    activations: any = nn.gelu
    activate_final: bool = False
    kernel_init: any = default_init()
    layer_norm: bool = False

    @nn.compact
    def __call__(self, x):
        for i, size in enumerate(self.hidden_dims):
            x = nn.Dense(size, kernel_init=self.kernel_init)(x)
            if i + 1 < len(self.hidden_dims) or self.activate_final:
                x = self.activations(x)
                if self.layer_norm:
                    x = nn.LayerNorm()(x)
        return x

class SimpleGCEncoder(nn.Module):
    """Simple goal-conditioned encoder."""
    
    @nn.compact
    def __call__(self, observations, goals):
        # Concatenate observations and goals
        combined = jnp.concatenate([observations, goals], axis=-1)
        # Simple linear projection
        encoded = nn.Dense(8)(combined)
        return encoded

class GCValue(nn.Module):
    """Goal-conditioned value/critic function."""
    hidden_dims: Sequence[int]
    layer_norm: bool = True
    ensemble: bool = True
    gc_encoder: nn.Module = None

    def setup(self):
        mlp_module = MLP
        if self.ensemble:
            mlp_module = ensemblize(mlp_module, 2)
        value_net = mlp_module((*self.hidden_dims, 1), activate_final=False, layer_norm=self.layer_norm)
        self.value_net = value_net

    def __call__(self, observations, goals=None, actions=None):
        """Return the value/critic function."""
        if self.gc_encoder is not None:
            inputs = [self.gc_encoder(observations, goals)]
        else:
            inputs = [observations]
            if goals is not None:
                inputs.append(goals)
        if actions is not None:
            inputs.append(actions)
        inputs = jnp.concatenate(inputs, axis=-1)
        v = self.value_net(inputs).squeeze(-1)
        return v

class GCDiscreteCritic(GCValue):
    """Goal-conditioned critic for discrete actions."""
    action_dim: int = None

    def __call__(self, observations, goals=None, actions=None):
        actions = jnp.eye(self.action_dim)[actions]
        return super().__call__(observations, goals, actions)

# Setup arguments for GCDiscreteCritic
gc_encoder_instance = SimpleGCEncoder()

ARGS = {
    'hidden_dims': (16, 8),
    'layer_norm': True,
    'ensemble': True,
    'gc_encoder': gc_encoder_instance,
    'action_dim': 4,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GCDiscreteCritic — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GCDiscreteCritic 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
GCEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("9f8e3c3d4842e199")
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 an instance of its own class, GCEncoder: the run constructed the object and did not call it, so no result was computed. 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 jax
import jax.numpy as jnp
import flax.linen as nn

# Set seed for reproducibility
jax.config.update('jax_platform_name', 'cpu')

# Define simple encoder modules
class SimpleEncoder(nn.Module):
    """Simple encoder that projects input to output dimension."""
    output_dim: int
    
    @nn.compact
    def __call__(self, x):
        x = nn.Dense(self.output_dim)(x)
        return x

# Create encoder instances
state_encoder = SimpleEncoder(output_dim=5)
goal_encoder = SimpleEncoder(output_dim=6)
concat_encoder = SimpleEncoder(output_dim=7)

ARGS = {
    "state_encoder": state_encoder,
    "goal_encoder": goal_encoder,
    "concat_encoder": concat_encoder,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GCEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GCEncoder 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
GCValue Ran
ran on a synthesized input · constructed an object; no result was computed
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("b41c470187e80607")
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 an instance of its own class, GCValue: the run constructed the object and did not call it, so no result was computed. 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 jax
import jax.numpy as jnp
import flax.linen as nn
from typing import Sequence

# Define a minimal GCEncoder that matches the expected interface
class MinimalGCEncoder(nn.Module):
    """Minimal encoder for testing."""
    output_dim: int = 8
    
    @nn.compact
    def __call__(self, observations, goals):
        # Simple pass-through that concatenates and projects
        combined = jnp.concatenate([observations, goals], axis=-1)
        x = nn.Dense(self.output_dim)(combined)
        return x

# Construct the ARGS dictionary with all parameters for GCValue
ARGS = {
    'hidden_dims': (16, 12),  # Sequence of distinct ints for hidden layers
    'layer_norm': True,
    'ensemble': True,
    'gc_encoder': MinimalGCEncoder(output_dim=8),
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type GCValue — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GCValue 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
ImpalaEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("d7702e78034020af")
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 an instance of its own class, ImpalaEncoder: the run constructed the object and did not call it, so no result was computed. 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 jax
import jax.numpy as jnp
from flax import linen as nn
from typing import Sequence

# Set random seed for reproducibility
key = jax.random.PRNGKey(0)

# Create minimal input tensor: batch_size=2, height=4, width=3, channels=1
# Using small distinct dimensions to distinguish spatial from channel dims
x = jnp.ones((2, 4, 3, 1), dtype=jnp.uint8)

# Define ARGS dict with all parameters for ImpalaEncoder
ARGS = {
    "width": 1,
    "stack_sizes": (16, 32, 32),
    "num_blocks": 2,
    "dropout_rate": 0.1,
    "mlp_hidden_dims": (512,),
    "layer_norm": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ImpalaEncoder — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ImpalaEncoder 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
MLP Ran
ran on a synthesized input · constructed an object; no result was computed
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("387f24fb5c7833fe")
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 an instance of its own class, MLP: the run constructed the object and did not call it, so no result was computed. 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 jax
import jax.numpy as jnp
import flax.linen as nn
from typing import Sequence, Any

def default_init(scale=1.0):
    """Default kernel initializer."""
    return nn.initializers.variance_scaling(scale, 'fan_avg', 'uniform')

ARGS = {
    'hidden_dims': (8, 16, 4),
    'activations': nn.gelu,
    'activate_final': False,
    'kernel_init': default_init(),
    'layer_norm': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax, jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MLP — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a MLP 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
GCActor Not yet run
unverified (harvested, no recorded run)
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("31baa9542c8bf2eb")
How it ran

no invocation recorded.

GCIQLAgent Not yet run
unverified (harvested, no recorded run)
seohongpark/ogbench/impls/agents/gciql.py
code served (permissive licence) · get_code("630ed0a6045e6038")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 1 the same month, 1 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
ImpalaEncoder 9 other papers
7 dated earlier, 1 the same month, 1 later · 5 only as an assembly brick
2406.09329 (2024-06)
Is Value Learning Really the Main Bottleneck in Offline RL?
2502.02538 (2025-02)
Flow Q-Learning
2506.07744 (2025-06)
Graph-Assisted Stitching for Offline Hierarchical Reinforcement Learning
and 6 more not named here
GCEncoder 2 other papers
2 dated earlier
2406.09329 (2024-06)
Is Value Learning Really the Main Bottleneck in Offline RL?
2506.07744 (2025-06)
Graph-Assisted Stitching for Offline Hierarchical Reinforcement Learning
GCActor 1 other paper
1 dated earlier
2406.09329 (2024-06)
Is Value Learning Really the Main Bottleneck in Offline RL?
GCDiscreteActor 1 other paper
1 dated earlier
2406.09329 (2024-06)
Is Value Learning Really the Main Bottleneck in Offline RL?
GCDiscreteCritic 1 other paper
1 dated earlier
2510.22512 (2025-10)
Transitive RL: Value Learning via Divide and Conquer
GCValue 1 other paper
1 dated earlier
2406.09329 (2024-06)
Is Value Learning Really the Main Bottleneck in Offline RL?
MLP 1 other paper
1 dated earlier
2406.09329 (2024-06)
Is Value Learning Really the Main Bottleneck in Offline RL?

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

Intrinsic rewards for exploration in reinforcement learning condition on different contexts: lifelong rewards score each transition against accumulated experience but ignore within-rollout redundancy; episodic rewards penalize intra-trajectory repetition but discard lifetime progress. Hybrid methods combine both signals through heuristic weights or require Gaussian-process dynamics that do not scale beyond low-dimensional state spaces. Trajectory-level information gain decomposes into per-step terms that condition on the replay buffer and rollout prefix simultaneously, but remains intractable for deep models. We derive the Conditional Information Gain (CIG) reward as a tractable surrogate: a log-determinant objective over an ensemble disagreement kernel whose Cholesky factorization yields causal per-step rewards that retain both conditioning sets while scaling to high-dimensional state spaces. We instantiate CIG in a model-based setting, where rollouts are short and within-rollout corrections remain largely unexplored. Across twelve tasks spanning discrete (MiniGrid) and continuous control (OGBench), in both clean and stochastic-distractor settings, CIG outperforms or matches prior exploration methods while remaining robust to stochastic distractors.

For agents

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

get_harvested_code_for_paper("2605.20878")
get_code_for_paper("2605.20878")
have("2605.20878")

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

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

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

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

Connect an agent — have() is free.