SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.19001 · NeurIPS · 2023

Uncovering Prototypical Knowledge for Weakly Open-Vocabulary Semantic Segmentation

Hao He, Ya Zhang, Jiangchao Yao, Yanfeng Wang, Tianfei Zhou, Chaofan Ma, Fei Zhang, Boyang Li, Tianjiao Zhang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 5 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
Ferenas/PGSeg canonical 5 of 6
FunctionStatusWhere it lives
gumbel_softmax Ran Ferenas/PGSeg/models/pgseg.py
pointer only (licence: NONE) · get_code("7f29142583965575")
hard_softmax Ran Ferenas/PGSeg/models/pgseg.py
pointer only (licence: NONE) · get_code("cb0acca1ea9ead1e")
interpolate_pos_encoding Ran Ferenas/PGSeg/models/misc.py
pointer only (licence: NONE) · get_code("af0481096573c066")
seg2coord Ran Ferenas/PGSeg/segmentation/evaluation/pgseg_seg.py
pointer only (licence: NONE) · get_code("0fe0836e8952564b")
top_groups Ran Ferenas/PGSeg/segmentation/evaluation/pgseg_seg.py
pointer only (licence: NONE) · get_code("3cd1eee26ae01a18")
resize_attn_map Not yet run Ferenas/PGSeg/segmentation/evaluation/pgseg_seg.py
pointer only (licence: NONE) · get_code("be236b35deddb211")

Repositories linked to this paper

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

Abstract

This paper studies the problem of weakly open-vocabulary semantic segmentation (WOVSS), which learns to segment objects of arbitrary classes using mere image-text pairs. Existing works turn to enhance the vanilla vision transformer by introducing explicit grouping recognition, i.e., employing several group tokens/centroids to cluster the image tokens and perform the group-text alignment. Nevertheless, these methods suffer from a granularity inconsistency regarding the usage of group tokens, which are aligned in the all-to-one v.s. one-to-one manners during the training and inference phases, respectively. We argue that this discrepancy arises from the lack of elaborate supervision for each group token. To bridge this granularity gap, this paper explores explicit supervision for the group tokens from the prototypical knowledge. To this end, this paper proposes the non-learnable prototypical regularization (NPR) where non-learnable prototypes are estimated from source features to serve as supervision and enable contrastive matching of the group tokens. This regularization encourages the group tokens to segment objects with less redundancy and capture more comprehensive semantic regions, leading to increased compactness and richness. Based on NPR, we propose the prototypical guidance segmentation network (PGSeg) that incorporates multi-modal regularization by leveraging prototypical sources from both images and texts at different levels, progressively enhancing the segmentation capability with diverse prototypical patterns. Experimental results show that our proposed method achieves state-of-the-art performance on several benchmark datasets. The source code is available at https://github.com/Ferenas/PGSeg.

For agents

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

get_harvested_code_for_paper("2310.19001")
get_code_for_paper("2310.19001")
have("2310.19001")

Connect an agent — have() is free.