SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.19535 · 2023

Low-rank extended Kalman filtering for online learning of neural networks from streaming data

arXiv · PDF · Open in the Atlas

Code that ran

11 of 16 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 11 have no contract verdict; 0 failures of our instrument; 5 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/2305.19535.json · badge: /api/ran/2305.19535.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
probml/rebayes canonical (classifier label)
classifier basis: census
11 ran · 5 no recorded run
FunctionStatusWhere it lives
dual_rebayes_scan Ran
ran on a synthesized input
probml/rebayes/rebayes/dual_base.py
code served (permissive licence) · get_code("b6639560c7bf65bb")
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 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 jax
import jax.numpy as jnp
from jaxtyping import Float
from typing import Any, Tuple, Optional, Callable

class DummyEstimator:
    """Minimal estimator satisfying the function's requirements."""
    
    def init(self) -> Tuple[Any, Any]:
        """Initialize params and belief state."""
        params = {"weights": jnp.array([0.1, 0.2, 0.3, 0.4])}
        bel = {"mean": jnp.zeros(4), "cov": jnp.eye(4)}
        return params, bel
    
    def predict_state(self, params: Any, bel: Any) -> Any:
        """Predict next belief state."""
        return {"mean": bel["mean"] * 0.9, "cov": bel["cov"] * 1.1}
    
    def predict_obs(self, params: Any, bel: Any, x: Float[Any, 'input_dim']) -> Any:
        """Predict observation."""
        return {"pred": jnp.sum(x) * jnp.array([0.5, 0.5, 0.5])}
    
    def update_state(self, params: Any, pred_bel: Any, x: Float[Any, 'input_dim'], y: Float[Any, 'emission_dim']) -> Any:
        """Update belief state given observation."""
        return {"mean": pred_bel["mean"] + 0.01 * jnp.sum(y), "cov": pred_bel["cov"]}
    
    def update_params(self, params: Any, t: int, x: Float[Any, 'input_dim'], y: Float[Any, 'emission_dim'], pred_obs: Any, bel: Any) -> Any:
        """Update parameters."""
        params["weights"] = params["weights"] * 0.99
        return params


def dummy_callback(params: Any, bel: Any, pred_obs: Any, t: int, x: Float[Any, 'input_dim'], y: Float[Any, 'emission_dim'], pred_bel: Any, **kwargs) -> Any:
    """Dummy callback function."""
    return {"t": t, "loss": jnp.sum(pred_obs["pred"])}


X = jnp.ones((2, 4), dtype=jnp.float32)
Y = jnp.ones((2, 3), dtype=jnp.float32)

estimator = DummyEstimator()

ARGS = {
    "estimator": estimator,
    "X": X,
    "Y": Y,
    "callback": dummy_callback,
    "params": None,
    "bel": None,
    "optimize_params": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — 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
dual_rebayes_scan_dataloader Ran
ran on a synthesized input
probml/rebayes/rebayes/dual_base.py
code served (permissive licence) · get_code("f39959a451751e97")
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 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 jax.numpy as jnp
import jax
from typing import Any, Tuple

class SimpleEstimator:
    """Minimal estimator satisfying the interface used by dual_rebayes_scan_dataloader."""
    
    def init(self) -> Tuple[Any, Any]:
        """Initialize params and belief state."""
        params = {"weight": jnp.array([0.1, 0.2, 0.3, 0.4])}
        bel = {"mean": jnp.array([0.0, 0.0, 0.0, 0.0]), "cov": jnp.eye(4)}
        return params, bel
    
    def predict_state(self, params: Any, bel: Any) -> Any:
        """Predict next belief state."""
        return {"mean": bel["mean"] * 0.99, "cov": bel["cov"] + 0.01 * jnp.eye(4)}
    
    def predict_obs(self, params: Any, bel: Any, X: Any) -> Any:
        """Predict observation."""
        return jnp.dot(X, params["weight"])
    
    def update_state(self, params: Any, pred_bel: Any, X: Any, Y: Any) -> Any:
        """Update belief with new observation."""
        return {"mean": pred_bel["mean"] + 0.01 * X, "cov": pred_bel["cov"] * 0.95}
    
    def update_params(self, params: Any, t: int, X: Any, Y: Any, pred_obs: Any, bel: Any) -> Any:
        """Update parameters."""
        return params


def simple_callback(params, bel, pred_obs, t, X, Y, pred_bel, **kwargs):
    """Simple callback that returns timestep info."""
    return {"t": t, "pred_obs": pred_obs}


def simple_callback_on_batch_end(params, bel, i, batch):
    """Simple callback at end of batch."""
    return params, {"batch_idx": i}


# Create minimal data loader with 2 batches of data
# Each batch has (X, Y) where X is (ntime, input_dim) and Y is (ntime, emission_dim)
data_loader = [
    (jnp.ones((2, 4)), jnp.ones((2, 3))),  # Batch 1: 2 timesteps, input_dim=4, emission_dim=3
    (jnp.ones((2, 4)), jnp.ones((2, 3))),  # Batch 2: 2 timesteps, input_dim=4, emission_dim=3
]

ARGS = {
    "estimator": SimpleEstimator(),
    "data_loader": data_loader,
    "callback": simple_callback,
    "callback_on_batch_end": simple_callback_on_batch_end,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, jaxtyping — 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
form_tril_matrix Ran
ran on a synthesized input
probml/rebayes/rebayes/dual_base.py
code served (permissive licence) · get_code("0680cd69e361d8d9")
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 ArrayImpl, ndim 2, dtype family float, shape (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 jax.numpy as jnp
import numpy as np

# The function expects:
# - theta: a vector of size C*(C+1)/2
# - C: an integer representing matrix dimensions

# Choose C = 4 for a small but non-trivial lower triangular matrix
C = 4

# Calculate the required size of theta vector
theta_size = int(C * (C + 1) / 2)  # This is 4*5/2 = 10

# Create theta as a JAX array with random values
np.random.seed(0)
theta_values = np.random.randn(theta_size)
theta = jnp.array(theta_values, dtype=jnp.float32)

# Define ARGS
ARGS = {
    "theta": theta,
    "C": C
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (4, 4) — shape (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
generate_random_angles Ran
ran on a synthesized input
probml/rebayes/rebayes/datasets/rotating_permuted_mnist_data.py
code served (permissive licence) · get_code("fe943d9b682c0902")
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 ArrayImpl, ndim 1, dtype family float, shape (5,) 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 jax
import jax.random as jr

ARGS = {
    "n_tasks": 5,
    "min_angle": 0,
    "max_angle": 180,
    "key": 42,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family float, shape (5,) — shape (5,) 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
initialize_classification_cnn Ran
ran on a synthesized input
probml/rebayes/rebayes/utils/models.py
code served (permissive licence) · get_code("14dc7dd47d3f91c5")
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 jax
import jax.numpy as jnp
import jax.random as jr
import flax.linen as nn
from typing import Sequence

ARGS = {
    'key': 0,
    'input_dim': (1, 28, 28, 1),
    'output_dim': 10,
    'homogenize_cov': False,
    'capture_intermediates': False,
    'cnn_type': 'lenet'
}
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 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
initialize_classification_mlp Ran
ran on a synthesized input
probml/rebayes/rebayes/utils/models.py
code served (permissive licence) · get_code("11e15fbc7917aec9")
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 jax
import jax.numpy as jnp
import jax.random as jr
import flax.linen as nn
from typing import Sequence

# Define the MLP model class (copied from the function definition)
class MLP(nn.Module):
    features: Sequence[int]
    activation: nn.Module = nn.relu

    @nn.compact
    def __call__(self, x):
        x = x.ravel()
        for feat in self.features[:-1]:
            x = self.activation(nn.Dense(feat)(x))
        x = nn.Dense(self.features[-1])(x)
        return x

# Set up ARGS dictionary with valid arguments for initialize_classification_mlp
ARGS = {
    'key': 42,
    'input_dim': (1, 4),
    'hidden_dims': (8, 8),
    'output_dim': 3,
    'homogenize_cov': False,
    'capture_intermediates': 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 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
load_classification_mnist Ran
ran on a synthesized input
probml/rebayes/rebayes/datasets/datasets.py
code served (permissive licence) · get_code("c75d6783556336d6")
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 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 tempfile
import os
import jax
import jax.numpy as jnp
import numpy as np
import torchvision
import torch

# Create a temporary directory for data
temp_dir = tempfile.mkdtemp()

# Mock the MNIST dataset to avoid actual downloads
class MockMNIST:
    def __init__(self, root='./data', train=True, download=True):
        self.root = root
        self.train = train
        # Create small mock data
        if train:
            self.data = torch.randint(0, 256, (100, 28, 28), dtype=torch.uint8)
            self.targets = torch.randint(0, 10, (100,))
        else:
            self.data = torch.randint(0, 256, (50, 28, 28), dtype=torch.uint8)
            self.targets = torch.randint(0, 10, (50,))

# Patch torchvision.datasets.MNIST to use our mock
original_mnist = torchvision.datasets.MNIST
torchvision.datasets.MNIST = MockMNIST

# Define ARGS dict with all parameters for load_classification_mnist
ARGS = {
    'root': temp_dir,
    'num_train': 100
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy, torch, torchvision — 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
make_1d_regression Ran
ran on a synthesized input
probml/rebayes/rebayes/datasets/nonstat_1d_data.py
code served (permissive licence) · get_code("7e8bad2bdd0499d1")
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 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 jax
import jax.numpy as jnp

# Create a JAX random key
key = jax.random.PRNGKey(0)

ARGS = {
    "key": key,
    "n_train": 100,
    "n_test": 100,
    "sort_data": False,
    "coef0": 2.0,
    "coef1": 3.0,
    "coef2": 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — 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
make_coefs Ran
ran on a synthesized input
probml/rebayes/rebayes/datasets/nonstat_1d_data.py
code served (permissive licence) · get_code("7086c322676771f1")
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 ArrayImpl, ndim 2, dtype family float, shape (3, 3) 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 jax
import jax.numpy as jnp

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

ARGS = {
    "key": key,
    "n_dist": n_dist,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (3, 3) — shape (3, 3) 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_rotating_moons Ran
ran on a synthesized input
probml/rebayes/rebayes/datasets/moons_data.py
code served (permissive licence) · get_code("fc4b6acab73f8a84")
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 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 numpy as np
import jax.numpy as jnp

# Set seeds for reproducibility
np.random.seed(314)

# Define ARGS dict with all parameters for make_rotating_moons
ARGS = {
    "n_train": 10,
    "n_test": 5,
    "n_rotations": 3,
    "min_angle": 0,
    "max_angle": 180,
    "seed": 314,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax, numpy, sklearn — 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
showdown_preprocess Ran
ran on a synthesized input
probml/rebayes/rebayes/datasets/datasets.py
code served (permissive licence) · get_code("1a10482faddfe012")
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 tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 small training data: (X_train, y_train)
# X_train shape: (1500, 4) - total 1500 samples, 4 features
# y_train shape: (1500, 1) - target values
X_train = torch.randn(1500, 4)
y_train = torch.randn(1500, 1)

# Create small test data: (X_test, y_test)
# X_test shape: (300, 4) - 300 samples, 4 features
# y_test shape: (300, 1) - target values
X_test = torch.randn(300, 4)
y_test = torch.randn(300, 1)

train = (X_train, y_train)
test = (X_test, y_test)

ARGS = {
    'train': train,
    'test': test,
    'n_warmup': 1000,
    'n_test_warmup': 100,
    'xaxis': 0,
    'normalise_target': True,
    'normalise_features': 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 tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
initialize_regression_cnn Not yet run
unverified (harvested, no recorded run)
probml/rebayes/rebayes/utils/models.py
code served (permissive licence) · get_code("938eee8370c8529d")
How it ran

no invocation recorded.

load_mnist Not yet run
unverified (harvested, no recorded run)
probml/rebayes/rebayes/datasets/datasets.py
code served (permissive licence) · get_code("1656f7098078556c")
How it ran

no invocation recorded.

load_split_mnist_dataset Not yet run
unverified (harvested, no recorded run)
probml/rebayes/rebayes/datasets/classification_data.py
code served (permissive licence) · get_code("999b1fbf08239066")
How it ran

no invocation recorded.

make_showdown_moons Not yet run
unverified (harvested, no recorded run)
probml/rebayes/rebayes/datasets/moons_data.py
code served (permissive licence) · get_code("20cd65fc4da514aa")
How it ran

no invocation recorded.

sample_1d_regression_sequence Not yet run
unverified (harvested, no recorded run)
probml/rebayes/rebayes/datasets/nonstat_1d_data.py
code served (permissive licence) · get_code("cde5ea6d06ce99f0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 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.

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 propose an efficient online approximate Bayesian inference algorithm for estimating the parameters of a nonlinear function from a potentially non-stationary data stream. The method is based on the extended Kalman filter (EKF), but uses a novel low-rank plus diagonal decomposition of the posterior precision matrix, which gives a cost per step which is linear in the number of model parameters. In contrast to methods based on stochastic variational inference, our method is fully deterministic, and does not require step-size tuning. We show experimentally that this results in much faster (more sample efficient) learning, which results in more rapid adaptation to changing distributions, and faster accumulation of reward when used as part of a contextual bandit algorithm.

For agents

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

get_harvested_code_for_paper("2305.19535")
get_code_for_paper("2305.19535")
have("2305.19535")

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

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

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

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

Connect an agent — have() is free.