SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2203.00962 · CVPR · 2022

Class Re-Activation Maps for Weakly-Supervised Semantic Segmentation

Xian-Sheng Hua, Hanwang Zhang, Qianru Sun, Tan Wang, Zhaozheng Chen, Xiongwei Wu

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 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, 2 violated it and 0 have no contract verdict; 1 failure of our instrument; 2 no recorded run), measured 2026-11-22; 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/2203.00962.json · badge: /api/ran/2203.00962.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
zhaozhengChen/ReCAM community
Papers with Code archive
3 ran · 2 no recorded run
FunctionStatusWhere it lives
get_strided_size Ran
ran, violated the contract we drafted
zhaozhengChen/ReCAM/step/make_recam.py
pointer only (licence: NONE) · get_code("c343c863b4fa995a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaozhengChen/ReCAM 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.

get_strided_up_size Ran
ran, violated the contract we drafted
zhaozhengChen/ReCAM/step/make_recam.py
pointer only (licence: NONE) · get_code("5b2a56217aad9e85")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaozhengChen/ReCAM 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.

split_dataset Ran
ran; our contract draft was wrong, not the code
zhaozhengChen/ReCAM/step/make_recam.py
pointer only (licence: NONE) · get_code("b86a17571429fc45")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaozhengChen/ReCAM 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.

_work Not yet run
unverified (harvested, no recorded run)
zhaozhengChen/ReCAM/step/make_recam.py
pointer only (licence: NONE) · get_code("37a344eb53d94767")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaozhengChen/ReCAM 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. No invocation recorded.

run Not yet run
unverified (harvested, no recorded run)
zhaozhengChen/ReCAM/step/make_recam.py
pointer only (licence: NONE) · get_code("22664fc78da9eeda")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaozhengChen/ReCAM 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. No invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 2 later) and 2 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
split_dataset
brick of this paper's assembly: helper
3 other papers
2 dated earlier, 1 same year, order not determinable
1904.05044 (2019-04)
Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relations
2108.03852 (2021-08)
Complementary Patch for Weakly Supervised Semantic Segmentation
aaai_20108 (2022 (year only))
Activation Modulation and Recalibration Scheme for Weakly Supervised Semantic Segmentation
get_strided_size
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2303.10334 (2023-03)
Extracting Class Activation Maps from Non-Discriminative Features as well
get_strided_up_size
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2303.10334 (2023-03)
Extracting Class Activation Maps from Non-Discriminative Features as well

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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Extracting class activation maps (CAM) is arguably the most standard step of generating pseudo masks for weaklysupervised semantic segmentation (WSSS). Yet, we find that the crux of the unsatisfactory pseudo masks is the binary cross-entropy loss (BCE) widely used in CAM. Specifically, due to the sum-over-class pooling nature of BCE, each pixel in CAM may be responsive to multiple classes co-occurring in the same receptive field. As a result, given a class, its hot CAM pixels may wrongly invade the area belonging to other classes, or the non-hot ones may be actually a part of the class. To this end, we introduce an embarrassingly simple yet surprisingly effective method: Reactivating the converged CAM with BCE by using softmax crossentropy loss (SCE), dubbed ReCAM. Given an image, we use CAM to extract the feature pixels of each single class, and use them with the class label to learn another fullyconnected layer (after the backbone) with SCE. Once converged, we extract ReCAM in the same way as in CAM. Thanks to the contrastive nature of SCE, the pixel response is disentangled into different classes and hence less mask ambiguity is expected. The evaluation on both PASCAL VOC and MS COCO shows that ReCAM not only generates high-quality masks, but also supports plug-and-play in any CAM variant with little overhead. Our code is public at https://github.com/zhaozhengChen/ReCAM.

For agents

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

get_harvested_code_for_paper("2203.00962")
get_code_for_paper("2203.00962")
have("2203.00962")

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

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

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

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

Connect an agent — have() is free.