SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2006.14539 · 2020

Anderson Acceleration for Nonconvex ADMM Based on Douglas-Rachford Splitting

arXiv · PDF · Open in the Atlas

Code that ran

7 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 7 have no contract verdict; 0 failures of our instrument; 5 no recorded run), measured 2026-11-22; 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/2006.14539.json · badge: /api/ran/2006.14539.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
YuePengUSTC/AADR canonical (classifier label)
classifier basis: census
7 ran · 5 no recorded run
FunctionStatusWhere it lives
filter_reindex Ran
ran on a synthesized input
YuePengUSTC/AADR/Fig3-cmm/cmmlib/util.py
code served (permissive licence) · get_code("5d4f3f9e68ad3bf7")
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 1, dtype family int, shape (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 numpy as np

# Setup for filter_reindex function
# The function takes:
# 1. condition: a boolean numpy array indicating which elements to keep
# 2. target: an index array (numpy array of integers) that references into the original data

# Create a simple condition array (boolean mask)
condition = np.array([True, False, True, False, True])

# Create a target array with indices that reference into data of length 5
# These indices should be valid for the original unconditioned data
target = np.array([0, 2, 4, 1, 3])

ARGS = {
    "condition": condition,
    "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 ndarray, ndim 1, dtype family int, shape (5,) — shape (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
find_rbm_procrustes Ran
ran on a synthesized input
YuePengUSTC/AADR/Fig6-splocs/align_rigid.py
code served (permissive licence) · get_code("7fb5a169321c6431")
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

# Create small point clouds for rigid body motion
# frompts: source points (N x 3)
# topts: target points (N x 3)

np.random.seed(0)

# Create a small set of 3D points
n_points = 5
frompts = np.random.randn(n_points, 3).astype(np.float64)

# Create target points by applying a known rigid transformation
# Rotation matrix (90 degrees around z-axis)
theta = np.pi / 4
R_true = np.array([
    [np.cos(theta), -np.sin(theta), 0],
    [np.sin(theta), np.cos(theta), 0],
    [0, 0, 1]
], dtype=np.float64)

# Translation
t_true = np.array([1.0, 2.0, 3.0], dtype=np.float64)

# Apply transformation to create target points
topts = (frompts @ R_true.T) + t_true

ARGS = {
    "frompts": frompts,
    "topts": topts
}
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
normalized Ran
ran on a synthesized input
YuePengUSTC/AADR/Fig3-cmm/cmmlib/util.py
code served (permissive licence) · get_code("d5ed5af0b7422904")
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 (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 numpy as np

# The function 'normalized' takes vectors as input
# It computes the L2 norm along the last axis and normalizes
# We need to provide a numpy array of vectors

# Create a small array of vectors
# Shape: (2, 4) - 2 vectors of dimension 4
vectors = np.array([
    [3.0, 4.0, 0.0, 0.0],
    [1.0, 1.0, 1.0, 1.0]
], dtype=np.float32)

ARGS = {
    "vectors": vectors
}
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 (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
optimal_linear_map Ran
ran on a synthesized input
YuePengUSTC/AADR/Fig3-cmm/cmmlib/align.py
code served (permissive licence) · get_code("e3b3e1b2e4031af4")
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

# Analyze the function:
# - optimal_linear_map takes two parameters: frompts and topts
# - Both are used in np.linalg.solve and np.dot operations
# - frompts is multiplied with itself transposed: np.dot(frompts, frompts.T)
# - frompts is multiplied with topts transposed: np.dot(frompts, topts.T)
# - This suggests frompts is shape (n_features, n_samples) and topts is shape (n_output_features, n_samples)
# - Or alternatively: frompts is (n_samples, n_features) and topts is (n_samples, n_output_features)
# - Looking at the logic: frompts @ frompts.T should be square, and frompts @ topts.T should be (n_features, n_output_features)
# - So frompts should be (n_features, n_samples) and topts should be (n_output_features, n_samples)

# Create small, distinct-sized input arrays
np.random.seed(0)

# frompts: shape (4, 3) - 4 features, 3 samples
frompts = np.random.randn(4, 3).astype(np.float64)

# topts: shape (5, 3) - 5 output features, 3 samples
topts = np.random.randn(5, 3).astype(np.float64)

ARGS = {
    "frompts": frompts,
    "topts": topts,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — 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
optimal_rotation Ran
ran on a synthesized input
YuePengUSTC/AADR/Fig3-cmm/cmmlib/align.py
code served (permissive licence) · get_code("bbf9f896de5ffd7a")
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

# The function performs Procrustes alignment using SVD
# It takes two sets of points and finds the optimal rotation matrix
# frompts: source points (N x D)
# topts: target points (N x D)
# allow_reflection: boolean flag

# Create small point clouds with distinct dimensions
np.random.seed(0)

# Create 4 points in 3D space
frompts = np.random.randn(4, 3).astype(np.float64)
topts = np.random.randn(4, 3).astype(np.float64)

ARGS = {
    "frompts": frompts,
    "topts": topts,
    "allow_reflection": 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 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
orthomax Ran
ran on a synthesized input
YuePengUSTC/AADR/Fig3-cmm/cmmlib/orthomax.py
code served (permissive licence) · get_code("8dafe33289624191")
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, 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 numpy as np

# The orthomax function expects:
# - Phi: an n*k factor matrix (numpy array)
# - gamma: float between 0 and 1
# - maxiter: int for maximum iterations
# - tol: float for tolerance

# Create a small factor matrix with distinct dimensions
# p (number of dimensions) = 5, k (number of factors) = 3
np.random.seed(0)
Phi = np.random.randn(5, 3)

ARGS = {
    "Phi": Phi,
    "gamma": 1.0,
    "maxiter": 20,
    "tol": 1e-06
}
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 float, shape (5, 3) — shape (5, 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
veclen Ran
ran on a synthesized input
YuePengUSTC/AADR/Fig3-cmm/cmmlib/util.py
code served (permissive licence) · get_code("bec3a947c1855d97")
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 1, dtype family float, shape (2,) 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 a small array of vectors
# Shape: (2, 4) - 2 vectors of dimension 4
vectors = np.array([
    [1.0, 2.0, 3.0, 4.0],
    [0.5, 1.5, 2.5, 3.5]
])

ARGS = {
    "vectors": vectors
}
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 1, dtype family float, shape (2,) — shape (2,) 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
compressed_manifold_modes Not yet run
unverified (harvested, no recorded run)
YuePengUSTC/AADR/Fig3-cmm/cmmlib/cmm.py
code served (permissive licence) · get_code("18ac4030a8606df5")
How it ran

no invocation recorded.

compute_mesh_laplacian Not yet run
unverified (harvested, no recorded run)
YuePengUSTC/AADR/Fig3-cmm/cmmlib/laplacian.py
code served (permissive licence) · get_code("871a04604a1acf10")
How it ran

no invocation recorded.

manifold_harmonics Not yet run
unverified (harvested, no recorded run)
YuePengUSTC/AADR/Fig3-cmm/cmmlib/cmm.py
code served (permissive licence) · get_code("d0d43038cf5a64f3")
How it ran

no invocation recorded.

optimal_permutation Not yet run
unverified (harvested, no recorded run)
YuePengUSTC/AADR/Fig3-cmm/cmmlib/align.py
code served (permissive licence) · get_code("5d2352d71736dcaa")
How it ran

no invocation recorded.

varimax_modes Not yet run
unverified (harvested, no recorded run)
YuePengUSTC/AADR/Fig3-cmm/cmmlib/cmm.py
code served (permissive licence) · get_code("e83709f4831996f7")
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, 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 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.

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

Repositories linked to this paper

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

Abstract

The alternating direction multiplier method (ADMM) is widely used in computer graphics for solving optimization problems that can be nonsmooth and nonconvex. It converges quickly to an approximate solution, but can take a long time to converge to a solution of high-accuracy. Previously, Anderson acceleration has been applied to ADMM, by treating it as a fixed-point iteration for the concatenation of the dual variables and a subset of the primal variables. In this paper, we note that the equivalence between ADMM and Douglas-Rachford splitting reveals that ADMM is in fact a fixed-point iteration in a lower-dimensional space. By applying Anderson acceleration to such lower-dimensional fixed-point iteration, we obtain a more effective approach for accelerating ADMM. We analyze the convergence of the proposed acceleration method on nonconvex problems, and verify its effectiveness on a variety of computer graphics problems including geometry processing and physical simulation.

For agents

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

get_harvested_code_for_paper("2006.14539")
get_code_for_paper("2006.14539")
have("2006.14539")

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

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

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

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

Connect an agent — have() is free.