---
title: "UPSNet: A Unified Panoptic Segmentation Network (2019)"
description: "Understand how UPSNet combines semantic and instance segmentation, resolves conflicting predictions, and evaluates panoptic scene…"
canonical: "https://research.elamur.ai/free/en/papers/xiong-2019-upsnet-unified-panoptic-segmentation-network/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/xiong-2019-upsnet-unified-panoptic-segmentation-network/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/) / UPSNet: A Unified Panoptic Segmentation Network

# UPSNet: A Unified Panoptic Segmentation Network

Paper · 2019 · Yuwen Xiong, Renjie Liao, Hengshuang Zhao et al.

**Authors:** [Yuwen Xiong](https://md.research.elamur.ai/free/en/authors/yuwen-xiong/), [Renjie Liao](https://md.research.elamur.ai/free/en/authors/renjie-liao/), [Hengshuang Zhao](https://md.research.elamur.ai/free/en/authors/hengshuang-zhao/), [Rui Hu](https://md.research.elamur.ai/free/en/authors/rui-hu/), [Min Bai](https://md.research.elamur.ai/free/en/authors/min-bai/), Ersin Yumer and [Raquel Urtasun](https://md.research.elamur.ai/free/en/authors/raquel-urtasun/) · **Year:** 2019 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**402** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2965182628) · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1901.03784)
- [DOI 10.1109/cvpr.2019.00902](https://doi.org/10.1109/cvpr.2019.00902)
- [arXiv 1901.03784](https://arxiv.org/abs/1901.03784)
- [OpenAlex](https://openalex.org/W2965182628)

Citations: OpenAlex, 2026-10-14.

## Deep dive: UPSNet: A Unified Panoptic Segmentation Network

Understand how UPSNet combines semantic and instance segmentation, resolves conflicting predictions, and evaluates panoptic scene understanding. · about 33 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Understanding an image requires more than identifying the objects it contains. A system must also describe the spaces around them and decide where every object ends. Road and sky need category labels; pedestrians and bicycles need both category labels and separate identities. Panoptic segmentation brings these requirements together: every pixel receives a single interpretation, including an object identity whenever it belongs to a countable object. UPSNet addresses the difficulty of producing that coherent interpretation when the components responsible for categories and individual objects disagree.

The paper’s central contribution is an architecture that makes the final decision part of the trainable system. A shared image-processing backbone supplies features to a semantic head, which predicts categories across the image, and an instance head, which predicts individual objects. A further panoptic head combines their scores into a competition between background categories and particular object instances. Its candidate set changes with the number of objects in the image. Although this head introduces no trainable parameters of its own, its training objective can send learning signals back into the components that produced the scores.

UPSNet also gives the final decision an unknown option. This matters because a mistaken category assignment can harm evaluation in more than one way: the correct segment is missed, while an incorrect segment is introduced. The unknown channel is constructed from a disagreement between semantic evidence for an object and the evidence represented inside available instance boxes. It therefore has a specific purpose: to handle places where the semantic branch suggests an object but the instance predictions do not adequately account for it. Training includes deliberately withheld instance masks so that the system encounters this situation.

The authors evaluate UPSNet on COCO, Cityscapes, and an internal driving dataset. They report stronger panoptic results than their implementation of a system combining separate semantic and instance networks, together with faster inference. A concrete size comparison gives UPSNet **46.1** million parameters, against **91.6** million for their separate-network baseline. Controlled comparisons support training the panoptic head, balancing the losses, supervising semantic predictions within object regions, and allowing unknown predictions. Experiments that replace predictions with ground truth identify substantial remaining weaknesses in semantic segmentation, instance classification, and masks. The contribution is therefore a practical way to coordinate existing segmentation capabilities, with evidence that their integration affects both accuracy and efficiency.

### Ideas worth borrowing

Shared features, specialized decisions. UPSNet uses a common visual representation while retaining different mechanisms for category prediction and object identity. These tasks overlap, but their outputs have different structures: category prediction covers the image densely, whereas instance prediction produces a variable collection of objects. Sharing the expensive feature extractor lets the architecture exploit their common input without forcing either task into an unsuitable output format. The reusable principle is to share representations where evidence overlaps and preserve specialization where the decisions differ.

Combine evidence before committing. The panoptic head operates on logits, the scores produced before a probability distribution or final label is selected. For each instance, it adds semantic evidence for that instance’s category to evidence from its mask. This gives the final decision access to information that would disappear if the branches first reduced everything to hard labels. The same design principle can help any system whose components contribute compatible evidence to a shared decision. Its success still depends on the meaning and scale of those scores; arbitrary quantities do not become comparable merely because they can be added.

Let the candidate set follow the input. An image can contain a different collection of objects from the next image. UPSNet handles this by creating an output channel for every retained instance, alongside a fixed collection of stuff categories. The final operation remains pixel classification even though its alternatives vary. This separates the definition of the decision from the size of its candidate set. Similar organization could be useful wherever a system chooses among input-specific candidates, provided that the candidates can be constructed consistently during training and use.

Make coordination trainable without adding a large module. The panoptic head has no learned parameters, yet applying a loss to its output improves the reported panoptic result. Its value comes from how it connects existing computations and where it places supervision. This is a useful reminder that a new training signal can matter without a new stack of learned layers. In other systems, a fixed, differentiable composition of existing scores may expose an important joint objective that separate component losses overlook.

Give abstention a concrete meaning. UPSNet’s unknown category is tied to a particular mismatch: semantic evidence for things that is not adequately represented by the current instance boxes. The training procedure creates examples of missing instances by withholding selected ground-truth masks. This makes abstention an operational part of the architecture instead of a vague expression of uncertainty. Elsewhere, an unknown outcome is most useful when its triggering evidence, training conditions, and downstream treatment are explicit.

Use ground truth to locate the bottleneck. The oracle experiments replace selected predictions with correct answers while leaving the rest of the system in place. This reveals whether better boxes, class assignments, or semantic labels would help the complete task. Such experiments do not predict the gain obtainable from a practical replacement, but they expose dependencies that component metrics can hide. They are especially valuable in systems where improving an upstream output changes several later decisions.

### How Mova uses it

For Mova, the small transparent language system written in Rust, UPSNet offers architectural ideas rather than a directly applicable image-processing component. The paper establishes results about visual segmentation. It does not evaluate language processing, and it provides no evidence that its convolutional architecture or numerical settings would improve Mova. There is also no basis for saying that Mova already contains an implementation derived from UPSNet. The useful connection is a possible design pattern: combine specialized sources of evidence through a small, inspectable decision mechanism.

A language system frequently needs to distinguish the type of something from the identity of a particular occurrence. That distinction is loosely analogous to the difference between identifying an object category and distinguishing individual objects. In Mova, a future component could maintain category evidence separately from candidate-specific evidence, then expose how both contribute to a final choice. The analogy does not make linguistic categories equivalent to visual stuff and things. It suggests a way to organize decisions whose evidence has different scopes.

The most concrete borrowing would be an explicit candidate record. Each candidate could retain its proposed interpretation, the region of input to which it applies, and the contributions supplied by different components. A small Rust composition layer could then compare candidates while preserving those contributions for inspection. UPSNet shows why retaining intermediate evidence can be useful: its final head receives category scores and mask scores rather than only the branches’ winning labels. For Mova, the corresponding engineering question would be which intermediate evidence remains meaningful and comparable.

That comparability would need to be established rather than assumed. UPSNet’s scores are produced within a jointly trained architecture, and the paper studies how the associated losses should be weighted. Mova might combine components with very different origins or meanings. A rule score, a lexical preference, and a probability estimate would not automatically support UPSNet’s addition operation. The transferable idea is to define a transparent composition rule and evaluate it against simpler alternatives, while keeping the interpretation of every contribution visible.

The unknown mechanism suggests another possible experiment. A transparent system could distinguish between finding evidence for an interpretation and having a supported candidate capable of expressing it. If evidence exists but the candidate collection is inadequate, a recorded unresolved outcome may be more informative than forcing a choice. UPSNet makes that distinction concrete through semantic evidence outside the available instance representations. A linguistic implementation would need its own definition of missing coverage and its own tests; the visual criterion cannot simply be copied.

The oracle analysis is particularly compatible with an inspectable system. Mova could evaluate a pipeline after replacing candidate generation, category assignment, or another intermediate decision with manually verified output. If the final result barely changes, that component may not be the immediate bottleneck. If it changes substantially, the experiment identifies a productive direction for investigation. This remains a proposed use of the paper’s diagnostic method. Neither a Mova implementation nor a language-task improvement follows from the segmentation experiments themselves.

### The problem and its context

#### Describing categories and distinguishing objects

Semantic segmentation assigns a category to each pixel. In the paper’s account, it is particularly suited to regions such as road, grass, and sky, whose extent matters more than a count of separate objects. Instance segmentation adds another requirement: pixels belonging to different objects must remain distinguishable even when those objects share a category. Recognizing that several pixels depict pedestrians does not establish which pedestrian each pixel belongs to.

Panoptic segmentation requires both kinds of description in a single output. The paper uses “things” for countable object categories and “stuff” for categories that do not require separate instance identities. A stuff pixel needs a category. A thing pixel needs a category and an instance identity. The requirement that every pixel receive one answer turns the task into more than the independent production of semantic and instance segmentations.

Consider an image containing a road and several pedestrians. A semantic branch may identify pedestrian pixels while merging nearby people into a single category region. An instance branch may separate the people but leave the road outside its object predictions. Combining those outputs seems straightforward until their boundaries or categories disagree. A pixel could be claimed by an object mask while the semantic branch calls it road, or could receive strong pedestrian evidence without belonging to any accepted object mask.

The authors treat these conflicts as central to the task. A collection of independently plausible predictions is insufficient if it cannot be converted into a coherent assignment. The final combination procedure determines which evidence survives, which pixels become unresolved, and whether overlapping objects remain visible. UPSNet’s contribution is aimed directly at that interface.

#### Why the earlier architectures differed

The paper describes semantic and instance segmentation as closely related tasks that developed different computational traditions. Semantic segmentation commonly used fully convolutional processing, producing dense predictions across an image. Instance segmentation frequently relied on object proposals, following the detection approach associated with [Faster R-CNN](https://md.research.elamur.ai/free/en/papers/ren-2015-faster-r-cnn-towards-real/). The former emphasizes broad spatial coverage; the latter constructs candidates for individual objects.

For semantic segmentation, the related-work discussion emphasizes context. A local patch can be ambiguous without information about its surroundings, so earlier approaches aggregated features across scales or introduced structured relationships among predictions. The authors also discuss dilated convolutions, which expand the region contributing to a prediction without requiring an accompanying increase in free parameters. PSPNet is a prominent reference in their comparison because it supplies a strong semantic branch for an established panoptic baseline.

For instance segmentation, the paper traces a line from [R-CNN](https://md.research.elamur.ai/free/en/papers/girshick-2013-rich-feature-hierarchies-accurate-object/) through proposal-based methods to Mask R-CNN. Some earlier approaches generated candidate segments before classifying them and selecting among them. The authors describe that ordering as a source of computational expense. Mask R-CNN instead supports recognition and mask prediction through parallel outputs, making it a suitable foundation for UPSNet’s instance branch.

These histories explain why simply declaring a unified task does not immediately produce a unified architecture. Category maps and lists of object masks have different shapes and different ways of expressing uncertainty. Their overlap can provide useful complementary evidence, but it can also create incompatible claims about the same pixel. An integration mechanism must translate those outputs into a common decision space.

#### What panoptic systems already did

The paper credits the introduction of panoptic segmentation with formalizing a task that combines stuff categories and individual thing instances. It also notes that earlier work pursued related goals under names such as image parsing and holistic scene understanding. UPSNet therefore does not claim that describing objects and background together was an completely new ambition. Its contribution concerns the architecture and training of a particular unified solution.

The baseline associated with the panoptic task runs PSPNet for semantic segmentation and Mask R-CNN for instances. A collection of rules then assigns each pixel to a stuff category, an object instance, or a void outcome. This provides a clear practical decomposition, but its final arbitration is separate from the learned predictions. Decisions made while pasting or rejecting masks can therefore dominate the final result.

The authors also discuss a joint network from de Geus and colleagues. It shares feature extraction between semantic and instance processing, then uses rules to merge the results. That distinction matters for understanding UPSNet’s novelty: sharing a backbone was already present in the surrounding work. The stronger claim concerns a panoptic output whose loss can influence the shared representation through the combination itself.

Other cited approaches address different parts of the integration problem. A weakly and semisupervised method reduces annotation requirements by using boxes for things and image-level tags for stuff. AUNet introduces attention based on proposals and masks to improve background segmentation, while retaining rule-based production of the final panoptic answer. TASCNet adds a consistency objective for whether pixels belong to things or stuff. These are neighboring approaches described by the authors, each changing a different source of information or constraint.

#### What UPSNet changes

UPSNet keeps recognizable components for semantic and instance segmentation, but makes their evidence meet inside a panoptic classification problem. Background categories occupy fixed output channels. Each available object instance contributes another channel. A pixel then chooses among those alternatives, with an additional unknown option when enabled.

This design has a computational and a learning consequence. Computationally, the branches share the expensive image representation and the final head is lightweight. During learning, the panoptic loss can favor representations that work well together, even if the final composition has no parameters of its own. The question becomes whether supervising the complete decision improves the task beyond sharing features and merging outputs afterward.

That is the scientific distinction the experiments need to support. Strong semantic segmentation alone would not establish the value of panoptic training. Faster shared computation alone would not establish better conflict resolution. The paper consequently compares complete systems, investigates individual design choices, and uses ground-truth substitutions to examine where the remaining errors arise.

### The method, step by step

#### Begin with a shared image representation

UPSNet starts with a residual network, following [ResNet](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/), and builds a feature pyramid above it using [FPN](https://md.research.elamur.ai/free/en/papers/lin-2016-feature-pyramid-networks-object-detection/). The backbone turns the image into feature maps that can support both dense category prediction and object-specific processing.

The semantic branch reads several pyramid levels. The instance branch follows Mask R-CNN’s organization. Their outputs then feed the panoptic head, which constructs alternatives suitable for a common pixel-level decision. The broad sequence is:

From an image to a panoptic assignment The steps in order.

The separation between the branches remains meaningful. The semantic head asks what category a location belongs to, without separating individual objects. The instance head asks which particular objects are present and what their shapes are. The panoptic head uses both answers to decide how each pixel should appear in the unified output.

#### Predict object instances

The instance head provides bounding boxes, category predictions, and masks. A bounding box identifies a rectangular region associated with an object candidate. The mask supplies finer spatial evidence within that region. Its purpose is to distinguish object pixels from other pixels that happen to fall inside the rectangle.

For an instance indexed by i, the paper denotes the predicted mask logits by Yᵢ. Each such mask has spatial dimensions **28 × 28** before being mapped back into the image. The associated box is Bᵢ, and its category identifier is Cᵢ.

Training and inference use these quantities differently. During training, the panoptic construction uses ground-truth boxes and category identifiers. During inference, it uses boxes and categories predicted by the instance branch. This keeps the training target well defined, but means that the final system must also cope with errors in candidate generation and category prediction at test time.

The mask logits are not yet a full-image segmentation. They describe an instance within its box at a standard mask resolution. Before combining them with semantic evidence, UPSNet must resize and position them so that both sources refer to the same image locations.

#### Predict semantic categories at several scales

The semantic head uses the FPN maps P₂, P₃, P₄, and P₅. Each has **256** channels. Their spatial resolutions are respectively **1/4**, **1/8**, **1/16**, and **1/32** of the input image dimensions.

Each map passes independently through the same deformable-convolution subnetwork. The resulting maps are resized to the **1/4** scale, concatenated, and processed with **1 × 1** convolutions. A softmax then produces category predictions. The multi-scale construction lets the head draw on features with different spatial coverage while assembling them into a common output.

The semantic branch predicts both thing and stuff categories. It does not reserve its attention for background. This is important because its predictions for thing categories later contribute to individual instance channels. Its role in UPSNet is therefore broader than supplying whatever remains after object masks have been placed.

The ordinary semantic objective is pixel-level cross-entropy. It penalizes category predictions that disagree with the labeled category at each supervised location. However, a whole-image objective can distribute attention across regions of very different sizes. The paper adds another loss to emphasize the contents of object regions.

For this region-of-interest loss, training uses a ground-truth object box to crop the semantic logits. The crop is resized to **28 × 28**, and cross-entropy is applied within that patch. This adds supervision centered on instances such as pedestrians. It uses the semantic output itself rather than introducing another prediction branch.

#### Put semantic and instance evidence into compatible shapes

The semantic logit tensor is called X. It has a channel for every stuff category and every thing category, with spatial dimensions H and W. The paper separates its category channels as follows:

```
X = [X_stuff, X_thing]
```

X is the complete semantic score tensor. X_stuff contains scores for stuff categories, and X_thing contains scores for thing categories. The brackets indicate their grouping along the channel dimension. H and W denote the spatial height and width at which these scores are represented.

The number of stuff categories, N_stuff, stays fixed across images. The number of available instances, N_inst, varies. During training, the instance collection is determined from ground truth. During inference, it is determined by the predicted instances that survive pruning.

The initial panoptic tensor Z therefore has the following shape:

```
shape(Z) = (N_stuff + N_inst) × H × W
```

Z holds the alternatives for the unified pixel decision before adding the unknown channel. N_stuff is the fixed stuff-category count, N_inst is the current image’s instance count, and H and W are its logit-map dimensions. An instance channel represents a particular object candidate, not an entire thing category.

The first part of Z comes directly from X_stuff. A stuff category already provides the kind of alternative the panoptic task needs: any pixel assigned to that channel receives the corresponding stuff label. Thing-category channels require further work because the final output must distinguish different instances sharing a category.

For instance i, UPSNet selects the semantic channel associated with Cᵢ and retains its values inside Bᵢ. This produces X_maskᵢ, a full-size spatial map whose values outside the box are zero. It is semantic evidence restricted to the location of a particular candidate.

The instance mask Yᵢ is separately enlarged through bilinear interpolation and placed inside the same box. Zero padding outside the box produces Y_maskᵢ, with the same spatial dimensions as X_maskᵢ. The two sources can now contribute at corresponding pixels.

#### Build an instance channel by adding evidence

The panoptic channel associated with instance i is:

```
Z_(N_stuff + i) = X_maskᵢ + Y_maskᵢ
```

Z_(N_stuff + i) denotes the channel in Z assigned to instance i. X_maskᵢ is the semantic category evidence selected for that instance and restricted to its box. Y_maskᵢ is the resized instance-mask evidence in the same image coordinates. N_stuff gives the number of preceding stuff channels.

The addition combines category information with object-specific shape information. A mask can indicate which part of a box belongs to an object, while the semantic branch supplies evidence that those pixels depict the relevant category. Both sources affect the channel’s ability to win against competing stuff and instance alternatives.

This also explains why semantic quality can influence thing segmentation. The semantic branch does not merely fill background gaps after the instance branch has finished. Its output participates directly in the scores assigned to object instances. Better semantic evidence can therefore change an object’s final extent or help it compete with another interpretation.

Once all instance channels are constructed, the head applies a softmax across channels. The winning channel determines each pixel’s assignment. A winning stuff channel gives a stuff category; a winning instance channel gives the identity of the corresponding object candidate.

Training labels for example identities must follow the channel construction. The authors assign target identities according to the ordering of the ground-truth boxes used to build Z. This alignment is essential: the channel index denotes a candidate in the current image, so its meaning depends on that image’s instance list.

The panoptic objective is another pixel-level cross-entropy loss. Although the head itself has no learned weights, its output depends on learned semantic and instance scores. The loss can therefore propagate through the head and influence the components that produced those scores.

#### Decide the category attached to an instance

Selecting an instance channel establishes which candidate owns a pixel, but the final segment still needs a category label. The paper considers evidence from the instance classifier and from the semantic categories predicted over the assigned pixels.

The chosen rule first checks for agreement. When the instance and semantic predictions agree, the instance category is retained. In a disagreement, the system examines the most frequent semantic category among the segment’s pixels.

The semantic majority overrides the instance category only under a restricted condition: it must be a stuff category, and its frequency must exceed **0.5**. Otherwise, the instance classifier’s category remains the answer. The authors motivate this asymmetry by the semantic head’s strength on stuff.

This is still a heuristic. UPSNet makes the panoptic score construction trainable, but it does not eliminate every manually specified decision in the inference process. The category-assignment comparison in the ablations tests whether this particular rule helps relative to relying completely on the instance classifier.

#### Understand why an unknown option can help

The unknown mechanism is motivated through panoptic quality, abbreviated PQ. The paper writes the metric as a product:

```
PQ = [Σ_(p,g)∈TP IoU(p,g) / |TP|] × [|TP| / (|TP| + (1/2)|FP| + (1/2)|FN|)]
```

Here, p is a predicted segment and g is a ground-truth segment. TP denotes the matched segment pairs counted as true positives, and IoU(p,g) measures their intersection over union. Vertical bars indicate the number of elements in a set. FP denotes false-positive segments, while FN denotes missed ground-truth segments.

The first bracket is SQ, the average overlap quality among matched segments. The second is RQ, the recognition component that accounts for matches, extra predictions, and misses. The paper calls SQ semantic quality. Keeping the components distinct helps explain why recognizing additional segments can improve PQ even if their average overlap is lower.

The motivating error is a pedestrian labeled as a bicycle. The pedestrian becomes a miss, and the bicycle prediction becomes an extra incorrect segment. An unknown outcome can avoid introducing that competing category prediction, although it does not recover the pedestrian. The benefit is therefore tied to the accounting of errors, not to turning an unresolved region into a correct segment.

UPSNet constructs its unknown score through:

```
Z_unknown = max(X_thing) − max(X_mask)
```

Z_unknown is the spatial score map for the additional unknown channel. X_thing contains the semantic scores for all thing categories. X_mask is formed by concatenating the instance-restricted semantic maps X_maskᵢ. Each maximum is taken over channels at the same pixel.

The comparison asks whether semantic evidence for some thing category exceeds the evidence represented by the available boxed candidates. A strong disparity suggests that the current instance collection may fail to explain an object-like region. The unknown channel then competes with the ordinary stuff and instance channels.

Importantly, this expression does not subtract the resized mask logits Y_maskᵢ. Its comparison is between unrestricted semantic thing evidence and semantic evidence restricted by the available instance representations. That detail explains the spatial behavior described later in the paper, including boundaries aligned with object boxes.

During training, the authors randomly designate **30%** of ground-truth masks as unknown. This supplies examples in which the panoptic decision must cope with missing instance coverage. During evaluation, pixels assigned to unknown are treated as void. That treatment helps explain the mechanism’s metric behavior, but it also means unknown output is an unresolved prediction instead of a complete interpretation.

#### Train the complete network

The implementation uses PyTorch and distributed training through [Horovod](https://md.research.elamur.ai/free/en/papers/sergeev-2018-horovod-fast-easy-distributed-deep/). The authors train with **16** GPUs and place **1** image on each GPU for a mini-batch. They initialize the networks from ImageNet-pretrained weights and make their official implementation available as UPSNet code.

The complete system has **8** loss terms. Semantic supervision contributes the whole-image loss and the object-region loss. Panoptic classification supplies another loss. The region proposal network contributes box classification and regression losses, while the instance head contributes box classification, box regression, and mask losses.

These terms do not automatically exert suitable influence merely because they are added during optimization. The authors emphasize keeping their magnitudes approximately comparable. Their ablation changes loss weights to test this practical balancing strategy.

The learning rate is **0.02**, and weight decay is **0.0001** for every dataset. A warm-up period lasting **1500** iterations raises the learning rate from **0.002** to **0.02**. Dataset-specific training lengths and later reductions are described with the experimental setup.

The region proposal network is trained jointly with the backbone. Backbone batch-normalization layers are not fine-tuned. To manage high-resolution inputs during training, the semantic and panoptic logits use **1/4** resolution. At inference, the corresponding output logits are produced at the input image’s spatial scale.

#### Prune candidates before the final competition

Inference begins with the instance branch’s boxes, masks, category labels, and probabilities. A class-independent non-maximum suppression step uses box IoU threshold **0.5**. Remaining candidates are sorted by category probability, and only those above **0.6** are retained.

The next pruning stage operates class by class. Masks are resized into image coordinates and considered in descending probability order on a class-specific canvas. If the overlap with already placed content, divided by the current mask’s own area, exceeds **0.3**, that mask is discarded.

For a retained mask, the non-overlapping portion is placed onto the canvas. The resulting candidate collection determines N_inst and therefore the instance channels available to the panoptic head. This procedure makes clear that the final classification is only as comprehensive as the candidates it receives.

The architecture thus combines a trainable score composition with explicit candidate filtering. The filtering controls redundancy and computational work, but can also remove objects before they enter the final competition. Better downstream arbitration cannot recover an instance that is absent from the candidate set.

### Experiments and results

#### What the evaluation covers

The authors use [Microsoft COCO](https://md.research.elamur.ai/free/en/papers/lin-2014-microsoft-coco-common-objects-context/) under the COCO **2018** panoptic task setup. It contains **80** thing categories and **53** stuff categories. The train2017 and val2017 subsets supply approximately **118**k training images and **5**k validation images.

Cityscapes provides urban driving imagery. Its **5000** images are divided into **2975** training examples, **500** validation examples, and **1525** test examples. The label inventory includes **8** thing categories and **11** stuff categories.

The internal dataset also consists of images captured from driving scenes. It contains **10,235** training images, **1139** validation images, and **1186** test images. Its categories comprise **10** thing types and **17** stuff types. This adds another evaluation setting, although its internal status limits independent inspection.

The main experimental comparisons use validation data. The authors additionally discuss COCO test-dev results. They report PQ and its SQ and RQ components, mask average precision, semantic mean intersection over union, and inference time. These measurements address different questions: the final panoptic output, object-mask detection quality, category-map quality, and computational cost.

The numerical evidence stated outside the score tables is more limited than the range of reported metrics. Exact overall PQ, AP, and mean-IoU values are not available for the principal system comparisons. The results can therefore be described directionally, while precise numerical comparisons are confined to the quantities explicitly stated, including parameter counts and oracle improvements.

#### Establishing the main baseline

The principal comparison is MR-CNN-PSP, the authors’ implementation of a separate semantic-and-instance system with rule-based merging. Its instance branch is Mask R-CNN with a ResNet-50-FPN backbone. Its semantic branch is PSPNet with a ResNet-50 backbone.

This baseline is useful because it resembles the established panoptic recipe while controlling important architectural choices. It tests whether sharing features and using UPSNet’s integration strategy can compete with independently substantial branches. The multi-scale version is called MR-CNN-PSP-M.

Multi-scale testing averages semantic logits across resized inputs. The authors apply this to PSPNet in the combined system and to the semantic branch in UPSNet. Instance processing remains single-scale in both. Consequently, a multi-scale result here does not mean every component is repeatedly evaluated and combined across scales.

The authors also remove small stuff predictions by treating them as unknown. The area thresholds are **4096** for COCO and **2048** for both driving datasets. They apply the same treatment to the compared methods, making it part of the shared evaluation procedure rather than a benefit reserved for UPSNet.

#### Dataset-specific training and image handling

COCO training lasts **90**K iterations. The learning rate is reduced by a factor of **10** at **60**K and **80**K iterations. Images are resized so that the shorter edge is **800**, while the longer edge is limited to **1333**. The authors do not use multi-scale training for this dataset.

For COCO multi-scale testing, shorter-edge sizes range through the explicitly listed settings from **480** to **1120**, and left-right flips are included. The semantic logits are averaged across the transformed inputs. PSPNet uses sliding windows with crops of **513 × 513**.

Cityscapes training lasts **12**K iterations, with its learning-rate reduction at **9**K. Multi-scale training samples the shorter edge from **[800, 1024]**. Its multi-scale evaluation uses the stated scale set extending from **704** to **1344**. PSPNet’s sliding-window crops have dimensions **713 × 713**.

The internal dataset uses **36**K training iterations, with reductions at **24**K and **32**K. Its shorter edge is sampled from **[800, 1200]** during training. The authors do not apply multi-scale testing to this dataset.

Semantic-loss weights are **0.2** on COCO and **1.0** on each driving dataset. The object-region loss receives one fifth of the corresponding semantic weight. Panoptic-loss weights are **0.1**, **0.5**, and **0.3** for COCO, Cityscapes, and the internal dataset respectively. The remaining losses use **1.0**.

These details matter when interpreting the comparisons. A shared architectural idea is being evaluated under dataset-specific optimization and image-processing choices. The experiments support the complete configurations described by the authors, instead of a claim that the same untuned setting works equally well everywhere.

#### COCO: accuracy and architecture size

On COCO, the authors compare UPSNet with their combined baseline, JSIS-Net, and RN50-MR-CNN. UPSNet uses a ResNet-50-FPN backbone in the main comparison. RN50-MR-CNN uses separate ResNet-50-FPN backbones, making the extent of feature sharing an important difference.

For this dataset, UPSNet also adds global context to the pyramid. The authors apply global average pooling to the final feature map in the residual network’s last stage, reduce the representation to **256** dimensions, and add it into the FPN computation before producing P₅. This is part of the evaluated COCO configuration.

The reported direction of the results favors UPSNet across the listed metrics except SQ. Its PQ remains stronger than MR-CNN-PSP even when the latter uses multi-scale semantic testing. Applying multi-scale testing to both improves both, while UPSNet retains the advantage described by the authors.

The semantic mean-IoU comparison is also favorable to UPSNet’s lightweight semantic head against the separate PSPNet branch. The authors compute this metric over the **133** panoptic categories, rather than the **172** categories associated with the earlier COCO-Stuff setup. Those category inventories should not be treated as interchangeable evaluation conditions.

The SQ exception has an important interpretation. Adding correctly recognized segments with weaker overlap can reduce the mean overlap among matched segments while improving recognition. Thus a lower SQ need not mean that the complete panoptic output is worse according to PQ. The paper uses the relationship between RQ and SQ to explain this pattern.

A direct quantitative comparison concerns parameter count:

COCO systems compared by parameter count UPSNet uses fewer parameters than either compared system.

**The numbers**

| System or setting | million parameters |
| --- | --- |
| RN50-MR-CNN | 71.2 |
| MR-CNN-PSP | 91.6 |
| UPSNet (this paper) | 46.1 |

Parameter count is not an accuracy metric or a substitute for measured latency. It does, however, substantiate the claim that the shared architecture is smaller than the compared separate-network systems. The efficiency argument therefore has an explicit size measurement alongside the reported timing comparisons.

The qualitative examples illustrate a failure of sequential merging. In a scene containing a table and a cake, the combined baseline accepts the table and then loses highly overlapping objects. UPSNet retains objects that the merging process omits. This example helps explain the mechanism behind a possible advantage, although an image example cannot establish its frequency across the dataset.

#### COCO test-dev and stronger backbones

The paper also reports a test-dev comparison using a ResNet-101 backbone. The authors describe this configuration as slightly ahead of AUNet, whose reported backbone is ResNeXt-152. They also place it near the second-ranked leaderboard entry discussed in the paper, while distinguishing their setting from entries using ensembles and additional techniques.

These claims should remain attached to their experimental conditions. The comparison is informative about the reported complete systems, but it does not isolate the effect of the backbone or the panoptic head across every competitor. The leaderboard entries differ in more than a single controlled component.

Without exact test-dev score values in the numerical account, the appropriate conclusion is the authors’ reported relative standing. It would be unwarranted to attach a newly inferred margin to “slightly ahead” or to convert “near” into numerical equivalence.

#### Cityscapes and the internal driving dataset

On Cityscapes, the authors compare against the combined approach, a weakly and semisupervised method, and TASCNet. The semantic head uses **2** deformable-convolution layers. The paper reports that UPSNet beats the combined baseline under single-scale testing, and remains slightly ahead when both use multi-scale semantic evaluation.

Both UPSNet and the authors’ combined baseline perform substantially better than the weakly and semisupervised comparison, particularly on thing PQ. The authors suggest that the latter’s instance-processing approach may be weaker than Mask R-CNN. That is offered as a possible explanation, rather than established through a controlled replacement of its components.

The paper carefully distinguishes its combined implementation from earlier published combined results. The earlier configuration uses a different semantic backbone and additional pretraining data. UPSNet’s stronger Cityscapes variant, called Ours-101-M, uses ResNet-101 and COCO pretraining. The authors report that it exceeds the published combined results under that configuration.

The Cityscapes examples also show unresolved regions where the branches disagree. UPSNet is described as handling these conflicts better, but some unknown regions have horizontal or vertical edges. Their alignment follows the box-restricted evidence used by the unknown channel, exposing a visible consequence of the architecture.

On the internal driving dataset, the compared systems use ResNet-50 backbones, and UPSNet again uses **2** deformable layers in its semantic head. The reported pattern resembles COCO: UPSNet improves the listed metrics other than SQ. This provides another test of the integration strategy in driving scenes, while leaving the exact score margins unspecified here.

#### Inference time and what it measures

Timing uses a single NVIDIA GeForce GTX **1080** Ti together with an Intel Xeon E5-2687W CPU at **3.00GHz**. The authors average **100** runs on the same image and use single-scale testing. For COCO timing, the baseline’s PSPNet processes the original image scale.

The reported advantage grows with image size. The paper gives an example in which the combined system requires about **3 ×** the time of UPSNet. This supports the practical importance of shared feature extraction and lightweight integration for high-resolution inputs.

The timing procedure measures a controlled inference situation. Repeated runs on the same image do not characterize variation across an entire dataset, and single-scale timings should not be assigned to multi-scale accuracy configurations. The evidence supports faster execution under the stated conditions, without establishing every deployment cost or throughput characteristic.

### What the ablations show

#### Training the final decision helps

The first controlled comparison asks whether the panoptic head is useful only as an inference-time combination rule or also as a training objective. The authors train the semantic and instance branches together, then evaluate the panoptic construction without having optimized its loss. They compare this with training that includes the panoptic objective.

Including the panoptic loss improves PQ. This is important because the head has no learned parameters. The result attributes value to supervising the composition: gradients passing through the final decision encourage upstream outputs that work better in the panoptic setting.

The comparison does not imply that every fixed combination benefits from end-to-end supervision. It supports this composition with these branches and losses. It also separates a meaningful architectural effect from the simpler fact that the branches share a backbone.

#### Category arbitration adds value

Another comparison tests the rule used to assign a category to a final instance region. The simpler alternative always accepts the category from the instance classifier. UPSNet’s rule also considers the semantic predictions, allowing a sufficiently dominant stuff category to override a disagreement.

The reported outcome favors the combined rule. This supports using the semantic branch as evidence about the category of a region already selected through the panoptic competition. The contribution is distinct from improving its boundary.

The result should not be broadened into a claim that semantic majority voting is generally superior to instance classification. The successful rule is deliberately asymmetric. It permits a semantic override for stuff under the specified majority condition, while otherwise retaining the instance category.

#### Loss balance is an experimental choice

Before adding the object-region semantic loss, the architecture has **7** loss terms. The balance experiment uses semantic and panoptic weights of **0.2** and **0.1**, with the other terms weighted **1.0**. The alternative gives both semantic and panoptic losses weight **0.1**, retaining **1.0** for the remaining losses.

The balanced setting improves the reported performance. The practical lesson is that objectives serving related tasks can still exert poorly matched influence during joint training. Their numerical scales matter to the shared optimization.

This comparison is narrower than a general study of weighting algorithms. It establishes that the chosen adjustment helps relative to the specified alternative. The paper does not demonstrate an automatic method for selecting weights or prove that approximately similar magnitudes are sufficient for every multitask system.

#### Object-region supervision and unknown prediction

Adding the object-region semantic loss produces a small improvement in stuff PQ in the reported sequence of ablations. This is notable because the extra supervision is concentrated within instance boxes. Its effect can travel through shared features and the coupled panoptic decision rather than remaining confined to a single output category.

The unknown mechanism then produces a stronger improvement when added alongside that region loss. This supports the usefulness of representing missing instance coverage explicitly. It also connects the architectural design to the metric-based motivation: forcing every uncertain region into an ordinary category can create avoidable recognition errors.

These comparisons form a sequence of configurations. They show that the additions help in the tested progression, but do not exhaustively establish every interaction among all components. In particular, the reported gains should not be treated as independent quantities that can be added across arbitrary settings.

#### Ground-truth boxes expose candidate limitations

The oracle experiments replace predicted components with ground truth. Using correct boxes, while retaining predicted category probabilities, improves PQ. The authors interpret this as evidence that region proposals need better recall.

This result locates a limitation before final pixel arbitration. If the right object region is not represented adequately among the candidates, the panoptic head has limited ability to construct the correct instance. Stronger competition among the wrong or incomplete candidates cannot fully solve missing coverage.

An oracle substitution is not a practical detector improvement. It removes errors in a way that a learned replacement may not reproduce. Its value lies in showing that box quality is consequential for the rest of the architecture.

#### Correct categories and semantics reveal larger dependencies

With ground-truth boxes already supplied, replacing instance category assignments with their correct values produces an improvement described as approximately **+7.0** in PQ. The remaining imperfection in thing PQ indicates that masks still introduce errors even when boxes and categories are corrected.

Replacing semantic predictions with ground truth gives the largest reported PQ improvement, **+29.5**. The authors also report an increase of **10** points in thing PQ when semantic segmentation is corrected. That observation directly supports the claim that semantic evidence influences individual-object output in UPSNet.

The comparison with the separate combined method clarifies why this matters. In that approach, instance masks depend on the instance branch rather than semantic segments. UPSNet connects the branches inside the instance score construction, so better semantic predictions can improve thing segmentation as well as stuff labeling.

Even the semantic oracle does not make stuff PQ perfect. The authors attribute residual error to resizing during inference, which can misalign predictions and labels. This is a reminder that an oracle for one representation does not remove every transformation error later in the pipeline.

The supplementary variants further separate training from decoding. UPSNet-C omits the panoptic head during training and uses the established merging rules at test time. UPSNet-CP trains with the panoptic architecture but replaces its final inference procedure with those merging rules. These are useful comparison designs, although exact numerical outcomes for their full score rows are not stated in the narrative account.

### Limitations

#### Limits the authors explicitly identify

The oracle studies show that the architecture remains sensitive to the quality of its inputs. Better boxes improve PQ, correct instance categories yield a further gain, and correct semantic labels produce the largest reported improvement. UPSNet coordinates imperfect predictions; it does not remove the need to improve those predictions themselves.

The authors also identify masks as a remaining weakness. Thing PQ is still imperfect when important upstream information is supplied correctly. This prevents the category and proposal improvements from being interpreted as a complete solution to instance segmentation.

Resizing introduces another stated limitation. Even correct semantic information can lose alignment with labels when passed through the inference transformations. This issue matters because panoptic evaluation depends on precise spatial agreement, not merely on selecting the appropriate categories.

The visible shape of unknown regions exposes a design constraint. Horizontal and vertical boundaries can arise because instance-related semantic evidence is restricted to boxes. The unknown mechanism can therefore reflect the geometry of candidate construction as well as the boundaries of actual objects.

The paper leaves backbone batch normalization fixed. The authors expect that fine-tuning it could improve performance, drawing on practices they cite, but that expectation is not an experimental result established here. Their proposed future directions also include stronger backbones and a more expressive treatment of the panoptic head.

#### Limits of the demonstrated integration

A careful reading should distinguish parameter-free composition from rule-free inference. The panoptic head has no learned parameters, but the complete system still uses box suppression, probability filtering, mask-overlap pruning, category arbitration, and small-stuff removal. These choices shape which alternatives reach the final competition and how its outputs are interpreted.

The training and inference candidate sets are also constructed differently. Training relies on ground-truth boxes and category labels, while inference relies on predictions. The unknown training procedure simulates missing masks, but does not establish that it covers every error pattern produced by the detector at test time.

Unknown output has a specific evaluation advantage, yet it remains an incomplete answer. The paper motivates it through avoiding an additional false-positive consequence of an incorrect assignment. That is a legitimate property of the task metric, but it should not be confused with discovering the correct object or recovering a missing mask.

Likewise, the unknown score is not demonstrated to be a calibrated measure of uncertainty. Its construction detects a particular disagreement in available evidence. The experiments support its utility for panoptic segmentation; they do not show that its values can be interpreted as general probabilities of error.

#### Limits of the comparisons

The results span different datasets, but part of the evidence comes from internal data. Without the same access available for the public datasets, independent investigation of that setting is constrained. Its additional images broaden the authors’ tests without making the internal evaluation equally reproducible.

Backbone strength, pretraining, and test-time processing vary across some published comparisons. The authors identify several of these differences, particularly for Cityscapes and COCO test-dev. Such results compare complete systems under their reported conditions; they do not isolate a single architectural change.

The exact main accuracy values are not available in the numerical narrative, so the size of most reported advantages cannot be reconstructed. The qualitative ranking, explicit parameter counts, and stated oracle gains support useful conclusions, but do not justify invented margins or estimates of statistical reliability.

The paper also does not establish a complete account of operational performance. Its timing experiment uses repeated execution on the same image under single-scale testing. It does not show how latency varies over a whole workload, how other hardware changes the comparison, or how the system behaves under deployment conditions beyond the experiments.

Finally, the evidence concerns visual segmentation. The ideas about shared evidence, variable candidate sets, and explicit unresolved outcomes may inspire other systems, but their usefulness elsewhere remains a hypothesis. Applying them to language processing or another structured task requires defining suitable representations and conducting new evaluations.

### What came after

No later citing studies are available in the accompanying record, so a specific line of subsequent work cannot be established. AUNet, TASCNet, and the other related systems discussed by the authors belong to the paper’s comparison context. Their inclusion does not demonstrate that they adopted UPSNet’s ideas.

The paper itself points toward stronger feature extractors and a more capable panoptic composition. Its experiments also leave clear questions about candidate recall, category errors, semantic quality, and the geometry of unknown regions. These are directions supported by the authors’ analysis, rather than claims about what later researchers achieved.

UPSNet’s enduring contribution within the evidence examined here is a precise architectural proposition: specialized predictions can meet in a lightweight shared decision, and supervising that decision can improve the representations beneath it. The ablations support that proposition while showing how much the final answer still depends on the quality and coverage of its component evidence.

## Cite

Cite as Yuwen Xiong, Renjie Liao, Hengshuang Zhao, Rui Hu, Min Bai, Ersin Yumer and Raquel Urtasun. 2019. UPSNet: A Unified Panoptic Segmentation Network. 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/cvpr.2019.00902](https://doi.org/10.1109/cvpr.2019.00902) · [arXiv 1901.03784](https://arxiv.org/abs/1901.03784)

```bibtex
@inproceedings{xiong2019upsnet,
  title = {{UPSNet: A Unified Panoptic Segmentation Network}},
  author = {Yuwen Xiong, Renjie Liao, Hengshuang Zhao, Rui Hu, Min Bai, Ersin Yumer and Raquel Urtasun},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2019},
  doi = {10.1109/cvpr.2019.00902},
  eprint = {1901.03784},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2019.00902}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
