Revisiting Non-separable Binary Classification and its Applications in Anomaly Detection

TMLR Paper2148 Authors

07 Feb 2024 (modified: 18 Jun 2024)Decision pending for TMLREveryoneRevisionsBibTeX
Abstract: The inability to linearly classify $\texttt{XOR}$ has motivated much of deep learning. We revisit this age-old problem and show that $\textit{linear}$ classification of $\texttt{XOR}$ is indeed possible. Instead of separating data between halfspaces, we propose a slightly different paradigm, $\texttt{equality separation}$, that adapts the SVM objective to distinguish data within or outside the margin. Our classifier can then be integrated into neural network pipelines with a smooth approximation. From its properties, we intuit that equality separation is suitable for anomaly detection. To formalize this notion, we introduce $\textit{closing numbers}$, a quantitative measure on the capacity for classifiers to form closed decision regions for anomaly detection. Springboarding from this theoretical connection between binary classification and anomaly detection, we test our hypothesis on supervised anomaly detection experiments, showing that equality separation can detect both seen and unseen anomalies.
Submission Length: Regular submission (no more than 12 pages of main content)
Code: https://github.com/mattlaued/XOR-is-Linearly-Classifiable
Assigned Action Editor: ~Cedric_Archambeau1
Submission Number: 2148
Loading