                                                           Discovering a Zero
                                                                           0.5
                                                                                                                               f (x)
                                                                           0.4                                                 2(f (x) − 0.1) + 0.1
                                                                                                                               0.5(f (x) − 0.1) + 0.1
                                                                           0.3                                                 20(f (x) − 0.1) + 0.1
                                                                                                                               Threshold Line

                                                                           0.2


                                                                                  αf =0.1
                                                                           0.1


                                                                           0.0



Figure 1. The far-left subfigure represents the decision regions of       −0.1


a neural network, learned by separating the feature space. The               −6             −4     −2
                                                                                                            x
                                                                                                                0          2                4


middle subfigure shows the actual regions corresponding to the
classes, while the far-right subfigure illustrates the complement         Figure 2. A set of functions that classify Class-f (f (x)) with the
region of Class-1.                                                        exact same decision regions for a threshold of αf = 0.1.


                                                                          unnormalized distribution f (x). Notice that functions of
equations, and logit equations are viewed as vectors. Ad-                 the form h(x) + k, where h(x) ∈ [f (x)] and k ∈ R, with a
dition and scalar multiplication on such vectors is defined               threshold αf + k can perform the same classification task
such that a vector space is created. As a consequence, it                 as h(x) and αf . Therefore, to accommodate equations of
allows to use all vector operations on logits hence enables               the form h(x) + k and thresholds of the form αf + k, as
set operations on classes. The relevant proofs and meanings               well as any other valid pair of functions and thresholds, a
of the operations are provided, without going into very rig-              separate set S is introduced in equation 1.
orous math. Sample PyTorch implementations and results
are attached supporting the theory when needed.                                       n                                           o
                                                                                                                      β ∈ R+
                                                                                                      
                                                                             [f (x)] = β f (x) − αf Af + αf                            ∪ S (1)
2. Characterization of Logits
                                                                          Here, f (x) represents the unnormalized PDF of the class,
If the probability density function (PDF) of the data, fn (x),
                                                                          αf ∈ R is the predefined threshold for f (x), Af represents
is known, a given data point can be assessed for membership
                                                                          the normalization constant of f (x), and S denotes the set
in the distribution by comparing its probability to a prede-
                                                                          of unknown (does not need to be an unnormalized or a
fined threshold, αfn . The threshold αfn should be chosen
                                                                          normalized PDF) Valid Logit Functions associated with that
as a non-negative real number, ensuring that data points
                                                                          class.
with high relative probability are recognized as belonging
to the class. As illustrated in Figure 2, data points with                The set [f (x)] in equation 1 is an equivalence class with
probabilities (fn (x)) greater than or equal to αfn = 0.1 are             respect to the classification of the data, as it satisfies the
classified as belonging to Class-f , while those with lower               properties of an equivalence relation. Specifically, any equa-
probabilities are classified as not belonging to the class.               tion within this set classifies the data in exactly the same way
The PDF function fn (x) itself is used for this classification            as others in the set for a predefined threshold. Consequently,
along with the threshold αfn .                                            the set [f (x)] is referred to as the ‘Valid Equivalence Set’ of
                                                                          f (x). This terminology will be consistently used throughout
In cases where only the unnormalized PDF f (x) is known,
                                                                          this paper.
it is still possible to classify data points by comparing f (x)
to the scaled threshold αf Af , where Af represents the nor-              The following subsection explores the resulting Valid Equiv-
malization constant of f (x). A diagram illustrating this                 alence Set when two classes are combined.
mechanism can be seen in Figure 2, where Af = 1.
The value f (x0 ) for a given data point x0 is referred to as             2.1. Merging two Classes
the ‘Logit.’ The function f (x) is defined as the ‘Logit Func-            Now consider another class, Class−2, whose unnormalized
tion’ or ‘Logit Equation.’ Any Logit Equation that correctly              PDF is g(x). Figure 3 illustrates some Valid Logit Functions
classifies data with respect to a predefined threshold αf is              for Class−g, similar to those shown for Class−f in Figure 2.
termed a ‘Valid Logit Equation (VLE)’ or ‘Valid Logit Func-               Any function k(x) belonging to the set [g(x)], as defined in
tion.’ These definitions will be used consistently throughout             Equation (2), is a Valid Logit Function capable of classifying
this paper.                                                               data sampled from the unnormalized distribution g(x), in
All Valid Logit Functions can be grouped into a set, as                   the same way as was previously done for Class−f .
shown in equation 1. Any function h(x) that belongs to the
                                                                                     n                                      o
                                                                            [g(x)] = β g(x) − αg Ag + αg β ∈ R+ ∪ T (2)
                                                                                                          
set [f (x)] in equation 1 can classify data sampled from the

                                                                      2
