SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.17190 · NeurIPS · 2023

Multiplication-Free Transformer Training via Piecewise Affine Operations

Martin Jaggi, Atli Kosson

arXiv · PDF · Open in the Atlas

Code that ran

14 of 19 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; 4 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 1 failure of our instrument; 5 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2305.17190.json · badge: /api/ran/2305.17190.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
epfml/piecewise-affine-multiplication canonical (classifier label)
classifier basis: census
14 ran · 5 no recorded run
FunctionStatusWhere it lives
count_params Ran
ran, honoured the contract we drafted
epfml/piecewise-affine-multiplication/submodules/timm/benchmark.py
code served (permissive licence) · get_code("410bffb8a07b52e3")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T23:28:41Z). 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 torch.nn as nn

torch.manual_seed(0)

# Build a small model with parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, 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
check_row_major Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/cuda_bindings.py
code served (permissive licence) · get_code("253be6c0ef2fe548")
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

torch.manual_seed(0)

# Create a small tensor with target_dim=2
# We'll make it 2x3 to have distinct dimensions
tensor = torch.randn(2, 3)

target_dim = 2

ARGS = {
    'tensor': tensor,
    'target_dim': target_dim
}
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 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
checkpoint_metric Ran
ran, honoured the contract we drafted
epfml/piecewise-affine-multiplication/submodules/timm/avg_checkpoints.py
code served (permissive licence) · get_code("33bca8cbc866bf64")
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 float, 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 tempfile
import os

torch.manual_seed(0)

# Create a temporary checkpoint file with a 'metric' key
with tempfile.NamedTemporaryFile(delete=False, suffix='.pt') as f:
    checkpoint_path = f.name
    checkpoint_data = {
        'metric': 0.95,
        'model_state': torch.randn(2, 4),
        'epoch': 10
    }
    torch.save(checkpoint_data, checkpoint_path)

ARGS = {
    'checkpoint_path': checkpoint_path
}
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 float, 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
cuda_timestamp Ran
ran, honoured the contract we drafted
epfml/piecewise-affine-multiplication/submodules/timm/benchmark.py
code served (permissive licence) · get_code("50d653ee6a59955c")
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 float, ndim 0, dtype family float, shape () as a later run recorded it. 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, 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 time
import torch
import torch.nn.parallel

torch.manual_seed(0)

ARGS = {
    "sync": False,
    "device": None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
demote_tensor Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/utils.py
code served (permissive licence) · get_code("30174a8ded3bfc64")
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 float, 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

torch.manual_seed(0)

# Construct arguments for demote_tensor(out_value, in_values)
# The function checks if all in_values are float or int
# If so, it calls out_value.item() and returns a scalar
# Otherwise, it returns out_value as-is

# Case 1: in_values are all scalars (float/int) - out_value should be a tensor
out_value = torch.tensor(3.14)
in_values = [1, 2, 3.5]

ARGS = {
    "out_value": out_value,
    "in_values": in_values,
}
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 float, 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
find_version Ran
ran; our contract draft was wrong, not the code
epfml/piecewise-affine-multiplication/submodules/fairseq/release_utils.py
code served (permissive licence) · get_code("d4192f5e85770fdd")
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 str. 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 os

# Create a temporary file with a version string
temp_dir = tempfile.mkdtemp()
version_file_path = os.path.join(temp_dir, "version.txt")
with open(version_file_path, "w") as f:
    f.write("1.2.3\n")

ARGS = {
    "version_file_path": version_file_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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_exp_mantissa Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/native.py
code served (permissive licence) · get_code("88cf61b729ed21dd")
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, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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)

# The function takes a single parameter 'x' which should be a tensor
# It uses .abs(), torch.floor(), torch.log2(), and torch.where() on it
# So x should be a tensor with numeric values

x = torch.tensor([[1.5, 2.3, 4.1, 8.9], [0.5, 3.2, 7.6, 15.2]], dtype=torch.float32)

ARGS = {
    "x": x
}
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 tuple, ndim 3, dtype family float — a tuple output has no array shape of its own; none is stated
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
get_norm Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/shared/modules/normalization.py
code served (permissive licence) · get_code("a578037399ac5710")
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 type. 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 torch.nn as nn
import re

torch.manual_seed(0)

ARGS = {
    'norm_str': 'batch_norm',
    'atomic': False,
}
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 type — a type output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a type 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
pa_exp2_fwd Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/native.py
code served (permissive licence) · get_code("aec5df54dd4ceba5")
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 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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)

# The function pa_exp2_fwd takes a single parameter 'x' which should be a tensor
# It performs floor operation, exponentiation, and conditional logic on the tensor
# So we need to pass a valid floating point tensor

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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 Tensor, ndim 2, dtype family float — no output shape is stated: observe_signature.py could not observe it (import:OSError)
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
pa_log2_fwd Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/native.py
code served (permissive licence) · get_code("6411768e64113a79")
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 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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)

# The function pa_log2_fwd takes a single parameter x which should be a tensor
# It computes exponent and mantissa, so x should be a numeric tensor
# The function calls .abs(), torch.floor(), torch.log2(), torch.where() on it
# So x needs to be a float tensor with values that are safe for log2 (non-zero, positive after abs)

x = torch.tensor([1.5, 2.3, 4.1, 8.7], dtype=torch.float32)

ARGS = {
    "x": x
}
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 Tensor, ndim 1, dtype family float — no output shape is stated: observe_signature.py could not observe it (import:OSError)
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
timestamp Ran
ran, honoured the contract we drafted
epfml/piecewise-affine-multiplication/submodules/timm/benchmark.py
code served (permissive licence) · get_code("475160c5a1a1225a")
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 float, 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 time

def timestamp(sync=False):
    return time.perf_counter()

ARGS = {
    "sync": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, 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
torch_log_softmax2 Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/pam_experimental.py
code served (permissive licence) · get_code("68c33c7d589f43b4")
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 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 torch

torch.manual_seed(0)

# Create a small tensor for testing
# Shape: (2, 4) - batch size 2, 4 features
x = torch.randn(2, 4)

ARGS = {
    "x": x,
    "dim": 1,
    "dtype": None,
}
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 Tensor, 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
torch_logsumexp2 Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/pam_experimental.py
code served (permissive licence) · get_code("3bd7633c5b60762e")
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 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 torch

torch.manual_seed(0)

# Create a small tensor for testing
# The function uses: x.to(dtype=dtype), torch.max(x), torch.exp2, torch.log2, torch.sum
# It operates element-wise and reduces along dim
x = torch.tensor([
    [1.0, 2.0, 3.0, 4.0],
    [0.5, 1.5, 2.5, 3.5]
])

ARGS = {
    "x": x,
    "dim": 1,
    "keepdim": False,
    "dtype": torch.float32
}
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 Tensor, 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
torch_softmax2 Ran
ran on a synthesized input
epfml/piecewise-affine-multiplication/pam/pam_experimental.py
code served (permissive licence) · get_code("112d967966670abf")
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 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 torch

torch.manual_seed(0)

# Create a small tensor for testing
x = torch.randn(2, 4, dtype=torch.float32)

# Define ARGS dict with all parameters
ARGS = {
    "x": x,
    "dim": 1,
    "dtype": None
}
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 Tensor, 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
cross_entropy Not yet run
unverified (harvested, no recorded run)
epfml/piecewise-affine-multiplication/pam/pam_opt.py
code served (permissive licence) · get_code("7e941323d268d90d")
How it ran

no invocation recorded.

div Not yet run
unverified (harvested, no recorded run)
epfml/piecewise-affine-multiplication/pam/pam_ops.py
code served (permissive licence) · get_code("ab41ea0c2bcafe1e")
How it ran

no invocation recorded.

exp Not yet run
unverified (harvested, no recorded run)
epfml/piecewise-affine-multiplication/pam/pam_ops.py
code served (permissive licence) · get_code("8414688e931a8025")
How it ran

no invocation recorded.

get_next_version Not yet run
unverified (harvested, no recorded run)
epfml/piecewise-affine-multiplication/submodules/fairseq/release_utils.py
code served (permissive licence) · get_code("44b6e8848744468f")
How it ran

no invocation recorded.

mul Not yet run
unverified (harvested, no recorded run)
epfml/piecewise-affine-multiplication/pam/pam_ops.py
code served (permissive licence) · get_code("85332a013577bdd1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 4 the same month, 6 later) and 13 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
find_version 12 other papers
3 dated earlier, 4 later, 5 same year, order not determinable
1907.06616 (2019-07)
Facebook FAIR's WMT19 News Translation Task Submission
2022.emnlp-main.663 (2022 (year only))
Learning with Rejection for Abstractive Text Summarization
2210.02592 (2022-10)
CCC-wav2vec 2.0: Clustering aided Cross Contrastive Self-supervised learning of speech representations
and 9 more not named here
get_next_version 12 other papers
3 dated earlier, 4 later, 5 same year, order not determinable
1907.06616 (2019-07)
Facebook FAIR's WMT19 News Translation Task Submission
2022.emnlp-main.663 (2022 (year only))
Learning with Rejection for Abstractive Text Summarization
2210.02592 (2022-10)
CCC-wav2vec 2.0: Clustering aided Cross Contrastive Self-supervised learning of speech representations
and 9 more not named here
count_params 10 other papers
3 dated earlier, 1 the same month, 5 later, 1 same year, order not determinable
2108.01390 (2021-08)
Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
2201.09792 (2022-01)
Patches Are All You Need?
ijcai2023_0106 (2023 (year only))
SWAT: Spatial Structure Within and Among Tokens
and 7 more not named here
cuda_timestamp 10 other papers
3 dated earlier, 1 the same month, 5 later, 1 same year, order not determinable
2108.01390 (2021-08)
Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
2201.09792 (2022-01)
Patches Are All You Need?
ijcai2023_0106 (2023 (year only))
SWAT: Spatial Structure Within and Among Tokens
and 7 more not named here
timestamp 10 other papers
3 dated earlier, 1 the same month, 5 later, 1 same year, order not determinable
2108.01390 (2021-08)
Evo-ViT: Slow-Fast Token Evolution for Dynamic Vision Transformer
2201.09792 (2022-01)
Patches Are All You Need?
ijcai2023_0106 (2023 (year only))
SWAT: Spatial Structure Within and Among Tokens
and 7 more not named here
checkpoint_metric 4 other papers
1 dated earlier, 1 the same month, 2 later
2201.09792 (2022-01)
Patches Are All You Need?
2305.17205 (2023-05)
Ghost Noise for Regularizing Deep Neural Networks
2401.17992 (2024-01)
Multilinear Operator Networks
and 1 more not named here

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

Multiplications are responsible for most of the computational cost involved in neural network training and inference. Recent research has thus looked for ways to reduce the cost associated with them. Inspired by Mogami (2020), we replace multiplication with a cheap piecewise affine approximation that is achieved by adding the bit representation of the floating point numbers together as integers. We show that transformers can be trained with the resulting modified matrix multiplications on both vision and language tasks with little to no performance impact, and without changes to the training hyperparameters. We further replace all non-linearities in the networks making them fully and jointly piecewise affine in both inputs and weights. Finally, we show that we can eliminate all multiplications in the entire training process, including operations in the forward pass, backward pass and optimizer update, demonstrating the first successful training of modern neural network architectures in a fully multiplication-free fashion.

For agents

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

get_harvested_code_for_paper("2305.17190")
get_code_for_paper("2305.17190")
have("2305.17190")

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

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

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

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

Connect an agent — have() is free.