SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.08773 · NeurIPS · 2024

DenoiseRep: Denoising Model for Representation Learning

Zhengrui Xu, Xiaowen Huang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 22 functions out of this paper's own repositories and ran 14 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
wangguanan/DenoiseRep canonical 11 of 18
wangguanan/denoiserep — 3 of 4
FunctionStatusWhere it lives
DenoiseLayer Ran wangguanan/denoiserep/denoiserep_op/denoiserep/denoise_layer.py
code served (permissive licence) · get_code("cc79b939ebdd3e56")
SinusoidalPositionEmbeddings Ran wangguanan/denoiserep/denoiserep_op/denoiserep/denoise_layer.py
code served (permissive licence) · get_code("86b013bf84701f06")
_linear_beta_schedule Ran wangguanan/denoiserep/denoiserep_op/denoiserep/denoise_layer.py
code served (permissive licence) · get_code("742e7c8b503f4e2f")
auto_resume_helper Ran wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/utils_simmim.py
code served (permissive licence) · get_code("973ac6b787475389")
build_optimizer Ran wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/optimizer.py
code served (permissive licence) · get_code("9fe330952c4ee761")
build_scheduler Ran wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/lr_scheduler.py
code served (permissive licence) · get_code("016895042cc7e7ef")
count_conv2d_layers Ran wangguanan/DenoiseRep/denoiserep_op/denoiserep/denoise_conv2d.py
code served (permissive licence) · get_code("414c3f1f64f991c2")
count_linear_layers Ran wangguanan/DenoiseRep/denoiserep_op/denoiserep/denoise_linear.py
code served (permissive licence) · get_code("1d9b9dbedc11ca9d")
count_vit_linear_layers Ran wangguanan/DenoiseRep/denoiserep_op/denoiserep/denoise_linear.py
code served (permissive licence) · get_code("588f3ddb7ae2b2a1")
get_grad_norm Ran wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/utils.py
code served (permissive licence) · get_code("eec1e7cba51d5e8e")
load_checkpoint Ran wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/utils.py
code served (permissive licence) · get_code("59c3a4f0d92e6970")
load_checkpoint Ran wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/utils_simmim.py
code served (permissive licence) · get_code("8c60d1a4218dfd1b")
pair Ran wangguanan/DenoiseRep/Classification/cifar-10/vision-transformers-cifar10/models/vit.py
code served (permissive licence) · get_code("6ba8cee9f5daea41")
set_weight_decay Ran wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/optimizer.py
code served (permissive licence) · get_code("b33222a09fc93bec")
_extract Not yet run wangguanan/denoiserep/denoiserep_op/denoiserep/denoise_layer.py
code served (permissive licence) · get_code("f39904cfad74aa8e")
auto_resume_helper Not yet run wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/utils.py
code served (permissive licence) · get_code("0c32459bef92ff8c")
check_keywords_in_name Not yet run wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/optimizer.py
code served (permissive licence) · get_code("b0a5beb34716d5a6")
create_logger Not yet run wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/logger.py
code served (permissive licence) · get_code("80450600f7f09b0a")
fuse_parameters Not yet run wangguanan/DenoiseRep/denoiserep_op/denoiserep/denoise_layer.py
code served (permissive licence) · get_code("6233cec4ca021c61")
get_config Not yet run wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/config.py
code served (permissive licence) · get_code("b3d06a45875ffab2")
get_ploss Not yet run wangguanan/DenoiseRep/denoiserep_op/denoiserep/denoise_layer.py
code served (permissive licence) · get_code("366afd054c0b5902")
update_config Not yet run wangguanan/DenoiseRep/Classification/imagenet/Swin-Transformer/config.py
code served (permissive licence) · get_code("0b3a64a417dd8616")

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 denoising model has been proven a powerful generative model but has little exploration of discriminative tasks. Representation learning is important in discriminative tasks, which is defined as "learning representations (or features) of the data that make it easier to extract useful information when building classifiers or other predictors" [4]. In this paper, we propose a novel Denoising Model for Representation Learning (DenoiseRep) to improve feature discrimination with joint feature extraction and denoising. DenoiseRep views each embedding layer in a backbone as a denoising layer, processing the cascaded embedding layers as if we are recursively denoise features step-by-step. This unifies the frameworks of feature extraction and denoising, where the former progressively embeds features from low-level to high-level, and the latter recursively denoises features step-by-step. After that, DenoiseRep fus es the parameters of feature extraction and denoising layers, and theoretically demonstrates its equivalence before and after the fusion, thus making feature denoising computation-free. DenoiseRep is a label-free algorithm that incrementally improves features but also complementary to the label if available. Experimental results on various discriminative vision tasks, including re-identification (Market-1501, DukeMTMC-reID, MSMT17, CUHK-03, vehicleID), image classification (ImageNet, UB200, Oxford-Pet, Flowers), object detection (COCO), image segmentation (ADE20K) show stability and impressive improvements. We also validate its effectiveness on the CNN (ResNet) and Transformer (ViT, Swin, Vmamda) architectures. Code is available at https://github.com/wangguanan/DenoiseRep. † Equal Contribution. ‡ Project Lead.

For agents

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

get_harvested_code_for_paper("2406.08773")
get_code_for_paper("2406.08773")
have("2406.08773")

Connect an agent — have() is free.