dlordinal: a Python package for deep ordinal classification

📅 2024-07-24
🏛️ Neurocomputing
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Ordinal classification lacks dedicated, unified tooling in deep learning frameworks. Method: This paper introduces and open-sources the first PyTorch-native library specifically designed for ordinal classification. It systematically integrates state-of-the-art ordinal-constrained modeling techniques—including ordinal-aware loss functions (e.g., OrdinalCE, Soft-Ordinal), cumulative link output layers, ordinal-aware dropout, and soft-labeling strategies—and provides built-in ordinal-specific metrics (e.g., MAE, Kendall Tau). Contribution/Results: The library establishes the first end-to-end, scalable, and modular ordinal classification toolkit, filling a critical gap in mainstream deep learning ecosystems. It reproduces SOTA performance across multiple standard benchmarks, significantly improving modeling of label-order structure. Designed for both rapid research prototyping and industrial deployment, the codebase is released under the BSD-3-Clause license.

Technology Category

Application Category

📝 Abstract
dlordinal is a new Python library that unifies many recent deep ordinal classification methodologies available in the literature. Developed using PyTorch as underlying framework, it implements the top performing state-of-the-art deep learning techniques for ordinal classification problems. Ordinal approaches are designed to leverage the ordering information present in the target variable. Specifically, it includes loss functions, various output layers, dropout techniques, soft labelling methodologies, and other classification strategies, all of which are appropriately designed to incorporate the ordinal information. Furthermore, as the performance metrics to assess novel proposals in ordinal classification depend on the distance between target and predicted classes in the ordinal scale, suitable ordinal evaluation metrics are also included. dlordinal is distributed under the BSD-3-Clause license and is available at https://github.com/ayrna/dlordinal.
Problem

Research questions and friction points this paper is trying to address.

Ordinal Classification
Deep Learning
Python Toolkit
Innovation

Methods, ideas, or system contributions that make the work stand out.

Deep Learning Ordinal Classification
PyTorch Framework
Customized Evaluation Method
🔎 Similar Papers
No similar papers found.
F
Francisco B'erchez-Moreno
Department of Computer Science and Numerical Analysis, University of C'ordoba, C'ordoba, 14071, Spain
V
V'ictor M. Vargas
Department of Computer Science and Numerical Analysis, University of C'ordoba, C'ordoba, 14071, Spain
R
Rafael Ayll'on-Gavil'an
Department of Clinical-Epidemiological Research in Primary Care, Instituto Maim'onides de Investigaci'on Biom'edica de C'ordoba, C'ordoba, 14004, Spain
David Guijo-Rubio
David Guijo-Rubio
Assistant Professor, University of Córdoba
time series machine learningordinal classification
C
C'esar Herv'as-Mart'inez
Department of Computer Science and Numerical Analysis, University of C'ordoba, C'ordoba, 14071, Spain
J
Juan C. Fern'andez
Department of Computer Science and Numerical Analysis, University of C'ordoba, C'ordoba, 14071, Spain
P
Pedro-Antonio Guti'errez
Department of Computer Science and Numerical Analysis, University of C'ordoba, C'ordoba, 14071, Spain