SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.06853 · ICML · 2025

Curvature Enhanced Data Augmentation for Regression

Omri Azencot, Ilya Kaufman

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 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 0 have no contract verdict; 6 failures of our instrument; 6 no recorded run), measured 2026-11-24; 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.06853.json · badge: /api/ran/2506.06853.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
azencot-group/CEMS community
Papers with Code archive
6 ran · 6 no recorded run
FunctionStatusWhere it lives
_adjust_dims Ran
ran; our contract draft was wrong, not the code
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("92b3bf7c0634711b")
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) 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 torch

torch.manual_seed(0)

# Construct valid arguments for _adjust_dims
# x: anchor sample batch, shaped (b, ...) - we'll use (2, 4) for 2D case
# y: label batch, shaped (b,) or (b, 1) - we'll use (2,) for 1D case
# xk, yk: optional neighbourhood tensors with same leading dims

x = torch.randn(2, 4)  # batch_size=2, features=4
y = torch.randn(2)      # batch_size=2, 1D labels

# Optional neighbourhood tensors
# xk should have shape (b, k, ...) where b=2, k=3 (neighbourhood size)
xk = torch.randn(2, 3, 4)  # batch_size=2, neighbourhood_size=3, features=4
yk = torch.randn(2, 3, 1)  # batch_size=2, neighbourhood_size=3, label_dim=1

ARGS = {
    "x": x,
    "y": y,
    "xk": xk,
    "yk": yk,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — 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
_solve_ridge_regression Ran
ran; our contract draft was wrong, not the code
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("84352356f16f93c1")
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 (4, 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)

# Create small tensors for ridge regression
# a: shape (batch, n_features) - the design matrix
# b: shape (batch, n_targets) - the target values
# For ridge regression: (A^T A + λI)X = A^T B

batch_size = 2
n_features = 4
n_targets = 3

a = torch.randn(batch_size, n_features, dtype=torch.float32)
b = torch.randn(batch_size, n_targets, dtype=torch.float32)
lam = 1.0

ARGS = {
    "a": a,
    "b": b,
    "lam": lam,
}
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 (4, 3) — shape (4, 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
estimate_np Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("dd8918235448eb05")
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, 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
from sklearn import linear_model

# Create a small distance matrix (n x n)
# The function sorts X along axis=1 and uses columns 1 and 2 (k1 and k2)
# So we need at least 3 columns per row
np.random.seed(0)
n_points = 10
# Create a symmetric distance matrix with values > 0
X = np.random.rand(n_points, n_points) * 5 + 0.1
# Ensure diagonal is non-zero and matrix is reasonable
np.fill_diagonal(X, 0.05)
# Make symmetric
X = (X + X.T) / 2

ARGS = {
    "X": X,
    "fraction": 0.9,
    "verbose": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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, 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
estimate_torch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("994c428f7735e1f4")
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 float, 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 torch
from math import floor

torch.manual_seed(0)

# Create a small distance matrix (n x n)
# A distance matrix should be symmetric with zeros on diagonal
n = 8
X = torch.rand(n, n)
# Make it symmetric and ensure diagonal is 0
X = (X + X.T) / 2
X.fill_diagonal_(0)

# Ensure we have at least 3 columns for the sorting operations
# and that k1 != 0 and k1 != k2 for most points
X = X + torch.eye(n) * 0.01  # Avoid exact zeros

ARGS = {
    "X": X,
    "fraction": 0.9,
    "verbose": False,
}
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 float, 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
estimate_torch_batched Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("d7528360065881c3")
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; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import math

torch.manual_seed(0)

# Create a small toy distance matrix for testing
# X should be a 2D tensor of shape (n, d) where n is number of points, d is dimensions
# For this function, X represents distances or points
n_points = 8
n_dims = 4

# Create random points and compute pairwise distances
points = torch.randn(n_points, n_dims)
X = torch.cdist(points, points, p=2)

# X is now shape (8, 8) - a distance matrix
# The function will compute distances between rows of X

ARGS = {
    'X': X,
    'batch_size': 2**3,  # Small batch size for tiny example
    'fraction': 0.9,
    'verbose': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, torch — 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 — no output shape is stated: observe_signature.py could not observe it (call:AssertionError)
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
intrinsic_dimension_np Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("cff5be57c9f72dd3")
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, 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
from scipy.spatial.distance import pdist, squareform

# Create a small set of sample points in 3D space
np.random.seed(42)
n_points = 8
n_features = 3
X = np.random.randn(n_points, n_features).astype(np.float64)

ARGS = {
    "X": X,
    "verbose": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy, sklearn — 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, 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
_estimate_grad_hessian Not yet run
unverified (harvested, no recorded run)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("e1b10f0b7d1132d4")
How it ran

no invocation recorded.

_get_projection Not yet run
unverified (harvested, no recorded run)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("9ecc62f71df533a6")
How it ran

no invocation recorded.

_sample_tangent Not yet run
unverified (harvested, no recorded run)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("8584ae40d3e0784b")
How it ran

no invocation recorded.

get_batch_cems Not yet run
unverified (harvested, no recorded run)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("12d5d633e4f27e8e")
How it ran

no invocation recorded.

intrinsic_dimension Not yet run
unverified (harvested, no recorded run)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("4950a4796c8b150a")
How it ran

no invocation recorded.

intrinsic_dimension_torch Not yet run
unverified (harvested, no recorded run)
azencot-group/CEMS/src/cems.py
code served (permissive licence) · get_code("82ac914584706f8c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 11 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
estimate_torch_batched
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2406.10914 (2024-06)
First-Order Manifold Data Augmentation for Regression Learning

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-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Deep learning models with a large number of parameters, often referred to as over-parameterized models, have achieved exceptional performance across various tasks. Despite concerns about overfitting, these models frequently generalize well to unseen data, thanks to effective regularization techniques, with data augmentation being among the most widely used. While data augmentation has shown great success in classification tasks using label-preserving transformations, its application in regression problems has received less attention. Recently, a novel manifold learning approach for generating synthetic data was proposed, utilizing a first-order approximation of the data manifold. Building on this foundation, we present a theoretical framework and practical tools for approximating and sampling general data manifolds. Furthermore, we introduce the Curvature-Enhanced Manifold Sampling (CEMS) method for regression tasks. CEMS leverages a second-order representation of the data manifold to enable efficient sampling and reconstruction of new data points. Extensive evaluations across multiple datasets and comparisons with state-of-the-art methods demonstrate that CEMS delivers superior performance in both in-distribution and out-of-distribution scenarios, while introducing only minimal computational overhead. Code is available at https: //github.com/azencot-group/CEMS.

For agents

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

get_harvested_code_for_paper("2506.06853")
get_code_for_paper("2506.06853")
have("2506.06853")

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

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

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

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

Connect an agent — have() is free.