SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.19214 · 2023

Factor Fitting, Rank Allocation, and Partitioning in Multilevel Low Rank Matrices

arXiv · PDF · Open in the Atlas

Code that ran

10 of 18 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 8 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/2310.19214.json · badge: /api/ran/2310.19214.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
cvxgrp/mlr_fitting canonical (classifier label)
classifier basis: census
10 ran · 8 no recorded run
FunctionStatusWhere it lives
block_diag_lk_t Ran
ran; our contract draft was wrong, not the code
cvxgrp/mlr_fitting/mlrfit/mlr_symm_hpar_matmul.py
code served (permissive licence) · get_code("9fe3e7947e1e8bbc")
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 ndarray, ndim 2, dtype family int, shape (15, 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 numpy as np
from scipy.linalg import block_diag

# Set up the arguments for block_diag_lk_t
# lk: array of indices defining block boundaries
# A: 2D numpy array to extract columns from

# lk should be an array of indices where lk[i] and lk[i+1] define column ranges
# We need at least 2 elements in lk to have at least 1 block
lk = np.array([0, 2, 4, 6])

# A should be a 2D array where we extract columns based on lk ranges
# A has shape (rows, cols) where cols should accommodate the max index in lk
A = np.arange(20).reshape(5, 4)

ARGS = {
    "lk": lk,
    "A": A
}
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 ndarray, ndim 2, dtype family int, shape (15, 4) — shape (15, 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
dct_matrix Ran
ran, honoured the contract we drafted
cvxgrp/mlr_fitting/mlrfit/example_matrices.py
code served (permissive licence) · get_code("c9abc485229b62f1")
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 ndarray, 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 numpy as np

def dct_matrix(n):
    A = np.zeros((n, n))
    A[0, :] = np.ones(n) * 1.0 / np.sqrt(n)
    for i in range(1, n):
        for j in range(n):
            A[i, j] = np.sqrt(2.0 / n) * np.cos(np.pi * (2 * j + 1) * i / (2 * n))
    return A

ARGS = {
    "n": 4
}
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 ndarray, 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
dgt_matrix Ran
ran, honoured the contract we drafted
cvxgrp/mlr_fitting/mlrfit/example_matrices.py
code served (permissive licence) · get_code("0d91e922e5c6680c")
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 ndarray, ndim 2, dtype family float, shape (3, 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 numpy as np

ARGS = {
    "m": 3,
    "n": 4,
    "d": 2,
    "k": 5
}
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 ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 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
frob_low_rank Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cvxgrp/mlr_fitting/mlrfit/low_rank.py
code served (permissive licence) · get_code("a20a441fac22eb19")
How it ran

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

import numpy as np
from scipy.sparse import csr_matrix

np.random.seed(0)

# Create a small dense matrix for testing
A_dense = np.random.randn(4, 3)

# Create a small sparse matrix as LinearOperator alternative
A_sparse = csr_matrix(np.random.randn(5, 4))

# Test with dense matrix
A = A_dense

# Optional v0 initial vector for svds
v0 = None

# Create initial vector if needed
if v0 is None:
    v0 = np.random.randn(min(A.shape))

ARGS = {
    "A": A,
    "dim": 2,
    "symm": False,
    "v0": v0
}
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 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
frob_low_rank_psd Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cvxgrp/mlr_fitting/mlrfit/low_rank.py
code served (permissive licence) · get_code("346476c10c7a3c2b")
How it ran

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

import numpy as np
from scipy.sparse.linalg import eigsh, LinearOperator

# Create a small symmetric positive semi-definite matrix (4x4)
np.random.seed(0)
A_dense = np.random.randn(4, 4)
A = A_dense @ A_dense.T  # Ensure symmetric PSD

# Prepare arguments for frob_low_rank_psd
ARGS = {
    "A": A,
    "dim": 2,
    "v0": None
}
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 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
full_htree_to_hpart Ran
ran; our contract draft was wrong, not the code
cvxgrp/mlr_fitting/mlrfit/utils.py
code served (permissive licence) · get_code("30b99a32209ad6f9")
How it ran

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

import numpy as np

# Create a small hierarchical tree structure
# The function expects a list of EntryHtree dictionaries
# Each EntryHtree has 'rows' and 'cols' which are lists of numpy arrays

# Create level 0 (root level)
level_0_rows = [np.array([0, 1, 2, 3])]  # Single array at root
level_0_cols = [np.array([0, 2, 4, 6])]  # Different size for cols

# Create level 1 (with 2 blocks)
level_1_rows = [np.array([1, 2]), np.array([3, 4])]  # 2 blocks
level_1_cols = [np.array([2, 3]), np.array([5, 7])]  # 2 blocks

# Create level 2 (with 3 blocks)
level_2_rows = [np.array([1]), np.array([2]), np.array([3])]  # 3 blocks
level_2_cols = [np.array([2]), np.array([3]), np.array([5])]  # 3 blocks

htree = [
    {
        'rows': level_0_rows,
        'cols': level_0_cols,
    },
    {
        'rows': level_1_rows,
        'cols': level_1_cols,
    },
    {
        'rows': level_2_rows,
        'cols': level_2_cols,
    },
]

ARGS = {
    'htree': htree,
    'debug': False,
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_device Ran
ran; our contract draft was wrong, not the code
cvxgrp/mlr_fitting/mlrfit/utils.py
code served (permissive licence) · get_code("cf77baca5261aefd")
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 device. 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

torch.manual_seed(0)

ARGS = {
    'gpu_no': 0
}
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 device — a device output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a device 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
mult_blockdiag_refined_BCt Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cvxgrp/mlr_fitting/mlrfit/mlr_symm_hpar_matmul.py
code served (permissive licence) · get_code("ef521c44c1904120")
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 ndarray, ndim 2, dtype family float, shape (5, 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 numpy as np

# Analyze the function to understand the requirements:
# - B: numpy array, shape (num_samples, num_blocks_C * C.shape[1])
# - lk_B: numpy array of indices, size <= lk_C.size, last element in B.shape
# - C: numpy array, shape (num_rows_C, num_features)
# - lk_C: numpy array of indices, size determines num_blocks_C, last element in C.shape

# The function:
# - Accesses lk_B.size and lk_C.size
# - Accesses B.shape and C.shape
# - Accesses lk_C[block_C] and lk_C[block_C + 1]
# - Performs matrix multiplication: B @ C[r1:r2].T
# - Creates output of shape (C.shape[0], B.shape[0])

# Let's construct valid arguments:
# num_blocks_C = lk_C.size - 1
# We need lk_B[-1] in B.shape and lk_C[-1] in C.shape

# Example setup:
num_blocks_C = 2
C_cols = 3  # C.shape[1], also lk_C[-1]
B_rows = 4  # B.shape[0]
C_rows = 5  # C.shape[0], also lk_C[-1] should be in C.shape

# lk_C represents block boundaries for C's rows
# If we have 2 blocks with 5 total rows: [0, 2, 5] for example
lk_C = np.array([0, 2, 5], dtype=np.int64)  # size = 3, so num_blocks_C = 2, last element = 5

# C.shape should have 5 (lk_C[-1]) as one dimension
C = np.random.randn(5, 3)  # shape (5, 3), lk_C[-1] = 5 is in C.shape

# B.shape[1] should be num_blocks_C * C.shape[1] = 2 * 3 = 6
# B.shape[0] should be B_rows = 4
B = np.random.randn(4, 6)  # shape (4, 6)

# lk_B: size <= lk_C.size (3), last element in B.shape
# B.shape = (4, 6), so lk_B[-1] must be 4 or 6
# Let's make it reference the column dimension or row dimension
# The assertion checks: lk_B[-1] in B.shape
# We can use lk_B with last element = 4 (B.shape[0]) or 6 (B.shape[1])
lk_B = np.array([0, 2, 4], dtype=np.int64)  # size = 3 <= 3, last element = 4 in B.shape

ARGS = {
    "B": B,
    "lk_B": lk_B,
    "C": C,
    "lk_C": lk_C,
}
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 ndarray, ndim 2, dtype family float, shape (5, 4) — shape (5, 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
mult_blockdiag_refined_CtB Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
cvxgrp/mlr_fitting/mlrfit/mlr_symm_hpar_matmul.py
code served (permissive licence) · get_code("5aad5be17baa3de7")
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 ndarray, ndim 2, dtype family float, shape (7, 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 numpy as np

# Analyze the function requirements:
# C: 2D array, shape (r_C, some_dim), indexed by rows [r1:r2]
# lk_C: 1D array, where lk_C[-1] must be in C.shape
# B: 2D array, indexed by rows [r1:r2], B.shape[1] is used
# lk_B: 1D array, where lk_B[-1] must be in B.shape
# Constraint: lk_C.size <= lk_B.size and lk_B[-1] in B.shape and lk_C[-1] in C.shape

# Create small block structure:
# lk_B defines block boundaries, so lk_B.size - 1 = num_blocks_B
# Let's say we have 2 blocks in B, so lk_B.size = 3
# lk_B values should go from 0 to some row index in B

# Set up dimensions:
# B has 6 rows (so lk_B can go 0->3->6)
# C has 7 columns (arbitrary, but different from B's rows)
# lk_B.size = 3 means 2 blocks
# lk_C.size can be at most 3 (constraint: lk_C.size <= lk_B.size)

B = np.array([[1.0, 2.0], 
              [3.0, 4.0],
              [5.0, 6.0],
              [7.0, 8.0],
              [9.0, 10.0],
              [11.0, 12.0]], dtype=np.float64)  # shape (6, 2)

C = np.array([[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0],
              [8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0],
              [15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0],
              [22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0],
              [29.0, 30.0, 31.0, 32.0, 33.0, 34.0, 35.0],
              [36.0, 37.0, 38.0, 39.0, 40.0, 41.0, 42.0]], dtype=np.float64)  # shape (6, 7)

# lk_B defines block boundaries: blocks are [0:3] and [3:6]
lk_B = np.array([0, 3, 6], dtype=np.int64)  # size = 3, last element 6 is in B.shape
# lk_C can be smaller or equal size, and lk_C[-1] must be in C.shape (7)
lk_C = np.array([0, 3, 7], dtype=np.int64)  # size = 3, last element 7 is in C.shape

ARGS = {
    "C": C,
    "lk_C": lk_C,
    "B": B,
    "lk_B": lk_B,
}
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 ndarray, ndim 2, dtype family float, shape (7, 4) — shape (7, 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
rel_diff Ran
ran, honoured the contract we drafted
cvxgrp/mlr_fitting/mlrfit/utils.py
code served (permissive licence) · get_code("d802ffab8d362ad7")
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 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
import numpy as np

torch.manual_seed(0)

# Test case 1: torch tensors with den parameter
a_tensor = torch.randn(2, 4)
den_tensor = torch.randn(2, 4)

# Test case 2: numpy arrays with b parameter
a_numpy = np.array([[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]])
b_numpy = np.array([[1.5, 2.5, 3.5], [4.5, 5.5, 6.5]])

# Test case 3: scalar numpy values
a_scalar = np.array(5.0)
b_scalar = np.array(3.0)

ARGS = {
    "a": a_tensor,
    "b": den_tensor,
    "den": den_tensor
}
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 Tensor, 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
build_hodlr Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/hodlr_methods.py
code served (permissive licence) · get_code("8d90975cb8bbc3e0")
How it ran

no invocation recorded.

build_hodlr_contiguous Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/hodlr_methods.py
code served (permissive licence) · get_code("74da1b8799c39cd6")
How it ran

no invocation recorded.

diag_sparseBCt Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/psd_factorised.py
code served (permissive licence) · get_code("02428dc40faf1617")
How it ran

no invocation recorded.

frob_loss Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/psd_factorised.py
code served (permissive licence) · get_code("843bb2fea0375328")
How it ran

no invocation recorded.

hpart_from_gsubind Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/hpartitioning.py
code served (permissive licence) · get_code("91c9204b0e796760")
How it ran

no invocation recorded.

low_rank_approx_tol Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/hodlr_methods.py
code served (permissive licence) · get_code("27adefd8135a0868")
How it ran

no invocation recorded.

svds_using_factoring Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/low_rank.py
code served (permissive licence) · get_code("f9d7aa2aa047b4dc")
How it ran

no invocation recorded.

update_single_block_delta_psd_jit Not yet run
unverified (harvested, no recorded run)
cvxgrp/mlr_fitting/mlrfit/fit.py
code served (permissive licence) · get_code("119d622ae564a485")
How it ran

no invocation recorded.

Also present in other papers' code

Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 16 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
mult_blockdiag_refined_BCt 1 other paper
1 later
2409.12067 (2024-09)
Fitting Multilevel Factor Models
mult_blockdiag_refined_CtB 1 other paper
1 later
2409.12067 (2024-09)
Fitting Multilevel Factor Models

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 consider multilevel low rank (MLR) matrices, defined as a row and column permutation of a sum of matrices, each one a block diagonal refinement of the previous one, with all blocks low rank given in factored form. MLR matrices extend low rank matrices but share many of their properties, such as the total storage required and complexity of matrix-vector multiplication. We address three problems that arise in fitting a given matrix by an MLR matrix in the Frobenius norm. The first problem is factor fitting, where we adjust the factors of the MLR matrix. The second is rank allocation, where we choose the ranks of the blocks in each level, subject to the total rank having a given value, which preserves the total storage needed for the MLR matrix. The final problem is to choose the hierarchical partition of rows and columns, along with the ranks and factors. This paper is accompanied by an open source package that implements the proposed methods.

For agents

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

get_harvested_code_for_paper("2310.19214")
get_code_for_paper("2310.19214")
have("2310.19214")

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

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

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

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

Connect an agent — have() is free.