Elamur Research

GroupViT: Semantic Segmentation Emerges from Text Supervision

Paper · 2022 · Jiarui Xu, Shalini De Mello, Sifei Liu et al.

Summary

A caption can tell us that a photograph contains an elephant. It rarely tells us which pixels belong to the elephant and where the forest begins. Semantic segmentation asks for that finer description. It gives each pixel a category so that an image can be read as a map of objects and their surroundings. Training a system to produce such maps usually requires people to draw or verify detailed masks. GroupViT asks how much of that work can be learned from images paired with ordinary text, where the words describe the scene and leave the location of each category implicit.

GroupViT begins by cutting an image into a grid of patches. A Transformer lets the patch representations exchange information across the image. A grouping block then decides which patches should share a representation. Another block can merge those small groups into larger ones. The groups depend on what is in the image, and their shapes follow the patches assigned to them. The paper illustrates this progression with an elephant. A lower stage can collect patches into parts such as legs, while a higher stage can gather parts into a group for the animal and form a separate group for the forest.

The authors train the image encoder alongside a text encoder using web image–text pairs. During training, the visual groups are pooled into a single image representation. The objective favors a match between that representation and the associated caption over matches with other captions in the batch. The authors also turn nouns sampled from the caption into short prompts and use them as additional descriptions of the image. Neither the captions nor these prompts specify where an object is. For segmentation, the authors keep the groups separate, encode the names of the target categories as text, and use the closest text match to label each group. The original patch assignments carry those labels back to the image.

On the validation splits, GroupViT reaches 52.3% mean intersection over union on PASCAL VOC 2012 and 22.4% on PASCAL Context. Mean intersection over union measures the overlap of the predicted and annotated regions, averaged across categories. This is zero-shot transfer in the paper’s sense. The segmentation benchmarks supply category names at inference and masks for scoring, while training uses image-level text and the encoders transfer without further training. On PASCAL VOC 2012, the score approaches the 53% mIoU of a Vision Transformer trained with image classification labels and then adapted with segmentation masks. On PASCAL Context, some regions are grouped plausibly and still get the wrong name. The results show that learning where a region is and learning what to call it can succeed to different degrees under the same caption supervision.

Deep dive: GroupViT: Semantic Segmentation Emerges from Text Supervision

GroupViT learns to group image patches from captions and uses those groups to label pixels on segmentation benchmarks without mask training. · about 39 minutes to read

The problem and its context

Where the supervision enters

Recognizing a scene involves questions at several spatial scales. You can recognize that a dog appears in an image from a few distinctive features. A segmentation map also needs to say where the dog ends, which nearby pixels belong to another object, and what fills the space between them. A mask provides that spatial information by marking the pixels that belong to a category or an object. Producing the mask requires decisions about the extent of a region, even when deciding what the image contains is straightforward.

The paper links this problem to an older distinction between grouping and recognition. In bottom-up grouping, a system begins with small pieces of the image, assembles candidate regions, and asks a recognition component to interpret them. The authors describe earlier uses of this strategy that include segmentation based on superpixels, region proposals for object detection, and semantic segmentation using regions and parts. A superpixel is a small collection of pixels treated as a unit. A region proposal narrows down where a recognizer should look. Both make the construction of a candidate region an identifiable operation in the system.

Information can also travel in the other direction. Recognition can provide feedback about which pieces belong together. When evidence suggests that parts belong to the same object, that evidence can inform the grouping decision. The paper draws on both ideas. GroupViT makes explicit merges from small regions to large ones during the image computation, and the image-level recognition objective shapes the features and assignments that produce those merges during training.

The authors describe fully convolutional networks as an example of how this division of work changed under end-to-end training. Such a network can learn to assign a category at each image location from examples with pixel labels. Regions with the same predicted category then appear in the output map. The geometric act of assembling a group can be implicit in the production of that map. The approach can give strong segmentation results, and its training regime ties those results to a costly source of supervision. People must label pixels, and the categories available to the usual supervised output are determined by what the training annotations distinguish.

Work using fewer labels had already changed parts of that regime. The paper describes few-shot learning and active learning as ways of getting more from a limited set of pixel annotations. The earlier zero-shot segmentation approaches it discusses learn from masks for some categories and transfer to unseen categories. Weakly supervised segmentation can start from image-level lists of categories, leaving the system to infer their locations. In the examples the authors review, those lists still come from labeling a curated collection with a pre-defined vocabulary. These approaches reduce the annotation burden at different points. GroupViT changes the source of the training labels to naturally occurring text paired with images.

This distinction matters when reading the term zero-shot. In the GroupViT experiments, the encoders learn from data that may include words or appearances relevant to the target categories. The transfer condition concerns the form of the supervision and the adaptation procedure. The training uses neither pixel labels for an initial segmentation vocabulary nor a subsequent mask-based training stage. The category names are supplied at inference. A system can therefore be zero-shot in this setting even if a target word has appeared frequently in training captions.

From image descriptions to regions

Earlier work in vision and language gave the authors a reason to try captions as a source of supervision. The paper reviews visual representations learned from paired images and text and discusses their use in tasks such as visual question answering and visual reasoning. VirTex, for example, learns visual features through image captioning and then adapts them with labeled examples for a downstream task. CLIP supplied a different precedent. Its image and text encoders learn to match images with descriptions, and classification can be performed by comparing an image to text constructed from the candidate class names. The category vocabulary is expressed through the text input.

For classification, the image can be represented by a single vector. A strong match to the name of an object can be enough to produce a correct image label. That operation leaves a spatial question unresolved. A photograph might contain a dog and a patch of water. Even if a representation of the whole photograph is compatible with both words, applying a class name to the image tells us little about which pixels should receive it. A regional representation gives the classifier a smaller piece of visual evidence and a set of locations to which its answer can apply.

Visual grounding is another task in which correspondence between words and locations matters. The paper describes fully supervised grounding systems that learn from associations between phrases and bounding boxes. In the weakly supervised grounding schemes it discusses, the training pairs can lack those direct associations, while pretrained object detectors still furnish candidate boxes. The detectors bring in supervision from box annotations on other datasets. GroupViT instead has to form its own regions from the image features. Its target output is a segmentation map, which needs the extent of a region at a finer level than a bounding rectangle supplies.

The authors also discuss concurrent attempts at text-supervised segmentation. Their account distinguishes the data and training regimes. The concurrent approaches they cite use encoders pretrained on large private collections of image–text pairs. GroupViT trains its image and text encoders together from scratch on public paired data, which the authors describe as noisier. OpenSeg, one of the concurrent approaches they discuss, additionally learns to propose regions using class-agnostic masks. Such a mask contributes spatial information even when it carries no category name. In GroupViT, both the locations and the categories of the regions have to be inferred from image-level supervision.

Why start with a Vision Transformer?

The Vision Transformer represents an image as a sequence of patch features. The paper traces this approach to earlier Transformer work in natural language processing, including BERT. It also notes how widely Vision Transformer variants had already been used across recognition, detection, segmentation, and action recognition. Their relevance to GroupViT is architectural. Self-attention exchanges information between vectors, and those vectors can represent regions of arbitrary shape once the system has a way to construct them.

A patch sequence starts out on a regular grid. The paper describes variants that retain regular spatial arrangements deeper in the network, for instance by dividing the image into windows or by reintroducing convolutional operations. These designs provide spatial structure. GroupViT uses attention to make a different kind of structure possible. Features from different parts of the image can interact, and the grouping block can combine patches based on what those features say about the image. A region is defined by membership in a group and can therefore extend across the original grid in the shape its members take.

Attention and grouping have separate roles in that design. Attention changes the information carried by each token. Grouping changes the units that are represented. A patch can gain information about a distant part of an object through attention while remaining a separate patch. A grouping block can then make it part of a larger region and replace all the member features with a new segment feature. Because the paper retains the assignments from each merge, it can make predictions from those larger units and still identify the starting patches to which a prediction belongs.

The method, step by step

Following an image through the encoder

GroupViT starts from small rectangles, each represented by a vector called a token. Think of a token as the information that subsequent layers have available about a patch. The authors project the pixels of each patch into a feature space and add a learned positional embedding. The feature carries visual information, and the positional embedding supplies information about where the patch came from. At this point, each patch is a separate candidate segment.

The encoder also has group tokens. These are learned vectors that take part in processing the image. At the start of a stage, the group tokens and the current segment tokens enter the same sequence. Self-attention lets them exchange information. A group token starts from a learned state and can take on information specific to the image in front of it. When the grouping block compares the resulting group and segment vectors, it uses those updated values. This is how a shared set of group parameters can yield different groupings in different photographs.

The grouping block gives each incoming segment a destination. Each destination combines the visual features routed to it into an outgoing segment token. The first such operation can turn patches into parts. A subsequent operation can take several parts and represent them together. Large groups can contain patches from separated locations. The assignment identifies which patches belong to a group, and connectivity is left to the pattern of assignments.

The same image encoder feeds two uses. During training, GroupViT combines the final segment features into a whole-image representation for matching to captions. During segmentation, it uses the final features individually. The group decisions made inside the encoder then tell it how to place each class prediction back onto the image.

How GroupViT forms, trains, and labels visual groups

The steps in order.

How GroupViT forms, trains, and labels visual groupsStep 1: Project image patches and encode their positions1. Project image patches and encode their positionsStep 2: Exchange information between segment and group tokens2. Exchange information between segment and group tokensStep 3: Assign segments to groups and merge their features3. Assign segments to groups and merge their featuresStep 4: Repeat grouping at a coarser scale4. Repeat grouping at a coarser scaleStep 5: Train pooled features against captions and noun prompts5. Train pooled features against captions and noun promptsStep 6: Match separate test groups to prompted class names6. Match separate test groups to prompted class namesStep 7: Trace group predictions back to image patches7. Trace group predictions back to image patches

Position, attention, and the grouping hierarchy

Let the original image supply N nonoverlapping patches. The projection of patch i is pᵢ. The stages are indexed by l, and L is the number of grouping stages. At stage l, the superscript on s indicates which stage the segment tokens are entering. The initial segment tokens and patch tokens are the same, so the paper takes M₀ = N, where M₀ counts the initial segments. In subsequent stages, Mₗ counts the groups produced by stage l. Each merge stage reduces the number of segment tokens.

({ĝᵢˡ}, {ŝᵢˡ}) = Transformer(concat({gᵢˡ}, {sᵢˡ}))

Here gᵢˡ is group token i at stage l, and sᵢˡ is input segment token i at that stage. The braces stand for the collections of tokens, with the index i ranging over the group collection or the segment collection as appropriate. The group collection has Mₗ members and the input segment collection has Mₗ₋₁ members. The function concat places both collections into a single sequence. Transformer denotes the layers that process that sequence. The hats on ĝ and ŝ identify the updated tokens returned by those layers.

All the tokens entering these layers can contribute to the information used for grouping. The content of a small region can be interpreted in relation to the rest of the image before its destination is chosen. A group token can likewise draw information from across the image before offering a candidate destination. This ordering is important. The learned initial group vectors provide reusable parameters, while the updated values provide the comparison points for the current image.

{sᵢˡ⁺¹} = GroupingBlock({ĝᵢˡ}, {ŝᵢˡ})

GroupingBlock denotes the operations that score destinations, choose assignments, and merge features at stage l. The hatted collections are the updated group and segment tokens. The output sᵢˡ⁺¹ is the i-th new segment, which can be passed to the next stage. Its index i ranges over the Mₗ destinations of the current stage. Each successive stage has fewer destinations than incoming segments. The current segmentation is therefore represented by a smaller collection of features after each merge.

The design in the experiments starts from ViT-S. The visual encoder has 12 Transformer layers with a hidden dimension of 384. In the training setup, the input images have size 224 × 224 and the patches have size 16 × 16. The appendix describes the attention and feed-forward parts of each Transformer layer as using layer normalization on their inputs. The feed-forward component is an MLP, or multilayer perceptron, which applies learned transformations to the features.

The paper implements a 1-stage and a 2-stage image encoder. Both leave 8 segment tokens at the end of grouping. In the 1-stage version, 64 learned group tokens participate in the layers before the grouping block. An MLP-Mixer layer reduces that collection to 8 tokens before the block makes its assignments. The merge occurs after the sixth Transformer layer. In the 2-stage version, the first assignment uses 64 group tokens and the second uses 8. The grouping blocks follow the sixth and ninth Transformer layers. The appendix also describes MLP-Mixer connections between group tokens at different stages. The two configurations let the authors test what changes when an explicit intermediate partition precedes the final groups.

How a segment gets its destination

The grouping block first compares each incoming segment with every candidate group. Learned projections put them into a space suited to that comparison. A dot product scores the compatibility of the projected vectors. The construction adds Gumbel noise to the scores and normalizes them across destinations using a softmax. A softmax exponentiates scores and divides by their total so that they give relative weights for the alternatives.

Aˡ[i,j] = exp((W_q ĝᵢˡ) · (W_k ŝⱼˡ) + γᵢ) / Σ[r=1…Mₗ] exp((W_q ĝᵣˡ) · (W_k ŝⱼˡ) + γᵣ)

Aˡ is the soft assignment matrix for stage l. Its entry at row i and column j is the weight for sending segment j to group i. The updated group vectors are ĝᵢˡ and ĝᵣˡ, and ŝⱼˡ is the updated segment vector. W_q and W_k are the learned linear projections for group and segment features, respectively. The middle dot denotes the vector dot product, and exp is the exponential function. The γ values are independent draws from Gumbel(0, 1). The summation Σ runs through the candidate group indices r, beginning at 1 and ending at Mₗ. The denominator keeps the segment index j fixed, so each column compares the available groups for the same incoming segment.

For the hard variant, the largest entry in a column determines the destination. The operation argmax returns the index of that entry, and a one-hot representation makes the winning entry active and all the others zero. Such a decision defines clear membership for the forward computation. It complicates training because an ordinary derivative through a discrete choice cannot describe how small score changes should alter that choice. GroupViT uses a straight-through construction. The training computation uses the hard decision for its values and the soft matrix for its gradient.

Âˡ = one-hot(argmax_groups(Aˡ)) + Aˡ − sg(Aˡ)

Âˡ is the hard assignment matrix for stage l. The operation argmax_groups acts on each column of Aˡ, and one-hot converts the selected indices back into a matrix. The operator sg, short for stop gradient, returns its input value and blocks derivative propagation through that copy. In the forward pass, Aˡ and sg(Aˡ) cancel under the addition and subtraction, so the value is the one-hot matrix. In the backward pass, the unblocked Aˡ term supplies the gradient. That gradient permits training signals from the image–text loss to reach the features that determine the assignments.

The grouping block then builds the new segment feature from the incoming segment features and the updated group token. The incoming values are averaged with the assignment entries as weights. With hard assignments, the average is over the segments routed to that destination. The group token provides an additional contribution to the output.

sᵢˡ⁺¹ = ĝᵢˡ + W_o (Σ[j=1…Mₗ₋₁] Âˡ[i,j] (W_v ŝⱼˡ)) / (Σ[j=1…Mₗ₋₁] Âˡ[i,j])

The output sᵢˡ⁺¹ represents group i after stage l, and ĝᵢˡ is the updated group token added to it. The weights W_v and W_o are learned projections. W_v projects each incoming feature ŝⱼˡ before averaging, and W_o projects the resulting aggregate. The index j ranges from 1 to Mₗ₋₁, the number of incoming segments, in both sums. The entry Âˡ[i,j] determines whether segment j contributes to group i under hard assignment. Dividing by the sum of the weights normalizes for the amount assigned to that group. As written, the quotient describes a group with a non-zero assignment total.

The soft comparison uses Aˡ in the same merge expression. This allows each incoming segment to contribute fractionally to different groups. In the hard version, members share a destination without sharing their membership with other destinations. Their feature vectors can still contain information acquired through attention from elsewhere in the image. A hard partition of the patches and a contextual representation of each partition can therefore coexist.

The authors relate the block to a single iteration of Slot Attention. In their account, Slot Attention learns to collect evidence for individual instances through self-supervision. GroupViT uses weak text supervision and can form groups whose common property is their semantic category. The paper shows a case in which horses in separate locations share a group. That is a valid outcome for a semantic map, where both should have the same label, and illustrates how a learned group can depart from an individual object mask.

Turning an image and a caption into comparable vectors

After the final merge, the visual encoder still has Transformer layers that process the output segments. These layers update each segment in the context of the other final segments. They preserve the correspondence between each segment token and its assigned image patches.

{ŝᵢᴸ⁺¹} = Transformer({sᵢᴸ⁺¹})

The superscript L+1 indicates the tokens produced by the last grouping stage, with L the number of stages. The index i runs over the Mₗ group outputs at that last stage, where l equals L. The unhatted s tokens are the final merge outputs. The hatted ŝ tokens are their updated versions after the remaining Transformer layers. The operation acts on their collection, shown in braces.

zᴵ = MLP(AvgPool({ŝᵢᴸ⁺¹}))

The symbol zᴵ is the representation of the whole image, and I indicates the image side of the encoder. AvgPool takes the mean of the updated segment vectors over i. MLP is the learned projection used to bring the pooled visual features into the shared image–text feature space. Average pooling combines the segment features into one vector. The text objective can thus train the whole visual hierarchy by scoring a single vector for the image.

The text encoder takes a different route to the common space. Its input is a lower-cased representation produced by byte pair encoding, a form of subword tokenization. The paper specifies a vocabulary of 49,152. The text Transformer has 12 layers and a hidden dimension of 256. The encoder uses the output at the end-of-sentence token to represent the full text input. The image and text sides use 2-layer MLP projections to produce vectors that can be compared directly.

The authors normalize the projected embeddings to unit length before computing their dot products for training. This gives them a similarity measure based on the directions of the vectors. The whole image and its full caption are the initial units of comparison. With paired examples gathered into a batch, the other captions provide alternatives against which the correct match must compete. The same batch also supplies alternative images when a caption is taken as the query.

Matching whole images to their captions

In the standard contrastive objective, every image asks which text in the batch goes with it. Each text also asks which image goes with it. The correct pair has an established association in the training data. Examples at different batch indices supply the competing choices. The objective increases the score of the matched pair relative to those alternatives. This is called contrastive learning because the signal depends on the comparison with competing pairs as well as on the matched example.

ℒ(I ↔ T) = ℒ(I → T) + ℒ(T → I)

The symbol ℒ denotes a loss, a quantity the training procedure minimizes. I denotes the image side and T denotes the original caption side. The two-way arrow identifies the combined loss for the pair of directions. The arrow in I → T means an image is the query and texts are the candidates. The arrow in T → I means a caption is the query and images are the candidates. The plus sign adds the directional losses.

ℒ(I → T) = −(1/B) Σ[i=1…B] log(exp((zᵢᴵ · zᵢᵀ)/τ) / Σ[j=1…B] exp((zᵢᴵ · zⱼᵀ)/τ))

Here B is the number of paired examples in the batch. The index i selects the query image and its paired caption, and j indexes the candidate captions. The unit vectors zᵢᴵ and zᵢᵀ are the embeddings for the paired image and text, and zⱼᵀ is the embedding for caption j. The dot is the dot product. The learned temperature τ rescales the scores before exp exponentiates them. The fraction compares the matched caption’s weight with the sum of all caption weights for image i. The logarithm is written log. The leading minus sign and the factor 1/B produce the mean negative log of that fraction over the batch.

ℒ(T → I) = −(1/B) Σ[i=1…B] log(exp((zᵢᵀ · zᵢᴵ)/τ) / Σ[j=1…B] exp((zᵢᵀ · zⱼᴵ)/τ))

The notation again uses B for batch size, τ for the learned temperature, exp for the exponential, log for the logarithm, and the dot for the dot product. Now i picks the query caption zᵢᵀ. The matched image is zᵢᴵ, and zⱼᴵ ranges over the candidate images as j runs through the batch. The summation over i averages the negative log fractions using the same factor 1/B. In this direction, a caption must select its matching image from the alternatives.

The expressions make clear what is observed at training time. A caption and image are paired by the dataset. The pairing says nothing directly about the match between a particular phrase and a particular group. The pooled visual representation is what receives the training comparison. Grouping is useful to the extent that the representations produced through the intermediate merges help the pooled image match its description. This leaves open which particular partition a successful image–text match will encourage.

The definitions of positive and negative examples are also operational. A different caption in the batch counts as a competitor because it is paired with another image. It may still describe a similar object. The loss uses the available associations rather than annotations of which descriptions would be valid for every image. That property carries over to the prompted texts, where a common noun can naturally arise from several different images.

Giving the same image several textual views

A caption can express several concepts at once. It can mention objects, describe what they are doing, and supply other context. To offer simpler descriptions alongside these sentences, the authors sample nouns from the original text and place them in handcrafted templates. A noun naming an animal can, for example, be placed in a short description of a photograph of that animal. Nouns are the paper’s choice because they often name objects. The new descriptions retain a connection to the original caption, and they receive the same image as a positive match.

The paper uses the CLIP templates for this procedure and sets K = 3, where K counts the prompted texts per image in the objective. The original caption remains part of training. The prompted texts enter a separate loss in which each image has multiple associated descriptions. In the image-to-text direction, the objective compares the combined weight of those associated descriptions with the weight across all prompted texts in the batch. In the other direction, each prompted text must identify its associated image.

ℒ(I ↔ {Tₖ}) = ℒ(I → {Tₖ}) + ℒ({Tₖ} → I)

Here ℒ is the contrastive loss, I is the image side, and Tₖ denotes prompted text at index k. The braces stand for the collection of prompt indices from 1 through K. The two-way arrow identifies the sum of both directions. The first term takes the image as query, and the second takes each prompted text as query.

ℒ(I → {Tₖ}) = −(1/B) Σ[i=1…B] log((Σ[k=1…K] exp((zᵢᴵ · zᵢᵀₖ)/τ)) / (Σ[k=1…K] Σ[j=1…B] exp((zᵢᴵ · zⱼᵀₖ)/τ)))

The batch size is B. The index i selects the image query, j identifies a caption’s source pair anywhere in the batch, and k selects a prompt up to the count K. The vector zᵢᴵ is the normalized image embedding. The vectors written zᵢᵀₖ and zⱼᵀₖ are the normalized embeddings of prompt k associated with images i and j, respectively. The dot denotes their comparison with the image through a dot product. The learned temperature is τ, exp turns the scaled similarities into positive weights, and log is the logarithm. The numerator sums the weights for all prompts associated with the query image. The denominator sums over prompt positions and source pairs. The prefactor with the minus sign takes the mean negative log over the image queries.

The use of a sum inside the logarithm matters. A high score for one associated description can help the combined positive weight. The expression rewards weight given to the collection associated with an image. It supplies no exact region for any individual noun, even when a noun corresponds closely to an object in the photograph. The relationship remains an image-level association, as it was for the original caption.

ℒ({Tₖ} → I) = −(1/(KB)) Σ[k=1…K] Σ[i=1…B] log(exp((zᵢᵀₖ · zᵢᴵ)/τ) / Σ[j=1…B] exp((zᵢᵀₖ · zⱼᴵ)/τ))

In this direction, a query is the normalized prompted text embedding zᵢᵀₖ for source pair i and prompt position k. Its associated image is represented by zᵢᴵ, and j ranges through the candidate images with embeddings zⱼᴵ. The number of source pairs is B, and K is the number of prompts per source pair. KB is the product used to average over the prompted queries. As in the previous expressions, the dot denotes a dot product, τ is the temperature, exp produces the comparison weights, and log takes the logarithm before the loss applies the negative sign. The denominator runs over images because each prompted description is evaluated as its own query.

ℒ = ℒ(I ↔ T) + ℒ(I ↔ {Tₖ})

The unqualified ℒ is the full training loss. The term using T accounts for the original captions, and the term using the collection {Tₖ} accounts for the prompted captions indexed by k. In each term, I is the image side and the two-way arrow stands for both directions of retrieval within the batch. The two terms are added. The procedure jointly updates the image encoder, including the parameters that determine group assignments, and the text encoder used to interpret descriptions and prompts.

Data, optimization, and inference

The main training setup uses Conceptual Captions CC12M, which contains 12M image–text pairs, and filtered Yahoo Flickr Creative Commons, or YFCC, which contributes 14M pairs. For the main optimization setup, the authors use a batch size of 4096, a learning rate initialized to 0.0016, and Adam with weight decay of 0.05. Training runs for 30 epochs. The first 5 epochs use linear warm-up, and the authors use cosine decay for the learning-rate schedule. Both encoders learn in this paired-data training run. The authors also released the GroupViT implementation.

At test time, the input image runs through the grouping hierarchy and the final Transformer layers. The system keeps an embedding for every final segment by omitting image-wide average pooling. On the text side, it takes the desired class names and puts them into prompts of the same kind used in training. The text encoder supplies a vector for each class. This is where the benchmark vocabulary enters the prediction. The group construction comes from the image branch, and the text supplies the alternatives for naming the groups.

To put the predictions back in image coordinates, the system needs the full route from a starting patch to a final group. The assignment matrix of an individual stage covers only that stage. The paper composes the matrices in traversal order, with the final stage on the left of the product.

A_final = Âᴸ · … · ¹

A_final denotes the composed assignment from the original patches to the final groups. Each  is the hard assignment matrix of the stage indicated by its superscript. Stage 1 is the first grouping operation and stage L is the last. The centered dots here indicate matrix multiplication, and the ellipsis includes the intervening stages in order. For a patch represented as a column, the rightmost matrix gives its first destination. Each later matrix carries that destination on to the next group. A final group can thus be traced back to all the patches that reached it.

The paper then describes a highest-similarity rule for naming a group. There are C candidate classes in the chosen vocabulary. The text vectors are normalized, and each one is scored against the visual group embedding.

class(i) = argmax[c=1…C] (zᵢᴵ · z꜀ᵀ)

The function class gives the class index for segment i, and argmax picks the index c with the highest score among the C classes. The vector zᵢᴵ here represents the individual visual segment, as opposed to the whole image used in the training loss. The symbol z꜀ᵀ represents the normalized text embedding for class c. The middle dot denotes the dot product between the two vectors. This rule supplies a foreground candidate, subject to the background handling used for the benchmark.

In the PASCAL evaluations, the prediction procedure normalizes the class similarities with a softmax and applies a threshold to decide which predictions to retain as foreground. A location rejected by the foreground decision is treated as background. This allows the supplied list of foreground names to remain the text alternatives while also letting the segmentation map contain background. To produce a map, the class scores obtained from the group features are associated with the image locations using the composed assignments. The encoders are used as trained. The paper calls this transfer without fine-tuning.

Experiments and results

What the benchmarks measure

The main semantic segmentation experiments use the validation splits of PASCAL VOC 2012 and PASCAL Context. PASCAL VOC 2012 supplies 20 foreground classes and a background class. PASCAL Context supplies 59 foreground classes and a background class. The latter includes scene materials and surfaces as well as discrete objects. Examples in the paper include sky and water. This gives GroupViT different kinds of visual regions to name and a different set of alternatives in the foreground classifier.

For both benchmarks, the authors resize each input image so that the shorter side measures 448 pixels. They set the foreground threshold on the softmax-normalized similarities to 0.9 for PASCAL VOC 2012 and 0.5 for PASCAL Context. The scores therefore characterize a transfer procedure with benchmark-specific vocabularies and settings. Classification is performed with the same learned image and text encoders, and the resulting maps are evaluated against the human annotations of each benchmark.

Intersection over union looks at the set of pixels predicted for a category and the set marked for that category in the ground truth. The intersection consists of the pixels shared by both sets. The union includes the pixels appearing in either set. Dividing their sizes rewards coverage of the actual region and penalizes extra pixels assigned to it. Mean intersection over union, abbreviated mIoU, averages the category overlaps. A region that follows the shape of an object well and bears the wrong label can still hurt this metric. The score measures the complete segmentation decision, including both grouping and recognition.

The principal GroupViT configuration is the 2-stage encoder trained on CC12M and filtered YFCC. It achieves 52.3% mIoU on the PASCAL VOC 2012 validation split and 22.4% mIoU on the PASCAL Context validation split. The different benchmarks change the regions to be recognized and the competition among their names. The scores give the outcomes under those respective conditions. The authors investigate individual causes of failure separately, using group visualizations and a diagnostic that names groups with access to the reference masks.

Zero-shot baselines with grouping added at inference

The first set of comparisons asks what a conventional Vision Transformer can do under text supervision when some way of forming regions is added afterwards. For training both ViT and a text encoder, the authors use the contrastive objective specified by CLIP. At inference, they apply non-parametric grouping to the visual features. In this comparison, grouping is performed on the outputs of the encoder and learned grouping blocks are absent from its training. For each resulting region, they average its features and compare that mean to the text embeddings of the target labels.

They also consider an independent classification baseline described as pixel-wise. Each pixel is treated as its own group and receives a label separately. This exposes what the similarity scores can do with minimal aggregation across locations. Grouping with an externally applied procedure and classifying locations independently make different uses of the same underlying idea of image–text comparison. Both give useful points of comparison to an architecture that builds groups while it learns its visual features.

The paper reports that GroupViT outperforms the tested zero-shot grouping baselines by a large margin. The comparison concerns the complete transfer procedures. GroupViT incorporates a learned grouping architecture and uses the caption and prompt objectives described above. The conventional ViT baseline is trained using the CLIP contrastive loss and gets its grouping procedure at test time. The component ablations are needed to examine how assignments, prompt supervision, and hierarchy contribute within GroupViT itself.

A separate ImageNet comparison tests whether the ability to represent groups comes at the cost of image classification. The authors train the two architectures with image–text contrastive supervision and evaluate both zero-shot classification and linear probing on the ImageNet validation split. Linear probing uses a learned linear readout to assess the information available in the visual representation. Zero-shot classification uses textual category descriptions. The paper reports comparable classification performance for GroupViT and ViT. This gives context to the segmentation comparison. An advantage in regional prediction can coexist with similar performance when the entire image receives a classification decision.

Transfer with access to segmentation masks

The authors also compare against supervised transfer on PASCAL VOC 2012 and PASCAL Context. These baselines start from a comparable pretrained ViT. The researchers append a 1 × 1 convolution as a classification head. Such a convolution uses the feature at each spatial location to produce class scores. They train the head and the encoder jointly using the ground-truth masks from the training split of each benchmark. The validation predictions use an input with a shorter side of 448 pixels, as in the GroupViT evaluation.

The appendix gives the training details for this comparison. The authors randomly rescale each training image by a factor in the range [0.5, 2] and take random crops of size 224 × 224. They use Adam with a learning rate of 0.001, weight decay of 0.05, and a batch size of 16. The supervised transfer run lasts 4k iterations. These settings concern adaptation to segmentation with masks. Each PASCAL benchmark gets its own such run.

The comparisons include ViT encoders with supervised and self-supervised pretraining. In a self-supervised pretraining scheme, the initial visual learning signal is constructed from the data. In the paper’s transfer comparison, those encoders still receive mask supervision during adaptation. GroupViT exceeds the compared self-supervised ViT variants on PASCAL VOC 2012 and performs comparably to them on PASCAL Context, according to the authors. For PASCAL VOC 2012, the authors also highlight the proximity of the GroupViT result to the ViT baseline trained using image-level classification labels and adapted with segmentation masks.

Zero-shot GroupViT and supervised ViT on PASCAL VOC 2012 validation mIoU

GroupViT approaches the score of ViT adapted with segmentation masks.

Zero-shot GroupViT and supervised ViT on PASCAL VOC 2012 validation mIoUViT with supervised pretraining and mask fine-tuning: 53ViT with supervised pretraining and maskfine-tuning53GroupViT with zero-shot transfer (this paper): 52.3GroupViT with zero-shot transfer (thispaper)52.3
The numbers
System or settingmIoU %
ViT with supervised pretraining and mask fine-tuning53
GroupViT with zero-shot transfer (this paper)52.3

The two bars represent different routes to the same evaluation. ViT starts with classification supervision and learns to predict the target masks from examples. GroupViT uses paired image and text at scale and receives the target categories as names. Their proximity on this benchmark shows how far the text-supervised route goes under the comparison the authors ran. The training data, supervision, and prediction mechanisms differ, so the scores describe the performance of the two setups as a whole.

A further benchmark and another training source

The appendix extends the evaluation to COCO, which has 80 object classes in this experiment. COCO provides masks for individual instances. To evaluate semantic segmentation, the authors combine the masks for instances of the same category into the corresponding semantic regions. Under that definition, several objects from the same class can count as parts of the same category mask. The test applies the GroupViT transfer procedure to another set of label names. The authors report segmentation mIoU and use the evaluation as evidence that transfer extends beyond the two PASCAL vocabularies.

The authors also ask whether the training source is interchangeable to some degree. They use RedCaps, a collection of 12 million image–text pairs from Reddit, in place of filtered YFCC while retaining Conceptual Captions. RedCaps is of similar size to the YFCC subset used for the main training setup. The authors report similar zero-shot segmentation performance on PASCAL VOC, PASCAL Context, and COCO after the substitution. This result concerns a specific replacement within a shared training recipe. It shows that the combination of GroupViT and caption supervision can yield useful groups with either of the tested auxiliary collections.

What the ablations show

The effect of making a definite assignment

The default ablation setup uses the 1-stage GroupViT trained on CC12M. Unless the authors specify a different setup, the comparisons in this part of the paper report mIoU on the PASCAL VOC 2012 validation split. This gives the interventions a common training source and target. The paper changes operations within the encoder or the objective and asks what happens to the final segmentation map.

One comparison replaces the hard assignments with soft assignments in the merge. In the soft case, a segment can contribute to several destinations through the entries of the soft matrix. In the hard case, one destination receives the segment. The paper reports an improvement of more than 10% mIoU for hard assignment over soft assignment on PASCAL VOC 2012. The units are the paper’s reported change in mIoU for this comparison.

The authors’ explanation concerns how distinct the resulting feature vectors are. The soft matrix gives every finite group score a positive weight after normalization. If multiple groups all take substantial information from the same patches, their aggregate representations may be similar. A classifier comparing those representations with class names would then have difficulty giving each region a clear interpretation. A hard merge makes the contributing membership exclusive, and that gives the groups a stronger basis for differentiation. The mIoU comparison supports the value of the hard operation in this setup. The proposed connection between overlapping feature contributions and ambiguity is the authors’ interpretation of the improvement.

There is a useful distinction between the partition and the appearance information encoded for each segment. Hard assignments give explicit boundaries at patch granularity between the sets routed to different groups. Because attention precedes the assignment, a destination’s feature may still reflect neighboring regions or even distant regions of the image. The comparison is therefore about whether the merge should give each segment a definite home, within a system that already shares contextual information.

What noun prompts add

The authors compare the original caption loss with the objective that adds noun prompts. On the PASCAL VOC 2012 validation set, the reported mIoU improvement is 13.1% with hard assignment and 2.6% with soft assignment. Adding prompted supervision helps in both settings, and the measured gain is larger when groups have exclusive assignments. These are changes under the paper’s ablation conditions. They are separate from the headline results obtained with the larger training mixture and the 2-stage encoder.

The paper proposes a reason involving the difference between whole descriptions and class names. At test time, the class enters the text encoder in a short prompted sentence. Caption-only training mainly gives the text encoder the naturally occurring captions as examples to match. Prompted training gives it examples with a form closer to the class queries used later. The authors conjecture that this helps the learned region features match segmentation names.

Prompt training also changes the contents and structure of the loss. It extracts nouns, adds multiple associated texts for each image, and asks the image-to-text comparison to favor them collectively. The ablation adds those elements together. It establishes that the combined change helps, with the observed gain depending on the grouping rule. Which share of the improvement comes from prompt format, noun selection, or the multiple-positive objective remains open within that comparison.

Candidate groups and final output slots

The authors vary both the number of group tokens available for learning and the number of segment tokens produced by the encoder. Increasing the number of group tokens improves performance across the tested settings. The paper interprets this as greater capacity to form groups around different visual concepts. The number of group tokens is an architectural capacity choice, while the number of named categories is set by the text vocabulary at inference. A feature vector used to propose grouping can respond differently depending on the scene.

The 1-stage design makes the distinction concrete. It has 64 learned group tokens but projects them down to 8 destinations before merging. In the 2-stage design, an earlier block can explicitly produce the larger collection of segments before the later reduction. The authors find 8 final output tokens optimal among the choices tested. A small final set can summarize the large regions needed for the benchmark, while the features used to create those regions can draw on a larger set of learned parameters.

The visualization of group tokens gives a closer view of what that capacity can represent. The authors pick some tokens and highlight the regions to which they attend across PASCAL VOC 2012 images. Lower-stage examples frequently respond to parts such as eyes and limbs. Group token 36 attends to hands in images of people and to feet in examples involving animals such as a bird or a dog. The same learned token can thus collect related visual evidence whose category-level description changes with the scene. At the higher stage the examples tend to correspond to larger features, such as a body, a face, or an expanse of grass.

Those images are selected illustrations of attention. They help explain how a feature can be reused across scenes without assigning a fixed class to each token index. The evidence for the effect of changing the token count comes from the mIoU comparison. The visual examples give a view into the behavior of particular tokens within that architecture.

Merging in stages

The stage comparison examines what is gained by constructing an intermediate partition before the final groups. Both configurations have 8 output tokens after the last merge. The 1-stage version makes a direct assignment to its final destinations. The 2-stage version lets small segments become members of intermediate groups, then merges those groups again. Because both finish with the same number of outputs, the comparison tests a difference in the organization of the grouping process.

On the PASCAL VOC 2012 validation split under the default ablation setup, the 2-stage version improves mask mIoU by 1.8% and boundary mIoU by 1.9% over the 1-stage version. Mask mIoU measures overlap across the regions. Boundary mIoU evaluates the overlap of their boundaries. A map can cover much of a region and still put the contour in the wrong place, so the boundary measure adds a different view of the errors. The paper also shows selected images in which the higher-stage outputs have smoother contours.

The authors next train both configurations with Conceptual Captions and YFCC. They report gains of ∼7% in both mask and boundary mIoU for the 2-stage version on the PASCAL VOC 2012 validation comparison with expanded training data. The 1-stage version benefits less from the expanded collection. The authors take this as evidence that staged grouping can make better use of the larger data source in their setup. The change adds images and introduces a different source of image–text pairs, so the comparison measures the effect of expanding the training mixture as a whole. The authors use the 2-stage architecture in the main transfer experiments.

Looking at masks before naming them

The visualizations show grouping before class assignment as well as the final semantic maps. Colors in the intermediate grouping views indicate shared group membership. They can therefore expose a merge even when its class prediction is still uncertain. The paper shows single objects, multiple objects from a shared category, and scenes with objects from different categories. The example in which horses share a group illustrates a sensible outcome for semantic segmentation. The group joins patches that can receive the same name even if they belong to different animals.

Examples from PASCAL Context show GroupViT labeling both objects and surrounding regions. The paper presents cases with a cat and a window, and with a dog and water. These examples establish that the same procedure can produce plausible results for some scene categories as well as for some objects. They also give a way to interpret the later failure cases. Successful grouping can be inspected directly in the intermediate views, while successful naming is visible in the final map.

A quantitative mask probe studies that distinction without relying on the learned text classifier. The authors follow a procedure from DINO for conventional ViT encoders. For each final attention head, they examine its relation to the classification token and form a mask from the locations receiving the strongest attention. They compare each candidate with the human mask using the Jaccard index, another name for intersection over union, and keep the one with the best overlap. For GroupViT, the candidates are the predicted groups themselves. The authors select the group with the greatest overlap with the human mask for each image.

The paper reports that GroupViT does better in this probe than the ViT variants pretrained with supervised, self-supervised, or text-supervised objectives. The probe uses the reference to select a candidate. Its result is a measure of the masks available in the representations, given that selection procedure. It supports the claim that GroupViT’s grouping can capture semantic regions, separately from the end-to-end evidence about whether text similarity identifies them correctly.

Limitations

Limits identified by the authors

The authors focus first on the weaker performance on PASCAL Context. That benchmark includes classes such as ground, road, and wall. The paper reports IoU of approximately 1.5 for the problematic classes it discusses in the zero-shot PASCAL Context analysis. Visual inspection suggested that the encoder sometimes puts the appropriate pixels into a plausible shared group and then assigns the whole group an incorrect label. Such a mistake leaves room for a better naming procedure even with the group memberships held fixed.

The authors hypothesize that these classes are less likely to be described in the training captions. A scene may contain an extensive surface without the author of its caption having much reason to mention it. Under that hypothesis, the image encoder can learn some visual regularity that helps it gather the surface, while the image–text objective sees too few informative associations to reliably connect the result with the desired name. The paper shows examples that fit this explanation. It does not establish the training frequency of each of these words or quantify how frequency alone predicts the errors.

To examine the naming problem, the authors run an oracle experiment on PASCAL Context. They use the same 2-stage GroupViT trained on CC12M and YFCC as in the main comparison. For each output group, they compute its overlap with the ground-truth masks and assign the category of the best overlap. The word oracle refers to the use of information that would be unavailable for ordinary prediction. Seeing the correct masks lets the analysis replace the learned text comparison with a rule informed by the desired output.

The authors report a large gap in mIoU between the normal PASCAL Context predictions and the oracle ones. Because the group assignments are retained, this shows that many of the existing groups can support more accurate class labels. The paper treats the oracle as an upper diagnostic for its grouping results. Its scope is the fixed partition and the reference-based assignment rule. The experiment leaves the practical problem of learning a better classifier for those regions unresolved. It also preserves any spatial errors already made by the grouping blocks.

The authors identify architecture as another area for development. GroupViT omits segmentation-specific components such as dilated convolutions, pyramid pooling, and a U-Net design. The paper mentions these as possible directions. It provides no controlled measurement of their effect in combination with its grouping procedure. The reported results concern the Transformer-based hierarchy and the transfer rule the authors actually evaluate.

Limits visible in the experimental setup

The terminology of zero-shot transfer gives a precise claim when tied to the protocol. The paper demonstrates the use of category names as inference inputs and segmentation masks as evaluation references. It also specifies benchmark-dependent thresholds. The experiments leave category exposure during caption training unresolved. They do not determine whether the system could name a category whose word and visual concept were wholly absent from the training collection. Transfer to a new vocabulary in the paper means that a vocabulary can be supplied at test time, under the learned associations inherited from the paired data.

The partition itself limits the predictions possible at inference. A final group receives a single class decision. If a merge has put parts of different categories in that group, changing the class similarity score merely changes the label shared by those parts. In the hard hierarchy, a later grouping stage merges previous groups as units. It has no splitting operation that can recover an earlier distinction lost in a merge. Likewise, starting with patches fixes the granularity of the grouping decisions. A category boundary cutting through a patch has no separate membership decision on either side inside that patch.

The chosen number of outputs can also matter for scenes with many distinct regions. A final token can cover separate occurrences of one semantic category, a useful property for the task, but a small token collection must also accommodate visually different categories in a busy scene. Finding 8 outputs optimal among the tested choices leaves open how the best capacity changes with the data, the finer details of the target masks, or the number of classes visible in an image. The attribution of named concepts to token indices in the visualizations is correspondingly illustrative.

The evidence comes from several different types of evaluation. The main mIoU results score the complete pipeline on validation data. Mask probing searches the generated candidates with help from ground truth. The oracle relabels the existing groups with still more direct access to the masks. The qualitative figures show selected examples. Taken together, these procedures distinguish some failures of region formation from failures of naming. The magnitude of the oracle improvement measures the room available when class assignment is informed by the correct masks. It leaves open how much of that improvement a deployable text-based decision could recover.

Finally, the comparisons establish performance for particular training sources and baselines. The RedCaps experiment supports some flexibility in the source of paired data while retaining Conceptual Captions in the mixture. The supervised ViT comparison puts the accuracy of the zero-shot route in context on PASCAL VOC 2012, with different sources of pretraining and different ways of obtaining the segmentation prediction. The strongest evidence is that caption supervision can support both useful regions and useful class assignments in this architecture, across the evaluated vocabularies. Generalization to other data conditions, finer boundaries, and less frequently described categories remains to be measured.

What came after

Vision-Language Models for Vision Tasks: A Survey cites GroupViT in a survey whose stated scope is the use of vision–language systems for visual tasks. GroupViT supplies an example of that connection at the level of regions: image-level language supervision contributes to an encoder whose visual groups can be used for semantic segmentation. The survey’s citation places the work within that broader research area. The citation and title establish the survey connection and leave its specific treatment of GroupViT open.

NExT-GPT: Any-to-Any Multimodal LLM also cites GroupViT. Its title identifies a broader multimodal objective, while GroupViT studies the path from paired image–text training to a map of image categories. The documented relationship is the citation. It establishes that the later work refers to GroupViT, while leaving any reuse of its grouping blocks, training objective, or segmentation procedure unspecified.

Cite

Cite as Jiarui Xu, Shalini De Mello, Sifei Liu, Wonmin Byeon, Thomas Michael Breuel, Jan Kautz and Xiaolong Wang. 2022. GroupViT: Semantic Segmentation Emerges from Text Supervision. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1109/cvpr52688.2022.01760 · arXiv 2202.11094

@inproceedings{xu2022groupvit,
  title = {{GroupViT: Semantic Segmentation Emerges from Text Supervision}},
  author = {Jiarui Xu, Shalini {De Mello}, Sifei Liu, Wonmin Byeon, Thomas Michael Breuel, Jan Kautz and Xiaolong Wang},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.01760},
  eprint = {2202.11094},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr52688.2022.01760}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/xu-2022-groupvit-semantic-segmentation-emerges-text/

References

102 references, from the paper's own bibliography.

  1. Jiwoon Ahn and Suha Kwak. Learning pixel-level semantic affinity with image-level supervision for weakly supervised semantic segmentation. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
  2. Stanislaw Antol, Aishwarya Agrawal, Jiasen Lu, Margaret Mitchell, Dhruv Batra, C Lawrence Zitnick, and Devi Parikh. Vqa: Visual question answering. In ICCV, 2015. our card
  3. Pablo Arbeláez, Bharath Hariharan, Chunhui Gu, Saurabh Gupta, Lubomir Bourdev, and Jitendra Malik. Semantic segmentation using regions and parts. In CVPR, 2012. OpenAlex ↗ · Scholar ↗
  4. Anurag Arnab, Mostafa Dehghani, Georg Heigold, Chen Sun, Mario Lučić, and Cordelia Schmid. Vivit: A video vision transformer. In ICCV, 2021. our card
  5. Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. Layer normalization. arXiv preprint arXiv:1607.06450, 2016. OpenAlex ↗ · Scholar ↗
  6. Gedas Bertasius, Heng Wang, and Lorenzo Torresani. Is space-time attention all you need for video understanding? In ICML, 2021. OpenAlex ↗ · Scholar ↗
  7. Maxime Bucher, Tuan-Hung Vu, Matthieu Cord, and Patrick Pérez. Zero-shot semantic segmentation. In NeurIPS, 2019. OpenAlex ↗ · Scholar ↗
  8. Mathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou, Julien Mairal, Piotr Bojanowski, and Armand Joulin. Emerging properties in self-supervised vision transformers. In ICCV, 2021. our card
  9. Arantxa Casanova, Pedro O Pinheiro, Negar Rostamzadeh, and Christopher J Pal. Reinforced active learning for image segmentation. In ICLR, 2020. OpenAlex ↗ · Scholar ↗
  10. Yu-Ting Chang, Qiaosong Wang, Wei-Chih Hung, Robinson Piramuthu, Yi-Hsuan Tsai, and Ming-Hsuan Yang. Weakly-supervised semantic segmentation via sub-category exploration. In CVPR, 2020. OpenAlex ↗ · Scholar ↗
  11. Soravit Changpinyo, Piyush Sharma, Nan Ding, and Radu Soricut. Conceptual 12m: Pushing web-scale image-text pre-training to recognize long-tail visual concepts. In CVPR, 2021. OpenAlex ↗ · Scholar ↗
  12. Kan Chen, Jiyang Gao, and Ram Nevatia. Knowledge aided consistency for weakly supervised phrase grounding. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
  13. Liang-Chieh Chen, George Papandreou, Iasonas Kokkinos, Kevin Murphy, and Alan L Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE TPAMI, 2017. OpenAlex ↗ · Scholar ↗
  14. Xinlei Chen, Saining Xie, and Kaiming He. An empirical study of training self-supervised vision transformers. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  15. Yen-Chun Chen, Linjie Li, Licheng Yu, Ahmed El Kholy, Faisal Ahmed, Zhe Gan, Yu Cheng, and Jingjing Liu. Uniter: Learning universal image-text representations. In ECCV, 2020. OpenAlex ↗ · Scholar ↗
  16. Bowen Cheng, Ross Girshick, Piotr Dollár, Alexander C. Berg, and Alexander Kirillov. Boundary IoU: Improving object-centric image segmentation evaluation. In CVPR, 2021. OpenAlex ↗ · Scholar ↗
  17. Xiangxiang Chu, Zhi Tian, Yuqing Wang, Bo Zhang, Haibing Ren, Xiaolin Wei, Huaxia Xia, and Chunhua Shen. Twins: Revisiting the design of spatial attention in vision transformers. In NeurIPS, 2021. OpenAlex ↗ · Scholar ↗
  18. Dorin Comaniciu and Peter Meer. Mean shift: A robust approach toward feature space analysis. IEEE TPAMI, 2002. OpenAlex ↗ · Scholar ↗
  19. Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In CVPR, 2009. OpenAlex ↗ · Scholar ↗
  20. Karan Desai and Justin Johnson. Virtex: Learning visual representations from textual annotations. In CVPR, 2021. OpenAlex ↗ · Scholar ↗
  21. Karan Desai, Gaurav Kaul, Zubin Aysola, and Justin Johnson. RedCaps: Web-curated image-text data created by the people, for the people. In NeurIPS, 2021. OpenAlex ↗ · Scholar ↗
  22. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In NAACL, 2018. our card
  23. Nanqing Dong and Eric P Xing. Few-shot semantic segmentation with prototype learning. In BMVC, 2018. OpenAlex ↗ · Scholar ↗
  24. Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, et al. An image is worth 16x16 words: Transformers for image recognition at scale. In ICLR, 2021. our card
  25. Alaaeldin El-Nouby, Hugo Touvron, Mathilde Caron, Piotr Bojanowski, Matthijs Douze, Armand Joulin, Ivan Laptev, Natalia Neverova, Gabriel Synnaeve, Jakob Verbeek, et al. Xcit: Cross-covariance image transformers. arXiv preprint arXiv:2106.09681, 2021. OpenAlex ↗ · Scholar ↗
  26. Mark Everingham, Luc Van Gool, Christopher KI Williams, John Winn, and Andrew Zisserman. The pascal visual object classes (voc) challenge. IJCV, 2010. OpenAlex ↗ · Scholar ↗
  27. Haoqi Fan, Bo Xiong, Karttikeya Mangalam, Yanghao Li, Zhicheng Yan, Jitendra Malik, and Christoph Feichtenhofer. Multiscale vision transformers. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  28. Junsong Fan, Zhaoxiang Zhang, Chunfeng Song, and Tieniu Tan. Learning integral objects with intra-class discriminator for weakly-supervised semantic segmentation. In CVPR, 2020. OpenAlex ↗ · Scholar ↗
  29. Zhe Gan, Yen-Chun Chen, Linjie Li, Chen Zhu, Yu Cheng, and Jingjing Liu. Large-scale adversarial training for vision-and-language representation learning. In NeurIPS, 2020. OpenAlex ↗ · Scholar ↗
  30. Golnaz Ghiasi, Xiuye Gu, Yin Cui, and Tsung-Yi Lin. Open-vocabulary image segmentation. arXiv preprint arXiv:2112.12143, 2021. OpenAlex ↗ · Scholar ↗
  31. Tanmay Gupta, Arash Vahdat, Gal Chechik, Xiaodong Yang, Jan Kautz, and Derek Hoiem. Contrastive learning for weakly supervised phrase grounding. In ECCV, 2020. OpenAlex ↗ · Scholar ↗
  32. Eric Jang, Shixiang Gu, and Ben Poole. Categorical reparameterization with gumbel-softmax. In ICLR, 2017. our card
  33. Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc V Le, Yunhsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In ICML, 2021. our card
  34. Sanghyun Jo and In-Jae Yu. Puzzle-cam: Improved localization via matching partial and full features. In ICIP, 2021. OpenAlex ↗ · Scholar ↗
  35. Armand Joulin, Laurens Van Der Maaten, Allan Jabri, and Nicolas Vasilache. Learning visual features from large weakly supervised data. In ECCV, 2016. OpenAlex ↗ · Scholar ↗
  36. Aishwarya Kamath, Mannat Singh, Yann LeCun, Gabriel Synnaeve, Ishan Misra, and Nicolas Carion. Mdetr-modulated detection for end-to-end multi-modal understanding. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  37. Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR, 2015. our card
  38. Ranjay Krishna, Yuke Zhu, Oliver Groth, Justin Johnson, Kenji Hata, Joshua Kravitz, Stephanie Chen, Yannis Kalantidis, Li-Jia Li, David A Shamma, et al. Visual genome: Connecting language and vision using crowdsourced dense image annotations. IJCV, 2017. our card
  39. Jungbeom Lee, Eunji Kim, Sungmin Lee, Jangho Lee, and Sungroh Yoon. Ficklenet: Weakly and semi-supervised semantic image segmentation using stochastic inference. In CVPR, 2019. OpenAlex ↗ · Scholar ↗
  40. Liunian Harold Li, Mark Yatskar, Da Yin, Cho-Jui Hsieh, and Kai-Wei Chang. Visualbert: A simple and performant baseline for vision and language. arXiv preprint arXiv:1908.03557, 2019. our card
  41. Peike Li, Yunchao Wei, and Yi Yang. Consistent structural relation learning for zero-shot segmentation. In NeurIPS, 2020. OpenAlex ↗ · Scholar ↗
  42. Xiujun Li, Xi Yin, Chunyuan Li, Pengchuan Zhang, Xiaowei Hu, Lei Zhang, Lijuan Wang, Houdong Hu, Li Dong, Furu Wei, et al. Oscar: Object-semantics aligned pre-training for vision-language tasks. In ECCV, 2020. our card
  43. Yi Li, Zhanghui Kuang, Liyang Liu, Yimin Chen, and Wayne Zhang. Pseudo-mask matters in weakly-supervised semantic segmentation. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  44. Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C Lawrence Zitnick. Microsoft coco: Common objects in context. In ECCV, 2014. our card
  45. Xuejing Liu, Liang Li, Shuhui Wang, Zheng-Jun Zha, Li Su, and Qingming Huang. Knowledge-guided pairwise reconstruction network for weakly supervised referring expression grounding. In ACM MM, 2019. OpenAlex ↗ · Scholar ↗
  46. Yongfei Liu, Bo Wan, Lin Ma, and Xuming He. Relation-aware instance refinement for weakly supervised visual grounding. In CVPR, 2021. OpenAlex ↗ · Scholar ↗
  47. Yongfei Liu, Xiangyi Zhang, Songyang Zhang, and Xuming He. Part-aware prototype network for few-shot semantic segmentation. In ECCV, 2020. OpenAlex ↗ · Scholar ↗
  48. Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, and Baining Guo. Swin transformer: Hierarchical vision transformer using shifted windows. In ICCV, 2021. our card
  49. Ze Liu, Jia Ning, Yue Cao, Yixuan Wei, Zheng Zhang, Stephen Lin, and Han Hu. Video swin transformer. arXiv preprint arXiv:2106.13230, 2021. OpenAlex ↗ · Scholar ↗
  50. Francesco Locatello, Dirk Weissenborn, Thomas Unterthiner, Aravindh Mahendran, Georg Heigold, Jakob Uszkoreit, Alexey Dosovitskiy, and Thomas Kipf. Object-centric learning with slot attention. In NeurIPS, 2020. our card
  51. Jonathan Long, Evan Shelhamer, and Trevor Darrell. Fully convolutional networks for semantic segmentation. In CVPR, 2015. our card
  52. Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. In ICLR, 2016. our card
  53. Jiasen Lu, Dhruv Batra, Devi Parikh, and Stefan Lee. Vilbert: Pretraining task-agnostic visiolinguistic representations for vision-and-language tasks. In NeurIPS, 2019. our card
  54. Zhihe Lu, Sen He, Xiatian Zhu, Li Zhang, Yi-Zhe Song, and Tao Xiang. Simpler is better: Few-shot semantic segmentation with classifier weight transformer. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  55. Chris J Maddison, Andriy Mnih, and Yee Whye Teh. The concrete distribution: A continuous relaxation of discrete random variables. In ICLR, 2017. our card
  56. Jitendra Malik. Visual grouping and object recognition. In ICIAP, 2001. OpenAlex ↗ · Scholar ↗
  57. Jitendra Malik, Pablo Arbeláez, João Carreira, Katerina Fragkiadaki, Ross Girshick, Georgia Gkioxari, Saurabh Gupta, Bharath Hariharan, Abhishek Kar, and Shubham Tulsiani. The three r’s of computer vision: Recognition, reconstruction and reorganization. Pattern Recognition Letters, 72:4–14, 2016. OpenAlex ↗ · Scholar ↗
  58. Roozbeh Mottaghi, Xianjie Chen, Xiaobai Liu, Nam-Gyu Cho, Seong-Whan Lee, Sanja Fidler, Raquel Urtasun, and Alan Yuille. The role of context for object detection and semantic segmentation in the wild. In CVPR, 2014. OpenAlex ↗ · Scholar ↗
  59. Khoi Nguyen and Sinisa Todorovic. Feature weighting and boosting for few-shot segmentation. In ICCV, 2019. OpenAlex ↗ · Scholar ↗
  60. Aaron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. Neural discrete representation learning. In NeurIPS, 2017. OpenAlex ↗ · Scholar ↗
  61. Bryan A Plummer, Paige Kordas, M Hadi Kiapour, Shuai Zheng, Robinson Piramuthu, and Svetlana Lazebnik. Conditional image-text embedding networks. In ECCV, 2018. OpenAlex ↗ · Scholar ↗
  62. Bryan A Plummer, Liwei Wang, Chris M Cervantes, Juan C Caicedo, Julia Hockenmaier, and Svetlana Lazebnik. Flickr30k entities: Collecting region-to-phrase correspondences for richer image-to-sentence models. In ICCV, 2015. OpenAlex ↗ · Scholar ↗
  63. Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In ICML, 2021. our card
  64. Xiaofeng Ren and Jitendra Malik. Learning a classification model for segmentation. In ICCV, 2003. OpenAlex ↗ · Scholar ↗
  65. Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-net: Convolutional networks for biomedical image segmentation. In MICCAI, 2015. our card
  66. Michael S Ryoo, AJ Piergiovanni, Anurag Arnab, Mostafa Dehghani, and Anelia Angelova. Tokenlearner: What can 8 learned tokens do for images and videos? In NeurIPS, 2021. OpenAlex ↗ · Scholar ↗
  67. Ozan Sener and Silvio Savarese. Active learning for convolutional neural networks: A core-set approach. In ICLR, 2017. OpenAlex ↗ · Scholar ↗
  68. Piyush Sharma, Nan Ding, Sebastian Goodman, and Radu Soricut. Conceptual captions: A cleaned, hypernymed, image alt-text dataset for automatic image captioning. In Proceedings of ACL, 2018. our card
  69. Jianbo Shi and Jitendra Malik. Normalized cuts and image segmentation. IEEE TPAMI, 2000. OpenAlex ↗ · Scholar ↗
  70. Wataru Shimoda and Keiji Yanai. Self-supervised difference detection for weakly-supervised semantic segmentation. In ICCV, 2019. OpenAlex ↗ · Scholar ↗
  71. Gyungin Shin, Weidi Xie, and Samuel Albanie. All you need are a few pixels: semantic segmentation with pixelpick. In ICCVW, 2021. OpenAlex ↗ · Scholar ↗
  72. Samarth Sinha, Sayna Ebrahimi, and Trevor Darrell. Variational adversarial active learning. In ICCV, 2019. OpenAlex ↗ · Scholar ↗
  73. Guolei Sun, Wenguan Wang, Jifeng Dai, and Luc Van Gool. Mining cross-image semantics for weakly supervised semantic segmentation. In ECCV, pages 347–365. Springer, 2020. OpenAlex ↗ · Scholar ↗
  74. Bart Thomee, David A Shamma, Gerald Friedland, Benjamin Elizalde, Karl Ni, Douglas Poland, Damian Borth, and Li-Jia Li. Yfcc100m: The new data in multimedia research. Communications of the ACM, 59(2):64–73, 2016. our card
  75. Zhuotao Tian, Hengshuang Zhao, Michelle Shu, Zhicheng Yang, Ruiyu Li, and Jiaya Jia. Prior guided feature enrichment network for few-shot segmentation. IEEE TPAMI, 2020. OpenAlex ↗ · Scholar ↗
  76. Ilya Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer, Xiaohua Zhai, Thomas Unterthiner, Jessica Yung, Andreas Steiner, Daniel Keysers, Jakob Uszkoreit, et al. Mlp-mixer: An all-mlp architecture for vision. In NeurIPS, 2021. our card
  77. Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. In ICML, 2021. our card
  78. Hugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve, and Hervé Jégou. Going deeper with image transformers. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  79. Zhuowen Tu, Xiangrong Chen, Alan L Yuille, and Song-Chun Zhu. Image parsing: Unifying segmentation, detection, and recognition. IJCV, 2005. OpenAlex ↗ · Scholar ↗
  80. Jasper RR Uijlings, Koen EA Van De Sande, Theo Gevers, and Arnold WM Smeulders. Selective search for object recognition. IJCV, 2013. OpenAlex ↗ · Scholar ↗
  81. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In NeurIPS, 2017. our card
  82. Haochen Wang, Xudong Zhang, Yutao Hu, Yandan Yang, Xianbin Cao, and Xiantong Zhen. Few-shot semantic segmentation with democratic attention networks. In ECCV, 2020. OpenAlex ↗ · Scholar ↗
  83. Liwei Wang, Jing Huang, Yin Li, Kun Xu, Zhengyuan Yang, and Dong Yu. Improving weakly supervised visual grounding by contrastive knowledge distillation. In CVPR, 2021. OpenAlex ↗ · Scholar ↗
  84. Wenhai Wang, Enze Xie, Xiang Li, Deng-Ping Fan, Kaitao Song, Ding Liang, Tong Lu, Ping Luo, and Ling Shao. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  85. Yude Wang, Jie Zhang, Meina Kan, Shiguang Shan, and Xilin Chen. Self-supervised equivariant attention mechanism for weakly supervised semantic segmentation. In CVPR, 2020. OpenAlex ↗ · Scholar ↗
  86. Haiping Wu, Bin Xiao, Noel Codella, Mengchen Liu, Xiyang Dai, Lu Yuan, and Lei Zhang. Cvt: Introducing convolutions to vision transformers. arXiv preprint arXiv:2103.15808, 2021. our card
  87. Enze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar, Jose M Alvarez, and Ping Luo. Segformer: Simple and efficient design for semantic segmentation with transformers. In NeurIPS, 2021. OpenAlex ↗ · Scholar ↗
  88. Shuai Xie, Zunlei Feng, Ying Chen, Songtao Sun, Chao Ma, and Mingli Song. Deal: Difficulty-aware active learning for semantic segmentation. In ACCV, 2020. OpenAlex ↗ · Scholar ↗
  89. Mengde Xu, Zheng Zhang, Fangyun Wei, Yutong Lin, Yue Cao, Han Hu, and Xiang Bai. A simple baseline for zero-shot semantic segmentation with pre-trained vision-language model. arXiv preprint arXiv:2112.14757, 2021. OpenAlex ↗ · Scholar ↗
  90. Lihe Yang, Wei Zhuo, Lei Qi, Yinghuan Shi, and Yang Gao. Mining latent classes for few-shot segmentation. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  91. Raymond A Yeh, Minh N Do, and Alexander G Schwing. Unsupervised textual grounding: Linking words to image concepts. In CVPR, 2018. OpenAlex ↗ · Scholar ↗
  92. Li Yuan, Yunpeng Chen, Tao Wang, Weihao Yu, Yujun Shi, Zihang Jiang, Francis EH Tay, Jiashi Feng, and Shuicheng Yan. Tokens-to-token vit: Training vision transformers from scratch on imagenet. In ICCV, 2021. our card
  93. Nir Zabari and Yedid Hoshen. Semantic segmentation in-the-wild without seeing any segmentation examples. arXiv preprint arXiv:2112.03185, 2021. OpenAlex ↗ · Scholar ↗
  94. Rowan Zellers, Yonatan Bisk, Ali Farhadi, and Yejin Choi. From recognition to cognition: Visual commonsense reasoning. In CVPR, 2019. our card
  95. Pengchuan Zhang, Xiyang Dai, Jianwei Yang, Bin Xiao, Lu Yuan, Lei Zhang, and Jianfeng Gao. Multi-scale vision longformer: A new vision transformer for high-resolution image encoding. In ICCV, 2021. OpenAlex ↗ · Scholar ↗
  96. Yuhao Zhang, Hang Jiang, Yasuhide Miura, Christopher D Manning, and Curtis P Langlotz. Contrastive learning of medical visual representations from paired images and text. arXiv preprint arXiv:2010.00747, 2020. OpenAlex ↗ · Scholar ↗
  97. Hengshuang Zhao, Jianping Shi, Xiaojuan Qi, Xiaogang Wang, and Jiaya Jia. Pyramid scene parsing network. In CVPR, 2017. OpenAlex ↗ · Scholar ↗
  98. Sixiao Zheng, Jiachen Lu, Hengshuang Zhao, Xiatian Zhu, Zekun Luo, Yabiao Wang, Yanwei Fu, Jianfeng Feng, Tao Xiang, Philip HS Torr, et al. Rethinking semantic segmentation from a sequence-to-sequence perspective with transformers. In CVPR, 2021. OpenAlex ↗ · Scholar ↗
  99. Chong Zhou, Chen Change Loy, and Bo Dai. Denseclip: Extract free dense labels from clip. arXiv preprint arXiv:2112.01071, 2021. OpenAlex ↗ · Scholar ↗
  100. Luowei Zhou, Hamid Palangi, Lei Zhang, Houdong Hu, Jason Corso, and Jianfeng Gao. Unified vision-language pre-training for image captioning and vqa. In AAAI, 2020. OpenAlex ↗ · Scholar ↗
  101. Song-Chun Zhu and David Mumford. A stochastic grammar of images. Now Publishers Inc, 2007. OpenAlex ↗ · Scholar ↗
  102. C Lawrence Zitnick and Piotr Dollár. Edge boxes: Locating object proposals from edges. In ECCV, 2014. OpenAlex ↗ · Scholar ↗