SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.11839 · 2025

Supervised Learning for Analog and RF Circuit Design: Benchmarks and Comparative Insights

arXiv · PDF · Open in the Atlas

Code that ran

7 of 10 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; 3 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/2501.11839.json · badge: /api/ran/2501.11839.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
avestimehrresearchgroup/aicircuit canonical (classifier label)
classifier basis not recorded on the link
7 ran · 3 no recorded run
FunctionStatusWhere it lives
data_config_creator Ran
ran on a synthesized input
avestimehrresearchgroup/aicircuit/Pipeline/dataset.py
code served (permissive licence) · get_code("463d302251432774")
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 Data. 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 numpy as np

torch.manual_seed(0)

# Construct a minimal circuit_config dict
# The Data class expects: parameter_list, performance_list, arguments

parameter_list = [0.1, 0.2, 0.3, 0.4]
performance_list = [0.95, 0.87, 0.92]
arguments = {
    "learning_rate": 0.001,
    "batch_size": 32,
    "epochs": 10
}

circuit_config = {
    "parameter_list": parameter_list,
    "performance_list": performance_list,
    "arguments": arguments
}

ARGS = {
    "circuit_config": circuit_config
}
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 Data — a Data output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Data 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
generate_loss_statistics Ran
ran on a synthesized input
avestimehrresearchgroup/aicircuit/Utils/visualutils.py
code served (permissive licence) · get_code("49b57fc1bbfac760")
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
from scipy import stats

# Analyzing the function:
# - It takes 'loss' parameter
# - loss is a list (len(loss) is called)
# - Each element loss[percentage_loss_index] is also a list (len() is called)
# - Each element loss[percentage_loss_index][i] is indexable with [0]
# - The function extracts loss[percentage_loss_index][i][0] for all i
# - It computes np.average and stats.sem on lists of these values
# - stats.sem requires axis=0, suggesting temp_loss is 2D or 1D

# Building test data:
# - loss should be a list of lists of lists
# - loss[percentage_loss_index][i][0] should work
# - Let's make it 3 different percentage indices with varying number of samples

loss = [
    # First percentage index: 4 samples, each with a loss value
    [[0.5], [0.6], [0.55], [0.58]],
    # Second percentage index: 3 samples
    [[0.3], [0.32], [0.31]],
    # Third percentage index: 5 samples
    [[0.8], [0.82], [0.79], [0.81], [0.80]]
]

ARGS = {
    'loss': loss
}
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 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
inverse_transform Ran
ran on a synthesized input
avestimehrresearchgroup/aicircuit/Utils/data_utils.py
code served (permissive licence) · get_code("40ba3816ae11c8bc")
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 sklearn.preprocessing import StandardScaler

# Create sample data for parameter and performance
parameter = np.random.randn(2, 4)  # batch_size=2, parameter_dim=4
performance = np.random.randn(2, 3)  # batch_size=2, performance_dim=3

# Create and fit a scaler on combined data
combined_data = np.hstack((parameter, performance))  # shape (2, 7)
scaler = StandardScaler()
scaler.fit(combined_data)

# Define arguments
ARGS = {
    "parameter": parameter,
    "performance": performance,
    "scaler": scaler
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
load_train_config Ran
ran on a synthesized input
avestimehrresearchgroup/aicircuit/Utils/utils.py
code served (permissive licence) · get_code("35112707bf86768b")
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. 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 yaml
import os
from os.path import join
import tempfile

torch.manual_seed(0)

# Create a temporary directory and config file
temp_dir = tempfile.mkdtemp()
config_dir = join(temp_dir, 'Config')
os.makedirs(config_dir, exist_ok=True)

# Create a minimal train_config.yaml file
train_config_data = {
    'device': 'cpu',
    'learning_rate': 0.001,
    'batch_size': 32,
    'epochs': 10
}

config_file_path = join(config_dir, 'train_config.yaml')
with open(config_file_path, 'w') as f:
    yaml.dump(train_config_data, f)

# Set the CONFIG_PATH to our temporary directory
os.chdir(temp_dir)

ARGS = {
    'configpath': config_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, yaml — 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
load_yaml Ran
ran on a synthesized input
avestimehrresearchgroup/aicircuit/Utils/utils.py
code served (permissive licence) · get_code("efa03cce29a7ed88")
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 tempfile
import yaml
import os

# Create a temporary YAML file with valid content
temp_dir = tempfile.mkdtemp()
yaml_file_path = os.path.join(temp_dir, "test_config.yaml")

# Write a sample YAML configuration
sample_config = {
    "model": "resnet50",
    "batch_size": 32,
    "learning_rate": 0.001,
    "layers": [1, 2, 3],
    "nested": {
        "key1": "value1",
        "key2": 42
    }
}

with open(yaml_file_path, 'w') as f:
    yaml.dump(sample_config, f)

ARGS = {
    "yaml_path": yaml_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
yaml — 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
modify_data Ran
ran on a synthesized input
avestimehrresearchgroup/aicircuit/Utils/data_utils.py
code served (permissive licence) · get_code("f7efd36c93e89de4")
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 torch
import numpy as np

torch.manual_seed(0)

# Create small tensors for parameters and performance metrics
train_parameter = torch.randn(2, 4)
train_performance = torch.randn(2, 3)
test_parameter = torch.randn(2, 5)
test_performance = torch.randn(2, 3)

ARGS = {
    "train_parameter": train_parameter,
    "train_performance": train_performance,
    "test_parameter": test_parameter,
    "test_performance": test_performance,
    "train": True
}
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 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
transform_data Ran
ran on a synthesized input
avestimehrresearchgroup/aicircuit/Utils/data_utils.py
code served (permissive licence) · get_code("2ec58a477ba80a8d")
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

# Create sample parameter data (2 samples, 3 parameters)
parameter = np.array([
    [0.1, 0.2, 0.3],
    [0.4, 0.5, 0.6]
], dtype=np.float64)

# Create sample performance data (2 samples, 2 performance metrics)
performance = np.array([
    [0.7, 0.8],
    [0.9, 1.0]
], dtype=np.float64)

ARGS = {
    "parameter": parameter,
    "performance": performance
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type 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
generate_model_given_config Not yet run
unverified (harvested, no recorded run)
avestimehrresearchgroup/aicircuit/Pipeline/modules.py
code served (permissive licence) · get_code("70001df252e7ca6f")
How it ran

no invocation recorded.

load_circuit Not yet run
unverified (harvested, no recorded run)
avestimehrresearchgroup/aicircuit/Utils/utils.py
code served (permissive licence) · get_code("2fd311eba7d5c0ce")
How it ran

no invocation recorded.

plot_loss Not yet run
unverified (harvested, no recorded run)
avestimehrresearchgroup/aicircuit/Utils/visualutils.py
code served (permissive licence) · get_code("a3dc81902e7d1ce7")
How it ran

no invocation recorded.

Also present in other papers' code

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

Automating analog and radio-frequency (RF) circuit design using machine learning (ML) significantly reduces the time and effort required for parameter optimization. This study explores supervised ML-based approaches for designing circuit parameters from performance specifications across various circuit types, including homogeneous and heterogeneous designs. By evaluating diverse ML models, from neural networks like transformers to traditional methods like random forests, we identify the best-performing models for each circuit. Our results show that simpler circuits, such as low-noise amplifiers, achieve exceptional accuracy with mean relative errors as low as 0.3% due to their linear parameter-performance relationships. In contrast, complex circuits, like power amplifiers and voltage-controlled oscillators, present challenges due to their non-linear interactions and larger design spaces. For heterogeneous circuits, our approach achieves an 88% reduction in errors with increased training data, with the receiver achieving a mean relative error as low as 0.23%, showcasing the scalability and accuracy of the proposed methodology. Additionally, we provide insights into model strengths, with transformers excelling in capturing non-linear mappings and k-nearest neighbors performing robustly in moderately linear parameter spaces, especially in heterogeneous circuits with larger datasets. This work establishes a foundation for extending ML-driven design automation, enabling more efficient and scalable circuit design workflows.

For agents

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

get_harvested_code_for_paper("2501.11839")
get_code_for_paper("2501.11839")
have("2501.11839")

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

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

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

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

Connect an agent — have() is free.