Global Decision Thresholds for Open Set Recognition

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 19 papers20 conceptsfrozen 2026-10-04

In standard deep learning classification, we typically use the softmax function to pick the "winner" among a set of known categories. While effective for closed-set problems, this approach has a fundamental flaw when applied to real-world tasks like face recognition or open-set verification: it only learns relative differences.

Softmax ensures that the correct class score is higher than the incorrect ones for a specific image, but it doesn't care about the absolute value of those scores. This creates a "threshold gap" between how models are trained and how they are actually used in the wild.

The Problem with Relative Competition

Imagine a face verification system. At deployment, the system must answer a binary question: "Is this person who they claim to be?" To do this, we usually set a similarity threshold (e.g., 0.7). If the score is above 0.7, we grant access; if not, we deny it.

However, standard multi-class training objectives do not optimize for this. Because softmax is translation-invariant—adding a constant to all class scores doesn't change the resulting probabilities—the model never learns a consistent, absolute meaning for a score of 0.7. A score that represents a "match" for one identity might represent a "mismatch" for another.

As Yandong Wen, Weiyang Liu, and their colleagues argue in SphereFace2, this lack of a universal decision threshold is a major bottleneck for robust, large-scale face recognition.

From Multi-Class to Independent Binary Tasks

One way to force a model to learn absolute scores is to stop treating classification as a competition between classes. Instead, we can treat it as a series of independent binary decisions.

In SphereFace2, the researchers replace the standard multi-class softmax with a "one-vs-all" binary classification framework. By training the model to distinguish each identity independently, they force the network to learn a universal decision boundary. This approach ensures that a single similarity score carries the same weight regardless of which identity is being checked, making the model significantly more robust to noise and easier to deploy in open-set environments.

The Principle of Logit Separation

This idea of "global consistency" extends beyond face recognition. In Fast Single-Class Classification and the Principle of Logit Separation, Gil Keren, Sivan Sabato, and Björn W. Schuller introduce the Principle of Logit Separation (PoLS).

The goal of PoLS is to ensure that "true" logits (the scores for the correct class) are always higher than "false" logits across the entire dataset, not just for a single input. When a model satisfies this principle, it enables Single Logit Classification (SLC). Instead of calculating scores for every possible category to find the maximum, a system can simply calculate the score for the class of interest. If that score exceeds a global threshold, the classification is confirmed. This drastically reduces the computational cost of inference in large-scale systems.

Integrating the Threshold into the Loss

If the ultimate goal is to use a fixed threshold during deployment, why not include that threshold directly in the training process?

This is the intuition behind UniTSFace. Qiufu Li and their team proposed the Unified Threshold Integrated Sample-to-Sample (USS) loss. Rather than letting the threshold be an afterthought, they treat it as a learnable parameter within the loss function itself.

By explicitly optimizing the model to separate same-identity and different-identity pairs relative to this learned global threshold, UniTSFace bridges the gap between the training proxy (classification) and the real-world task (verification). The model is forced to align its internal feature representations so that the decision boundary is not just relative, but absolute.

Why It Works

The shift from relative ranking to absolute thresholding works because it aligns the training objective with the reality of open-set testing.

  1. Consistency: It ensures that a similarity score of 0.8 means the same thing for a person seen in training as it does for a stranger encountered during testing.
  2. Efficiency: It allows for faster decision-making by enabling systems to look at individual class scores in isolation (as seen in PoLS).
  3. Robustness: By moving away from the "winner-takes-all" nature of softmax, models become less sensitive to the specific composition of the training set and more focused on the universal characteristics that define an identity or category.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_global_decision_thresholds_for_open_set__e9223a2e,
  title = {Global Decision Thresholds for Open Set Recognition},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/global-decision-thresholds-for-open-set-recognition/rdr_e9223a2e56974d1f8f645a9dacf1acae},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-05},
}

This exact version (version 1, frozen text):

@misc{lacuna_global_decision_thresholds_for_open_set__e9223a2e_v1,
  title = {Global Decision Thresholds for Open Set Recognition},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/global-decision-thresholds-for-open-set-recognition/rdr_e9223a2e56974d1f8f645a9dacf1acae/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-05},
}