SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1511.02580 · 2015

How far can we go without convolution: Improving fully-connected networks

arXiv · PDF · Open in the Atlas

Code that ran

9 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 9 have no contract verdict; 0 failures of our instrument; 1 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/1511.02580.json · badge: /api/ran/1511.02580.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
AvocadoAlpha/boltz_bo community (classifier label)
classifier basis not recorded on the link
9 ran · 1 no recorded run
FunctionStatusWhere it lives
horizontal_mirror Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/augmentation.py
code served (permissive licence) · get_code("7d53c209866447c7")
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 3, dtype family int, shape (2, 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 numpy as np

# horizontal_mirror takes a single argument x which should be a numpy array
# The function uses np.fliplr which flips the array left-right along axis 1
# The indexing [:, :, ...] suggests x should be at least 2D

# Create a small test array with distinct dimensions
# Using shape (2, 4, 3) - batch of 2, width of 4, height of 3
x = np.arange(24).reshape(2, 4, 3)

ARGS = {
    "x": x
}
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 3, dtype family int, shape (2, 4, 3) — shape (2, 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
im_flatten Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/dataset.py
code served (permissive licence) · get_code("1c837404b6f6d817")
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 (2, 60) 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 batch of 3-channel images
# Shape: (n_samples, H, W, 3)
X = np.random.randint(0, 256, size=(2, 4, 5, 3), dtype=np.uint8)

ARGS = {
    "X": X
}
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 int, shape (2, 60) — shape (2, 60) 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
im_gif Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/plot_utils.py
code served (permissive licence) · get_code("2e474f6cbba24ad0")
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 FuncAnimation. 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
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation

# Create a figure and image axis for animation
fig, ax = plt.subplots(figsize=(6, 6))

# Create a small list of 2D numpy arrays to animate
matrices = [
    np.random.rand(4, 3),
    np.random.rand(4, 3),
    np.random.rand(4, 3)
]

# Create an AxesImage object by plotting the first matrix
im = ax.imshow(matrices[0], cmap='viridis')

# Define a custom title function
def custom_title_func(i):
    return f"Frame {i}"

# Define parameters
title_params = {'fontsize': 16, 'color': 'white'}
anim_params = {'interval': 200, 'blit': False}
save_params = {'dpi': 100, 'writer': 'pillow'}

ARGS = {
    'matrices': matrices,
    'im': im,
    'fig': fig,
    'fname': None,
    'title_func': custom_title_func,
    'title_params': title_params,
    'anim_params': anim_params,
    'save_params': save_params
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type FuncAnimation — a FuncAnimation output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a FuncAnimation 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
im_reshape Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/plot_utils.py
code served (permissive licence) · get_code("a77f4aba05ee54b0")
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 3, dtype family float, shape (20, 15, 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

# Create a small batch of images
# Shape: (batch_size, height, width, channels)
batch_size = 25  # n_width * n_height = 10 * 10 requires at least 100, but we use n_width=5, n_height=5
X = np.random.rand(25, 4, 3, 3).astype(np.float32)  # 25 images, 4x3 each, 3 channels

ARGS = {
    "X": X,
    "n_width": 5,
    "n_height": 5,
    "shape": None,
    "normalize": 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 3, dtype family float, shape (20, 15, 3) — shape (20, 15, 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
load_mnist Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/dataset.py
code served (permissive licence) · get_code("f2bf14cc230e210e")
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 struct
import os.path
import numpy as np
import tempfile
import shutil

# Create a temporary directory and MNIST-like files
tmpdir = tempfile.mkdtemp()
mnist_dir = os.path.join(tmpdir, 'mnist')
os.makedirs(mnist_dir, exist_ok=True)

# Create mock train data file
train_data_path = os.path.join(mnist_dir, 'train-images-idx3-ubyte')
with open(train_data_path, 'wb') as f:
    # Magic number, n_samples, n_rows, n_cols
    f.write(struct.pack('>IIII', 2051, 10, 28, 28))
    # Write 10 samples of 28x28 pixels
    data = np.random.randint(0, 256, size=(10, 28*28), dtype=np.uint8)
    f.write(data.tobytes())

# Create mock train labels file
train_labels_path = os.path.join(mnist_dir, 'train-labels-idx1-ubyte')
with open(train_labels_path, 'wb') as f:
    # Magic number, n_samples
    f.write(struct.pack('>II', 2049, 10))
    # Write 10 labels
    labels = np.random.randint(0, 10, size=10, dtype=np.int8)
    f.write(labels.tobytes())

# Create mock test data file
test_data_path = os.path.join(mnist_dir, 't10k-images-idx3-ubyte')
with open(test_data_path, 'wb') as f:
    # Magic number, n_samples, n_rows, n_cols
    f.write(struct.pack('>IIII', 2051, 5, 28, 28))
    # Write 5 samples of 28x28 pixels
    data = np.random.randint(0, 256, size=(5, 28*28), dtype=np.uint8)
    f.write(data.tobytes())

# Create mock test labels file
test_labels_path = os.path.join(mnist_dir, 't10k-labels-idx1-ubyte')
with open(test_labels_path, 'wb') as f:
    # Magic number, n_samples
    f.write(struct.pack('>II', 2049, 5))
    # Write 5 labels
    labels = np.random.randint(0, 10, size=5, dtype=np.int8)
    f.write(labels.tobytes())

ARGS = {
    'mode': 'train',
    'path': tmpdir
}
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
logit_mean Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/rbm/rbm.py
code served (permissive licence) · get_code("f0427045c65ace8d")
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 (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 logit_mean takes X as input, which should be a numpy array
# It computes the mean along axis 0, clips values, and applies logit transformation
# X should be 2D array with shape (batch_size, features)

X = np.array([
    [0.1, 0.2, 0.3, 0.4],
    [0.5, 0.6, 0.7, 0.8],
], dtype=np.float32)

ARGS = {
    "X": X
}
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 (4,) — shape (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
plot_confusion_matrix Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/plot_utils.py
code served (permissive licence) · get_code("520feb68778834ef")
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 Axes. 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 confusion matrix (4x3 to have distinct dimensions)
C = np.array([
    [10, 2, 1],
    [1, 15, 3],
    [2, 1, 8],
    [0, 3, 2]
], dtype=np.int64)

# Create labels for the classes
labels = ['cat', 'dog', 'bird']

ARGS = {
    'C': C,
    'labels': labels,
    'labels_fontsize': 13,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, seaborn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Axes — a Axes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Axes 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
run_in_tf_session Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/base/tf_model.py
code served (permissive licence) · get_code("ce09e2fb56e9c089")
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 function. 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 as tf
import tempfile
import os

class MockModel:
    def __init__(self):
        self.initialized_ = False
        self._tf_graph = None
        self._tf_session = None
        self._tf_session_config = tf.ConfigProto()
        self._tf_saver = None
        self._tf_meta_graph_filepath = None
        self._model_filepath = None
        self._tf_writers = None
    
    def make_random_seed(self):
        return 42
    
    def _make_tf_model(self):
        """Create a simple TF model"""
        with self._tf_graph.as_default():
            self.x = tf.placeholder(tf.float32, shape=[None, 4])
            self.y = tf.reduce_sum(self.x, axis=1)
    
    def _init_tf_ops(self):
        """Initialize TF operations"""
        with self._tf_graph.as_default():
            self.init_op = tf.global_variables_initializer()
            self._tf_session.run(self.init_op)
    
    def _init_tf_writers(self):
        """Initialize TF writers"""
        self._tf_writers = None


def dummy_function(model, *args, **kwargs):
    """Dummy function to be decorated"""
    return "result"


ARGS = {
    "check_initialized": False,
    "update_seed": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
shift Ran
ran on a synthesized input
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/augmentation.py
code served (permissive licence) · get_code("2d6cfc56420ba55a")
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 3, dtype family float, shape (4, 3, 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
import scipy.ndimage as nd

# Create a small 3D array (height=4, width=3, channels=2)
x_3d = np.random.randn(4, 3, 2).astype(np.float32)

# Create a small 2D array (height=4, width=3)
x_2d = np.random.randn(4, 3).astype(np.float32)

# Test with 3D input and offset
offset = (1, 2)

ARGS = {
    "x": x_3d,
    "offset": offset,
}
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 3, dtype family float, shape (4, 3, 2) — shape (4, 3, 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
load_cifar10 Not yet run
unverified (harvested, no recorded run)
AvocadoAlpha/boltz_bo/boltzmann_machines/utils/dataset.py
code served (permissive licence) · get_code("8458ac32d9281d6c")
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

We propose ways to improve the performance of fully connected networks. We found that two approaches in particular have a strong effect on performance: linear bottleneck layers and unsupervised pre-training using autoencoders without hidden unit biases. We show how both approaches can be related to improving gradient flow and reducing sparsity in the network. We show that a fully connected network can yield approximately 70% classification accuracy on the permutation-invariant CIFAR-10 task, which is much higher than the current state-of-the-art. By adding deformations to the training data, the fully connected network achieves 78% accuracy, which is just 10% short of a decent convolutional network.

For agents

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

get_harvested_code_for_paper("1511.02580")
get_code_for_paper("1511.02580")
have("1511.02580")

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

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

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

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

Connect an agent — have() is free.