SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.10334 · CVPR · 2023

Extracting Class Activation Maps from Non-Discriminative Features as well

Qianru Sun, Zhaozheng Chen

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 2 failures of our instrument; 3 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/2303.10334.json · badge: /api/ran/2303.10334.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/LPCAM community
Papers with Code archive
5 ran · 3 no recorded run
FunctionStatusWhere it lives
Bottleneck Ran
ran on a synthesized input · constructed an object; no result was computed
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("a6c982393f920735")
How it ran

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

FixedBatchNorm Ran
ran on a synthesized input
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("b29efcd99524103f")
How it ran

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

ResNet Ran
ran on a synthesized input · constructed an object; no result was computed
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("1de3c644bf3c49e2")
How it ran

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

gap2d Ran
ran; our contract draft was wrong, not the code
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("b2dee97c33d89372")
How it ran

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

resnet50 Ran
ran; our contract draft was wrong, not the code
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("42e1b3c302e6f817")
How it ran

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

Net Not yet run
unverified (harvested, no recorded run)
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("11509a32eec950d0")
How it ran

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

Net_Feature Not yet run
unverified (harvested, no recorded run)
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("bd0417e203996094")
How it ran

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

make_lpcam Not yet run
unverified (harvested, no recorded run)
zhaozhengChen/LPCAM/step/make_lpcam.py
pointer only (licence: NONE) · get_code("2680be73f65cd0b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhaozhengChen/LPCAM 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 4 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
Bottleneck
brick of this paper's assembly: helper
6 other papers
5 dated earlier, 1 later · 5 only as an assembly brick
2103.01795 (2021-03)
Context Decoupling Augmentation for Weakly Supervised Semantic Segmentation
2103.08896 (2021-03)
Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentation
2110.06530 (2021-10)
Reducing Information Bottleneck for Weakly Supervised Semantic Segmentation
and 3 more not named here
FixedBatchNorm
brick of this paper's assembly: helper
6 other papers
5 dated earlier, 1 later · 5 only as an assembly brick
2103.01795 (2021-03)
Context Decoupling Augmentation for Weakly Supervised Semantic Segmentation
2103.08896 (2021-03)
Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentation
2110.06530 (2021-10)
Reducing Information Bottleneck for Weakly Supervised Semantic Segmentation
and 3 more not named here
ResNet
brick of this paper's assembly: helper
6 other papers
5 dated earlier, 1 later · 5 only as an assembly brick
2103.01795 (2021-03)
Context Decoupling Augmentation for Weakly Supervised Semantic Segmentation
2103.08896 (2021-03)
Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentation
2110.06530 (2021-10)
Reducing Information Bottleneck for Weakly Supervised Semantic Segmentation
and 3 more not named here
gap2d
brick of this paper's assembly: helper
6 other papers
6 dated earlier · 3 only as an assembly brick
1904.05044 (2019-04)
Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relations
2103.01795 (2021-03)
Context Decoupling Augmentation for Weakly Supervised Semantic Segmentation
2103.08896 (2021-03)
Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentation
and 3 more not named here
resnet50
brick of this paper's assembly: helper
2 other papers
1 dated earlier, 1 later
2203.02668 (2022-03)
CLIMS: Cross Language Image Matching for Weakly Supervised Semantic Segmentation
2401.09883 (2024-01)
Question-Answer Cross Language Image Matching for Weakly Supervised Semantic Segmentation

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) from a classification model often results in poor coverage on foreground objects, i.e., only the discriminative region (e.g., the "head" of "sheep") is recognized and the rest (e.g., the "leg" of "sheep") mistakenly as background. The crux behind is that the weight of the classifier (used to compute CAM) captures only the discriminative features of objects. We tackle this by introducing a new computation method for CAM that explicitly captures non-discriminative features as well, thereby expanding CAM to cover whole objects. Specifically, we omit the last pooling layer of the classification model, and perform clustering on all local features of an object class, where "local" means "at a spatial pixel position". We call the resultant K cluster centers local prototypes -represent local semantics like the "head", "leg", and "body" of "sheep". Given a new image of the class, we compare its unpooled features to every prototype, derive K similarity matrices, and then aggregate them into a heatmap (i.e., our CAM). Our CAM thus captures all local features of the class without discrimination. We evaluate it in the challenging tasks of weakly-supervised semantic segmentation (WSSS), and plug it in multiple state-of-the-art WSSS methods, such as MCTformer [45] and AMN [26], by simply replacing their original CAM with ours. Our extensive experiments on standard WSSS benchmarks (PASCAL VOC and MS COCO) show the superiority of our method: consistent improvements with little computational overhead. Our code is provided at https://github.com/zhaozhengChen/LPCAM.

For agents

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

get_harvested_code_for_paper("2303.10334")
get_code_for_paper("2303.10334")
have("2303.10334")

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

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

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

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

Connect an agent — have() is free.