---
title: "Classification-Reconstruction Learning for Open-Set Recognition"
description: "How CROSR combines classification and reconstruction to detect unfamiliar inputs, what its experiments establish, and where its claims stop."
canonical: "https://research.elamur.ai/free/en/papers/yoshihashi-2019-classification-reconstruction-learning-open-set/"
---
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/yoshihashi-2019-classification-reconstruction-learning-open-set/)

[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/) / Classification-Reconstruction Learning for Open-Set Recognition

# Classification-Reconstruction Learning for Open-Set Recognition

Paper · 2019 · Ryota Yoshihashi, Wen Quan Shao, Rei Kawakami et al.

**Authors:** Ryota Yoshihashi, Wen Quan Shao, Rei Kawakami, Shaodi You, Makoto Iida and Takeshi Naemura · **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/)

[**472** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2904509905) · [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/1812.04246)
- [DOI 10.1109/cvpr.2019.00414](https://doi.org/10.1109/cvpr.2019.00414)
- [arXiv 1812.04246](https://arxiv.org/abs/1812.04246)
- [OpenAlex](https://openalex.org/W2904509905)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Classification-Reconstruction Learning for Open-Set Recognition

How CROSR combines classification and reconstruction to detect unfamiliar inputs, what its experiments establish, and where its claims stop. · about 36 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

A recognition system can classify familiar things accurately and still handle unfamiliar things badly. When every input must receive a label from the training set, an example outside those classes can receive a confident but inappropriate answer. Classification-Reconstruction Learning for Open-Set Recognition addresses this problem by changing what a network learns to preserve. The proposed system, CROSR, learns both to identify known classes and to reconstruct its inputs. Its unknown detector then examines information from both activities, rather than relying entirely on the representation used for classification.

The paper’s central argument concerns the information that ordinary supervised training encourages a network to discard. A feature can be irrelevant to distinguishing the known classes yet useful for noticing that an input belongs to none of them. Classification alone gives little reason to retain that feature. Reconstruction adds a different requirement: the network must preserve enough information to recover the input. CROSR uses the resulting compact internal representations as additional evidence when deciding whether to accept an input as familiar. It does not use reconstruction error itself as its main rejection signal.

To make this combination practical, the authors introduce deep hierarchical reconstruction networks, or DHRNets. These keep the main classification pathway relatively expressive while compressing information along lateral reconstruction pathways. The unknown detector receives the classification activation vector together with compact reconstruction representations drawn from different depths. It measures how far that combined representation lies from each known class’s center and applies the distribution-fitting machinery inherited from Openmax. The decoder supports training; it is unnecessary during recognition.

Experiments cover image recognition and [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/), using both held-out classes and inputs imported from other datasets as unknowns. The authors report that CROSR usually improves open-set performance while avoiding a substantial loss of ordinary classification accuracy. On MNIST, its F1-score improvement over a supervised network with Openmax exceeds 10% when the unknowns are Omniglot characters or noisy digit images. Results with natural images and documents support the broader usefulness of reconstruction representations, although the advantage is not universal. Comparisons with approaches that generate artificial unknown training examples show competitive performance, with reported improvements falling within the comparison’s error bars.

The strongest conclusion is about representation learning: the information needed to separate known classes is not necessarily sufficient to distinguish familiar inputs from unfamiliar ones. Reconstruction can preserve useful additional evidence, especially when its internal representations are exposed directly to the unknown detector. The experiments do not establish that unfamiliar inputs can always be rejected, that reconstruction alone solves the problem, or that a simple distance from a class center extracts everything useful from the learned representation.

### Ideas worth borrowing

Preserve information beyond the immediate label. The classification target tells a network which distinctions matter within the available training classes. It says much less about distinctions that might matter when deployment brings unfamiliar inputs. CROSR adds reconstruction so that learning must account for more of the input than its label alone requires. The reusable idea is to examine whether a training objective encourages the loss of information that a later decision will need. An auxiliary task can be valuable when its information requirements complement those of the main task, even when the auxiliary task is never performed for users.

Separate choosing a class from accepting the input. A system can have strong evidence that one known label fits better than the others while having weak evidence that any known label is appropriate. CROSR preserves this distinction in its architecture. Its classification vector chooses among familiar categories, while its unknown detector also considers reconstruction representations. This separation is useful wherever a system must make both a relative decision and an admission decision. It gives engineers a concrete place to inspect rejection behavior rather than treating the largest class score as sufficient evidence of familiarity.

Put compression where compactness is needed. The authors want rich intermediate features for classification and compact features for unknown detection. A conventional autoencoder makes these aims compete by compressing the main processing pathway. DHRNet instead places bottlenecks in lateral pathways. The classification stream can retain capacity while the detector receives a smaller representation. This is a reusable architectural pattern: when different consumers need different forms of the same information, create a purpose-specific branch rather than forcing every consumer through the same constraint.

Collect evidence across processing depth. An unfamiliar property can be visible early in processing and disappear before the final prediction. DHRNet therefore gathers reconstruction representations from multiple stages instead of assuming that the last layer contains every useful warning sign. The general lesson is to match evidence collection to uncertainty about where a signal survives. This may help systems whose final representation deliberately suppresses surface detail, provided that the additional intermediate evidence is compact enough to inspect and does not simply introduce an unwieldy feature space.

Expose auxiliary representations, not only auxiliary losses. Reconstruction training improves some of the paper’s baselines, but the natural-image experiments indicate that adding the reconstruction objective is not enough. CROSR explicitly gives the detector access to the information learned for reconstruction. This distinction applies beyond unknown detection. An auxiliary objective may change a shared representation without making all of its useful information available at the point where a decision is made. A controlled comparison should therefore distinguish the benefit of training with the auxiliary task from the benefit of reading its internal representation.

Treat the detector as a separate experimental choice. The paper replaces its class-center distance rule with one-class learners and obtains different results on different unknown datasets. This shows that representation quality and decision-rule quality are related but distinct questions. A useful representation can still be poorly served by a particular acceptance region. For another application, this suggests keeping the feature extractor and rejection rule separable enough to compare them independently. It also discourages declaring a representation inadequate solely because a simple detector fails on it.

Test unfamiliarity in more than one way. The authors evaluate both unfamiliar classes within a dataset and outliers drawn from another dataset. They also include noisy digits that retain familiar visual structure, instead of relying only on obviously unrelated inputs. This is a useful principle for [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/): the difficulty of rejection depends on the relationship between familiar and unfamiliar data. A rejection system should be tested against several meaningful forms of unfamiliarity, and its conclusions should name those conditions rather than collapse them into a general claim of robustness.

### How Mova uses it

For [Mova](https://md.research.elamur.ai/free/en/projects/mova/), the small transparent language system written in Rust, CROSR offers a possible design principle for recognizing the limits of a classification decision. There is no implementation evidence here establishing that Mova already contains a DHRNet, a reconstruction decoder, or a Weibull-based unknown detector. The connection should therefore remain a proposal. The transferable idea is that choosing the best available interpretation and deciding whether the input fits any supported interpretation are different operations.

Consider a possible Mova component that assigns an input to a fixed collection of supported categories. A strong preference for one category would establish a ranking within that collection. It would not, on its own, establish that the collection covers the input. Following CROSR, such a component could preserve additional information about the input and use it to assess whether the chosen category is an acceptable fit. The paper provides evidence for this separation in image and document classification, but it does not demonstrate the same behavior in Mova’s setting.

A reconstruction-related objective would be one way to preserve that additional information. The important question would be what the system is asked to recover. In the paper’s document experiments, reconstruction is tied to one-hot word representations. That is a concrete training choice for the tested architecture, not evidence that every language system should reconstruct its entire input in the same way. For Mova, a proposed reconstruction target would need a clear relationship to the information that its classification pathway might otherwise lose.

Transparency could guide how such a proposal is implemented. A diagnostic record could expose the selected category, the evidence used to judge familiarity, and the resulting rejection decision. If a class-center detector were adopted, the record could make its distances inspectable. This would turn the separation between prediction and acceptance into an observable mechanism. It would not turn a distance into a proof that an interpretation is correct: CROSR’s detector measures compatibility with learned known-class representations, and its experiments leave difficult unknowns unresolved.

The most useful experiment would distinguish ordinary classification, classification with reconstruction training, and classification whose rejection rule also receives reconstruction features. Those comparisons follow the paper’s main analytical distinction. They would reveal whether an auxiliary task merely changes the existing representation or supplies additional evidence that the rejection mechanism can actually use. A further comparison could test whether a simple class-center rule is adequate before introducing a more complicated detector.

Mova could also borrow the evaluation discipline without borrowing the architecture. A proposed unfamiliar-input test should include both inputs close to supported categories and inputs that differ more broadly from the training material. Known-input accuracy and unknown rejection should be reported separately enough to reveal their tradeoff. The paper supports investigating this direction; it supplies no result for Mova, no established Rust implementation, and no evidence that the same architecture would transfer without adaptation.

### The problem and its context

#### Why familiar-class accuracy leaves a gap

Ordinary classification begins with a fixed label set. During training, examples tell the learner which label applies to each input. During testing, the system is commonly evaluated under the assumption that another example from that same collection of classes will arrive. This arrangement makes it natural to ask which known class best matches an input. It makes it less natural to ask whether the input belongs within the label set at all.

Open-set recognition adds that second question. Some test examples come from classes absent during training. A successful system must continue distinguishing the known classes while recognizing that other inputs should be rejected as unknown. The unknown category is consequently different from an ordinary supervised class. Its training examples are unavailable, and its possible contents are not confined to a single coherent kind of object.

The paper motivates this distinction through deployment. Covering every possible class in a training collection is often unrealistic. A recognition system may encounter an object or event that its designers did not anticipate. If it assumes that the familiar labels exhaust the possibilities, its answer can be inappropriate even when the input differs substantially from the training data. High accuracy under a closed-set evaluation does not establish reliable handling of this situation.

Unknown detection also differs from ordinary classification error detection. A known-class example can receive the wrong known label, while an unknown-class example can receive an unjustified known label. Both failures matter, but they have different relationships to the training set. CROSR aims to maintain discrimination among familiar classes while improving detection of inputs outside them. A detector that rejects everything would not meet that combined objective.

The authors identify a representation problem beneath the decision problem. A supervised network learns features that help separate the classes it sees. If a detail does not help that separation, there may be little pressure to preserve it. Yet the detail could later distinguish a familiar example from an unfamiliar one. Unknown detection therefore asks something of the representation that the original classification objective did not explicitly require.

#### Earlier approaches to open-set decisions

The paper places its work after approaches based on linear decision functions, kernels, and nearest-neighbor relationships. Its discussion of the broader classification tradition includes [Support-Vector Networks](https://md.research.elamur.ai/free/en/papers/cortes-1995-support-vector-networks/). For open-set recognition specifically, it describes methods that calibrate decision scores, compare examples with class centers, estimate class-inclusion probabilities, or use relationships between nearby classes.

Weibull-calibrated support-vector methods use distributions of decision scores to support rejection. Center-based similarity approaches express an example through its relationships to class centroids. Extreme value machines estimate inclusion through a density function informed by extreme-value theory. Open-set nearest-neighbor methods compare distances to the closest and next-closest classes. These approaches differ in their decision rules, but each needs a representation in which familiarity can be assessed.

The authors also identify an earlier reconstruction-related approach using sparse representations. Its connection to CROSR is conceptual: reconstruction can contribute evidence for recognition beyond a direct discriminative decision. The distinction is architectural. The earlier approach uses a shallow linear representation, whereas CROSR learns a hierarchy of features. In the authors’ account, the older approaches require feature engineering before they can handle large raw inputs.

Openmax is the paper’s immediate deep-learning starting point. It extends a familiar-class classifier with a way to allocate evidence to an unknown category. Its rejection mechanism examines the classification network’s activation vector and estimates whether that vector is compatible with each known class. This provides a practical route from closed-set classification to open-set decisions, but it leaves the detector dependent on features learned for the original classification task.

CROSR’s objection is therefore narrower than a rejection of Openmax. The authors retain its general calibration framework. They question whether the activation vector alone is the right evidence for deciding class membership. A vector optimized to distinguish familiar labels need not preserve everything useful for deciding whether an input is familiar.

#### Other deep approaches and their constraints

The paper describes G-Openmax as an extension that adds artificial unknown examples produced through generative learning. Its stated difficulty is the challenge of generating useful natural images, which restricts the approach discussed there beyond handwritten characters. CROSR follows another route: it trains on known examples and tries to preserve more information within their learned representations.

DOC takes a different approach to document classification. It uses sigmoid outputs to combine classification and outlier detection within the network. The authors criticize a property of those outputs: they need not decrease suitably as an input moves far from the training data. A distant input may still activate them. In the terminology used by the paper, this prevents a bound on open-space risk.

That criticism concerns the geometry of acceptance, rather than merely whether the output is called a probability. An open-set system needs to control which regions of its representation space are treated as familiar. A scoring function that remains strongly activated far from training examples can admit inputs without local support from known data. CROSR instead uses distances and fitted distributions to calibrate its familiar-class evidence.

The paper also distinguishes open-set recognition from anomaly detection. An anomaly detector may tell whether an example looks unusual, but it need not distinguish among the known classes. Open-set recognition requires both capabilities. This explains why a generic anomaly detector is not, by itself, a complete solution to the paper’s task, although it can serve as the rejection component of a larger system.

The reviewed anomaly-detection methods include one-class learners, isolation-based methods, mixture distributions, and subspace approaches. Deep variants often use autoencoders, sometimes combined with clustering or a separate density estimator. The authors note that many anomaly-detection studies depend on task-specific cues, such as information from video. Such cues can be effective within their domains without providing a general recognition architecture.

The discussion also covers [Generative Adversarial Nets](https://md.research.elamur.ai/free/en/papers/goodfellow-2014-generative-adversarial-nets/). In the anomaly-detection applications described, reconstruction errors and discriminator decisions provide detection signals. CROSR makes a different use of reconstruction: its detector reads latent representations learned through the reconstruction task. The distinction matters because a useful representation can contain information that is not summarized by a single reconstruction-error value.

Some reviewed methods detect distributional departures using supervised networks together with input preprocessing. The paper connects this discussion to adversarial perturbations and [Explaining and Harnessing Adversarial Examples](https://md.research.elamur.ai/free/en/papers/goodfellow-2014-explaining-harnessing-adversarial-examples/). Its concern is that modifying an input for detection may damage known-class classification. CROSR instead adds information to the representation used for rejection while retaining the classification pathway.

#### Why reconstruction is the proposed remedy

Reconstruction requires a network to recover an input from an internal representation. The authors treat this as a way to encourage retention of information that may not help the immediate label decision. It is not a guarantee that every potentially useful property survives. It is a training pressure that differs from class discrimination and may therefore complement it.

The paper places this choice alongside earlier classification-and-reconstruction approaches in semisupervised learning and domain adaptation. Those settings use reconstruction as a regularizer, often drawing on unlabeled examples as well as labeled ones. CROSR changes the purpose and the data assumption. Its reconstruction objective discourages excessive specialization to known categories, and it is trained only with available known-class examples.

Ladder networks supply an architectural connection because they reconstruct through lateral pathways. Such pathways can preserve details that a deep classification stream would otherwise discard. The authors’ additional requirement is compactness: the unknown detector needs manageable features, rather than the full high-dimensional contents of every intermediate layer. DHRNet combines lateral reconstruction with bottlenecks to meet that requirement.

The resulting research question is precise. Can a network preserve reconstruction-related information without substantially damaging familiar-class discrimination, and can a detector use that information to recognize unknown inputs more effectively? The experiments investigate both parts. They compare training objectives, architectures, feature choices, and rejection rules rather than treating reconstruction as a single indivisible addition.

### The method, step by step

#### Follow the information through the system

CROSR contains a classification-and-reconstruction network followed by an open-set decision mechanism. During training, the network receives labeled examples from known classes. It learns a class-prediction vector and compact internal representations that support reconstruction. After training, the authors fit distributions describing distances between known examples and their class centers.

At recognition time, the network produces the prediction vector and reconstruction representations for the new input. The classifier uses the prediction vector to distinguish known labels. The rejection mechanism measures compatibility with the known classes using the larger combined representation. Openmax-style calibration then adds an unknown alternative to the final decision.

From known-class training to open-set decisions The steps in order.

The flow separates learning a representation from fitting the rejection mechanism. It also shows why reconstructing the test input is unnecessary. The detector needs the compact representation produced by the encoder, not the decoder’s reconstructed output. Reconstruction shapes that representation during training.

#### Start with the familiar-class classifier

The notation begins with a collection of known classes.

```
𝒦 = {C₁, C₂, …, C_N}
```

Here, 𝒦 is the known-class set, Cᵢ is a particular known class, and N is the number of known classes. An input is written x. Saying that an input is known means that its class belongs to this set; unknown inputs fall outside it.

A conventional network maps the input to its final activation vector.

```
y = f(x)
```

The function f denotes the network, x denotes its input, and y is the resulting activation vector. In the formulation used by the paper, y has an entry for each known class. The authors abbreviate activation vector as AV.

Softmax converts these entries into a distribution over known classes.

```
p(Cᵢ | x, x ∈ 𝒦) = Softmaxᵢ(y) = exp(yᵢ) / ∑ⱼ exp(yⱼ)
```

The left side is the probability assigned to class Cᵢ under the assumption that x belongs to the known-class set. The entry yᵢ supplies that class’s score. The exponential function exp makes the scores positive, and the sum over known-class entries normalizes them.

The paper’s displayed Softmax expression uses x-indexed entries inside the exponentials despite defining the activation vector as y. The expression above follows the surrounding definition and uses y consistently. This notation issue does not change the conceptual point: the distribution is conditional on the input belonging to the familiar label set.

That condition is essential. Softmax distributes its output across the available known classes. It does not, by itself, establish whether an input should have been admitted to those classes. Openmax adds a mechanism for withdrawing evidence from known classes and assigning it to an unknown alternative.

#### Add Openmax calibration

For a known class, Openmax scales the original activation using a class-inclusion weight.

```
ŷᵢ = yᵢwᵢ, for i ≤ N
```

The calibrated activation is ŷᵢ, the original activation is yᵢ, and wᵢ expresses the estimated compatibility of x with known class Cᵢ. A small wᵢ reduces the activation retained by that class.

The withdrawn activations contribute to an additional unknown entry.

```
ŷ_(N+1) = ∑ᵢ₌₁ᴺ yᵢ(1 − wᵢ)
```

The index N+1 denotes the unknown category. Each term yᵢ(1 − wᵢ) is the portion removed from a known class’s activation. The sum gathers those portions into the unknown activation.

The final output is obtained by normalizing the calibrated vector.

```
Openmaxᵢ(x) = Softmaxᵢ(ŷ)
```

Here, ŷ includes both the calibrated known-class entries and the unknown entry. Openmaxᵢ(x) is the resulting normalized score for entry i. This converts the class-compatibility estimates into a decision that can include rejection.

The architecture therefore has a clear division of labor. The original activation vector represents discrimination among known classes. The compatibility weights determine how much of that evidence should remain assigned to those classes. The unknown entry captures the evidence removed through calibration.

#### Estimate compatibility from distance distributions

The detector needs a measure of how far an example lies from a known class. In the activation-only version reviewed by the paper, this is a Euclidean distance from the class mean.

```
d(x, Cᵢ) = ‖y − μᵢ‖₂
```

The function d measures distance between input x and class Cᵢ in activation space. The vector μᵢ is the mean activation vector for that class. The notation ‖·‖₂ denotes Euclidean length.

This simplifies a class’s structure to a center and the distribution of distances around it. It is useful because the detector can summarize how unusually far an input lies from familiar examples. It is also restrictive: the relationship between an input and a class is assessed completely through the activation vector and its distance from that class’s center.

The paper expresses class compatibility through a fitted Weibull cumulative distribution.

```
p(x ∈ Cᵢ) = 1 − R_α(i) · WeibullCDF(d(x, Cᵢ); ρᵢ)
```

The left side denotes the estimated class-inclusion probability. WeibullCDF is the cumulative distribution function evaluated at distance d(x, Cᵢ). The parameter collection ρᵢ is fitted from known training examples of class Cᵢ. The factor R_α(i) determines how strongly calibration affects a class according to its rank.

The distribution parameters are written as follows.

```
ρᵢ = (mᵢ, ηᵢ)
```

The symbols mᵢ and ηᵢ parameterize the class-specific Weibull distribution. Their values come from the training data rather than from examples of unknown classes.

The rank-dependent factor is defined separately.

```
R_α(i) = max(0, (α − rank(i)) / α)
```

The hyper-parameter α controls the range of ranks affected by calibration. The function rank(i) refers to class i’s position after sorting activation entries from largest to smallest. The maximum with 0 prevents the factor from becoming negative.

There is a mathematical inconsistency in the paper’s displayed expansion of the cumulative-distribution expression. It gives the following equality.

```
p(x ∈ Cᵢ) = 1 − R_α(i) exp(−(d(x, Cᵢ) / ηᵢ)^mᵢ)
```

All symbols retain their preceding meanings. As written, the exponential factor decreases with distance, so this expression does not have the same distance behavior as subtracting a cumulative distribution that increases with distance. The conceptual method should therefore be read through the stated class-distance calibration procedure, without treating the displayed expansion as an unambiguous implementation specification.

#### Give the detector reconstruction information

CROSR changes what the network returns.

```
(y, z) = f(x)
```

The network f now produces both the class-prediction vector y and a reconstruction-related latent representation z. The word latent refers to an internal representation learned by the network rather than an externally supplied label.

Known-class prediction still uses the classification vector.

```
p(Cᵢ | x, x ∈ 𝒦) = Softmaxᵢ(y)
```

The meanings of Cᵢ, x, 𝒦, and y remain unchanged. Reconstruction does not replace the classification head or require the decoder to choose a class.

During training, a decoder uses the latent representation to recover the input.

```
x̃ = g(z)
```

The function g is the decoder, and x̃ is the reconstructed version of x. Its purpose is to make z retain input information. Once training has shaped that representation, the decoder is not needed for the recognition procedure.

The detector then uses a larger representation than Openmax’s activation-only version.

```
d(x, Cᵢ) = ‖[y, z] − μᵢ‖₂
```

The brackets [y, z] mean concatenation: the entries of y and z are placed together in one vector. The class mean μᵢ is now computed in this combined space. The Euclidean distance therefore reflects both classification evidence and reconstruction-related information.

This is the decisive methodological change. CROSR does not simply ask whether a reconstruction is poor. It asks whether the internal features learned to support reconstruction, together with the classification activations, look compatible with a known class. The distinction explains why the authors analyze both reconstruction training and explicit access to reconstruction features.

#### Keep the classification pathway expressive

A straightforward autoencoder compresses information along its main pathway. That can produce a useful compact code, but the authors argue that it also constrains classification capacity. Their classification networks need sufficiently rich intermediate features to distinguish complicated known classes.

DHRNet places the compression in lateral branches instead. At several stages, the main network continues its classification computation while a side branch produces a compact reconstruction code. The reconstruction pathway combines information arriving from deeper stages with information supplied laterally. This lets different depths contribute details without forcing the entire classification computation through a narrow code.

The forward transformation at a stage is written as follows.

```
x_(l+1) = f_l(x_l)
```

The index l identifies a network stage. The vector or feature map x_l is its input, f_l is the feature-transformation block at that stage, and x_(l+1) is the resulting representation passed onward.

The lateral branch compresses the stage representation.

```
z_l = h_l(x_l)
```

The function h_l performs nonlinear dimensionality reduction, producing compact code z_l. In the implementation described by the authors, it uses a rectified linear activation and a convolutional operation.

Reconstruction combines the lateral code with information from the deeper reconstruction pathway.

```
x̃_l = g_l(x̃_(l+1) + h̃_l(z_l))
```

The reconstructed stage representation is x̃_l. The function h̃_l projects z_l back to the dimensionality needed by the lateral reconstruction path. The deeper reconstruction signal is x̃_(l+1), and g_l transforms the combined information.

The authors implement the combination using an elementwise sum followed by convolutional and rectified linear operations. The mechanism is intentionally simple. Its purpose is to combine information from different depths while preserving compact codes that the detector can later consume.

Each lateral code initially has spatial structure in the image networks. Before the unknown detector uses it, global max pooling reduces its spatial axes to a vector. The resulting vectors from the different stages are concatenated. The authors report slightly better performance with this choice than with average pooling or flattening, although they do not give a numerical comparison in the accompanying prose.

#### Train only with known examples

The network is trained with classification and reconstruction objectives together. Classification uses Softmax cross-entropy against the known labels. For images, reconstruction uses an ℓ² discrepancy between the input and its reconstruction. For text, it uses cross-entropy over one-hot word representations.

Both objective weights are set to 1.0. The authors suggest that a stronger reconstruction contribution could be desirable while known-class validation accuracy remains acceptable. They nonetheless retain the default balance because it gives satisfactory results, rather than adjusting it separately for each unfamiliar test distribution.

Training uses stochastic gradient descent with learning-rate schedules chosen for the datasets. The whole network is differentiable. Once its weights are fixed, the authors fit the class-distance distributions used by the unknown detector. They use Chainer for the experiments and libmr for Weibull fitting.

The reconstruction pathways differ from the ladder-network implementation discussed in the paper. They use dropout in intermediate layers instead of added noise, with a reported slight advantage in closed-set accuracy. They also omit reconstruction penalties at intermediate layers. This avoids maintaining separate clean and perturbed intermediate computations solely for those penalties.

The authors use the name LadderNet for their corresponding reconstruction architecture without lateral bottlenecks. That definition matters when interpreting the controls. A comparison with LadderNet examines the value of compact lateral representations within their implementation, instead of every difference between their system and every earlier ladder-network variant.

No unknown-class example enters classification training or reconstruction training. The detector’s distribution fitting also relies on known data. The authors make their research [code](https://nae-lab.org/~rei/research/crosr/) available, providing an implementation companion to the architectural and fitting descriptions.

### Experiments and results

#### Two ways to introduce unknown inputs

The experiments use complementary protocols. Class separation withholds some classes from training and treats them as unknown during testing. This tests unfamiliar categories within the same dataset domain. Outlier addition trains on the original known classes and then adds test examples from another dataset.

These protocols answer different questions. A held-out category can share acquisition conditions or broad visual structure with the known data. An imported dataset can introduce larger changes in appearance or content. Neither protocol covers all possible deployment conditions, but together they make a broader test than either would alone.

All unknown categories are combined into an unknown label for evaluation. Their original class identities are not used to train the system. The task is to reject them while preserving useful distinctions among the known classes, rather than to identify which unfamiliar category each example belongs to.

For the principal MNIST, CIFAR-10, and DBpedia comparisons, the authors report F1-scores incorporating the known categories and the combined unknown category. They use a rejection threshold of 0.5. F1 combines precision and recall, so the evaluation concerns both inappropriate acceptance and inappropriate rejection rather than simply counting rejected unknowns.

The discussion supplies relative gains and descriptions of rankings, but the numerical entries of its referenced result tables are unavailable in the paper text used for these comparisons. Absolute F1-scores and closed-set accuracies therefore cannot be reported reliably. The quantitative results below retain the values explicitly stated in the authors’ discussion.

#### Handwritten digits and different kinds of outlier

MNIST contains 60,000 training images and 10,000 test images from ten digit classes. Its familiar-class task is comparatively well solved in the paper’s framing, but its open-set extension depends heavily on what kinds of unfamiliar images are introduced.

The authors use Omniglot characters, independently generated pixel noise, and noisy MNIST images. Omniglot supplies handwritten characters from multiple alphabets. The noise images sample pixel values uniformly on [0, 1]. The noisy-digit condition superimposes MNIST test images on that noise, preserving familiar digit structure while changing the input.

Each outlier dataset contributes 10,000 test images. The known-to-unknown ratio is consequently 1:1. This balance matters when reading aggregate classification results: unknown detection is evaluated on a test mixture in which unfamiliar examples are as numerous as familiar ones.

The MNIST network is a seven-layer plain convolutional network. Its convolutional portion has five layers using 3×3 kernels and 100 output channels. Pooling follows pairs of convolutional layers, and the final fully connected layers have 500 and 10 units. DHRNet adds lateral pathways after pooling, with reconstruction-code dimensionalities fixed at 32.

CROSR improves on the supervised Openmax baseline by more than 10% in F1-score for both Omniglot and noisy MNIST outliers. It performs slightly worse on the pure-noise condition, which the authors describe as the easiest unknown set. It also matches or exceeds the stronger reconstruction-trained Openmax controls in the comparisons discussed.

Reconstruction training alone already helps on the harder digit conditions. The following chart reports the authors’ stated gains for LadderNet with Openmax relative to the supervised counterpart. The star marks the larger reported gain among these reconstruction-training controls; these are not absolute CROSR scores.

MNIST: F1-score gains from reconstruction training The reconstruction-trained control improves on both unfamiliar characters and noisy digits.

**The numbers**

| System or setting | F1-score gain % |
| --- | --- |
| LadderNet + Openmax, Omniglot | 8.4 |
| LadderNet + Openmax, MNIST-Noise (this paper) | 10.1 |

The chart supports a specific claim: changing representation learning can help even before the detector receives CROSR’s concatenated features. It does not establish that the same amount of improvement appears with natural images, or that noisy-digit rejection is universally easier or harder than character rejection.

#### Natural images and richer classification backbones

CIFAR-10 contains 50,000 training images and 10,000 test images, divided among ten classes. The paper emphasizes variation within classes, including changes of color, style, and pose. This makes known-class discrimination a substantial task in its own right, so a reconstruction extension must avoid sacrificing the representation needed for classification.

The authors test a plain convolutional backbone and DenseNet. The plain network follows the architectural style of [Very Deep Convolutional Networks for Large-Scale Image Recognition](https://md.research.elamur.ai/free/en/papers/simonyan-2014-very-deep-convolutional-networks-large/) and has 13 layers. Its convolutional blocks use output-channel counts of 64, 128, and 256. DenseNet uses depth 92 and growth rate 24. Reconstruction representations again have dimensionality 32.

Unknown images come from ImageNet and LSUN, with cropped and resized variants prepared to match the input size. Each outlier set contains 10,000 test examples, retaining the 1:1 known-to-unknown ratio. The authors exclude Gaussian and uniform synthetic outlier sets from this comparison because baseline rejection techniques already detect them easily.

The principal result is that CROSR performs better than the alternatives across the rejection thresholds shown for the CIFAR-10 and ImageNet-crop comparison. This matters because a result at a single threshold could reflect a particularly favorable operating point. The threshold analysis supports a broader advantage within that tested pairing, although it does not prove threshold independence for every dataset.

The natural-image controls also sharpen the paper’s interpretation. Adding a reconstruction objective without explicitly using the reconstruction factors does not produce the gains seen in the digit experiments. The authors therefore argue that the detector must receive those factors directly. Reconstruction training and reconstruction-feature access are separate interventions, and their relative importance changes with the data.

#### Documents and category withholding

The text experiment uses DBpedia’s ontology classification task. The dataset description gives 14 categories of Wikipedia articles, with 40,000 training instances and 5,000 test instances. The authors choose it because its category inventory permits several open-set class splits within the text-classification setting they study.

The architecture is based on [Convolutional Neural Networks for Sentence Classification](https://md.research.elamur.ai/free/en/papers/kim-2014-convolutional-neural-networks-sentence-classification/). It uses three convolutional layers with kernel sizes 3, 4, and 5 and output dimension 100. The reconstruction bottleneck has dimensionality 25. DOC is implemented with the same underlying architecture to make the comparison more controlled.

The paper also connects its dataset choice to [Character-level Convolutional Networks for Text Classification](https://md.research.elamur.ai/free/en/papers/zhang-2015-character-level-convolutional-networks-text/). That connection concerns the large-scale convolutional text-classification literature motivating the experiment. It does not mean that CROSR’s reconstruction machinery is limited to a character-level representation.

There is an ambiguity in the DBpedia setup description. It describes 4 known classes alongside unknown-class selections of 4, 8, and 10, while the results discussion calls the 4/4 train/test setting closed-set. Those statements do not provide a fully consistent account of every split. The results can be stated without resolving that inconsistency: CROSR improves over the alternatives in the open-set settings discussed, while it does not lead in the condition identified as closed-set.

DOC and Openmax perform similarly in the authors’ account. CROSR’s improvement over Openmax shows that reconstruction-related features can contribute outside image recognition. The evidence remains specific to the tested document categories and convolutional architecture; it does not establish an equivalent result for arbitrary language tasks.

#### Comparisons with generated unknown examples

The authors also compare CROSR against approaches that synthesize unknown training inputs. These experiments include SVHN, a digit-photograph dataset with 10 classes, and TinyImageNet, which has 200 classes. The reported comparison also includes MNIST.

To reduce uncertainty from unstable generative training, the authors follow the comparison protocol used by the counterfactual-image work. They use within-dataset class separation, average over five trials, and compare area-under-the-curve criteria. Their backbone follows the comparison architecture, with nine convolutional layers and one fully connected layer, augmented by reconstruction components.

CROSR leads the reported alternatives on MNIST and TinyImageNet. On SVHN, Counterfactual performs better, while CROSR exceeds the other listed approaches. The authors explicitly note that the relative improvements lie within the reported error bars.

The appropriate interpretation is competitive performance without synthesized unknown training data. The comparison does not establish a decisive general advantage over generative approaches. It shows that preserving information through reconstruction can be a viable alternative to manufacturing examples intended to represent unknown classes.

#### Fitting choices and computational cost

Weibull fitting uses α = 10 and tail_size = 20 as inherited settings. The tail-size parameter determines how many extreme distances are used to fit the distribution’s tail. For MNIST and CIFAR-10, the authors omit rank calibration because it does not improve results with the small known-class inventories.

For CIFAR-10 with DenseNet, the default fitting parameters produce worse Openmax performance, so tail_size is changed to 50. The authors avoid adjusting these settings separately for each outlier dataset. That decision is consistent with the task’s motivation: tuning extensively to a particular unknown distribution would make the claimed unfamiliarity less meaningful.

Known-class accuracy remains broadly intact after reconstruction is added, according to the authors’ closed-set checks. The missing numerical table entries prevent a detailed account of small changes, but the reported outcome is that the extra objective does not cause a substantial degradation.

Runtime is measured on a GTX Titan X, using CIFAR-10 with batch size 1. Computing the additional latent representations adds 3–5 ms/image. The authors describe that overhead as small relative to the original computation for larger backbones. This is a measured implementation result under the stated conditions, instead of a general hardware-independent efficiency guarantee.

### What the ablations show

#### Reconstruction regularization has an independent effect

The most informative control keeps the detector’s activation-based input while changing the network’s training. A supervised-only network learns through class labels. LadderNet adds reconstruction, but its Openmax detector still uses the prediction representation rather than CROSR’s full concatenation. This comparison tests whether reconstruction changes the classification representation in a useful way.

On MNIST with unfamiliar characters and noisy digits, it does. The gains shown in the results chart arise before the detector directly receives compact reconstruction codes. The classification representation itself becomes more useful for rejection under those conditions. That supports the authors’ claim that supervised class discrimination alone is not necessarily the best training objective for open-set behavior.

This is a narrower finding than saying that reconstruction always supplies a better representation. The same reconstruction-only intervention does not produce gains in the natural-image experiments discussed. Its benefit depends on the data and the way the detector accesses the learned information. The controls therefore support complementarity rather than a universal replacement of supervised training.

#### Direct access to latent information matters

A further comparison distinguishes DHRNet with ordinary Openmax from CROSR. Both use reconstruction-related learning, but CROSR supplies the detector with the concatenated classification and reconstruction vectors. This tests whether useful information remains outside the activation vector even after joint training.

The authors report that CROSR performs at least as well as these stronger reconstruction-trained controls in the principal MNIST discussion, and the natural-image findings motivate explicit use of the latent factors. The mechanism is plausible within the architecture: reconstruction information can be retained in lateral codes without being transferred completely into the final classification scores.

This distinction is central to interpreting the contribution. The paper does not merely add another loss to an existing classifier. It changes the evidence available at the rejection stage. A comparison that removed reconstruction training and reconstruction features simultaneously would not reveal which change mattered. The authors’ controls make that separation more visible.

The available numerical discussion does not quantify every pairwise comparison. It therefore supports the qualitative decomposition of effects more strongly than a complete numerical attribution. A reader can identify which components were varied and the reported direction of their effects without assigning an exact share of the overall gain to each one.

#### Compact lateral pathways serve a particular purpose

DHRNet’s bottlenecks address a tension between representation richness and detector tractability. The main classification pathway benefits from expressive intermediate features. The detector, in contrast, is asked to assess distances in a compact space. Passing every intermediate feature directly to it would defeat that design goal.

The comparison with LadderNet is relevant because the latter retains lateral reconstruction without the same compression. DHRNet makes the side-path information available in a form intended for distance-based rejection. The authors motivate this choice with the difficulty of detecting outliers in high-dimensional spaces, where distance relationships become less informative.

The experiments support the usefulness of the overall compact hierarchical design, but the discussion does not isolate every architectural choice. It does not supply a complete dimensionality sweep or show the contribution of every lateral branch separately. The claim justified by the paper is that the proposed construction works in the tested systems, instead of that its chosen bottleneck sizes are uniquely suitable.

The pooling comparison is similarly limited. Global max pooling is reported to work slightly better than average pooling or flattening when converting lateral features into vectors. Without the corresponding numerical results, this remains an implementation finding. It should not be elevated into a general rule that max pooling is always preferable for unknown detection.

#### A better representation still needs a suitable detector

The authors replace the default distance-based mechanism with one-class support-vector learning and Isolation Forest to explore whether another detector can use the latent information more effectively. They retain default scikit-learn hyper-parameters, so the comparison is exploratory instead of an extensive detector-specific optimization.

One-class support-vector learning improves F1-score by more than 15% on synthesized outliers, but it produces a 9% deterioration on Omniglot. These values describe different unknown conditions. They are not evidence of a uniform gain or a single overall improvement.

The mixed outcome is useful because it separates two possible explanations of failure. The learned representation might lack relevant information, or the detector might impose an unsuitable acceptance region on information that is present. Better results from another detector on some outliers suggest that the default per-class center rule does not use all of DHRNet’s available information.

At the same time, the deterioration on Omniglot prevents a simple recommendation to replace the detector. The paper finds no alternative that improves every tested case. Choosing a more expressive rejection rule introduces its own assumptions about the structure of familiar and unfamiliar examples.

#### Threshold plots and visual inspections add supporting evidence

The rejection-threshold analysis examines whether an advantage depends on the selected operating point. For CIFAR-10 against ImageNet-crop, CROSR’s advantage persists across the thresholds shown. That is stronger evidence than a favorable result only at threshold 0.5, because the tradeoff between rejecting unknowns and retaining knowns is allowed to move.

The confidence-sorted image inspection asks a different question: which unknown examples still receive strong acceptance? The authors find that their systems assign lower confidence to many unfamiliar images and are mainly deceived by examples resembling the known data. This provides a concrete view of residual errors, instead of treating every rejected or accepted outlier as interchangeable.

The representation visualization uses t-SNE to compare supervised activation vectors with DHRNet’s combined classification and reconstruction representation. Known and unknown samples appear more separated in the combined representation. This is consistent with the numerical findings and the proposed mechanism.

A visualization does not establish rejection performance on its own. It projects a higher-dimensional representation into a display intended for inspection. Its role here is supporting evidence: it helps explain what the authors think the representation has changed, while the classification experiments remain the main test of usefulness.

### Limitations

#### Limits the authors explicitly acknowledge

The paper does not report universal dominance. CROSR slightly underperforms the supervised Openmax comparison on the MNIST pure-noise condition, and the document results include a closed-set condition where it does not lead. These exceptions matter because they show that additional reconstruction information is not automatically beneficial for every data pairing or evaluation setting.

The comparison with generated-unknown approaches is also qualified by the authors. CROSR’s relative improvements lie within the reported error bars. The evidence supports performance comparable to strong alternatives without artificial unknown training examples, but it does not support an unequivocal ranking across all three datasets in that comparison.

The one-class detector experiment exposes another acknowledged limit. A detector can improve substantially on synthesized outliers while worsening on unfamiliar handwritten characters. The authors do not find a replacement detector that consistently improves results across datasets. Their conclusion is that useful information may remain underexploited, rather than that a particular alternative rejection rule solves the issue.

The method cannot learn reconstruction from actual unknown classes under the task’s assumptions. Only known-class data are available during training. Reconstruction is therefore an indirect strategy: it encourages broader information retention on familiar examples in the hope that this information will help distinguish unfamiliar ones later. It does not provide direct training coverage of those unknowns.

Hyper-parameter tuning is deliberately restrained. The authors avoid fitting separate settings to every outlier test set because that would undermine the motivation for handling unanticipated data. This is a strength of the evaluation discipline, but it leaves open how sensitive other data pairings might be to the chosen tail fitting and calibration settings.

#### Limits visible in the experimental design

The unknown category is aggregated. An accepted CROSR result means an input is assigned a familiar label or treated as unknown; the system does not then identify the unfamiliar class, explain its nature, or incorporate it into the known inventory. Detection should not be confused with class discovery or continued learning.

The tested forms of unfamiliarity are constructed through class withholding and dataset addition. These are clear and useful protocols, but they do not exhaust deployment conditions. A dataset boundary may introduce acquisition or formatting differences, while a held-out class may remain close to the familiar domain. The experiments establish behavior under those specific constructions rather than a guarantee for every unforeseen input.

The synthetic image conditions illustrate the importance of that distinction. Independent pixel noise and digits overlaid with noise are different rejection problems. Their results cannot be merged into a claim that the system has solved “noise” in general. Similarly, success with Omniglot characters does not establish equal success with every unfamiliar handwritten symbol.

The principal outlier-addition experiments use a known-to-unknown ratio of 1:1. Their F1 results describe that mixture. The paper does not establish that the same aggregate scores would hold when unfamiliar inputs are much rarer or much more frequent. A reader should retain the test mixture as part of the result.

Known-class performance is reported as broadly preserved, but the available discussion does not supply the full numerical accuracy table. It supports the absence of a large degradation as reported by the authors. It does not allow a detailed comparison of small accuracy changes across every backbone and dataset.

#### Assumptions in the rejection mechanism

The default detector summarizes each class through a center and a distribution of distances in the concatenated representation. This makes the geometry manageable, but it compresses potentially complicated class structure into a simple radial description. Distinct regions belonging to the same class may not be represented equally well by a single center.

The one-class learner analysis reinforces this concern. Improvements on some unknown datasets suggest that a richer decision rule can extract information the center-based rule misses. The corresponding losses on other datasets show that greater detector flexibility is not a sufficient remedy by itself.

Reconstruction also has an unresolved selectivity problem. Recovering an input encourages retention of information, but not every retained detail is useful for rejecting unknowns. Some details may vary substantially within a familiar class. The paper demonstrates that the added information helps in many tested settings; it does not show that the reconstruction objective identifies only the factors relevant to familiarity.

Collecting features from multiple depths is motivated by uncertainty about where unfamiliar properties become visible. The architecture is designed to reduce dependence on any single stage. The experiments do not separately establish which depth contributes to which kind of unknown, so the proposed multilevel explanation remains broader than the component-level evidence.

The decoder is omitted at test time, which keeps the recognition procedure simpler than full reconstruction would require. Nonetheless, the encoder must still compute its additional latent features, and the detector must process the concatenated representation. The runtime findings are tied to the measured implementation and hardware. They do not establish negligible overhead for every deployment target.

#### Reporting ambiguities constrain exact reproduction

The mathematical description contains the inconsistency between the named Weibull cumulative distribution and its displayed exponential expansion. That issue matters for an implementation because the detector’s intended response to increasing distance is central to rejection. The conceptual explanation is clear enough to identify the intended role of distance calibration, but the equations alone do not provide an entirely consistent specification.

The DBpedia split description also requires caution. The setup language about known and unknown class selections does not align cleanly with the later description of the 4/4 case as closed-set. A precise reproduction should resolve that discrepancy through the authors’ implementation rather than infer missing split details from the result narrative.

The absence of numerical entries from the referenced tables limits the detail available for this account. Absolute F1-scores, per-backbone closed-set accuracies, and complete detector comparisons cannot be reconstructed from captions and prose alone. Reporting the explicitly stated gains preserves useful evidence without fabricating a fuller result matrix.

Finally, the experiments concern classification of images and documents. They do not establish performance for interactive language processing, unfamiliar semantic interpretations, or Mova’s particular components. Those connections are research proposals motivated by the paper’s information-preservation argument. They require their own definitions of known classes, reconstruction targets, and meaningful unknown inputs.

### What came after

No later citing work is identified here, so a documented chain of follow-up contributions cannot be established. The paper’s comparisons with generated unknown examples, alternative detectors, and earlier reconstruction approaches belong to its own experimental and historical context; they should not be presented as subsequent developments.

CROSR nonetheless leaves a clear set of questions for further investigation. Its detector comparison suggests that the learned representation contains information a per-class center does not fully exploit. Its architectural argument invites closer analysis of which intermediate features help with which unfamiliar inputs. Its mixed results for reconstruction-only training show that preserving information and exposing it to a decision mechanism need to be studied separately.

These are directions opened by the findings, rather than claims about work that later carried them out. The paper’s demonstrated contribution remains the combination of known-class discrimination, hierarchical reconstruction representations, and explicit unknown detection trained without unknown-class examples.

## Cite

Cite as Ryota Yoshihashi, Wen Quan Shao, Rei Kawakami, Shaodi You, Makoto Iida and Takeshi Naemura. 2019. Classification-Reconstruction Learning for Open-Set Recognition. 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.00414](https://doi.org/10.1109/cvpr.2019.00414) · [arXiv 1812.04246](https://arxiv.org/abs/1812.04246)

```bibtex
@inproceedings{yoshihashi2019classification,
  title = {{Classification-Reconstruction Learning for Open-Set Recognition}},
  author = {Ryota Yoshihashi, Wen Quan Shao, Rei Kawakami, Shaodi You, Makoto Iida and Takeshi Naemura},
  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.00414},
  eprint = {1812.04246},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2019.00414}
}
```

> 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)
