| Issue |
ITM Web Conf.
Volume 88, 2026
The 2026 International Conference on Artificial Intelligence, Big Data and Computer Science (AIBDCS 2026)
|
|
|---|---|---|
| Article Number | 01036 | |
| Number of page(s) | 7 | |
| Section | Artificial Intelligence, Big Data and Computer Science | |
| DOI | https://doi.org/10.1051/itmconf/20268801036 | |
| Published online | 27 July 2026 | |
Rank-Density Scaling for Transformer-Based Numerical Representation
School of Software Engineering, East China Normal University, Shanghai, China
* This email address is being protected from spambots. You need JavaScript enabled to view it.
Abstract
Data preprocessing is often seen as a simple preparation step, but for numerical data, the scaling method can change how clearly a model receives the information. This paper compares traditional Min-Max scaling with a Rank-Density Scaling method for transformer-based numerical representation. Min-Max scaling keeps the original numerical distance, which is useful in many cases, but when the data are clustered or long-tailed, most values may be squeezed into a small part of the target interval. Rank-Density Scaling takes a different approach. It maps each value according to its rank in the dataset, so the transformed values become more evenly spread. The experiment uses the Wine Quality dataset, with the residual sugar feature as the main object. After scaling, the values are converted into 64 discrete tokens and tested with a small transformer model through a next-token prediction task. The results show that Rank-Density Scaling uses the token space much more fully and reaches almost maximal token entropy. It also helps the transformer reduce training loss faster than Min-Max scaling. However, its validation loss is higher, which suggests weaker generalization. Overall, this study shows that Rank-Density Scaling can improve representation balance, but it may also weaken the original numerical geometry. The main finding is a tradeoff between token-space entropy and geometric fidelity.
© The Authors, published by EDP Sciences, 2026
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.

