SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.08902 · ICLR · 2025

Intention-Conditioned Flow Occupancy Models

Sergey Levine, Benjamin Eysenbach, Seohong Park, Chongyi Zheng

arXiv · PDF · Open in the Atlas

Code that ran

11 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (10 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 10 have no contract verdict; 1 failure of our instrument; 3 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/2506.08902.json · badge: /api/ran/2506.08902.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
chongyi-zheng/infom canonical (classifier label)
classifier basis: classifier_2025
11 ran · 3 no recorded run
FunctionStatusWhere it lives
AddSpatialCoordinates Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("b76fee603c23832b")
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, AddSpatialCoordinates: 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 jax import random

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

# Create a small test input tensor
# x.shape should be (batch, height, width, channels)
# Using batch=2, height=4, width=3, channels=5
x = jnp.ones((2, 4, 3, 5), dtype=jnp.float32)

# The function only uses dtype parameter
# It's already set to jnp.float32 by default in the class

ARGS = {
    "dtype": jnp.float32,
}
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 AddSpatialCoordinates — 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 AddSpatialCoordinates 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
GroupNorm Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("df206f07444e8679")
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, GroupNorm: 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.numpy as jnp
import flax.linen as nn

# GroupNorm expects:
# - num_groups: int - number of groups for normalization
# - epsilon: float - small constant for numerical stability
# - dtype: dtype - data type
# - use_bias: bool - whether to use bias
# - use_scale: bool - whether to use scale
# - bias_init: initializer - initializer for bias
# - scale_init: initializer - initializer for scale
# - parent: Module - parent module (optional)
# - name: str - name of the module

ARGS = {
    "num_groups": 2,
    "epsilon": 1e-5,
    "dtype": jnp.float32,
    "use_bias": True,
    "use_scale": True,
    "bias_init": nn.initializers.zeros,
    "scale_init": nn.initializers.ones,
    "parent": None,
    "name": "group_norm",
}
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 GroupNorm — 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 GroupNorm 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
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("82a37d485fffbe7c")
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
import flax.linen as nn

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

# Create a small input tensor: (batch=2, height=4, width=3, channels=1)
# Using distinct dimensions: batch=2, spatial=4x3, channels=1
x_input = jnp.ones((2, 4, 3, 1), dtype=jnp.uint8)

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
IntentionEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("5fd7c55ff6bc1c8c")
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, IntentionEncoder: 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

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.

    Attributes:
        hidden_dims: Hidden layer dimensions.
        activations: Activation function.
        activate_final: Whether to apply activation to the final layer.
        kernel_init: Kernel initializer.
        layer_norm: Whether to apply layer normalization.
    """
    hidden_dims: tuple
    activations: any = nn.gelu
    activate_final: bool = False
    kernel_init: any = None
    layer_norm: bool = False

    def setup(self):
        if self.kernel_init is None:
            self.kernel_init = default_init()

    @nn.compact
    def __call__(self, x):
        kernel_init = self.kernel_init if self.kernel_init is not None else default_init()
        for i, size in enumerate(self.hidden_dims):
            x = nn.Dense(size, kernel_init=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)
            if i == len(self.hidden_dims) - 2:
                self.sow('intermediates', 'feature', x)
        return x

class SimpleEncoder(nn.Module):
    """Simple encoder that projects observations."""
    output_dim: int

    @nn.compact
    def __call__(self, x):
        x = nn.Dense(self.output_dim)(x)
        return x

class IntentionEncoder(nn.Module):
    """Transition encoder network.

    Attributes:
        hidden_dims: Hidden layer dimensions.
        latent_dim: Latent dimension.
        layer_norm: Whether to apply layer normalization.
        encoder: Optional encoder module to encode the inputs.
    """
    hidden_dims: tuple
    latent_dim: int
    layer_norm: bool = False
    encoder: nn.Module = None

    def setup(self):
        self.trunk_net = MLP(self.hidden_dims, activate_final=True, layer_norm=self.layer_norm)
        self.mean_net = nn.Dense(self.latent_dim, kernel_init=default_init())
        self.log_std_net = nn.Dense(self.latent_dim, kernel_init=default_init())

    def __call__(self, observations, actions):
        """Return latent distribution.

        Args:
            observations: Observations.
            actions: Actions.
        """
        if self.encoder is not None:
            observations = self.encoder(observations)
        inputs = jnp.concatenate([observations, actions], axis=-1)
        outputs = self.trunk_net(inputs)
        means = self.mean_net(outputs)
        log_stds = self.log_std_net(outputs)
        distribution = distrax.MultivariateNormalDiag(loc=means, scale_diag=jnp.exp(log_stds))
        return distribution

ARGS = {
    'hidden_dims': (8, 6),
    'latent_dim': 4,
    'layer_norm': False,
    'encoder': None,
}
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 IntentionEncoder — 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 IntentionEncoder 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
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("3a92290722d6d764")
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, 6, 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
ModuleDict Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("afcc6a74fc1afd44")
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, ModuleDict: 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 flax.linen as nn
from typing import Dict, Mapping, Sequence

class SimpleModule(nn.Module):
    features: int = 4
    
    @nn.compact
    def __call__(self, x):
        x = nn.Dense(self.features)(x)
        return x

class AnotherModule(nn.Module):
    features: int = 3
    
    @nn.compact
    def __call__(self, x):
        x = nn.Dense(self.features)(x)
        return x

ARGS = {
    "modules": {
        "module_a": SimpleModule(features=4),
        "module_b": AnotherModule(features=3),
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ModuleDict — 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 ModuleDict 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
ResNetBlock Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("e8d3d57d274492b3")
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, ResNetBlock: 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 flax.linen as nn
from jax import numpy as jnp

# Define the conv function - needs to be callable that returns a layer
def conv_fn(filters, kernel_size, strides=(1, 1), name=None):
    return nn.Conv(features=filters, kernel_size=kernel_size, strides=strides, name=name)

# Define the norm function - needs to be callable that returns a layer
def norm_fn(name=None):
    return nn.BatchNorm(use_running_average=True, name=name)

# Define the activation function
def act_fn(x):
    return nn.relu(x)

ARGS = {
    'filters': 8,
    'conv': conv_fn,
    'norm': norm_fn,
    'act': act_fn,
    'strides': (1, 1)
}
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 ResNetBlock — 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 ResNetBlock 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
ResNetEncoder Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("753cfc3e30a2a633")
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, ResNetEncoder: 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

# Define a minimal block class that the ResNetEncoder expects
class ResNetBlock(nn.Module):
    num_filters: int
    strides: tuple = (1, 1)
    conv: Any = None
    norm: Any = None
    act: Any = None
    
    @nn.compact
    def __call__(self, x):
        # Minimal implementation that satisfies the ResNetEncoder's usage
        if self.conv is None:
            conv = nn.Conv
        else:
            conv = self.conv
        
        if self.norm is None:
            norm = nn.BatchNorm
        else:
            norm = self.norm
        
        if self.act is None:
            act = nn.relu
        else:
            act = self.act
        
        # Apply convolution, norm, activation
        x = conv(self.num_filters, (3, 3), self.strides, padding=[(1, 1), (1, 1)])(x)
        x = norm()(x)
        x = act(x)
        
        return x

# Create arguments dictionary
ARGS = {
    'stage_sizes': (1, 1),  # Two stages with 1 block each - small for testing
    'block_cls': ResNetBlock,
    'num_filters': 64,
    'dtype': jnp.float32,
    'act': 'swish',
    'conv': nn.Conv,
    'norm': 'group',
    'add_spatial_coordinates': True,
    'num_spatial_blocks': 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 ResNetEncoder — 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 ResNetEncoder 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
Value Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("028beb23076e7758")
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, Value: 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 encoder module that will be used if provided
class SimpleEncoder(nn.Module):
    """Minimal encoder for testing."""
    output_dim: int = 8
    
    @nn.compact
    def __call__(self, x):
        x = nn.Dense(self.output_dim)(x)
        return x

# Construct ARGS dictionary with all parameters for Value
ARGS = {
    'hidden_dims': (16, 12),  # Sequence of hidden layer dimensions
    'value_dim': 1,  # Output dimension for value
    'layer_norm': True,  # Apply layer normalization
    'num_ensembles': 1,  # Number of ensemble components
    'encoder': SimpleEncoder(output_dim=8),  # Optional encoder module
}
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 Value — 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 Value 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
VectorField Ran
ran on a synthesized input · constructed an object; no result was computed
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("346889c56384a53c")
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, VectorField: 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)
            if i == len(self.hidden_dims) - 2:
                self.sow('intermediates', 'feature', x)
        return x

class VectorField(nn.Module):
    """Flow-matching vector field function."""
    vector_dim: int
    hidden_dims: Sequence[int]
    layer_norm: bool = True
    num_ensembles: int = 1
    encoder: nn.Module = None

    def setup(self):
        mlp_class = MLP
        if self.num_ensembles > 1:
            mlp_class = ensemblize(mlp_class, self.num_ensembles)
        self.vector_field_net = mlp_class(hidden_dims=(*self.hidden_dims, self.vector_dim), activate_final=False, layer_norm=self.layer_norm)

    def __call__(self, noisy_goals, times, observations=None, actions=None, latents=None):
        """Return the value/critic velocity field."""
        if self.encoder is not None:
            noisy_goals = self.encoder(noisy_goals)
        if self.encoder is not None and observations is not None:
            observations = self.encoder(observations)
        times = times[..., None]
        inputs = [noisy_goals, times]
        if observations is not None:
            inputs.append(observations)
        if actions is not None:
            inputs.append(actions)
        if latents is not None:
            inputs.append(latents)
        inputs = jnp.concatenate(inputs, axis=-1)
        vf = self.vector_field_net(inputs)
        return vf

class SimpleEncoder(nn.Module):
    """Simple encoder that projects to a different dimension."""
    output_dim: int
    
    @nn.compact
    def __call__(self, x):
        return nn.Dense(self.output_dim)(x)

ARGS = {
    'vector_dim': 5,
    'hidden_dims': (8, 16),
    'layer_norm': True,
    'num_ensembles': 1,
    'encoder': SimpleEncoder(output_dim=6),
}
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 VectorField — 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 VectorField 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
ensemblize Ran
ran; our contract draft was wrong, not the code
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("e2b6e84f73d1d030")
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 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 flax.linen as nn
import jax
import jax.numpy as jnp

# Define a simple test module to be ensemblized
class SimpleModule(nn.Module):
    features: int = 4
    
    def setup(self):
        self.dense = nn.Dense(self.features)
    
    def __call__(self, x):
        return self.dense(x)

# Create the arguments for ensemblize function
ARGS = {
    'cls': SimpleModule,
    'num_qs': 3,
    'out_axes': 0,
}
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 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
Actor Not yet run
unverified (harvested, no recorded run)
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("17f5041025f7c2b2")
How it ran

no invocation recorded.

InFOMAgent Not yet run
unverified (harvested, no recorded run)
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("a821b42336bda776")
How it ran

no invocation recorded.

TransformedWithMode Not yet run
unverified (harvested, no recorded run)
chongyi-zheng/infom/agents/infom.py
code served (permissive licence) · get_code("cea8929c82a646bd")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 4 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 3 the same month, 4 later) and 10 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
ModuleDict
brick of this paper's assembly: helper
10 other papers
2 dated earlier, 2 the same month, 6 later · 6 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 7 more not named here
MLP
brick of this paper's assembly: model
6 other papers
1 dated earlier, 1 the same month, 4 later · 4 only as an assembly brick
2502.02538 (2025-02)
Flow Q-Learning
2506.21427 (2025-06)
Flow-Based Single-Step Completion for Efficient and Expressive Policy Learning
2510.22512 (2025-10)
Transitive RL: Value Learning via Divide and Conquer
and 3 more not named here
ensemblize
brick of this paper's assembly: helper
6 other papers
4 dated earlier, 1 the same month, 1 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
2402.17135 (2024-02)
Unsupervised Zero-Shot Reinforcement Learning via Functional Reward Encodings
and 3 more not named here
Actor
brick of this paper's assembly: helper
1 other paper
1 later
2608.01205 (2026-08)
ReBRAC-v2: The Return of the King

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

Large-scale pre-training has fundamentally changed how machine learning research is done today: large foundation models are trained once, and then can be used by anyone in the community (including those without data or compute resources to train a model from scratch) to adapt and fine-tune to specific tasks. Applying this same framework to reinforcement learning (RL) is appealing because it offers compelling avenues for addressing core challenges in RL, including sample efficiency and robustness. However, there remains a fundamental challenge to pre-train large models in the context of RL: actions have long-term dependencies, so training a foundation model that reasons across time is important. Recent advances in generative AI have provided new tools for modeling highly complex distributions. In this paper, we build a probabilistic model to predict which states an agent will visit in the temporally distant future (i.e., an occupancy measure) using flow matching. As large datasets are often constructed by many distinct users performing distinct tasks, we include in our model a latent variable capturing the user's intention. This intention increases the expressivity of our model and enables adaptation with generalized policy improvement. We call our proposed method intention-conditioned flow occupancy models (InFOM). Comparing with alternative methods for pre-training, our experiments on 36 state-based and 4 image-based benchmark tasks demonstrate that the proposed method achieves 1.8× median improvement in returns and increases success rates by 36%.

For agents

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

get_harvested_code_for_paper("2506.08902")
get_code_for_paper("2506.08902")
have("2506.08902")

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

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

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

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

Connect an agent — have() is free.