SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1911.12448 · 2019

Soft Anchor-Point Object Detection

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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; 1 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 0 failures of our instrument; 2 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/1911.12448.json · badge: /api/ran/1911.12448.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
xuannianz/SAPD community (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
filter_detections Ran
ran on a synthesized input
xuannianz/SAPD/layers.py
code served (permissive licence) · get_code("a782c8c256181c85")
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 tensorflow as tf
import numpy as np

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

# Create small test tensors
num_boxes = 5
num_classes = 3

# boxes: (num_boxes, 4) in (x1, y1, x2, y2) format
# Use normalized coordinates between 0 and 1
boxes = tf.constant([
    [0.1, 0.1, 0.3, 0.3],
    [0.2, 0.2, 0.4, 0.4],
    [0.5, 0.5, 0.7, 0.7],
    [0.6, 0.6, 0.8, 0.8],
    [0.9, 0.1, 0.95, 0.2],
], dtype=tf.float32)

# classification: (num_boxes, num_classes) with scores
# Create realistic classification scores (should sum to ~1 per box)
classification = tf.constant([
    [0.8, 0.15, 0.05],
    [0.1, 0.7, 0.2],
    [0.05, 0.1, 0.85],
    [0.3, 0.3, 0.4],
    [0.6, 0.2, 0.2],
], dtype=tf.float32)

ARGS = {
    'boxes': boxes,
    'classification': classification,
    'class_specific_filter': True,
    'nms': True,
    'score_threshold': 0.01,
    'max_detections': 300,
    'nms_threshold': 0.5,
}
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 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
round_filters Ran
ran on a synthesized input
xuannianz/SAPD/efficientnet.py
code served (permissive licence) · get_code("00c946065068bd77")
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 int, ndim 0, dtype family int, 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 numpy as np

# Define arguments for round_filters function
ARGS = {
    "filters": 32,
    "width_coefficient": 1.2,
    "depth_divisor": 8
}
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 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
round_repeats Ran
ran, honoured the contract we drafted
xuannianz/SAPD/efficientnet.py
code served (permissive licence) · get_code("6cc796a8212b5586")
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 int, ndim 0, dtype family int, 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 math

def round_repeats(repeats, depth_coefficient):
    """Round number of repeats based on depth multiplier."""
    return int(math.ceil(depth_coefficient * repeats))

ARGS = {
    "repeats": 4,
    "depth_coefficient": 1.2
}
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 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
smooth_l1 Ran
ran on a synthesized input
xuannianz/SAPD/losses.py
code served (permissive licence) · get_code("eb88cc992d53c796")
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
from tensorflow import keras
import numpy as np

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

# Create sample data for the smooth_l1 loss function
# y_true shape: (B, N, 5) where last dimension is [dx, dy, dw, dh, anchor_state]
# y_pred shape: (B, N, 4) where dimensions are [dx, dy, dw, dh]

batch_size = 2
num_anchors = 3

# Create y_true: (2, 3, 5)
# First 4 values are regression targets, last value is anchor state (0=ignore, 1=positive)
y_true = tf.constant([
    [[0.1, 0.2, 0.3, 0.4, 1.0],
     [0.15, 0.25, 0.35, 0.45, 1.0],
     [0.05, 0.15, 0.25, 0.35, 0.0]],
    [[0.2, 0.3, 0.4, 0.5, 1.0],
     [0.12, 0.22, 0.32, 0.42, 0.0],
     [0.08, 0.18, 0.28, 0.38, 1.0]]
], dtype=tf.float32)

# Create y_pred: (2, 3, 4)
y_pred = tf.constant([
    [[0.12, 0.22, 0.32, 0.42],
     [0.16, 0.26, 0.36, 0.46],
     [0.06, 0.16, 0.26, 0.36]],
    [[0.21, 0.31, 0.41, 0.51],
     [0.13, 0.23, 0.33, 0.43],
     [0.09, 0.19, 0.29, 0.39]]
], dtype=tf.float32)

# Test data to verify the loss function works
test_data = (y_true, y_pred)

ARGS = {
    'sigma': 3.0
}
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 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
focal Not yet run
unverified (harvested, no recorded run)
xuannianz/SAPD/losses.py
code served (permissive licence) · get_code("9caad353ee153b05")
How it ran

no invocation recorded.

focal_with_weight_and_mask Not yet run
unverified (harvested, no recorded run)
xuannianz/SAPD/losses.py
code served (permissive licence) · get_code("7cc7e8bd2b8ad8ef")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 3 the same month, 1 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
round_repeats 4 other papers
1 dated earlier, 1 the same month, 2 later
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
1911.09070 (2019-11)
EfficientDet: Scalable and Efficient Object Detection
2106.04015 (2021-06)
Uncertainty Baselines: Benchmarks for Uncertainty & Robustness in Deep Learning
and 1 more not named here
round_filters 2 other papers
1 dated earlier, 1 the same month
1905.11946 (2019-05)
EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks
1911.09070 (2019-11)
EfficientDet: Scalable and Efficient Object Detection
smooth_l1 1 other paper
1 the same month
1911.09070 (2019-11)
EfficientDet: Scalable and Efficient Object Detection

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

Recently, anchor-free detection methods have been through great progress. The major two families, anchor-point detection and key-point detection, are at opposite edges of the speed-accuracy trade-off, with anchor-point detectors having the speed advantage. In this work, we boost the performance of the anchor-point detector over the key-point counterparts while maintaining the speed advantage. To achieve this, we formulate the detection problem from the anchor point's perspective and identify ineffective training as the main problem. Our key insight is that anchor points should be optimized jointly as a group both within and across feature pyramid levels. We propose a simple yet effective training strategy with soft-weighted anchor points and soft-selected pyramid levels to address the false attention issue within each pyramid level and the feature selection issue across all the pyramid levels, respectively. To evaluate the effectiveness, we train a single-stage anchor-free detector called Soft Anchor-Point Detector (SAPD). Experiments show that our concise SAPD pushes the envelope of speed/accuracy trade-off to a new level, outperforming recent state-of-the-art anchor-free and anchor-based detectors. Without bells and whistles, our best model can achieve a single-model single-scale AP of 47.4% on COCO.

For agents

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

get_harvested_code_for_paper("1911.12448")
get_code_for_paper("1911.12448")
have("1911.12448")

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

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

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

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

Connect an agent — have() is free.