SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.08517 · 2026

A Deep Risk Estimator for Known Operator Learning

Andreas Maier, Md Hasan, Paulina Conrad, Paula Andrea, Pérez Toro

arXiv · PDF · Open in the Atlas

Code that ran

14 of 19 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 5 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 7 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/2605.08517.json · badge: /api/ran/2605.08517.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
akmaier/KnownOperatorCT community
Papers with Code archive
14 ran · 5 no recorded run
FunctionStatusWhere it lives
FanBeamGeometry Ran
ran on a synthesized input · constructed an object; no result was computed
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("58b610e52744cedc")
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, FanBeamGeometry: 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 torch
import math
from dataclasses import dataclass
from torch import Tensor

torch.manual_seed(0)

ARGS = {
    "image_size": 256,
    "num_views": 90,
    "detector_bins": 512,
    "angular_range_degrees": 360.0,
    "source_to_iso_mm": 541.0,
    "source_to_detector_mm": 949.0,
    "detector_pixel_mm": 0.248,
}
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 FanBeamGeometry — 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 FanBeamGeometry 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
KernelRidgePredictor Ran
ran on a synthesized input · constructed an object; no result was computed
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("6becd42848887da5")
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, KernelRidgePredictor: 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 torch

torch.manual_seed(0)

# Construct tiny tensors for the KernelRidgePredictor
# X: shape (image_size^2, N) - maps from feature space to image space
# Y: shape (sino_flat_dim, N) - maps from sinogram space to feature space
# image_size: int - dimension of output image (image_size x image_size)

image_size = 4
N = 3  # number of basis functions
sino_flat_dim = 8  # flattened sinogram dimension
image_flat_dim = image_size * image_size  # 16

# Create X: (16, 3) - maps features to image pixels
X = torch.randn(image_flat_dim, N)

# Create Y: (8, 3) - maps sinogram to features
Y = torch.randn(sino_flat_dim, N)

# Lambda for regularization
lam = 0.1

ARGS = {
    "X": X,
    "Y": Y,
    "lam": lam,
    "image_size": image_size,
}
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 KernelRidgePredictor — 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 KernelRidgePredictor 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
fan_beam_forward Ran
ran; our contract draft was wrong, not the code
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("8f8ca781f4f477b6")
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 (3, 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 torch
import math
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self):
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self):
        """Half-width of the reconstructed FOV in mm."""
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm

# Create a small test image: 4x4 tensor
image = torch.randn(4, 4, dtype=torch.float32)

# Create geometry with reasonable fan-beam parameters
geometry = FanBeamGeometry(
    image_size=4,
    num_views=3,
    detector_bins=5,
    angular_range_degrees=180.0,
    source_to_iso_mm=500.0,
    source_to_detector_mm=1000.0,
    detector_pixel_mm=1.0
)

ARGS = {
    "image": image,
    "geometry": geometry
}
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 (3, 5) — shape (3, 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
fit_kernel_ridge_from_pool Ran
ran; our contract draft was wrong, not the code
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("8dd27deea375a4b8")
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. 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 math
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self):
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self) -> float:
        """Half-width of the reconstructed FOV in mm."""
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm

# Create a small geometry object
geometry = FanBeamGeometry(
    image_size=4,
    num_views=3,
    detector_bins=5,
    angular_range_degrees=180.0,
    source_to_iso_mm=500.0,
    source_to_detector_mm=1000.0,
    detector_pixel_mm=0.5
)

# Create a small pool of (image, sinogram) tuples
# image: (4, 4) flattened to 16
# sinogram: (3, 5) flattened to 15
pool = [
    (torch.randn(4, 4), torch.randn(3, 5)),
    (torch.randn(4, 4), torch.randn(3, 5))
]

# Small regularization parameter
lam = 0.01

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

ARGS = {
    'geometry': geometry,
    'pool': pool,
    'lam': lam,
    '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 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
fit_ridge_from_pool Ran
ran; our contract draft was wrong, not the code
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("f3c10d74c41ce629")
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. 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 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 math
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self):
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self):
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm

geometry = FanBeamGeometry(
    image_size=4,
    num_views=3,
    detector_bins=5,
    angular_range_degrees=180.0,
    source_to_iso_mm=500.0,
    source_to_detector_mm=1000.0,
    detector_pixel_mm=1.0
)

num_measurements = geometry.num_views * geometry.detector_bins
num_pixels = geometry.image_size ** 2
batch_size = 2

pool = [
    (torch.randn(geometry.image_size, geometry.image_size), torch.randn(geometry.num_views, geometry.detector_bins))
    for _ in range(batch_size)
]

lam = 0.1

device = torch.device('cpu')

ARGS = {
    'geometry': geometry,
    'pool': pool,
    'lam': lam,
    '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 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
iter_slice_dataset Ran
ran; our contract draft was wrong, not the code
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("3d7fa89e0b638a96")
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 generator. 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 math
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self):
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self) -> float:
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm


geometry = FanBeamGeometry(
    image_size=4,
    num_views=3,
    detector_bins=5,
    angular_range_degrees=180.0,
    source_to_iso_mm=500.0,
    source_to_detector_mm=1000.0,
    detector_pixel_mm=1.0
)

ARGS = {
    "geometry": geometry,
    "num_slices": 2,
    "seed": 42,
    "ellipses_per_slice": (1, 3),
    "device": torch.device("cpu")
}
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 generator — a generator output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a generator 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
make_geom Ran
ran; our contract draft was wrong, not the code
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("d14529e2c3bd5177")
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 FanBeamGeometry. 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 math
from dataclasses import dataclass

torch.manual_seed(0)

ARGS = {
    'cfg': {
        'geometry': {
            'image_size': 512,
            'num_views': 180,
            'detector_bins': 672,
            'angular_range_degrees': 360.0,
            'source_to_iso_mm': 541.0,
            'source_to_detector_mm': 1085.6,
            'detector_pixel_mm': 0.194
        }
    }
}
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 FanBeamGeometry — a FanBeamGeometry output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a FanBeamGeometry 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
materialize_pool Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("0a62beeb1e581b98")
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. 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 math
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self):
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self):
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm

geom = FanBeamGeometry(
    image_size=4,
    num_views=3,
    detector_bins=5,
    angular_range_degrees=180.0,
    source_to_iso_mm=500.0,
    source_to_detector_mm=1000.0,
    detector_pixel_mm=1.0
)

ARGS = {
    'geom': geom,
    'n': 2,
    'seed': 42,
    'ellipses': (1, 2),
    'device': torch.device('cpu')
}
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 — a list 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
parameter_counts Ran
ran, honoured the contract we drafted
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("98e93d417e2b332e")
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 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
import math
from dataclasses import dataclass

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self):
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self) -> float:
        """Half-width of the reconstructed FOV in mm."""
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm

torch.manual_seed(0)

geometry = FanBeamGeometry(
    image_size=8,
    num_views=16,
    detector_bins=32,
    angular_range_degrees=180.0,
    source_to_iso_mm=600.0,
    source_to_detector_mm=1000.0,
    detector_pixel_mm=0.5
)

ARGS = {
    "geometry": geometry
}
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 tuple, ndim 1, dtype family int — 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
parker_cosine_weights Ran
ran, honoured the contract we drafted
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("b40238223f2eb637")
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
import math
from dataclasses import dataclass
from torch import Tensor

torch.manual_seed(0)

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self) -> Tensor:
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self) -> float:
        """Half-width of the reconstructed FOV in mm."""
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm

geometry = FanBeamGeometry(
    image_size=64,
    num_views=4,
    detector_bins=3,
    angular_range_degrees=200.0,
    source_to_iso_mm=600.0,
    source_to_detector_mm=1200.0,
    detector_pixel_mm=0.5
)

ARGS = {
    "geometry": geometry
}
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
predict_fc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("fd17fc6eccdabdff")
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, 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

torch.manual_seed(0)

# Analyze the function:
# - M: torch.Tensor, used with @ operator (matrix multiplication) with sino.flatten()
# - sino: torch.Tensor, flattened and used with @ operator
# - image_size: int, used to view output and create square image
# - use_relu: bool, optional parameter

# M @ sino.flatten() suggests:
# - sino.flatten() produces a 1D tensor
# - M must be a 2D tensor where M's columns match sino's flattened size
# - Result is reshaped to (image_size, image_size)

# So if output is (image_size, image_size), M should be (image_size*image_size, sino_flattened_size)

image_size = 4
sino_height = 2
sino_width = 3

# sino when flattened will have size sino_height * sino_width = 6
sino_flattened_size = sino_height * sino_width

# M should be (image_size * image_size, sino_flattened_size)
# which is (16, 6) for our case
M = torch.randn(image_size * image_size, sino_flattened_size)

# sino should be (sino_height, sino_width)
sino = torch.randn(sino_height, sino_width)

ARGS = {
    "M": M,
    "sino": sino,
    "image_size": image_size,
    "use_relu": True,
}
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, 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
ramp_filter Ran
ran, honoured the contract we drafted
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("253bb3e433387c9e")
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 1, dtype family float, shape (8,) 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 import Tensor

torch.manual_seed(0)

ARGS = {
    "num_bins": 8
}
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 1, dtype family float, shape (8,) — shape (8,) 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
random_phantom Ran
ran, honoured the contract we drafted
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("ae2fa44c68d48f77")
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, 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
import math
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class FanBeamGeometry:
    image_size: int
    num_views: int
    detector_bins: int
    angular_range_degrees: float
    source_to_iso_mm: float
    source_to_detector_mm: float
    detector_pixel_mm: float

    @property
    def angles_rad(self) -> torch.Tensor:
        end = self.angular_range_degrees * math.pi / 180.0
        return torch.linspace(0.0, end, self.num_views, dtype=torch.float32)

    @property
    def fov_radius_mm(self) -> float:
        """Half-width of the reconstructed FOV in mm."""
        return 0.5 * self.detector_bins * self.detector_pixel_mm * self.source_to_iso_mm / self.source_to_detector_mm

geometry = FanBeamGeometry(
    image_size=4,
    num_views=3,
    detector_bins=5,
    angular_range_degrees=180.0,
    source_to_iso_mm=100.0,
    source_to_detector_mm=200.0,
    detector_pixel_mm=1.0
)

rng = torch.Generator()
rng.manual_seed(42)

ARGS = {
    "geometry": geometry,
    "rng": rng,
    "ellipses_min": 2,
    "ellipses_max": 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 Tensor, 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
rrmse Ran
ran, honoured the contract we drafted
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("d8fbfea2aeec52f3")
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 numpy as np

# Create small numpy arrays for pred and target
np.random.seed(0)
pred = np.random.randn(4, 3)
target = np.random.randn(4, 3) + 1.0  # offset to ensure non-zero values

ARGS = {
    "pred": pred,
    "target": target
}
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 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
KnownOperatorReconstructor Not yet run
unverified (harvested, no recorded run)
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("b384a5e6de3ea02b")
How it ran

no invocation recorded.

main Not yet run
unverified (harvested, no recorded run)
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("5e43fdee48655eb5")
How it ran

no invocation recorded.

parse_args Not yet run
unverified (harvested, no recorded run)
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("0ef737f2c45b013b")
How it ran

no invocation recorded.

predict_fc_kernel Not yet run
unverified (harvested, no recorded run)
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("9261d984a06e9772")
How it ran

no invocation recorded.

train_ko_sgd Not yet run
unverified (harvested, no recorded run)
akmaier/KnownOperatorCT/src/fc_ko_sample_efficiency.py
code served (permissive licence) · get_code("390414501da02da9")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 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 19 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 describe an approach for estimating the statistical risk of deep networks that contain a mix of learned and known operators. Building on the maximal training error bounds previously established for known operator learning, we derive a deep risk estimator that connects the expected error of a layered network to the size of the training sample. The estimator decomposes the total risk into a sum over learned layers; every known operator contributes zero to this sum, while every learned layer adds an approximation term inspired by Barron's classic work and an estimation term that decreases with the number of training samples. We are able to show that the bound shrinks whenever a learned layer is replaced by a known operator and that the corresponding sample requirement scales with the number of trainable parameters of the layer that is replaced. As an application, we use computed tomography as an example and compare an operator-aware filtered backprojection network with a fully connected substitute that collapses the entire reconstruction pipeline into a single learned dense matrix. The predicted parameter ratio coincides with the structural sparsity that the analytic decomposition into a circulant filter and a sparse backprojection exposes. We confirm the predicted scaling on CPU at small image scale and on GPU at medium image scale, all on the same scaling law. Beyond CT reconstruction, the estimator applies to physics-informed neural networks that hardcode a known physical operation in its architecture, and we expect the result to be of interest for a broad community working on operator-aware deep learning. Calibrating the per-layer constants on each sweep yields a bound that tracks the empirical test MSE, so the estimator can be used to predict how many training samples are required to reach a target error. Source code, configuration files, and the full-resolution training pipeline are publicly available at https://github.com/akmaier/KnownOperatorCT.

For agents

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

get_harvested_code_for_paper("2605.08517")
get_code_for_paper("2605.08517")
have("2605.08517")

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

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

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

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

Connect an agent — have() is free.