SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · aaai_26777 · AAAI · 2023

HOTCOLD Block: Fooling Thermal Infrared Detectors with a Novel Wearable Design

Hao Tang, Zheng Wang, Hui Wei, Yinqiang Zheng, Zhixiang Wang, Shin'ichi Satoh, Xuemei Jia

Open in the Atlas

Code that ran

5 of 7 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 4 have no contract verdict; 0 failures of our instrument; 2 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_26777.json · badge: /api/ran/aaai_26777.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
weihui1308/HOTCOLDBlock canonical (classifier label)
classifier basis not recorded on the link
5 ran · 0 no recorded run
heartexlabs/labelImg canonical (classifier label)
classifier basis: census
0 ran · 2 no recorded run
FunctionStatusWhere it lives
autopad Ran
ran on a synthesized input
weihui1308/HOTCOLDBlock/victim_detector/models/common.py
code served (permissive licence) · get_code("a09c1775cd9fe501")
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

torch.manual_seed(0)

ARGS = {
    "k": 3,
    "p": 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 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
hist_equalize Ran
ran on a synthesized input
weihui1308/HOTCOLDBlock/victim_detector/utils/augmentations.py
code served (permissive licence) · get_code("c2f032bff7cc7248")
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 (32, 48, 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 cv2
import numpy as np

# Create a small test image (RGB format)
# Using uint8 values (0-255) as expected by cv2
im = np.random.randint(0, 256, size=(32, 48, 3), dtype=np.uint8)

ARGS = {
    "im": im,
    "clahe": True,
    "bgr": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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 (32, 48, 3) — shape (32, 48, 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
letterbox Ran
ran on a synthesized input
weihui1308/HOTCOLDBlock/victim_detector/utils/augmentations.py
code served (permissive licence) · get_code("d026958cf0ba35af")
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 cv2
import numpy as np

# Create a small test image (4 rows x 3 columns x 3 channels BGR)
im = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)

ARGS = {
    'im': im,
    'new_shape': (640, 640),
    'color': (114, 114, 114),
    'auto': True,
    'scaleFill': False,
    'scaleup': True,
    'stride': 32
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, 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
replicate Ran
ran on a synthesized input
weihui1308/HOTCOLDBlock/victim_detector/utils/augmentations.py
code served (permissive licence) · get_code("125a77812af2f16b")
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 random
import numpy as np

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

# Create a small image (height=100, width=120, channels=3)
im = np.random.randint(0, 256, (100, 120, 3), dtype=np.uint8)

# Create labels array
# Format: [class_id, x1, y1, x2, y2]
# We need at least 2 boxes to test the replication logic
labels = np.array([
    [0, 10, 10, 40, 35],    # class 0, small box
    [1, 50, 50, 85, 90],    # class 1, larger box
], dtype=int)

ARGS = {
    "im": im,
    "labels": labels
}
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
smooth_BCE Ran
ran, honoured the contract we drafted
weihui1308/HOTCOLDBlock/victim_detector/utils/loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Gandolfczjh/APDE, is pointer only (licence: NONE) · get_code("386a04c4b6c96c88")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Gandolfczjh/APDE, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

inverted Not yet run
unverified (harvested, no recorded run)
heartexlabs/labelImg/labelImg.py
code served (permissive licence) · get_code("0769a6bb4dc29a4c")
How it ran

no invocation recorded.

read Not yet run
unverified (harvested, no recorded run)
heartexlabs/labelImg/labelImg.py
code served (permissive licence) · get_code("d75e03da58918322")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 5 later) and 1 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
smooth_BCE 16 other papers
4 dated earlier, 9 later, 3 same year, order not determinable
1611.02644 (2016-11)
Multispectral Deep Neural Networks for Pedestrian Detection
2108.11250 (2021-08)
YOLOP: You Only Look Once for Panoptic Driving Perception
2202.01811 (2022-02)
ObjectSeeker: Certifiably Robust Object Detection against Patch Hiding Attacks via Patch-agnostic Masking
and 13 more not named here
inverted 3 other papers
3 dated earlier
2007.07542 (2020-07)
RobustScanner: Dynamically Enhancing Positional Clues for Robust Text Recognition
2009.09941 (2020-09)
PP-OCR: A Practical Ultra Lightweight OCR System
2104.10442 (2021-04)
Fourier Contour Embedding for Arbitrary-Shaped Text Detection
autopad 1 other paper
1 later
aaai_27996 (2024 (year only))
DALDet: Depth-Aware Learning Based Object Detection for Autonomous Driving
hist_equalize 1 other paper
1 later
aaai_27996 (2024 (year only))
DALDet: Depth-Aware Learning Based Object Detection for Autonomous Driving
letterbox 1 other paper
1 later
aaai_27996 (2024 (year only))
DALDet: Depth-Aware Learning Based Object Detection for Autonomous Driving
replicate 1 other paper
1 later
aaai_27996 (2024 (year only))
DALDet: Depth-Aware Learning Based Object Detection for Autonomous Driving

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

Adversarial attacks on thermal infrared imaging expose the risk of related applications. Estimating the security of these systems is essential for safely deploying them in the real world. In many cases, realizing the attacks in the physical space requires elaborate special perturbations. These solutions are often impractical and attention-grabbing. To address the need for a physically practical and stealthy adversarial attack, we introduce HOTCOLD Block, a novel physical attack for infrared detectors that hide persons utilizing the wearable Warming Paste and Cooling Paste. By attaching these readily available temperature-controlled materials to the body, HOTCOLD Block evades human eyes efficiently. Moreover, unlike existing methods that build adversarial patches with complex texture and structure features, HOTCOLD Block utilizes an SSP-oriented adversarial optimization algorithm that enables attacks with pure color blocks and explores the influence of size, shape, and position on attack performance. Extensive experimental results in both digital and physical environments demonstrate the performance of our proposed HOTCOLD Block. Code is available https://github.com/weihui1308/HOTCOLDBlock.

For agents

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

get_harvested_code_for_paper("aaai_26777")
get_code_for_paper("aaai_26777")
have("aaai_26777")

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

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

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

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

Connect an agent — have() is free.