SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.17276 · 2023

Machine Unlearning in Learned Databases: An Experimental Analysis

arXiv · PDF · Open in the Atlas

Code that ran

12 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 11 failures 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/2311.17276.json · badge: /api/ran/2311.17276.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
meghdadk/db_unlearning canonical (classifier label)
classifier basis: census
12 ran · 3 no recorded run
FunctionStatusWhere it lives
Entropy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
meghdadk/db_unlearning/naru/train_model.py
code served (permissive licence) · get_code("b6c3c093da58e8e3")
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 list, 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 numpy as np
import scipy.stats

torch = None  # Not needed for this function

# Construct the arguments
name = "test_distribution"

# Create sample probability data for entropy calculation
# scipy.stats.entropy expects a probability distribution (non-negative values that sum to 1)
data = np.array([0.1, 0.2, 0.3, 0.4])

# Define the bases to use for entropy calculation
bases = [2, 'e', None]

ARGS = {
    'name': name,
    'data': data,
    'bases': bases
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list 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
InvertOrder Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/naru/eval_model.py
code served (permissive licence) · get_code("eb641f3aafc7f28c")
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 list, ndim 1, dtype family int; 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

torch.manual_seed(0)

# InvertOrder takes an 'order' parameter which should be a list or sequence
# The function creates an inverse ordering by iterating through the order
# and placing indices in the inverse array

# Create a simple ordering list
order = [2, 0, 3, 1]

ARGS = {
    "order": order
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list 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
MLP Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/tcls/models.py
code served (permissive licence) · get_code("01fa27ae6183e41b")
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 SimpleMLP. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "input_size": 4,
    "hidden_size": 8,
    "num_classes": 3,
    "dropout_prob": 0.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SimpleMLP — a SimpleMLP output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleMLP 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
MoGـsampling Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/dbest/utils.py
code served (permissive licence) · get_code("5bbe1531cb4ab972")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 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 torch

torch.manual_seed(0)

# The function expects:
# - pi: tensor that has .multinomial() method, shape (batch_size, num_components)
# - sigma: tensor with shape (batch_size, num_components) that gets reshaped
# - mu: tensor with shape (batch_size, num_components) that gets reshaped
# - n_samples: int for number of samples
# - device: device object

batch_size = 2
num_components = 4

# pi: probability distribution over mixture components
pi = torch.softmax(torch.randn(batch_size, num_components), dim=1)

# sigma: standard deviations for each component
sigma = torch.abs(torch.randn(batch_size, num_components)) + 0.1

# mu: means for each component
mu = torch.randn(batch_size, num_components)

# n_samples: number of samples to draw
n_samples = 3

# device: CPU device
device = torch.device('cpu')

ARGS = {
    'pi': pi,
    'sigma': sigma,
    'mu': mu,
    'n_samples': n_samples,
    'device': device
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 3) — shape (2, 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
ResNet1D Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
meghdadk/db_unlearning/tcls/models.py
code served (permissive licence) · get_code("f0a007455fa85919")
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 ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# ResNet1D expects:
# - num_blocks: list/tuple of number of blocks per layer
# - num_classes: int for output classes
# - data_dim: int for input data dimension (default 1)

ARGS = {
    "num_blocks": [2, 2, 2],
    "num_classes": 10,
    "data_dim": 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet 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
adjust_learning_rate Ran
ran, honoured the contract we drafted
meghdadk/db_unlearning/dbest/utils.py
code served (permissive licence) · get_code("2dfd5c008e1585eb")
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 float64, ndim 0, 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
from torch import optim

torch.manual_seed(0)

# Create a simple model
class SimpleModel(torch.nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = torch.nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

model = SimpleModel()

# Create an optimizer
optimizer = optim.SGD(model.parameters(), lr=0.1)

# Create opt config class with required attributes
class OptConfig:
    def __init__(self):
        self.learning_rate = 0.1
        self.lr_decay_epochs = np.array([10, 20, 30])
        self.lr_decay_rate = 0.1

opt = OptConfig()

# epoch value - an integer representing current training epoch
epoch = 15

ARGS = {
    "epoch": epoch,
    "opt": opt,
    "optimizer": optimizer
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
cal_avg Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/dbest/benchmarking.py
code served (permissive licence) · get_code("c015f4606fed587c")
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 int, ndim 0, dtype family int, shape () 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 numpy as np

# Define arguments for cal_avg function
np.random.seed(0)

# probs: 2D numpy array of probabilities
# Looking at usage: probs * step, probs[:, 1:-1], probs[:, 0], probs[:, -1]
# Needs at least 3 columns for slicing [1:-1] to work
# Shape should be (n_samples, n_points)
probs = np.random.rand(2, 5).astype(np.float32)

# regs: 2D numpy array for regression values
# Used in: np.multiply(probs, regs) - same shape as probs
regs = np.random.rand(2, 5).astype(np.float32)

# step: scalar value for step size
# Used in: sub_areas = product * step
step = 0.1

# frequencies: dictionary with at least one key
# Used in: frequencies[list(frequencies.keys())[0]] - gets first key's value
# The value is converted to numpy array and reshaped to (-1, 1)
# Looking at usage with probs shape (2, 5), after reshape(-1, 1) it should be compatible
# The result is multiplied with integral which has shape (2, 1)
# So frequencies values should be array-like with shape (2,)
frequencies = {
    'freq_key_0': np.array([1.5, 2.5], dtype=np.float32)
}

ARGS = {
    'probs': probs,
    'regs': regs,
    'step': step,
    'frequencies': frequencies
}
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 int, ndim 0, dtype family int, shape () — shape () 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
cal_count Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/dbest/benchmarking.py
code served (permissive licence) · get_code("340974a6ff8f2f89")
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 float32, ndim 0, dtype family float, shape () 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 numpy as np

# Analyzing the function:
# - probs: used as array with shape (n, m), multiplied by step, indexed with [:, 1:-1], [:, 0], [:, -1]
# - step: scalar, multiplied with probs
# - frequencies: dict, accessed via list(frequencies.keys())[0], value is array-like that gets reshaped to (-1, 1)
# - returns _count[0][0], a scalar

# Building arguments:
# probs should be 2D array (batch_size, num_points)
probs = np.array([
    [0.1, 0.2, 0.3, 0.25],
    [0.15, 0.25, 0.35, 0.2]
], dtype=np.float32)

# step is a scalar
step = 0.5

# frequencies is a dict where at least one key has an array-like value
# The value gets reshaped to (-1, 1) and multiplied with integral which has shape (2, 1)
# So the frequency array should have 2 elements
frequencies = {
    'key1': np.array([1.0, 2.0], dtype=np.float32)
}

ARGS = {
    'probs': probs,
    'step': step,
    'frequencies': frequencies
}
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 float32, ndim 0, dtype family float, shape () — shape () 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
cal_sum Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/dbest/benchmarking.py
code served (permissive licence) · get_code("cfe64ad66f5aeefa")
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 float64, ndim 0, 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

# Construct arguments for cal_sum function
# The function expects:
# - probs: 2D array of probabilities
# - regs: 2D array of regularization values
# - step: scalar step size
# - frequencies: dict with at least one key containing array-like values

# Create probs: shape (2, 4) - 2 samples, 4 frequency points
probs = np.array([
    [0.1, 0.2, 0.3, 0.4],
    [0.15, 0.25, 0.35, 0.25]
], dtype=np.float32)

# Create regs: shape (2, 4) - same shape as probs
regs = np.array([
    [0.5, 0.6, 0.7, 0.8],
    [0.4, 0.5, 0.6, 0.7]
], dtype=np.float32)

# Create step: scalar value
step = 0.1

# Create frequencies: dict with one key containing array values
# The function accesses frequencies[list(frequencies.keys())[0]]
# and reshapes it to (-1, 1), so it should have length matching probs shape
frequencies = {
    'freq_key': np.array([1.0, 2.0])
}

ARGS = {
    'probs': probs,
    'regs': regs,
    'step': step,
    'frequencies': frequencies
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
init_logger Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/naru/train_model.py
code served (permissive licence) · get_code("546dd9e92541aecd")
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 NoopRun. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from argparse import Namespace

# Create a minimal args object with all required attributes for init_logger
args = Namespace(
    wandb_group_name=None,  # Will be set to args.dataset if None
    dataset='test_dataset',
    wandb_run_id=None,  # If None, will use the else branch
    wandb_project='test_project',
    wandb_entity='test_entity',
    wandb_mode='disabled',  # Use 'disabled' to avoid actual wandb initialization
)

# Ensure args is pickleable/serializable for wandb.init(config=args)
# by converting to dict representation
ARGS = {
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, wandb — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoopRun — a NoopRun output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoopRun 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
init_logger Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/dbest/train_mdn.py
code served (permissive licence) · get_code("a94224cb98b134be")
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 NoopRun. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import wandb
from argparse import Namespace

# Create a minimal args object with all required attributes for init_logger
args = Namespace(
    wandb_group_name=None,
    dataset='cifar10',
    wandb_run_id=None,
    wandb_project='test_project',
    wandb_entity='test_entity',
    wandb_mode='disabled',  # Use 'disabled' mode to avoid actual wandb connection
)

ARGS = {
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, wandb — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoopRun — a NoopRun output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoopRun 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
sample Ran
ran; our contract draft was wrong, not the code
meghdadk/db_unlearning/dbest/utils.py
code served (permissive licence) · get_code("38f4116279596c2f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch.autograd import Variable
from torch.distributions import Categorical

torch.manual_seed(0)

# Build tensors for a mixture of Gaussians
# pi: probabilities over mixture components (batch_size=2, num_components=3)
pi = torch.tensor([[0.2, 0.3, 0.5], [0.1, 0.6, 0.3]], dtype=torch.float32)

# sigma: standard deviations (batch_size=2, num_components=3, feature_dim=4)
sigma = torch.tensor([
    [[0.1, 0.2, 0.3, 0.4], [0.5, 0.6, 0.7, 0.8], [0.9, 1.0, 1.1, 1.2]],
    [[0.15, 0.25, 0.35, 0.45], [0.55, 0.65, 0.75, 0.85], [0.95, 1.05, 1.15, 1.25]]
], dtype=torch.float32)

# mu: means (batch_size=2, num_components=3, feature_dim=4)
mu = torch.tensor([
    [[1.0, 2.0, 3.0, 4.0], [5.0, 6.0, 7.0, 8.0], [9.0, 10.0, 11.0, 12.0]],
    [[1.5, 2.5, 3.5, 4.5], [5.5, 6.5, 7.5, 8.5], [9.5, 10.5, 11.5, 12.5]]
], dtype=torch.float32)

ARGS = {
    "pi": pi,
    "sigma": sigma,
    "mu": mu
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 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
RunEpoch Not yet run
unverified (harvested, no recorded run)
meghdadk/db_unlearning/naru/eval_model.py
code served (permissive licence) · get_code("e85c652a61556e92")
How it ran

no invocation recorded.

RunEpoch Not yet run
unverified (harvested, no recorded run)
meghdadk/db_unlearning/naru/train_model.py
code served (permissive licence) · get_code("15c558e5263df71c")
How it ran

no invocation recorded.

delete Not yet run
unverified (harvested, no recorded run)
meghdadk/db_unlearning/dbest/train_mdn.py
code served (permissive licence) · get_code("7027dbc4b69cb3fb")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 0 later) and 12 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
Entropy 2 other papers
2 dated earlier
1502.03509 (2015-02)
MADE: Masked Autoencoder for Distribution Estimation
2210.05508 (2022-10)
Detect, Distill and Update: Learned DB Systems Facing Out of Distribution Data
InvertOrder 2 other papers
2 dated earlier
1502.03509 (2015-02)
MADE: Masked Autoencoder for Distribution Estimation
2210.05508 (2022-10)
Detect, Distill and Update: Learned DB Systems Facing Out of Distribution Data
sample 1 other paper
1 the same month
2311.14110 (2023-11)
When is Off-Policy Evaluation (Reward Modeling) Useful in Contextual Bandits? A Data-Centric Perspective

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

Machine learning models based on neural networks (NNs) are enjoying ever-increasing attention in the DB community. However, an important issue has been largely overlooked, namely the challenge of dealing with the highly dynamic nature of DBs, where data updates are fundamental, highly-frequent operations. Although some recent research has addressed the issues of maintaining updated NN models in the presence of new data insertions, the effects of data deletions (a.k.a., "machine unlearning") remain a blind spot. With this work, for the first time to our knowledge, we pose and answer the following key questions: What is the effect of unlearning algorithms on NN-based DB models? How do these effects translate to effects on downstream DB tasks, such as selectivity estimation (SE), approximate query processing (AQP), data generation (DG), and upstream tasks like data classification (DC)? What metrics should we use to assess the impact and efficacy of unlearning algorithms in learned DBs? Is the problem of machine unlearning in DBs different from that of machine learning in DBs in the face of data insertions? Is the problem of machine unlearning for DBs different from unlearning in the ML literature? what are the overhead and efficiency of unlearning algorithms? What is the sensitivity of unlearning on batching delete operations? If we have a suitable unlearning algorithm, can we combine it with an algorithm handling data insertions en route to solving the general adaptability/updatability requirement in learned DBs in the face of both data inserts and deletes? We answer these questions using a comprehensive set of experiments, various unlearning algorithms, a variety of downstream DB tasks, and an upstream task (DC), each with different NNs, and using a variety of metrics on a variety of real datasets, making this also a first key step towards a benchmark for learned DB unlearning.

For agents

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

get_harvested_code_for_paper("2311.17276")
get_code_for_paper("2311.17276")
have("2311.17276")

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

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

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

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

Connect an agent — have() is free.