OCNet: Object Context Network for Scene Parsing
Paper · 2018 · Yuhui Yuan, Lang Huang, Jianyuan Guo et al.
Summary
Semantic segmentation assigns a category to every pixel in an image. A pixel on a car should receive the car label; a pixel on the road should receive the road label. Local appearance alone can make that decision difficult. Different categories may share colors or textures, while distant parts of the same category can look quite different. OCNet addresses this problem by changing how a segmentation network gathers contextual evidence. Rather than choosing context mainly through spatial neighborhoods or regularly sampled positions, it learns to give greater weight to pixels that appear to share the target pixel’s category.
The paper calls this principle object context. Its ideal definition is straightforward: the context for a pixel consists of the other pixels carrying the same semantic label. Despite the name, this is a category relationship, rather than a requirement that the pixels belong to the same individual object. Pixels on separate cars can therefore contribute to one another’s context. At prediction time, the correct categories are unavailable, so the network cannot construct this ideal set directly. It estimates a softer relationship from learned visual features, then uses those relationships to combine information across the image.
The authors first implement this aggregation with ordinary self-attention, which compares every feature-map position with every other position. That provides broad access to context but makes the relationship matrix expensive as spatial resolution grows. Their principal efficiency contribution is interlaced sparse self-attention, or ISA. It replaces direct attention across the complete feature map with a global grouping stage followed by a local grouping stage. Each stage computes attention within smaller groups. Together, the stages allow information from every input position to reach every output position, including through intermediate positions.
OCNet combines this mechanism with segmentation backbones and investigates extensions using spatial pyramids. Across the segmentation experiments, the paper reports competitive results, including an improvement from 81.6% to 82.5% mIoU on Cityscapes test when ASP-OC is added to HRNetV2-W48. It also evaluates human parsing and transfers the mechanism to detection and instance segmentation. The evidence supports a practical conclusion: learned semantic relationships can improve context aggregation, and carefully arranged sparse attention can retain much of dense attention’s benefit at lower cost. It does not establish that the learned relationships recover exact object membership, or that the resulting context eliminates dependence on misleading backgrounds.
Interesting ideas
Semantic membership before spatial proximity. OCNet begins by asking which observations should support a decision, rather than accepting a geometric neighborhood as the answer. For segmentation, the proposed support set contains pixels sharing a category. Spatial distance remains relevant to the implementation, but it does not define the desired semantic relationship. This is a useful research pattern whenever nearby observations can be irrelevant and distant observations can be informative. A reusable design starts with the relationship the task actually needs, then builds a tractable approximation to that relationship.
Soft relationships for unavailable structure. The ideal object-context matrix would require knowing the answer before making the prediction. OCNet avoids that circularity by estimating continuous relationship strengths from features. A useful approximation can still favor relevant evidence without making a complete, correct structural decision first. This principle applies to systems that need to reason over uncertain groups, correspondences, or memberships. The important distinction is between the desired structure and its operational estimate: the estimate should be evaluated for usefulness without being mistaken for ground truth.
Global access through complementary sparse groups. ISA shows how a restricted operation can become broadly connected when followed by a differently restricted operation. The global groups join spatially separated positions; the local groups then mix information among nearby positions that received different global summaries. The value lies in their composition. This suggests a general way to design efficient communication: inspect the paths created across stages, instead of judging each sparse stage in isolation. Such a design still needs empirical checks because reaching every input does not guarantee the same expressive behavior as assigning every pair an independent weight.
Evaluate the product without constructing it. The sparse relation formulation can be written as a product that yields a dense matrix. Building that product would recover the memory problem the method seeks to avoid. OCNet instead applies the factors successively to the feature representation. This is a broadly reusable implementation lesson for numerical systems: an algebraic expression can describe a large operator without requiring that operator to be materialized. The useful object is often the operator’s action on data, rather than its complete matrix representation.
Keep local evidence beside aggregated context. Base-OC concatenates the context representation with the representation that entered the context module. The classifier therefore receives both the original visual evidence and the information collected elsewhere. This is a sensible pattern when aggregation may introduce noise or blur distinctions. It gives the following layers access to the evidence that produced the query as well as the evidence retrieved for it. In other applications, the same design can preserve a token, region, or record representation alongside a relational summary.
Treat combinations as experiments. The paper proposes both Pyramid-OC and ASP-OC, but their outcomes differ. ASP-OC improves the evaluated configurations, whereas Pyramid-OC slightly reduces performance relative to Base-OC. The reusable lesson is methodological: a mechanism that works on its own does not necessarily improve when wrapped in another successful mechanism. Components may overlap, restrict useful communication, or create a different optimization problem. Controlled comparisons should determine which combinations survive into the final system.
Measure usefulness and cost together. OCNet compares segmentation accuracy with memory consumption, arithmetic cost, and inference time. These measurements answer different questions. A smaller relation matrix can reduce memory without producing a proportional runtime improvement, and an efficient operator still needs to preserve task performance. This is especially relevant to efficient systems and compression, where an attractive theoretical expression is only part of the engineering case. The paper’s strongest efficiency argument combines a connectivity design, a complexity analysis, and measurements under specified hardware conditions.
Deep dive: OCNet: Object Context Network for Scene Parsing
How OCNet uses object context and interlaced sparse attention to improve semantic segmentation while reducing attention costs. · about 36 minutes to read
How Mova uses it
For Mova, a small transparent language system implemented in Rust, OCNet offers an architectural idea rather than evidence of an existing component. The paper studies visual recognition, and it does not describe Mova or a language implementation of ISA. No implemented connection is established here. The useful question is therefore which parts of the design could be translated into a language setting while keeping their status as proposals clear.
The closest conceptual transfer concerns selective context. In an image, OCNet tries to distinguish pixels supporting the same category from pixels that happen to occupy nearby space. In language, an analogous design could distinguish expressions that support the same entity, interpretation, or semantic role from expressions that merely occur close together. That would require a new definition of relevance. Image-category equality cannot simply be renamed and reused as linguistic equivalence, because the relationships needed for language understanding differ.
One candidate would be context organized around coreference resolution. A language system could preserve the local representation of an expression while also gathering evidence from expressions believed to refer to the same entity. The borrowing would be OCNet’s separation between an ideal membership relation and a softer estimate of that relation. It would not be a result demonstrated by the segmentation experiments. An implementation would need its own evidence that the proposed grouping helps, particularly when references are ambiguous or incorrectly linked.
Another candidate concerns the cost of communication. If a Mova component needed interactions among many positions, ISA suggests examining whether complementary sparse passes could provide the required information paths. A Rust implementation could express those passes through explicit index groupings and successive transformations. The relevant lesson is to keep the factors operational: applying a sparse operator in stages can be useful even when the equivalent complete relation would be too large to store.
Transparency would require more than exposing the group assignments. A system should distinguish which positions can communicate, which relationships receive high weights, and how those weights affect a particular decision. OCNet’s visualizations make a related distinction possible: a position may be reachable through the sparse architecture without receiving much influence in a learned relation map. For Mova, retaining that distinction would help explain the difference between an allowed communication route and evidence that actually contributed.
The Base-OC pattern also suggests preserving local linguistic evidence alongside contextual evidence. A proposed Mova component could retain an expression’s own representation while adding information gathered from related expressions. This would allow subsequent processing to inspect both sources. It would still require a concrete linguistic objective and evaluation; the paper provides no basis for claiming an improvement in parsing, reference resolution, or text understanding.
The most defensible use is thus a research direction with explicit boundaries. Define the relevant linguistic relationship, choose an inspectable approximation, establish the communication paths, and test whether the additional context helps. OCNet supplies an example of how those design questions fit together. It does not establish that its visual grouping rule is suitable for language, or that sparse contextual aggregation belongs in every part of Mova.
The problem and its context
Why labeling a pixel requires context
Semantic segmentation is demanding because its output is spatially detailed. A system must make a category decision at each location while maintaining coherent regions and useful boundaries. An image representation that captures broad semantic content may lose fine spatial information. A representation that preserves local detail may still lack enough evidence to identify an ambiguous patch.
The paper organizes earlier progress around these connected concerns. One line of work improves spatial resolution, using mechanisms such as dilated convolutions, decoder architectures, and high-resolution networks. Another line enlarges the contextual evidence available to each position. OCNet primarily develops the latter line, although its experiments use backbones that also address resolution.
The authors describe a conventional ResNet-101 feature map as having an output stride of 32. Output stride expresses the spatial reduction between the input image and the feature map. Such a reduction makes high-level processing more manageable, but it removes spatial detail that matters for dense prediction. Following the settings used by PSPNet, the paper modifies the later ResNet-101 stages with dilation so that the resulting stride is 8. It also studies HRNet with an output stride of 4.
These choices matter to the context problem. A high-resolution feature map contains more positions, and a context mechanism must process them without making memory or computation prohibitive. Improving resolution can therefore increase the pressure on an attention mechanism whose pairwise comparisons grow quadratically.
How earlier context mechanisms choose evidence
The authors describe several ways earlier systems collect contextual information. ParseNet uses evidence across the image. PSPNet’s pyramid pooling module, abbreviated PPM, divides the feature map into regions at different scales and pools information within those regions. DeepLabv3’s atrous spatial pyramid pooling, abbreviated ASPP, samples through dilated convolutions using different spatial intervals.
PPM and ASPP make different compromises, but both define their evidence geometrically. PPM groups positions through rectangular partitions. ASPP chooses positions according to predetermined dilation patterns. These operations can capture useful surroundings and larger scene structure. They do not explicitly ask whether the selected pixels belong to the category being predicted.
That distinction is central to the paper. A rectangular region around a car can include road, building, vegetation, and other cars. Some of this information can help identify the target. Some may be incidental. Regularly sampled positions can likewise land on either relevant object regions or unrelated surroundings. The authors argue that gathering these sources together gives insufficient emphasis to the object information most directly tied to the pixel’s label.
OCNet proposes changing the criterion for relevance. The desired context follows semantic category membership, even when the supporting pixels are spatially separated or have an irregular outline. Geometry still affects how computation is organized, but it no longer supplies the conceptual definition of useful context.
Why background information can become misleading
The paper does not claim that all background context is harmful. Its appendix distinguishes object information, useful background evidence, and irrelevant background evidence. The argument is that a context mechanism mixing all these sources can introduce additional variability and encourage reliance on accidental associations.
To motivate the concern, the authors discuss earlier context-analysis work involving a cow on a road. A segmentation system can favor a horse interpretation because its learned associations connect horses more strongly with that setting. The example illustrates a failure in which surrounding evidence overwhelms the appearance of the object itself. It is motivation drawn from the cited context literature, instead of a new OCNet robustness experiment.
The authors suggest that emphasizing same-category evidence could reduce variability in the contextual representation and improve generalization. That is a plausible rationale for the architecture, but it is stronger than what ordinary benchmark accuracy alone can establish. An improved segmentation score shows that the resulting representation is useful under the evaluated conditions. It does not independently demonstrate that the system has become insensitive to misleading backgrounds.
This distinction helps frame the paper’s contribution accurately. OCNet changes the source and weighting of contextual evidence. It offers an operational alternative to geometric pooling. Its experiments investigate whether that alternative improves recognition and whether it can be computed efficiently.
Attention as the implementation route
The paper connects object context to attention, especially self-attention and non-local operations. In self-attention, a position receives a weighted combination of representations from other positions. Those weights depend on learned comparisons between features. This makes attention a natural mechanism for context that should follow semantic resemblance rather than a fixed spatial neighborhood.
The authors acknowledge concurrent segmentation approaches using semantic relationships and attention. They also discuss mechanisms designed to reduce attention’s expense. CGNL approximates pairwise similarities using a Taylor-series treatment of an RBF kernel. RCCA applies successive criss-cross attention operations. These are relevant alternatives because the challenge is not simply to obtain broad context, but to obtain it at a manageable cost.
ISA takes a grouping approach. Rather than estimate every pair directly or approximate a similarity kernel, it alternates between complementary sets of positions. The authors relate this organization to interleaved grouping ideas in network architecture design and note a concurrent sparse transformer using related ideas for sequential inputs.
The contribution should therefore be understood as a specific combination: category-oriented contextual aggregation, attention-based approximation, and an interlaced sparse implementation suited to dense visual feature maps. The paper does not present attention itself as new. Its claim concerns how attention is organized and used to emphasize the evidence relevant to segmentation.
The method, step by step
Start with a contextual representation
Consider a feature map produced by a visual backbone. Each spatial position has a vector describing information extracted from the image. The context module transforms these vectors, combines a selected set for each target position, and transforms the combination into a contextual representation.
The paper first writes a general context operation:
zᵢ = ρ((1 / |Iᵢ|) Σⱼ∈Iᵢ δ(xⱼ))
Here, xⱼ is the input feature vector at position j, and zᵢ is the context vector associated with position i. The set Iᵢ contains the positions selected as context for i. Its size is |Iᵢ|. The function δ transforms each contributing vector before aggregation, while ρ transforms the result afterward. The summation collects the transformed vectors, and the division produces their average.
The full collection of input vectors is X; the corresponding output collection is Z. The paper uses a position set I containing N pixels. These formulas are written for a spatially flattened representation, which makes the selection rules easier to express. The implementation operates on image feature maps.
This starting point isolates the main design question. Different context mechanisms can share a similar aggregation structure while choosing Iᵢ differently. OCNet changes that selection principle, then replaces exact membership with learned weights.
From image features to object-aware segmentation
The steps in order.
Compare geometric context with semantic context
The paper illustrates ASPP’s selection rule in a spatially simplified form:
Iᵢ = ⋃ᵣ∈{12, 24, 36} {j ∈ I : |i − j| = r}
The variable r is a dilation interval, taking the values 12, 24, and 36 in this formulation. The expression |i − j| denotes spatial distance between positions. The union joins the positions selected at the different intervals. This describes a context set determined by fixed distances, rather than by what the positions represent.
For PPM, the appendix expresses membership through a shared partition:
Iᵢ = {j ∈ I : floor((j − 1)k / N) = floor((i − 1)k / N)}
Here, k determines the partition, N is the number of positions, and floor rounds down to an integer. A position j contributes when it falls in the same partition as i. The appendix discusses k values of 2, 3, and 6; the full pyramid architecture also includes the image-wide branch.
These formulas describe spatial organization. Neither requires the selected positions to carry the same semantic label. OCNet’s ideal context instead uses label equality:
Iᵢ = {j ∈ I : lⱼ = lᵢ}
The symbols lᵢ and lⱼ are the semantic labels of positions i and j. The set contains positions whose category matches the target’s category. It can cross object boundaries between separate instances of the same class, and it need not form a connected region.
This point prevents a common misunderstanding. “Object context” does not mean that the method first detects an individual object and gathers only its interior pixels. Its ideal relation is broader: it links pixels through a shared category.
Replace unavailable membership with learned relations
If all labels were known, category agreement could be recorded in an N × N binary matrix. An entry would be 1 when the pair shares a class and 0 otherwise. Such a matrix would express which positions belong together semantically, but it would not identify their category names.
The paper highlights this loss of label identity. Renaming every class consistently would leave the equality relationships unchanged. The matrix therefore captures part of the segmentation structure without containing the full segmentation answer.
At inference time, exact label agreement is unavailable. OCNet estimates a dense matrix W of continuous relation strengths instead. The resulting contextual representation becomes a weighted sum:
zᵢ = ρ(Σⱼ∈I wᵢⱼ δ(xⱼ))
The coefficient wᵢⱼ is the entry of W relating target i to source j. The functions δ and ρ retain their roles as feature transformations. Unlike the earlier set average, this operation considers the whole position set I but permits different contributions from different sources.
The goal is for same-category pixels to receive larger weights. The network is not required to recover a perfect binary partition before aggregation becomes useful. A coarse preference for relevant positions can already change the representation supplied to the classifier.
That practical relaxation is important. The ideal object-context definition explains the intended behavior; the learned relation matrix implements an approximation. The two should not be treated as identical merely because the resulting maps sometimes resemble category regions.
Construct dense attention from feature similarities
The dense version uses transformed features to estimate the relationship matrix:
W = Softmax(θ(X)φ(X)ᵀ / √d)
X contains N feature vectors with C channels. The transformations θ and φ project those vectors into a space with C/2 channels. Their matrix product compares every projected target with every projected source. The superscript T denotes transpose. Softmax converts the comparison scores into attention weights, and d is set to C/2.
The division by √d follows the attention scaling discussed by the authors. Its purpose is to avoid a regime in which the softmax produces poorly behaved gradients because the comparison scores become too large.
The output is then computed as:
Z = ρ(Wδ(X))
The transformation δ prepares the source features to be combined. Multiplication by W forms their weighted mixtures, and ρ maps those mixtures into the output representation. With the paper’s simplifying assumption, the input and output both have C channels.
The implementation details matter because the feature comparisons are learned, rather than computed from raw colors. Both θ and φ use a 1 × 1 convolution followed by synchronized batch normalization and a ReLU activation. The transformations δ and ρ use 1 × 1 convolutions. The first set of projections reduces the channels, while ρ expands the contextual representation back to the required width.
Dense attention gives every position direct access to every other position. Its relation matrix nonetheless contains N × N entries. The paper identifies this quadratic dependence as the principal obstacle when high spatial resolution is important.
Divide communication into global and local stages
ISA addresses the relation-matrix cost by organizing positions into complementary groups. The global stage gathers positions that are separated across the feature map but occupy corresponding offsets in a repeating spatial arrangement. Attention is computed independently inside each global group.
The local stage uses a different grouping. It gathers positions that were spatially nearby in the original feature map. These positions have already received information from their respective global groups. Local attention can therefore combine globally informed representations.
For a spatially flattened illustration, the global context set is:
Iᵢᵍ = {j ∈ I : j ≡ i mod P}
The superscript g identifies the global stage. The symbol P controls the grouping, and “mod P” means that j and i have the same remainder when divided by P. Such groups distribute their members across the input.
The local context set is:
Iᵢˡ = {j ∈ I : floor((j − 1) / P) = floor((i − 1) / P)}
The superscript l identifies the local stage. Here, equal quotients select positions within the same local group. The floor operation again rounds down. These rules are simplified expressions of the complementary grouping pattern used across image height and width.
The first contextual update is:
zᵢᵍ = ρ(Σⱼ∈Iᵢᵍ wᵢⱼᵍ δ(xⱼ))
The vector zᵢᵍ is the representation after global aggregation. The coefficient wᵢⱼᵍ weights a source within the global context set Iᵢᵍ. Only members of that set interact directly during this stage.
The subsequent update is:
zᵢˡ = ρ(Σⱼ∈Iᵢˡ wᵢⱼˡ δ(zⱼᵍ))
The local representation zᵢˡ combines globally updated source vectors zⱼᵍ. Its weights wᵢⱼˡ are computed for the local context set Iᵢˡ. The second stage therefore operates on representations that already carry information from spatially dispersed positions.
The crucial property is the communication path across both stages. A source need not share the target’s global group if its information can reach another position that subsequently shares the target’s local group. This provides image-wide access through direct and indirect connections.
Apply ordinary attention within each group
ISA does not require a different similarity function inside the groups. Each global group uses the same attention construction as the dense mechanism:
Wₚᵍ = Softmax(θ(Xₚᵍ)φ(Xₚᵍ)ᵀ / √d)
The index p selects a global group. Xₚᵍ contains the feature vectors in that group, and Wₚᵍ records their internal relationships. If the group has Q positions, its relation matrix has shape Q × Q. The transformations and scaling have the same meanings as in dense attention.
The group output is:
Zₚᵍ = ρ(Wₚᵍδ(Xₚᵍ))
Zₚᵍ contains the updated representations for that global group. Independent groups can be processed without estimating relationships between their members at this stage.
The complete global relation structure is block diagonal:
Wᵍ = blockdiag(W₁ᵍ, …, Wₚᵍ, …, W_Pᵍ)
The operation blockdiag places the group matrices along the diagonal and leaves all other entries zero. Wᵍ is thus sparse when viewed as a relation over the complete feature map. The only non-zero relationships connect positions within a common group.
The local stage has the corresponding structure:
Wˡ = blockdiag(W₁ˡ, …, W_qˡ, …, W_Qˡ)
The index q selects a local group. Each local block relates the P positions belonging to that group. Q denotes the number of such groups in the simplified organization. The change of grouping is what allows these individually restricted operations to complement one another.
The notation can obscure a practical point: the implementation does not need to allocate a largely empty complete matrix for either stage. It can process the small dense blocks directly.
Understand the effective relation and its implementation
The paper represents the combined relation as:
W = WˡΠᵀWᵍΠ
Here, Π denotes the permutation matrix that the paper writes as P. Using a distinct symbol separates that matrix from the scalar group parameter. The transpose Πᵀ reverses the relevant reordering. The permutations align the position orderings used by the global and local blocks.
This expression describes the effective connectivity obtained by composition. It should not be interpreted as a claim that every possible dense relation matrix can be recovered exactly. The sparse factors impose a particular structure, and the full implementation also contains learned transformations between aggregations.
The appendix specifies the permutation through individual entries:
πᵢⱼ = {1 if j = ((i − 1) mod P)P + floor((i − 1) / P) + 1; 0 otherwise}
The entry πᵢⱼ indicates where position i is sent by the stated index rule. The scalar P is the grouping parameter in that expression. The remainder and quotient terms exchange the organization of positions so that complementary groups can be processed.
For implementation, the conceptual permutation matrix is less important than the actual rearrangement. The authors implement reordering through reshape and permutation operations. They also align independent group blocks with a batch dimension so that the blocks can be evaluated concurrently.
The memory-saving evaluation order is:
Z = Wˡ(Πᵀ(Wᵍ(ΠX)))
Z is the resulting representation, X is the input, and the remaining terms are the sparse relation factors and reorderings already defined. This expression omits δ and ρ to isolate the matrix-association argument.
Its parentheses carry the engineering lesson. Apply the rightmost permutation to X, process the global groups, restore the required ordering, and process the local groups. Explicitly multiplying the factors into a complete W would allocate the dense intermediate the architecture was designed to avoid.
Account for computation
For image features, the paper uses H and W for spatial height and width, with C channels. The grouping factors satisfy:
H = PₕQₕ
Pₕ and Qₕ describe the complementary factors along height. Their product gives H.
The width relation is:
W = P_wQ_w
P_w and Q_w supply the corresponding grouping factors along width. These equations describe how the global and local group organizations partition the spatial dimensions.
The global-stage complexity is:
T(ISA/global) = O(HWC² + (HW)²C / (PₕP_w))
T denotes computational cost, and O expresses its asymptotic growth. The HWC² term accounts for feature transformations. The other term accounts for groupwise relational operations, reduced according to the number of global groups.
The local-stage complexity is:
T(ISA/local) = O(HWC² + (HW)²C / (QₕQ_w))
The symbols retain their meanings. The denominator now reflects the complementary local grouping.
Combining the stages gives:
T(ISA) = O(HWC² + (HW)²C(1 / (PₕP_w) + 1 / (QₕQ_w)))
This expression keeps both the channel-transformation cost and the relation cost visible. Sparsifying relations does not remove the work required to project and transform features.
The paper identifies the balanced condition:
PₕP_w = QₕQ_w
The equality states that the complementary group factors are balanced in the sense used by the analysis.
Under that condition, the minimized asymptotic expression is:
T(ISA) = O(HWC² + (HW)^(3/2)C)
H, W, and C again denote feature-map dimensions. This is a theoretical statement about the favorable grouping balance. It is not a measured runtime guarantee for every input size, device, or channel configuration.
Build the segmentation heads
The attention operation becomes an object context pooling module, abbreviated OCP. Base-OC applies OCP to a reduced feature map, then concatenates its output with the representation that entered OCP. A subsequent convolution mixes the contextual and original features.
For both ResNet-101 and HRNetV2-W48, Base-OC first uses a 3 × 3 convolution to obtain 512 channels. Concatenating the contextual and input representations produces 1024 channels. A 1 × 1 convolution reduces that representation to 512 channels before the later prediction stages.
Pyramid-OC places OCP inside spatial partitions. Its branches use regions arranged as 1 × 1, 2 × 2, 3 × 3, and 6 × 6. Within a branch, the OCP parameters are shared across regions. Each region is processed separately, and the outputs are reassembled into a feature map at that branch’s scale of partitioning.
The spatial decomposition can be written compactly as:
X → [Xᵢⱼ]ᵢ,ⱼ∈{1,…,k}
X is the complete feature map, k is the partition factor, and Xᵢⱼ is the region at row i and column j. Each region has spatial dimensions H/k by W/k and retains C channels.
The reassembly is:
Zᵏ = assemble([OCP(Xᵢⱼ)]ᵢ,ⱼ∈{1,…,k})
OCP is object context pooling, and Zᵏ is the contextual feature map reconstructed from the processed regions for partition k. “Assemble” denotes restoration of their spatial arrangement.
The branch outputs are combined as:
Z = concat(Z¹, Z², Z³, Z⁶)
The superscripts identify partition factors, and concat joins the resulting feature maps along their channel dimension. In the full head, the input branch is also transformed and concatenated with these contextual branches. The paper describes a 4096-channel combined representation reduced to 512 channels.
ASP-OC uses a different combination. Conventional ASPP contains an image-level pooling branch, a 1 × 1 convolution branch, and dilated 3 × 3 branches with rates 12, 24, and 36. ASP-OC replaces the image-level pooling branch with OCP while retaining the convolutional branches.
In this head, the OCP branch reduces its input to 256 channels, and the other branches also output 256 channels. Their concatenation has 1280 channels, which a final 1 × 1 convolution reduces to 256 channels. This architecture preserves regularly sampled spatial context while introducing a learned relational summary.
Train the backbone and context components
The segmentation backbones begin with ImageNet pretraining. The OCP parameters and classification head are initialized randomly. For ResNet-101, dilation rates of 2 and 4 in the later stages produce the stride-8 feature map. HRNetV2-W48 supplies its concatenated stride-4 representation directly to the context head.
The learning-rate multiplier is:
f(iter) = 1 − (iter / iter_max)^0.9
The variable iter is the current training iteration, iter_max is the training limit, and f is the polynomial decay factor. The exponent is 0.9.
The final loss receives weight 1, and the auxiliary loss receives weight 0.4. Batch-normalization statistics are synchronized across GPUs using InPlace-ABN with synchronized statistics. Data augmentation includes horizontal flips, scaling within [0.5, 2], and brightness variation within [-10, 10].
These details form part of the experimental procedure rather than optional background. The paper’s context comparisons are most informative when the competing heads share training and testing conditions. Otherwise, an apparent architectural advantage could partly reflect optimization or augmentation choices.
Experiments and results
What is evaluated
The segmentation evaluation covers several kinds of dense labeling. Cityscapes concerns urban scenes; ADE20K provides varied scene parsing; LIP concentrates on human parts. PASCAL-Context and COCO-Stuff extend the evaluation to additional scene categories and image collections.
The main segmentation measure is mean intersection over union, abbreviated mIoU. It summarizes the overlap between predicted and reference regions across categories. The paper also studies boundary F-score, which focuses on the quality of predicted region edges. For the separate detection and instance-segmentation experiment, it reports COCO average precision measures for boxes and masks.
These metrics should remain distinct. A boundary improvement can help explain a segmentation result, but it is not interchangeable with mIoU. Likewise, box AP measures detection performance and mask AP measures instance-mask performance. Their numerical values should not be combined with semantic-segmentation scores into a single ranking.
Dataset scale and training conditions
Cityscapes contains 5,000 finely labeled images with 19 semantic categories. Its images have resolution 2048 × 1024 and come from 50 cities. The split contains 2,975 training images, 500 validation images, and 1,525 test images.
For this dataset, the segmentation setup uses an initial learning rate of 0.01, weight decay of 0.0005, crop size 512 × 1024, and batch size 8. Validation experiments train on the training split for 60K iterations. Test evaluation uses training plus validation data with 100K iterations.
ADE20K contains 22K densely labeled images spanning 150 semantic concepts. Its training split has 20K images, and its validation split has 2K. The paper uses learning rate 0.02, weight decay 0.0001, crops of 520 × 520, batch size 16, and 150K training iterations unless a different setting is stated.
LIP contains 50K images, with 19 human-part categories and 1 background category. The training, validation, and test portions contain 30K, 10K, and 10K images respectively. Its training setup uses learning rate 0.007, weight decay 0.0005, crop size 473 × 473, batch size 32, and 100K iterations.
PASCAL-Context uses 59 semantic categories with 1 background category. The training and test splits contain 4,998 and 5,105 images. Its experiments use learning rate 0.001, weight decay 0.0001, crop size 520 × 520, batch size 16, and 30K iterations.
COCO-Stuff includes 171 semantic categories. The evaluated training and test sets contain 9K and 1K images. Its learning rate is 0.001, with weight decay 0.0001, crop size 520 × 520, batch size 16, and 60K iterations.
The variation across these setups matters. The paper evaluates a shared contextual idea under dataset-specific training choices. It does not present a single universal optimization schedule whose effectiveness is independently isolated from the context architecture.
Segmentation results
The Cityscapes test experiment uses online hard-example mining, multi-scale evaluation, and horizontal-flip evaluation, following earlier practice described by the authors. Both ResNet-101 and HRNetV2-W48 are used as backbones. The clearest numerical comparison in the prose concerns HRNetV2-W48 with and without ASP-OC.
HRNetV2-W48 with ASP-OC on Cityscapes test, mIoU
Adding ASP-OC improves the reported segmentation score.
The numbers
| System or setting | mIoU % |
|---|---|
| HRNetV2-W48 | 81.6 |
| HRNetV2-W48 with ASP-OC (this paper) | 82.5 |
This comparison supports the claim that object-context aggregation can add value to a backbone already designed to preserve spatial resolution. It is therefore more informative than demonstrating an improvement only over a spatially coarse baseline. The authors also report that this ASP-OC configuration exceeds ACNet on Cityscapes test.
The ADE20K validation results show a more qualified competitive position. With ASP-OC, ResNet-101 reaches 45.40% mIoU, while HRNetV2-W48 reaches 45.50% mIoU. The authors describe both as slightly below ACNet, whose approach uses rich local and global context. These results support competitiveness rather than a universal lead.
For PASCAL-Context test, the paper reports 56.2% mIoU from HRNet equipped with Base-OC. It describes the improvement over HRNet as substantial and states that the result exceeds most earlier approaches in its comparison. The prose does not supply the corresponding HRNet baseline value, so an exact numerical gain should not be reconstructed.
On LIP validation, HRNetV2-W48 with ASP-OC reaches 56.35% mIoU. The authors place this below CNIF while still describing the result as competitive. This extends the evidence from whole-scene categories to fine-grained human-part labeling.
For COCO-Stuff test, the reported result is 40.0% mIoU. The authors compare it favorably with a recent leading approach. The available numerical account establishes the achieved score, but does not support a detailed reconstruction of every system in the associated comparison.
Across these results, the strongest interpretation is consistency across different segmentation settings. OCNet is useful with different backbones and label inventories. The results do not establish that the same head is optimal everywhere, or that object context replaces the need for other forms of contextual processing.
Efficiency under specified conditions
The paper reports an attention-level inference comparison using a Titan XP GPU, CUDA 8.0, and an input tensor of 1 × 512 × 128 × 128. Under that setting, ISA uses 10.2% of the GPU memory required by dense self-attention and 24.6% of its FLOPs. It is also described as almost 2× faster.
These are relative measurements for the stated operation and input. They should not be read as the memory reduction or speedup of the entire segmentation pipeline. The backbone, classification head, and other processing retain their own costs.
A separate comparison evaluates context mechanisms using an input feature map of 2048 × 128 × 128. Those measurements use PyTorch 0.4.1 on a Tesla V100 with CUDA 9.0. The authors report that Base-OC with ISA is nearly 3× faster than DANet while saving more than 88% GPU memory.
The same comparison places ISA below RCCA and CGNL in both memory use and inference time. Efficient Attention remains an exception to the broader efficiency advantage: the paper does not claim that ISA is the cheapest mechanism in every comparison.
The hardware distinction is essential. The Titan XP attention comparison and the Tesla V100 context-head comparison answer related but different questions. Their relative measurements cannot be merged into a single device-independent performance claim.
Transfer to detection and instance segmentation
The additional experiment uses COCO for detection and instance segmentation. The dataset description gives 140K images with box and mask annotations for 80 categories. Following the COCO2017 split, training, validation, and test contain 115K, 5K, and 20K images respectively.
The baseline is Mask-RCNN with a ResNet-50 FPN backbone. The authors insert an ISA-based OCP module before the final block of the res-4 stage. A non-local block placed in the corresponding location serves as another comparison. This tests whether the same communication mechanism remains useful outside semantic segmentation.
Training uses SGD, batch size 16, and weight decay 0.0001. The 1× schedule starts with learning rate 0.02, lowers it by a factor of 10 after 60K and 80K iterations, and ends at 90K. The 2× schedule runs for 180K iterations, with corresponding learning-rate changes. The implementation builds on maskrcnn-benchmark.
The reported box result under the longer schedule is:
Mask-RCNN with ISA on COCO validation, box AP, 2× schedule
The inserted ISA module improves the reported detection result.
The numbers
| System or setting | box AP |
|---|---|
| Mask-RCNN | 38.7 |
| Mask-RCNN with ISA (this paper) | 39.7 |
For masks, the corresponding AP values are 34.9 for Mask-RCNN and 35.7 with ISA. The paper reports improvements under both schedules and describes ISA’s accuracy as comparable to the non-local block while requiring substantially less computation.
This transfer experiment strengthens the engineering case for the sparse operator. Its benefit is not confined to a segmentation classifier attached to a complete image feature map. The evidence remains specific to the tested insertion point, backbone, training schedules, and tasks.
What the ablations show
Group size matters, but the method is not confined to one grouping
The ablations use dilated ResNet-101, with Base-OC based on ISA as the default configuration. The authors vary Pₕ and P_w, which determine the complementary factors Qₕ and Q_w through the feature-map dimensions.
Different group settings improve over the baseline in the Cityscapes validation study. The best reported setting uses Pₕ = P_w = 8, and the authors retain that choice for subsequent experiments unless otherwise stated. This supports some tolerance to the grouping choice while identifying a practical default.
The conclusion should remain narrower than a claim of universal optimality. The selection is made through a particular backbone and validation setting. The complexity analysis identifies a balanced theoretical condition, while the experiments choose an actual operating point. Those are related considerations, but they answer different questions.
A grouping can affect computation, communication paths, and the representations available to subsequent layers. As a result, an empirically favorable choice need not be explained by arithmetic cost alone. The paper reports the performance pattern without fully separating those possible causes.
Global and local relations contribute differently
The authors compare global-then-local processing with the reverse order. Both improve on the baseline, but applying the global stage first is favorable in their experiment. That order becomes the default.
They also remove each stage in turn. The resulting Cityscapes validation comparison is:
Isolated ISA relation stages on Cityscapes val, mIoU
The global stage is stronger alone, while the full study supports complementary local processing.
The numbers
| System or setting | mIoU % |
|---|---|
| Local relation only | 77.2 |
| Global relation only (this paper) | 78.9 |
The isolated results show that broad spatial communication is particularly useful in this setup. The local stage has a complementary role when combined with global aggregation. It can mix the different global summaries available at nearby positions.
This experiment does not imply that local evidence is generally unimportant to segmentation. The backbone already contains local convolutional processing. The ablation concerns an additional context stage operating on high-level features, instead of the removal of all local visual computation.
The order comparison also helps explain why ISA is more than a generic choice to make attention sparse. Its particular sequence matters empirically. Group definitions determine which information is exchanged first and which updated representations are available in the next stage.
Semantic aggregation versus conventional spatial context
The comparisons with PPM and ASPP use matching training and evaluation conditions, including training iterations and batch size. This is a strong part of the experimental design because the proposed mechanism is intended as an alternative context operator.
The authors’ reproduced PPM reaches 78.5% mIoU on Cityscapes validation, compared with the earlier reported 77.6%. Establishing a stronger reproduction matters: OCNet is being compared against an actively trained baseline instead of relying only on a historical result obtained under different conditions.
Base-OC with ISA exceeds PPM by the paper’s reported 0.99% on Cityscapes validation and 0.61% on ADE20K validation, measured through mIoU. These are the authors’ stated margins. The account does not require deriving additional scores from them.
The paper also reports that object context exceeds ASPP in the controlled comparison. Its discussion further states that dense self-attention and ISA achieve comparable performance. Together, these findings support two connected claims: relational context is useful, and the proposed sparsification preserves useful performance.
Neither claim proves that the ideal same-category relation has been recovered. Improved task performance is compatible with a learned attention map that contains both semantic and other useful relationships. The controlled comparison establishes the value of the mechanism more directly than the exact meaning of every weight.
Alternatives for reducing attention cost
The paper compares ISA with downsampled self-attention, RCCA, CGNL, and Efficient Attention. In the downsampled attention setting, the feature map is reduced by 2× before the dense relation matrix is computed.
This comparison addresses a practical objection. If reducing feature-map resolution made dense attention equally effective and cheap, a more elaborate sparse communication pattern might be unnecessary. The authors report that ISA achieves stronger Cityscapes validation performance than the evaluated alternatives.
They average performance in these comparisons because RCCA has substantial mIoU variability. That choice acknowledges instability as part of the evaluation instead of treating a favorable run as representative.
The numerical tables are not reproduced in the prose account, so the comparative conclusion is more detailed than the accessible numerical evidence. It is reasonable to report the authors’ ranking, but not to supply exact margins, variability estimates, or absolute scores that are not stated.
Efficiency and accuracy also remain separate. Efficient Attention is the exception in the cost comparison, while ISA has the stronger task result according to the reported evaluation. A practical choice would depend on which resource and accuracy constraints matter in the intended application.
Multi-scale extensions are not equally successful
Pyramid-OC and ASP-OC both combine object context with established spatial context ideas, but the ablation finds different outcomes. ASP-OC improves the evaluated attention configurations. Pyramid-OC slightly underperforms Base-OC.
That is an informative result because Pyramid-OC appears attractive conceptually. It applies relational processing within regions at several partition scales. Yet the additional structure does not automatically translate into a better representation for the tested setup.
A careful interpretation avoids assigning an untested explanation. The result does not establish whether region boundaries, overlapping contextual roles, parameterization, or optimization caused the decline. It establishes that this particular combination was less effective than the simpler Base-OC head.
The authors consequently emphasize Base-OC and ASP-OC in later benchmark comparisons. This makes the final architecture choices responsive to controlled evidence rather than preserving every proposed extension.
Boundary quality and visualized relations
The boundary study measures F-score within widths of 3, 5, 9, and 12 pixels on Cityscapes validation. The authors report improvements for categories including wall and truck, as well as bus and train. This suggests that the benefit is not restricted to the interiors of large regions.
The numerical category-level boundary values are not stated in the surrounding prose. The evidence therefore supports the reported qualitative pattern without a complete quantitative account of boundary gains. It also does not establish that every category or boundary width benefits equally.
The relation visualizations offer a different analysis. For selected pixels, the authors display global, local, and reconstructed dense relations. In the examples, stronger weights frequently fall on positions sharing the chosen pixel’s category.
For Cityscapes, the displayed spatial relation maps have dimensions 256 × 128 for the reconstructed dense map, 32 × 16 for the global map, and 8 × 8 for the local map. These dimensions describe the maps visualized for selected positions, instead of the dimensions of the complete all-pairs relation matrix.
The appendix also explains a checkered pattern in the reconstructed relation displays. It arises from the procedure combining the relevant global maps with the selected local relation. The shape of that pattern follows the global relation map.
That explanation is important for interpretation. A structured visualization artifact should not automatically be read as a corresponding checkerboard defect in the final segmentation. The display is evidence about the learned relation organization, with its own reconstruction procedure.
Limitations
Limits the authors identify
The authors explicitly leave several forms of contextual reasoning for future work. Same-category aggregation does not directly encode how different categories tend to occur together. Their example concerns distinguishing rider from person when bicycle evidence is available. That requires a relationship between different categories, whereas the ideal object-context definition is based on category equality.
They also identify shape information as a missing source of structure. A segmentation prediction might be refined using expected object outlines, as in the shape-prior direction they discuss. OCNet’s context weighting does not itself specify an explicit family of allowed silhouettes.
Spatial relationships form another proposed extension. The paper mentions the typical placement of a keyboard relative to a monitor. Such a relationship is different from feature similarity or same-category membership: it concerns how different object categories are arranged.
These proposals place a useful boundary around the method. Object context is a focused contextual mechanism. It is not a complete account of scene organization, object geometry, or relations among categories.
The ideal relation is not the learned relation
A limitation visible in the formulation is the gap between the desired binary structure and the estimated soft structure. The ideal matrix records category agreement. The implemented matrix comes from learned feature comparisons and normalization.
The paper shows that the resulting representations improve task performance and illustrates attention maps consistent with the intended behavior. It does not provide a complete quantitative evaluation of the relation matrix as a category-membership predictor. There is no stated relation-level precision or recall establishing how faithfully every pixel pair follows the ideal definition.
This matters because attention can be useful without being semantically pure. A feature comparison may emphasize a visually similar but incorrectly labeled region, or it may retain background evidence that helps the training objective. The architecture encourages a useful form of aggregation through its representation and task, but its name alone does not guarantee that all weights have the intended interpretation.
The binary ideal also excludes category identity. As the authors note, relabeling the categories leaves the agreement matrix unchanged. A segmentation system therefore still needs discriminative features and a classifier. Contextual grouping can support recognition without supplying all the information recognition requires.
Broad connectivity is not equivalence to dense attention
The sparse architecture allows each output to receive information originating anywhere in the input. That is a connectivity property. It does not mean that the resulting operation is identical to a dense attention layer whose weights are estimated independently for every pair.
Indirect communication passes through intermediate representations and group-specific attention operations. The factorization imposes structure on the effective relation. This is the intended source of efficiency, but it also constrains how information can be combined.
The experiments support comparable usefulness under the evaluated conditions. They do not prove representational equivalence across every possible image or task. The distinction is especially relevant when transferring the idea elsewhere: a communication graph with complete eventual reach can still behave differently from direct all-pairs interaction.
The simplified matrix product also omits transformations when used to explain the memory-saving evaluation order. That simplification clarifies implementation, but it should not replace the full description of the learned stages.
Generalization is motivated more broadly than it is tested
The appendix argues that emphasizing object evidence could reduce the variability introduced by background context. It uses earlier work on misleading scene associations to motivate that argument.
The OCNet experiments do not isolate this proposed generalization benefit through a dedicated background-shift test. Benchmark improvements are consistent with better contextual selection, but they cannot establish precisely which biases have been reduced or retained.
Likewise, evaluating several datasets establishes breadth of application, not unrestricted robustness. Each benchmark has its own training and evaluation distribution. The paper does not report how OCNet behaves when category associations, camera conditions, or scene composition change in a deliberately controlled way.
These are limits inferred from the experimental setup. They do not negate the reported gains. They identify which broader explanations remain hypotheses rather than directly measured outcomes.
Efficiency claims depend on the measured operation
The reported resource savings are substantial, but their scope is specific. Attention-level measurements concern a specified tensor on a Titan XP. The context-mechanism comparison uses a different tensor and a Tesla V100.
A careful reader cannot convert those results into an end-to-end deployment speedup without additional measurements. Backbone computation, memory movement, convolutional projections, batching, and implementation details can affect the complete system’s runtime.
The theoretical complexity likewise retains a channel-transformation term. Reducing relational work does not make every part of the module inexpensive. The favorable asymptotic expression describes a balanced grouping condition, while actual performance depends on the selected factors and feature dimensions.
The paper also identifies Efficient Attention as an exception to its broader efficiency advantage. ISA is therefore an effective tradeoff in the evaluated comparisons, instead of a universal minimum-cost solution.
The numerical record supports some comparisons more fully than others
Several experiments are described through table captions and narrative conclusions without the full table entries being stated. This affects the granularity of what can be reported confidently.
The available prose gives exact values for selected benchmark results, isolated relation stages, and the Mask-RCNN transfer example. It also gives qualitative rankings for other context comparisons and boundary analyses. Those rankings should not be expanded into invented numerical detail.
The same restraint applies to uncertainty. The paper mentions averaged comparisons motivated by RCCA variability, but the numerical account does not provide a complete set of uncertainty estimates. Small reported differences should therefore be interpreted within the limits of the stated experimental evidence.
What came after
The later citing work identified here is Swin Transformer: Hierarchical Vision Transformer using Shifted Windows, dated 2021. Its title identifies a hierarchical vision transformer organized around shifted windows. The citation establishes that OCNet is part of its research context, but it does not on its own establish which OCNet mechanism was adopted or how that mechanism affected the later results.
There is a clear conceptual question connecting the subjects of the works: how can a vision architecture restrict attention while preserving useful communication across an image? OCNet answers through interlaced global and local groups. The later title points to a window-based organization. A more specific account of inheritance would require evidence about the later method beyond its title and citation relationship. In particular, the citation alone does not justify calling Swin Transformer a direct implementation of ISA or attributing its design choices to OCNet.
The OCNet paper itself describes another related development, object-contextual representations, abbreviated OCR. The authors distinguish the approaches by the entities involved in the learned relationships. OCNet emphasizes pixel-to-pixel relations. OCR uses coarse segmentation maps to form region representations and then relates pixels to those regions.
That contrast identifies a useful continuation of the central idea. Context need not always be represented as interactions among every spatial position. It can instead be mediated through representations of semantic regions. The paper states the architectural distinction, but it does not supply a controlled comparison establishing that either formulation is universally preferable.
The authors’ proposed future directions broaden context further through category co-occurrence, shape, and relative location. These remain proposals in OCNet’s account, rather than demonstrated extensions. Together with the citing work and the OCR discussion, they show the continuing design question left by the paper: which relationships should carry information, and how can those relationships be represented at a cost suitable for dense prediction?
Cite
Cite as Yuhui Yuan, Lang Huang, Jianyuan Guo, Chao Zhang, Xilin Chen and Jingdong Wang. 2018. OCNet: Object Context Network for Scene Parsing. arXiv (Cornell University).
@misc{yuan2018ocnet,
title = {{OCNet: Object Context Network for Scene Parsing}},
author = {Yuhui Yuan, Lang Huang, Jianyuan Guo, Chao Zhang, Xilin Chen and Jingdong Wang},
year = {2018},
doi = {10.48550/arxiv.1809.00916},
eprint = {1809.00916},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1809.00916}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/yuan-2018-ocnet-object-context-network-scene/
References
- Badrinarayanan V, Kendall A, Cipolla R (2017) Segnet: A deep convolutional encoder-decoder architecture for image segmentation. PAMI OpenAlex ↗ · Scholar ↗
- Caesar H, Uijlings J, Ferrari V (2018) Coco-stuff: Thing and stuff classes in context. In: CVPR OpenAlex ↗ · Scholar ↗
- Chen LC, Papandreou G, Schroff F, Adam H (2017) Rethinking atrous convolution for semantic image segmentation. arXiv:170605587 OpenAlex ↗ · Scholar ↗
- Chen LC, Papandreou G, Kokkinos I, Murphy K, Yuille AL (2018) Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. PAMI OpenAlex ↗ · Scholar ↗
- Cheng B, Chen LC, Wei Y, Zhu Y, Huang Z, Xiong J, Huang TS, Hwu WM, Shi H (2019) Spgnet: Semantic prediction guidance for scene parsing. In: Proceedings of the IEEE International Conference on Computer Vision, pp 5218–5228 OpenAlex ↗ · Scholar ↗
- Child R, Gray S, Radford A, Sutskever I (2019) Generating long sequences with sparse transformers. arXiv:190410509 our card
- Cordts M, Omran M, Ramos S, Rehfeld T, Enzweiler M, Benenson R, Franke U, Roth S, Schiele B (2016) The cityscapes dataset for semantic urban scene understanding. In: CVPR OpenAlex ↗ · Scholar ↗
- Ding H, Jiang X, Shuai B, Liu AQ, Wang G (2018) Context contrasted feature and gated multi-scale aggregation for scene segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Ding H, Jiang X, Liu AQ, Thalmann NM, Wang G (2019a) Boundary-aware feature propagation for scene segmentation. In: Proceedings of the IEEE International Conference on Computer Vision, pp 6819–6829 OpenAlex ↗ · Scholar ↗
- Ding H, Jiang X, Shuai B, Liu AQ, Wang G (2019b) Semantic correlation promoted shape-variant context for segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Divvala SK, Hoiem D, Hays JH, Efros AA, Hebert M (2009) An empirical study of context in object detection. In: CVPR OpenAlex ↗ · Scholar ↗
- Fu J, Liu J, Tian H, Fang Z, Lu H (2019a) Dual attention network for scene segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Fu J, Liu J, Wang Y, Li Y, Bao Y, Tang J, Lu H (2019b) Adaptive context network for scene parsing. In: Proceedings of the IEEE international conference on computer vision, pp 6748–6757 OpenAlex ↗ · Scholar ↗
- Gong K, Liang X, Zhang D, Shen X, Lin L (2017) Look into person: Self-supervised structure-sensitive learning and a new benchmark for human parsing. In: CVPR our card
- Gonzalez-Garcia A, Modolo D, Ferrari V (2018) Objects as context for detecting their semantic parts. In: CVPR OpenAlex ↗ · Scholar ↗
- Greenspun P (1999) Philip and Alex's guide to Web publishing. Morgan Kaufmann OpenAlex ↗ · Scholar ↗
- He J, Deng Z, Zhou L, Wang Y, Qiao Y (2019) Adaptive pyramid context network for semantic segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- He K, Zhang X, Ren S, Sun J (2016) Deep residual learning for image recognition. In: CVPR our card
- He K, Gkioxari G, Dollár P, Girshick RB (2017) Mask R-CNN. In: ICCV OpenAlex ↗ · Scholar ↗
- Hoyer L, Munoz M, Katiyar P, Khoreva A, Fischer V (2019) Grid saliency for context explanations of semantic segmentation. In: NIPS OpenAlex ↗ · Scholar ↗
- Huang Z, Wang X, Huang L, Huang C, Wei Y, Liu W (2019) Ccnet: Criss-cross attention for semantic segmentation. In: ICCV OpenAlex ↗ · Scholar ↗
- Ioffe S, Szegedy C (2015) Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv:150203167 OpenAlex ↗ · Scholar ↗
- Ke TW, Hwang JJ, Liu Z, Yu SX (2018) Adaptive affinity fields for semantic segmentation. In: ECCV OpenAlex ↗ · Scholar ↗
- Kong S, Fowlkes CC (2018) Recurrent scene parsing with perspective understanding in the loop. In: CVPR OpenAlex ↗ · Scholar ↗
- Krishna R, Zhu Y, Groth O, Johnson J, Hata K, Kravitz J, Chen S, Kalantidis Y, Li LJ, Shamma DA, et al. (2017) Visual genome: Connecting language and vision using crowdsourced dense image annotations. IJCV our card
- Kuo W, Angelova A, Malik J, Lin TY (2019) Shapemask: Learning to segment novel objects by refining shape priors. In: ICCV OpenAlex ↗ · Scholar ↗
- Li X, Zhong Z, Wu J, Yang Y, Lin Z, Liu H (2019) Expectation-maximization attention networks for semantic segmentation. In: Proceedings of the IEEE International Conference on Computer Vision, pp 9167–9176 OpenAlex ↗ · Scholar ↗
- Li Y, Gupta A (2018) Beyond grids: Learning graph representations for visual recognition. In: NIPS OpenAlex ↗ · Scholar ↗
- Liang X, Gong K, Shen X, Lin L (2018a) Look into person: Joint body parsing & pose estimation network and a new benchmark. PAMI OpenAlex ↗ · Scholar ↗
- Liang X, Hu Z, Zhang H, Lin L, Xing EP (2018b) Symbolic graph reasoning meets convolutions. In: NIPS OpenAlex ↗ · Scholar ↗
- Liang X, Zhou H, Xing E (2018c) Dynamic-structured semantic propagation network. In: CVPR OpenAlex ↗ · Scholar ↗
- Lin G, Milan A, Shen C, Reid ID (2017a) Refinenet: Multi-path refinement networks for high-resolution semantic segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Lin T, Dollár P, Girshick RB, He K, Hariharan B, Belongie SJ (2017b) Feature pyramid networks for object detection. In: CVPR our card
- Lin TY, Maire M, Belongie S, Hays J, Perona P, Ramanan D, Dollár P, Zitnick CL (2014) Microsoft coco: Common objects in context. In: ECCV our card
- Liu T, Ruan T, Huang Z, Wei Y, Wei S, Zhao Y, Huang T (2018) Devil in the details: Towards accurate single and multiple human parsing. arXiv:180905996 OpenAlex ↗ · Scholar ↗
- Liu W, Rabinovich A, Berg AC (2015) Parsenet: Looking wider to see better. arXiv:150604579 OpenAlex ↗ · Scholar ↗
- Long J, Shelhamer E, Darrell T (2015) Fully convolutional networks for semantic segmentation. In: CVPR our card
- Luo Y, Zheng Z, Zheng L, Tao G, Junqing Y, Yang Y (2018) Macro-micro adversarial network for human parsing. In: ECCV OpenAlex ↗ · Scholar ↗
- Ma N, Zhang X, Zheng HT, Sun J (2018) Shufflenet v2: Practical guidelines for efficient cnn architecture design. In: ECCV OpenAlex ↗ · Scholar ↗
- Massa F, Girshick R (2018) maskrcnn-benchmark: Fast, modular reference implementation of Instance Segmentation and Object Detection algorithms in PyTorch. https://github.com/facebookresearch/maskrcnn-benchmark OpenAlex ↗ · Scholar ↗
- Mottaghi R, Chen X, Liu X, Cho NG, Lee SW, Fidler S, Urtasun R, Yuille A (2014) The role of context for object detection and semantic segmentation in the wild. In: CVPR OpenAlex ↗ · Scholar ↗
- Nie X, Feng J, Yan S (2018) Mutual learning to adapt for joint human parsing and pose estimation. In: ECCV OpenAlex ↗ · Scholar ↗
- Pang Y, Li Y, Shen J, Shao L (2019) Towards bridging semantic gap to improve semantic segmentation. In: Proceedings of the IEEE International Conference on Computer Vision, pp 4230–4239 OpenAlex ↗ · Scholar ↗
- Roelofs G, Koman R (1999) PNG: the definitive guide. O'Reilly & Associates, Inc. OpenAlex ↗ · Scholar ↗
- Ronneberger O, Fischer P, Brox T (2015) U-net: Convolutional networks for biomedical image segmentation. In: MICCAI our card
- Rota Bulò S, Porzi L, Kontschieder P (2018) In-place activated batchnorm for memory-optimized training of dnns. In: CVPR OpenAlex ↗ · Scholar ↗
- Shen Z, Zhang M, Zhao H, Yi S, Li H (2018) Efficient attention: Attention with linear complexities. arXiv:181201243 OpenAlex ↗ · Scholar ↗
- Shetty R, Schiele B, Fritz M (2019) Not using the car to see the sidewalk–quantifying and controlling the effects of context in classification and segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Shuai B, Zuo Z, Wang B, Wang G (2017) Scene segmentation with dag-recurrent neural networks. PAMI OpenAlex ↗ · Scholar ↗
- Sun K, Xiao B, Liu D, Wang J (2019a) Deep high-resolution representation learning for human pose estimation. In: CVPR OpenAlex ↗ · Scholar ↗
- Sun K, Zhao Y, Jiang B, Cheng T, Xiao B, Liu D, Mu Y, Wang X, Liu W, Wang J (2019b) High-resolution representations for labeling pixels and regions. arXiv:190404514 OpenAlex ↗ · Scholar ↗
- Tian Z, He T, Shen C, Yan Y (2019) Decoders matter for semantic segmentation: Data-dependent decoding enables flexible feature aggregation. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp 3126–3135 OpenAlex ↗ · Scholar ↗
- Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, Kaiser Ł, Polosukhin I (2017) Attention is all you need. In: NIPS our card
- Wang P, Chen P, Yuan Y, Liu D, Huang Z, Hou X, Cottrell G (2018a) Understanding convolution for semantic segmentation. In: WACV OpenAlex ↗ · Scholar ↗
- Wang W, Zhang Z, Qi S, Shen J, Pang Y, Shao L (2019) Learning compositional neural information fusion for human parsing. In: Proceedings of the IEEE International Conference on Computer Vision, pp 5703–5713 OpenAlex ↗ · Scholar ↗
- Wang X, Girshick R, Gupta A, He K (2018b) Non-local neural networks. In: CVPR OpenAlex ↗ · Scholar ↗
- Wu T, Tang S, Zhang R, Cao J, Li J (2018) Tree-structured kronecker convolutional network for semantic segmentation. arXiv:181204945 OpenAlex ↗ · Scholar ↗
- Xiao T, Liu Y, Zhou B, Jiang Y, Sun J (2018) Unified perceptual parsing for scene understanding. In: ECCV OpenAlex ↗ · Scholar ↗
- Xie G, Wang J, Zhang T, Lai J, Hong R, Qi GJ (2018) Igcv $2$: Interleaved structured sparse convolutional neural networks. arXiv:180406202 OpenAlex ↗ · Scholar ↗
- Yang M, Yu K, Zhang C, Li Z, Yang K (2018) Denseaspp for semantic segmentation in street scenes. In: CVPR OpenAlex ↗ · Scholar ↗
- Yu C, Wang J, Peng C, Gao C, Yu G, Sang N (2018a) Bisenet: Bilateral segmentation network for real-time semantic segmentation. In: ECCV OpenAlex ↗ · Scholar ↗
- Yu C, Wang J, Peng C, Gao C, Yu G, Sang N (2018b) Learning a discriminative feature network for semantic segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Yu F, Koltun V (2016) Multi-scale context aggregation by dilated convolutions. In: ICLR OpenAlex ↗ · Scholar ↗
- Yuan Y, Chen X, Wang J (2019) Object-contextual representations for semantic segmentation. arXiv preprint arXiv:190911065 OpenAlex ↗ · Scholar ↗
- Yue K, Sun M, Yuan Y, Zhou F, Ding E, Xu F (2018) Compact generalized non-local network. In: NIPS OpenAlex ↗ · Scholar ↗
- Zhang F, Chen Y, Li Z, Hong Z, Liu J, Ma F, Han J, Ding E (2019a) Acfnet: Attentional class feature network for semantic segmentation. In: Proceedings of the IEEE International Conference on Computer Vision, pp 6798–6807 OpenAlex ↗ · Scholar ↗
- Zhang H, Dana K, Shi J, Zhang Z, Wang X, Tyagi A, Agrawal A (2018) Context encoding for semantic segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Zhang H, Zhang H, Wang C, Xie J (2019b) Co-occurrent features in semantic segmentation. In: CVPR OpenAlex ↗ · Scholar ↗
- Zhang R, Tang S, Zhang Y, Li J, Yan S (2017a) Scale-adaptive convolutions for scene parsing. In: ICCV OpenAlex ↗ · Scholar ↗
- Zhang T, Qi GJ, Xiao B, Wang J (2017b) Interleaved group convolutions. In: ICCV OpenAlex ↗ · Scholar ↗
- Zhao H, Shi J, Qi X, Wang X, Jia J (2017) Pyramid scene parsing network. In: CVPR OpenAlex ↗ · Scholar ↗
- Zhao H, Yi Z, Shu L, Jianping S, Loy CC, Dahua L, Jia J (2018) Psanet: Point-wise spatial attention network for scene parsing. In: ECCV OpenAlex ↗ · Scholar ↗
- Zhou B, Zhao H, Puig X, Fidler S, Barriuso A, Torralba A (2017) Scene parsing through ade20k dataset. In: CVPR OpenAlex ↗ · Scholar ↗
- Zhou Z, Siddiquee MMR, Tajbakhsh N, Liang J (2018) Unet++: A nested u-net architecture for medical image segmentation. In: MICCAI OpenAlex ↗ · Scholar ↗
- Zhu Z, Xu M, Bai S, Huang T, Bai X (2019) Asymmetric non-local neural networks for semantic segmentation. In: ICCV OpenAlex ↗ · Scholar ↗