SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.03566 · ICML · 2023

Memory-Based Dual Gaussian Processes for Sequential Learning

Mohammad Khan, Paul Chang, Arno Solin, Prakhar Verma, S John

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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 5 have no contract verdict; 0 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/2306.03566.json · badge: /api/ran/2306.03566.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
aaltoml/sequential-gp canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
conditional_from_precision_sites_white Ran
ran on a synthesized input
aaltoml/sequential-gp/src/util.py
code served (permissive licence) · get_code("61ddbabbab9af4c8")
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 3, 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 tensorflow as tf
import numpy as np

# Set seeds for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Define tensor dimensions
M = 4  # inducing points dimension
N = 3  # data points dimension
L = 2  # number of precision sites

# Create small positive definite matrices
Kuu = tf.constant([
    [2.0, 0.5, 0.2, 0.1],
    [0.5, 2.1, 0.3, 0.15],
    [0.2, 0.3, 1.9, 0.25],
    [0.1, 0.15, 0.25, 2.0]
], dtype=tf.float64)

Kff = tf.constant([
    [1.5],
    [1.6],
    [1.4]
], dtype=tf.float64)

Kuf = tf.constant([
    [0.8, 0.7, 0.6],
    [0.7, 0.9, 0.5],
    [0.6, 0.5, 0.8],
    [0.5, 0.6, 0.7]
], dtype=tf.float64)

# Create l tensor (M x L)
l = tf.constant([
    [0.5, 0.3],
    [0.4, 0.6],
    [0.2, 0.5],
    [0.3, 0.4]
], dtype=tf.float64)

# Create L tensor (L x M x M) - lower triangular Cholesky-like factors
L_tensor = tf.constant([
    [
        [0.5, 0.0, 0.0, 0.0],
        [0.1, 0.4, 0.0, 0.0],
        [0.05, 0.1, 0.3, 0.0],
        [0.02, 0.05, 0.1, 0.2]
    ],
    [
        [0.4, 0.0, 0.0, 0.0],
        [0.08, 0.35, 0.0, 0.0],
        [0.04, 0.08, 0.25, 0.0],
        [0.01, 0.04, 0.08, 0.15]
    ]
], dtype=tf.float64)

ARGS = {
    'Kuu': Kuu,
    'Kff': Kff,
    'Kuf': Kuf,
    'l': l,
    'L': L_tensor,
    'L2': None,
    'jitter': 1e-09
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, 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
conditional_from_precision_sites_white_full Ran
ran on a synthesized input
aaltoml/sequential-gp/src/util.py
code served (permissive licence) · get_code("26a2a8483e2374dc")
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 tensorflow as tf
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Define dimensions
M = 4  # inducing points
N = 3  # data points
L_dim = 2  # number of precision sites

# Create small valid tensors
# Kuu: M x M, positive definite
Kuu_np = np.random.randn(M, M).astype(np.float64)
Kuu_np = Kuu_np @ Kuu_np.T + np.eye(M)  # make it positive definite
Kuu = tf.constant(Kuu_np, dtype=tf.float64)

# Kff: N x N, positive definite
Kff_np = np.random.randn(N, N).astype(np.float64)
Kff_np = Kff_np @ Kff_np.T + np.eye(N)  # make it positive definite
Kff = tf.constant(Kff_np, dtype=tf.float64)

# Kuf: M x N
Kuf_np = np.random.randn(M, N).astype(np.float64)
Kuf = tf.constant(Kuf_np, dtype=tf.float64)

# l: M x L
l_np = np.random.randn(M, L_dim).astype(np.float64)
l = tf.constant(l_np, dtype=tf.float64)

# L: L x M x M (Cholesky factor, optional parameter)
# Create L such that L @ L^T gives a positive definite matrix
L_np = np.random.randn(L_dim, M, M).astype(np.float64)
L = tf.constant(L_np, dtype=tf.float64)

# L2 can be None (will be computed from L in the function)
L2 = None

# jitter parameter
jitter = 1e-09

ARGS = {
    'Kuu': Kuu,
    'Kff': Kff,
    'Kuf': Kuf,
    'l': l,
    'L': L,
    'L2': L2,
    'jitter': jitter
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — 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
load_data Ran
ran on a synthesized input
aaltoml/sequential-gp/experiments/magnetometer/magnetometer_utils.py
code served (permissive licence) · get_code("3195b99b281d6053")
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 os
import tempfile
import numpy as np
import pandas as pd

# Create a temporary directory with mock data files
temp_dir = tempfile.mkdtemp()

# Create mock CSV files for training data
for i in [1, 2, 4, 5]:
    # Create location data (2 samples, 2 coordinates)
    loc_data = np.random.rand(2, 2)
    loc_df = pd.DataFrame(loc_data, columns=['x', 'y'])
    loc_df.to_csv(os.path.join(temp_dir, f'{i}-loc.csv'), index=False)
    
    # Create magnetometer data (2 samples, 3 components)
    mag_data = np.random.rand(2, 3)
    mag_df = pd.DataFrame(mag_data, columns=['mx', 'my', 'mz'])
    mag_df.to_csv(os.path.join(temp_dir, f'{i}-mag.csv'), index=False)

# Create mock CSV files for test data
for i in [1]:
    # Create location data (2 samples, 2 coordinates)
    loc_data = np.random.rand(2, 2)
    loc_df = pd.DataFrame(loc_data, columns=['x', 'y'])
    loc_df.to_csv(os.path.join(temp_dir, f'{i}-loc.csv'), index=False)
    
    # Create magnetometer data (2 samples, 3 components)
    mag_data = np.random.rand(2, 3)
    mag_df = pd.DataFrame(mag_data, columns=['mx', 'my', 'mz'])
    mag_df.to_csv(os.path.join(temp_dir, f'{i}-mag.csv'), index=False)

ARGS = {
    'main_dir': temp_dir,
    'train_id': [1, 2, 4, 5],
    'test_id': [1]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — 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
transform_grid2video Ran
ran on a synthesized input
aaltoml/sequential-gp/experiments/magnetometer/magnetometer_utils.py
code served (permissive licence) · get_code("1436bf2c81466b5c")
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 2, 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 numpy as np

# Create small sample arrays for x and y parameters
# The function expects 1D arrays that will be reshaped and processed
x = np.array([10.5, 20.3])
y = np.array([15.2, 25.8])

ARGS = {
    "x": x,
    "y": y
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, 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
transform_room2video Ran
ran on a synthesized input
aaltoml/sequential-gp/experiments/magnetometer/magnetometer_utils.py
code served (permissive licence) · get_code("08034ca0df74c44b")
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 2, 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 numpy as np

# The function takes x and y as parameters
# Looking at the function body:
# - x is reshaped to (-1, 1), so it should be 1D array-like
# - y is reshaped to (-1, 1), so it should be 1D array-like
# - They are concatenated along axis=1, so they should have the same length
# - The result is used in matrix operations

# Create small test arrays
x = np.array([1.5, 2.3, 3.1, 4.2])  # 4 elements
y = np.array([0.5, 1.2, 0.8, 2.1])  # 4 elements

ARGS = {
    "x": x,
    "y": y
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, 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

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 5 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

Sequential learning with Gaussian processes (GPs) is challenging when access to past data is limited, for example, in continual and active learning. In such cases, errors can accumulate over time due to inaccuracies in the posterior, hyperparameters, and inducing points, making accurate learning challenging. Here, we present a method to keep all such errors in check using the recently proposed dual sparse variational GP. Our method enables accurate inference for generic likelihoods and improves learning by actively building and updating a memory of past data. We demonstrate its effectiveness in several applications involving Bayesian optimization, active learning, and continual learning.

For agents

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

get_harvested_code_for_paper("2306.03566")
get_code_for_paper("2306.03566")
have("2306.03566")

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

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

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

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

Connect an agent — have() is free.