SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · aaai_26347 · AAAI · 2023

CowClip: Reducing CTR Prediction Model Training Time from 12 Hours to 10 Minutes on 1 GPU

Fuzhao Xue, Ming Chen, Zhen Li, Yang You, Peng Wu, Zangwei Zheng, Ziheng Qin, Yijie Zhu, Chenguang Xi, Youlong Cheng, Pengtai Xu, Xuan Zou, and 3 more

Code that ran

12 of 17 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 12 have no contract verdict; 0 failures of our instrument; 5 no recorded run), measured 2026-11-23; 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/aaai_26347.json · badge: /api/ran/aaai_26347.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
bytedance/LargeBatchCTR canonical (classifier label)
classifier basis: census
12 ran · 5 no recorded run
FunctionStatusWhere it lives
activation_layer Ran
ran on a synthesized input
bytedance/LargeBatchCTR/deepctr/layers/activation.py
code served (permissive licence) · get_code("b425425199081002")
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 Dice. 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
from tensorflow.python.keras.layers import Layer

# Test with string activation 'dice'
ARGS = {
    'activation': 'dice'
}
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 Dice — a Dice output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dice 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
auc Ran
ran on a synthesized input
bytedance/LargeBatchCTR/utils.py
code served (permissive licence) · get_code("7a1db228afb97b79")
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 EagerTensor, 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 numpy as np
import tensorflow as tf

# Construct arguments for the auc function
# The function expects:
# - y_true: array-like with shape that can be indexed as y_true[:, 0]
# - y_pred: array-like with predictions

# Create y_true as a 2D numpy array (batch_size=2, num_outputs=1)
# This satisfies the function's requirement to access y_true[:, 0]
y_true_data = np.array([[1], [0]], dtype=np.float32)
y_true = tf.constant(y_true_data, dtype=tf.double)

# Create y_pred as a 2D numpy array with predicted probabilities
# Shape should match y_true for roc_auc_score
y_pred_data = np.array([[0.9], [0.2]], dtype=np.float32)
y_pred = tf.constant(y_pred_data, dtype=tf.double)

ARGS = {
    "y_true": y_true,
    "y_pred": y_pred,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, 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
concat_func Ran
ran on a synthesized input
bytedance/LargeBatchCTR/deepctr/layers/utils.py
code served (permissive licence) · get_code("c6639ebb6dd8cffb")
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 EagerTensor, ndim 2, dtype family float, shape (2, 7) 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 tensorflow as tf
import numpy as np

class NoMask(tf.keras.layers.Layer):

    def __init__(self, **kwargs):
        super(NoMask, self).__init__(**kwargs)

    def build(self, input_shape):
        super(NoMask, self).build(input_shape)

    def call(self, x, mask=None, **kwargs):
        return x

    def compute_mask(self, inputs, mask):
        return None

def concat_func(inputs, axis=-1, mask=False):
    if not mask:
        inputs = list(map(NoMask(), inputs))
    if len(inputs) == 1:
        return inputs[0]
    else:
        return tf.keras.layers.Concatenate(axis=axis)(inputs)

# Create test inputs - list of small tensors with distinct shapes
input_tensor_1 = tf.constant(np.random.randn(2, 4).astype(np.float32))
input_tensor_2 = tf.constant(np.random.randn(2, 3).astype(np.float32))

ARGS = {
    "inputs": [input_tensor_1, input_tensor_2],
    "axis": -1,
    "mask": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, ndim 2, dtype family float, shape (2, 7) — shape (2, 7) 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
cow_clip Ran
ran on a synthesized input
bytedance/LargeBatchCTR/clip.py
code served (permissive licence) · get_code("4a808cbbc56ca021")
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 EagerTensor, 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 tensorflow as tf
import numpy as np

tf.random.set_seed(0)

# Create small test tensors
batch_size = 2
embedding_dim = 4

# w: weight tensor, shape [batch_size, embedding_dim]
w = tf.constant(np.random.randn(batch_size, embedding_dim), dtype=tf.float32)

# g: gradient tensor (dense case), shape [batch_size, embedding_dim]
g = tf.constant(np.random.randn(batch_size, embedding_dim), dtype=tf.float32)

# ratio: scalar for clipping ratio
ratio = 0.5

# ids: indices for the weights being updated, shape [batch_size]
ids = tf.constant([0, 1], dtype=tf.int32)

# cnts: counts tensor, shape [batch_size]
cnts = tf.constant([1, 2], dtype=tf.int32)

# min_w: minimum weight threshold
min_w = 0.03

# const: whether to use constant clipping norm
const = False

ARGS = {
    'w': w,
    'g': g,
    'ratio': ratio,
    'ids': ids,
    'cnts': cnts,
    'min_w': min_w,
    'const': const
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EagerTensor, 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
create_embedding_dict Ran
ran on a synthesized input
bytedance/LargeBatchCTR/deepctr/inputs.py
code served (permissive licence) · get_code("5e2fd552f47377b8")
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 tensorflow as tf
from tensorflow.python.keras.layers import Embedding
from tensorflow.python.keras.regularizers import l2

# Create a stand-in feature class for sparse features
class SparseFeature:
    def __init__(self, embedding_name, vocabulary_size, embedding_dim, embeddings_initializer='uniform', trainable=True):
        self.embedding_name = embedding_name
        self.vocabulary_size = vocabulary_size
        self.embedding_dim = embedding_dim
        self.embeddings_initializer = embeddings_initializer
        self.trainable = trainable

# Create a stand-in feature class for variable-length sparse features
class VarlenSparseFeature:
    def __init__(self, name, embedding_name, vocabulary_size, embedding_dim, embeddings_initializer='uniform', trainable=True):
        self.name = name
        self.embedding_name = embedding_name
        self.vocabulary_size = vocabulary_size
        self.embedding_dim = embedding_dim
        self.embeddings_initializer = embeddings_initializer
        self.trainable = trainable

# Create sparse feature columns
sparse_feat_1 = SparseFeature(embedding_name='feat_1', vocabulary_size=10, embedding_dim=4)
sparse_feat_2 = SparseFeature(embedding_name='feat_2', vocabulary_size=20, embedding_dim=8, trainable=False)

sparse_feature_columns = [sparse_feat_1, sparse_feat_2]

# Create variable-length sparse feature columns
varlen_feat_1 = VarlenSparseFeature(name='seq_feat_1', embedding_name='seq_emb_1', vocabulary_size=15, embedding_dim=6)
varlen_feat_2 = VarlenSparseFeature(name='seq_feat_2', embedding_name='seq_emb_2', vocabulary_size=25, embedding_dim=5, trainable=False)

varlen_sparse_feature_columns = [varlen_feat_1, varlen_feat_2]

ARGS = {
    'sparse_feature_columns': sparse_feature_columns,
    'varlen_sparse_feature_columns': varlen_sparse_feature_columns,
    'seed': 42,
    'l2_reg': 0.01,
    'prefix': 'sparse_',
    'seq_mask_zero': True
}
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 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
create_logdir Ran
ran on a synthesized input
bytedance/LargeBatchCTR/utils.py
code served (permissive licence) · get_code("251ec15b13d42331")
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 datetime
import os
from pathlib import Path
import tempfile

# Create a temporary directory for logs to avoid cluttering the filesystem
temp_root = tempfile.mkdtemp() + '/'

# Define args - can be any object that has a string representation
args = {
    'learning_rate': 0.001,
    'batch_size': 32,
    'num_epochs': 10,
    'model_name': 'test_model'
}

ARGS = {
    'root': temp_root,
    'args': args
}
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 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_embedding_vec_list Ran
ran on a synthesized input
bytedance/LargeBatchCTR/deepctr/inputs.py
code served (permissive licence) · get_code("f1dfbe4a0822faf3")
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 list. 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

torch.manual_seed(0)

# Stand-in class for Hash layer
class Hash(nn.Module):
    def __init__(self, vocabulary_size, mask_zero=False, vocabulary_path=None):
        super().__init__()
        self.vocabulary_size = vocabulary_size
        self.mask_zero = mask_zero
        self.vocabulary_path = vocabulary_path
    
    def forward(self, x):
        # Return hashed indices
        return x % self.vocabulary_size

# Stand-in class for sparse feature column
class SparseFeatureColumn:
    def __init__(self, name, vocabulary_size, use_hash=False, vocabulary_path=None):
        self.name = name
        self.vocabulary_size = vocabulary_size
        self.use_hash = use_hash
        self.vocabulary_path = vocabulary_path

# Create embedding layers
embedding_dict = {
    'feat1': nn.Embedding(10, 4),
    'feat2': nn.Embedding(10, 4),
}

# Create input dict with sample indices
input_dict = {
    'feat1': torch.tensor([[1, 2], [3, 4]], dtype=torch.long),
    'feat2': torch.tensor([[5, 6], [7, 8]], dtype=torch.long),
}

# Create sparse feature columns
sparse_feature_columns = [
    SparseFeatureColumn('feat1', vocabulary_size=10, use_hash=False),
    SparseFeatureColumn('feat2', vocabulary_size=10, use_hash=False),
]

# Parameters for the function
return_feat_list = ()
mask_feat_list = ()

ARGS = {
    'embedding_dict': embedding_dict,
    'input_dict': input_dict,
    'sparse_feature_columns': sparse_feature_columns,
    'return_feat_list': return_feat_list,
    'mask_feat_list': mask_feat_list,
}
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 list — a list 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_inputs_list Ran
ran on a synthesized input
bytedance/LargeBatchCTR/deepctr/inputs.py
code served (permissive licence) · get_code("05796c38e27e1f97")
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 list. 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
from itertools import chain

torch.manual_seed(0)

def get_inputs_list(inputs):
    return list(chain(*list(map(lambda x: x.values(), filter(lambda x: x is not None, inputs)))))

# The function expects 'inputs' to be an iterable of dict-like objects (or None)
# It filters out None values, then maps over remaining dicts to get their values(),
# then chains all those value iterables together into a single list

# Create test data: a list containing some dicts and None values
inputs_data = [
    {"key1": torch.randn(2, 4), "key2": torch.randn(3, 5)},
    None,
    {"key3": torch.randn(2, 3)},
    {"key4": torch.randn(1, 2), "key5": torch.randn(4, 1)}
]

ARGS = {
    "inputs": inputs_data
}
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 list — a list 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_feature_name Ran
ran on a synthesized input
bytedance/LargeBatchCTR/data_utils.py
code served (permissive licence) · get_code("64213b2767b8465f")
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 torch.nn as nn
import numpy as np

torch.manual_seed(0)

sparse_features = {'criteo_kaggle': ['C' + str(i) for i in range(1, 27)], 'avazu': ['hour', 'C1', 'banner_pos', 'site_id', 'site_domain', 'site_category', 'app_id', 'app_domain', 'app_category', 'device_id', 'device_ip', 'device_model', 'device_type', 'device_conn_type', 'C14', 'C15', 'C16', 'C17', 'C18', 'C19', 'C20', 'C21']}

dense_features = {'criteo_kaggle': ['I' + str(i) for i in range(1, 14)], 'avazu': []}

target = {'criteo_kaggle': ['label'], 'avazu': ['click']}

def load_feature_name(dataset='criteo_kaggle'):
    return (sparse_features[dataset], dense_features[dataset], target[dataset])

ARGS = {
    'dataset': 'criteo_kaggle'
}
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
preprocess Ran
ran on a synthesized input
bytedance/LargeBatchCTR/data_utils.py
code served (permissive licence) · get_code("019b28f9042a227e")
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 DataFrame. 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 pandas as pd
import numpy as np
from sklearn.preprocessing import LabelEncoder, MinMaxScaler

# Create a small sample dataframe for testing
np.random.seed(0)

# Create data with sparse and dense features
sparse_cols = ['C1', 'C2', 'C3']
dense_cols = ['I1', 'I2']

data = pd.DataFrame({
    'C1': ['a', 'b', 'c', 'a'],
    'C2': ['x', 'y', None, 'x'],
    'C3': ['p', 'q', 'r', 's'],
    'I1': [1.5, 2.3, 3.1, 4.2],
    'I2': [0.5, 0.8, 0.2, 0.9]
})

ARGS = {
    'data': data,
    'sparse_features': sparse_cols,
    'dense_features': dense_cols
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas, sklearn — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
reduce_mean Ran
ran on a synthesized input
bytedance/LargeBatchCTR/deepctr/layers/utils.py
code served (permissive licence) · get_code("ba13508422055ba2")
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 EagerTensor, 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 tensorflow as tf

# Create a small input tensor (2x3x4)
input_tensor = tf.constant([
    [[1.0, 2.0, 3.0, 4.0], [5.0, 6.0, 7.0, 8.0], [9.0, 10.0, 11.0, 12.0]],
    [[13.0, 14.0, 15.0, 16.0], [17.0, 18.0, 19.0, 20.0], [21.0, 22.0, 23.0, 24.0]]
])

ARGS = {
    "input_tensor": input_tensor,
    "axis": None,
    "keep_dims": False,
    "name": None,
    "reduction_indices": None
}
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 EagerTensor, 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
reduce_sum Ran
ran on a synthesized input
bytedance/LargeBatchCTR/deepctr/layers/utils.py
code served (permissive licence) · get_code("605183921d261134")
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 EagerTensor, 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 tensorflow as tf

# Create a small tensor for testing
input_tensor = tf.constant([[1.0, 2.0, 3.0, 4.0],
                            [5.0, 6.0, 7.0, 8.0]])

ARGS = {
    "input_tensor": input_tensor,
    "axis": None,
    "keep_dims": False,
    "name": None,
    "reduction_indices": None
}
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 EagerTensor, 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
auc_score Not yet run
unverified (harvested, no recorded run)
bytedance/LargeBatchCTR/utils.py
code served (permissive licence) · get_code("a121f1aacfccba0c")
How it ran

no invocation recorded.

build_input_features Not yet run
unverified (harvested, no recorded run)
bytedance/LargeBatchCTR/deepctr/feature_column.py
code served (permissive licence) · get_code("3dd1cf2fadfa9f57")
How it ran

no invocation recorded.

get_feature_names Not yet run
unverified (harvested, no recorded run)
bytedance/LargeBatchCTR/deepctr/feature_column.py
code served (permissive licence) · get_code("5bd56bb4d5fae5a2")
How it ran

no invocation recorded.

get_linear_logit Not yet run
unverified (harvested, no recorded run)
bytedance/LargeBatchCTR/deepctr/feature_column.py
code served (permissive licence) · get_code("7fdd2d4875e50e9f")
How it ran

no invocation recorded.

load_data Not yet run
unverified (harvested, no recorded run)
bytedance/LargeBatchCTR/data_utils.py
code served (permissive licence) · get_code("d13f4dc3c532eaa8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 15 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
get_feature_names 4 other papers
4 dated earlier
1703.04247 (2017-03)
DeepFM: A Factorization-Machine based Neural Network for CTR Prediction
1905.06482 (2019-05)
Deep Session Interest Network for Click-Through Rate Prediction
2008.13535 (2020-08)
DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems
and 1 more not named here
get_inputs_list 1 other paper
1 dated earlier
1809.03672 (2018-09)
Deep Interest Evolution Network for Click-Through Rate Prediction

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

The click-through rate (CTR) prediction task is to predict whether a user will click on the recommended item. As mindboggling amounts of data are produced online daily, accelerating CTR prediction model training is critical to ensuring an up-to-date model and reducing the training cost. One approach to increase the training speed is to apply large batch training. However, as shown in computer vision and natural language processing tasks, training with a large batch easily suffers from the loss of accuracy. Our experiments show that previous scaling rules fail in the training of CTR prediction neural networks. To tackle this problem, we first theoretically show that different frequencies of ids make it challenging to scale hyperparameters when scaling the batch size. To stabilize the training process in a large batch size setting, we develop the adaptive Column-wise Clipping (CowClip). It enables an easy and effective scaling rule for the embeddings, which keeps the learning rate unchanged and scales the L2 loss. We conduct extensive experiments with four CTR prediction networks on two real-world datasets and successfully scaled 128 times the original batch size without accuracy loss. In particular, for CTR prediction model DeepFM training on the Criteo dataset, our optimization framework enlarges the batch size from 1K to 128K with over 0.1% AUC improvement and reduces training time from 12 hours to 10 minutes on a single V100 GPU. Our code locates at github.com/bytedance/LargeBatchCTR.

For agents

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

get_harvested_code_for_paper("aaai_26347")
get_code_for_paper("aaai_26347")
have("aaai_26347")

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

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

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

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

Connect an agent — have() is free.