Preference Neural Network

Ayman Elgharabawy, Mukesh Prasad, Chin‐Teng Lin · DOI

Abstract

This paper proposes a preference neural network (PNN) to address the problem of indifference preference orders with a new activation function. PNN also solves the Multi-label ranking problem, where labels may have indifference preference orders or subgroups are equally ranked. PNN follows a multi-layer feedforward architecture with fully connected neurons. Each neuron contains a novel smooth stairstep activation function based on the number of preference orders. PNN inputs represent data features and output neurons represent label indexes. The proposed PNN is evaluated using a new preference mining dataset that contains repeated label values which have not been experimented with before. PNN outperforms five previously proposed methods for strict label ranking in terms of accurate results with high computational efficiency.

Introduction

In machine learning, tasks are often categorized as classification or regression. However, many real-world scenarios—from search engine results to medical diagnoses—require Label Ranking (LR). The goal is to understand the relative preference of all labels involved rather than just picking a single "best" category. Traditional neural networks struggle with this because standard activation functions (like Sigmoid or ReLU) produce continuous values that don't map naturally to discrete ranks (1st, 2nd, 3rd...).

Furthermore, many existing models rely on pairwise comparisons, which ignore the global structure of the ranking and become computationally expensive as the number of labels grows. The Preference Neural Network (PNN) aims to rank all labels simultaneously in a single, differentiable model, even when those relationships involve "indifference" (ties).

Methodology

The PNN introduces three major innovations to handle complex preference structures:

1. Staircase Activation Functions

The core of the PNN is the Smooth Staircase (SS) activation function. Unlike a Sigmoid that curves smoothly from 0 to 1, these functions resemble a set of stairs. Built using a polynomial of tanh functions, they are differentiable—allowing for standard backpropagation—while effectively "squashing" outputs into discrete integer-like steps that represent specific ranks.

The PNN utilizes smooth staircase activation functions (b) derived from discrete steps (a) to map inputs to rank values.

2. Spearman Correlation Objective

Instead of minimizing standard error metrics like Mean Squared Error (MSE), PNN uses Spearman correlation ($\rho$) gradient ascent. By treating the ranking correlation as the objective function to be maximized, the network learns the entire permutation of labels at once, avoiding the "ranking conflicts" common in pairwise models.

3. Preference Net (PN) for Vision

For image classification, the authors propose a deep version called PN. It utilizes a unique Ranker Kernel that generates feature maps based on the ranking of pixel intensities rather than standard weighted sums (convolutions), acting as a form of "hard attention."

Experimental Results

The authors evaluated PNN across 16 label ranking benchmarks, preference mining datasets (like algae), and biological data.

Performance and Convergence

A key finding was the stabilizing effect of the staircase activation. Because it forces the network toward deterministic "steps," the model converges significantly faster than standard architectures. As shown in the performance metrics, PNN achieves higher Spearman correlation and lower RMS error in fewer iterations compared to standard Artificial Neural Networks (ANN).

Performance comparison showing PNN achieving higher Spearman correlation and lower RMS error compared to standard ANN across training iterations.

Key Insights

  • Superior Accuracy: PNN outperformed five established methods (including Decision Trees and MLP-LR). On the bodyfat dataset, PNN achieved a Kendall $\tau$ of 0.5591, more than doubling the next best result of 0.281.
  • Efficiency: The deep Preference Net (PN) achieved 80.6% accuracy on CIFAR-100 with significantly higher computational efficiency than state-of-the-art models like DenseNet.
  • Handling Ties: PNN is uniquely capable of encoding and predicting "indifference," where multiple labels are ranked equally—a critical requirement for real-world preference mining.

Conclusion

The Preference Neural Network offers a robust and efficient solution for label ranking problems. By replacing continuous activations with smooth staircase functions and optimizing for Spearman correlation, it provides a more natural fit for human-like decision-making data. Future work will focus on making kernel sizes and staircase parameters learnable to further automate the architecture's optimization.

Summary updated

Abstract

This paper proposes a preference neural network (PNN) to address the problem of indifference preferences orders with new activation function. PNN also solves the Multi-label ranking problem, where labels may have indifference preference orders or subgroups are equally ranked. PNN follows a multi-layer feedforward architecture with fully connected neurons. Each neuron contains a novel smooth stairstep activation function based on the number of preference orders. PNN inputs represent data features and output neurons represent label indexes. The proposed PNN is evaluated using new preference mining dataset that contains repeated label values which have not experimented before. PNN outperforms five previously proposed methods for strict label ranking in terms of accurate results with high computational efficiency.
BibTeX
@article{elgharabawy2023preference,
  author = {Ayman Elgharabawy and Mukesh Prasad and Chin‐Teng Lin},
  title = {{Preference Neural Network}},
  journal = {IEEE Transactions on Emerging Topics in Computational Intelligence},
  year = {2023},
  doi = {10.1109/tetci.2023.3268707},
}
Figure