SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.11346 · ICLR · 2022

Data-Driven Offline Optimization For Architecting Hardware Accelerators

Sergey Levine, Amir Yazdanbakhsh, Kevin Swersky, Milad Hashemi, Aviral Kumar, Optimizer

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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; 3 failures of our instrument; 0 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/2110.11346.json · badge: /api/ran/2110.11346.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
google-research/google-research marked official in Papers with Code
Papers with Code archive
3 ran · 0 no recorded run
FunctionStatusWhere it lives
create_dual_approx Ran
ran; our contract draft was wrong, not the code
google-research/google-research/caql/dual_method.py
code served (permissive licence) · get_code("227845e7ae35e1ae")
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 SymbolicTensor. 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 tensorflow.compat.v1 as tf
import numpy as np

tf.disable_v2_behavior()

# Set seed for reproducibility
np.random.seed(0)
tf.set_random_seed(0)

# Define parameters
batch_size = 2
num_layers = 4
action_dim = 4
hidden_dim_1 = 5
hidden_dim_2 = 3
action_max = 1.0

# Create action_tensor_center: shape (batch_size, action_dim)
action_tensor_center = tf.constant(
    np.random.randn(batch_size, action_dim).astype(np.float32)
)

# Create W_T_list: list of weight matrices transposed
# W_T_list[0]: (action_dim, hidden_dim_1)
# W_T_list[1]: (hidden_dim_1, hidden_dim_2)
# W_T_list[2]: (hidden_dim_2, 1)
W_T_list = [
    tf.constant(np.random.randn(action_dim, hidden_dim_1).astype(np.float32)),
    tf.constant(np.random.randn(hidden_dim_1, hidden_dim_2).astype(np.float32)),
    tf.constant(np.random.randn(hidden_dim_2, 1).astype(np.float32)),
]

# Create b_T_list: list of bias vectors
# b_T_list[0]: (batch_size, hidden_dim_1)
# b_T_list[1]: (batch_size, hidden_dim_2)
# b_T_list[2]: (batch_size, 1)
b_T_list = [
    tf.constant(np.random.randn(batch_size, hidden_dim_1).astype(np.float32)),
    tf.constant(np.random.randn(batch_size, hidden_dim_2).astype(np.float32)),
    tf.constant(np.random.randn(batch_size, 1).astype(np.float32)),
]

ARGS = {
    "num_layers": num_layers,
    "batch_size": batch_size,
    "action_max": action_max,
    "W_T_list": W_T_list,
    "b_T_list": b_T_list,
    "action_tensor_center": action_tensor_center,
    "return_full_info": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor 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
get_D Ran
ran; our contract draft was wrong, not the code
google-research/google-research/caql/dual_method.py
code served (permissive licence) · get_code("30bfbd4d2d425490")
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 SymbolicTensor. 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 tensorflow.compat.v1 as tf
import numpy as np

tf.disable_v2_behavior()

# Create small tensors for the function parameters
# l: lower bound tensor
l = tf.constant([[1.0, 2.0, 3.0, 4.0], [1.5, 2.5, 3.5, 4.5]], dtype=tf.float32)

# u: upper bound tensor
u = tf.constant([[5.0, 6.0, 7.0, 8.0], [5.5, 6.5, 7.5, 8.5]], dtype=tf.float32)

# Ip: initial probability tensor (batch_size=2, dim=4)
Ip = tf.constant([[0.1, 0.2, 0.3, 0.4], [0.15, 0.25, 0.35, 0.45]], dtype=tf.float32)

# I: indicator tensor with values > 0.5 and <= 0.5 for conditional branching
I = tf.constant([[0.6, 0.3, 0.7, 0.2], [0.8, 0.1, 0.9, 0.4]], dtype=tf.float32)

ARGS = {
    "l": l,
    "u": u,
    "Ip": Ip,
    "I": I
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor 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
get_I Ran
ran; our contract draft was wrong, not the code
google-research/google-research/caql/dual_method.py
code served (permissive licence) · get_code("9386692a7f6294e9")
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 tensorflow.compat.v1 as tf
import numpy as np

tf.disable_v2_behavior()

# Create small test tensors for l and u parameters
# l represents lower bounds, u represents upper bounds
l = tf.constant([[0.5, -0.3, 0.1, -0.5],
                  [-0.2, 0.8, -0.1, 0.0]], dtype=tf.float32)

u = tf.constant([[1.0, 0.2, 0.5, -0.1],
                  [0.3, 1.5, -0.2, 0.4]], dtype=tf.float32)

ARGS = {
    "l": l,
    "u": u
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, tensorflow — 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

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 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 3 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

To attain higher efficiency, the industry has gradually reformed towards applicationspecific hardware accelerators. While such a paradigm shift is already starting to show promising results, designers need to spend considerable manual effort and perform large number of time-consuming simulations to find accelerators that can accelerate multiple target applications while obeying design constraints. Moreover, such a "simulation-driven" approach must be re-run from scratch every time the set of target applications or design constraints change. An alternative paradigm is to use a "data-driven", offline approach that utilizes logged simulation data, to architect hardware accelerators, without needing any form of simulations. Such an approach not only alleviates the need to run time-consuming simulation, but also enables data reuse and applies even when set of target applications changes. In this paper, we develop such a data-driven offline optimization method for designing hardware accelerators, dubbed PRIME, that enjoys all of these properties. Our approach learns a conservative, robust estimate of the desired cost function, utilizes infeasible points and optimizes the design against this estimate without any additional simulator queries during optimization. PRIME architects accelerators-tailored towards both single-and multi-applications-improving performance upon stat-of-theart simulation-driven methods by about 1.54× and 1.20×, while considerably reducing the required total simulation time by 93% and 99%, respectively. In addition, PRIME also architects effective accelerators for unseen applications in a zero-shot setting, outperforming simulation-based methods by 1.26×.

For agents

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

get_harvested_code_for_paper("2110.11346")
get_code_for_paper("2110.11346")
have("2110.11346")

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

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

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

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

Connect an agent — have() is free.