[Paper Review] An Empirical Study on Feature Discretization
This paper proposes Local Linear Encoding (LLE), a novel feature discretization method that improves correctness by using linear interpolation within discrete bins, while maintaining robustness. Experiments on HIGGS and SUSY datasets show LLE outperforms conventional discretization and Multi-Granularity Discretization (MGD) with significantly fewer model parameters—achieving state-of-the-art performance across different training data ratios.
When dealing with continuous numeric features, we usually adopt feature discretization. In this work, to find the best way to conduct feature discretization, we present some theoretical analysis, in which we focus on analyzing correctness and robustness of feature discretization. Then, we propose a novel discretization method called Local Linear Encoding (LLE). Experiments on two numeric datasets show that, LLE can outperform conventional discretization method with much fewer model parameters.
Motivation & Objective
- To identify the optimal method for feature discretization in machine learning, particularly for continuous numeric features.
- To analyze the correctness and robustness of existing discretization techniques theoretically.
- To propose a new discretization method that enhances correctness without sacrificing robustness.
- To reduce model complexity while maintaining or improving performance compared to existing approaches like MGD and common discretization.
Proposed method
- LLE replaces standard one-hot embedding per bin with linear interpolation across bin boundaries, enabling smoother representation of continuous values.
- For each bin, LLE computes predictions as a weighted average of neighboring bin embeddings, where weights are derived from linear interpolation based on feature value position.
- The method maintains the same robustness as conventional discretization by preserving the variance of predictions under noise.
- Correctness is improved because LLE reduces the expected squared error between true labels and predictions by better approximating the underlying function.
- LLE uses a single learnable weight vector per feature field, unlike MGD which requires multiple embeddings per feature at different granularities.
- Theoretical analysis shows LLE achieves lower correctness error than equal-frequency or equal-width discretization, especially when bin size is small.
Experimental results
Research questions
- RQ1How does the size of discrete bins affect the correctness and robustness of feature discretization?
- RQ2Can a discretization method improve correctness without degrading robustness compared to conventional approaches?
- RQ3Does linear interpolation within bins lead to better generalization than fixed bin embeddings?
- RQ4Can a single embedding per feature field outperform multiple embeddings across different granularities (as in MGD)?
- RQ5What is the trade-off between model complexity and performance in feature discretization?
Key findings
- LLE achieves the highest performance across all datasets and training data ratios, outperforming both Common Discretization (CD) and Multi-Granularity Discretization (MGD).
- On the HIGGS dataset, LLE with 10 bins achieves 87.58% accuracy with DNN, surpassing MGD (87.43%) and CD (87.28%) at the same granularity.
- On the SUSY dataset, LLE with 10 bins reaches 86.62% accuracy with DNN, exceeding MGD (86.66%) and CD (86.08%) at the same setting.
- LLE reduces model parameters from 162,560 (MGD) to just 198 (LLE) on the HIGGS dataset, achieving a 100x reduction in parameter count.
- LLE maintains consistent performance across different training data ratios (100%, 10%, 1%), indicating strong generalization and stability.
- Theoretical analysis confirms that LLE improves correctness by reducing the expected prediction error, while robustness remains unchanged compared to standard discretization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.