Conditional ordinal regression based on chain rule probability in Swin Transformer for improved ordinal image classification
Related Experiment Video
Updated: Oct 31, 2026

A Swin Transformer-Based Model for Thyroid Nodule Detection in Ultrasound Images
Published on: April 21, 2023
Alan Prahutama1, Suparti1, Iut T Utami1
1Statistics Department, Faculty of Science and Mathematics, Diponegoro University, Semarang, Indonesia.
Abstract:
• Effective image analysis relies on robust feature extraction, a capability for which Swin Transformer is suited. However, ordinal image classification specifically requires capturing the ordered progression of labels. Conventional multiclass methods ignore the natural order of labels and treat them as independent categories, treating all misclassifications equally and leading to severe prediction errors. • To overcome this limitation, Swin Transformer with Conditional Ordinal Regression (CORN) is proposed to model the ordered progression of categories. This framework decomposes the ordinal task into a sequence of conditional binary classifications using chain rule probability. This enables the model to learn the dependency relation between categories and reduces the prediction errors. The proposed Swin+CORN framework is examined on three medical image datasets, namely RetinaMNIST, Alzheimer and Knee Osteoarthritis, and compared with standard Swin-based multiclass classification and Swin+CORAL as an alternative ordinal regression approach. • Swin+CORN achieves the best overall performance over all the three datasets. The proposed framework consistently outperforms both Swin+Multiclass and Swin+CORAL in terms of accuracy and prediction error. Experimental results show the efficiency of the hierarchical visual representation learning combined with CORN for the ordinal image categorisation task.
Related Concept Videos
Ordinal Level of Measurement
Data measured using an ordinal scale are similar to nominal scale data, but there is one major difference. The ordinal scale data can be ordered. An example of ordinal scale data is a list of the top five national parks in the...
Classification of Systems-II
Classification of Systems-I
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Transformers with Off-Nominal Turns Ratios
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...