Nonlinear Feature Aggregation: Two Algorithms driven by Theory

Paolo Bonetti, Alberto Maria Metelli, Marcello RestelliarXiv 2023 · DOI

Abstract

In high-dimensional data analysis, the curse of dimensionality often necessitates a trade-off between model interpretability and predictive performance. This paper presents two novel algorithms, NonLinCFA and GenLinCFA, which perform dimensionality reduction through feature aggregation rather than selection or projection. By leveraging bias-variance analysis and the analysis of deviance, these algorithms identify and merge correlated features in a way that preserves physical meaning while mitigating overfitting. Experimental results across finance, healthcare, and climatology datasets demonstrate that these methods can significantly reduce feature space—often by an order of magnitude—while maintaining or exceeding the performance of traditional baseline models.

1. Introduction

Modern machine learning frequently encounters datasets where the number of features ($p$) is large relative to the number of observations ($n$). This high-dimensionality leads to increased computational costs, memory overhead, and a heightened risk of overfitting. Traditional approaches to this problem include feature selection (which may discard useful information) and dimensionality reduction techniques like Principal Component Analysis (PCA), which often result in "black box" features that lack interpretability.

Feature aggregation offers a compelling alternative by merging similar features (e.g., averaging multiple sensors measuring the same phenomenon). However, existing aggregation methods typically assume linear relationships and Gaussian noise. This work introduces two theoretically grounded algorithms designed to handle nonlinear relationships and non-Gaussian distributions, providing a robust framework for complex real-world data.

2. Methodology

2.1 NonLinCFA (Non-Linear Correlated Features Aggregation)

NonLinCFA is designed for regression tasks characterized by additive Gaussian noise. The algorithm employs a bias-variance analysis to evaluate the impact of merging two features. Aggregation is treated as a trade-off: while merging features may introduce a small amount of bias, it simultaneously reduces the variance of the model by simplifying the parameter space. NonLinCFA iteratively compares a bivariate model (keeping features separate) against a univariate model (merging them) and proceeds with aggregation only if the reduction in variance justifies the bias introduced.

2.2 GenLinCFA (Generalized-Linear Correlated Features Aggregation)

To extend these benefits to classification and non-Gaussian regression, the authors developed GenLinCFA. This algorithm utilizes Generalized Linear Models (GLMs) and replaces Mean Squared Error (MSE) with Analysis of Deviance. This allows the framework to be applied to logistic regression (for binary classification) and Poisson regression.

2.3 The Tolerance Parameter ($\epsilon$)

Both algorithms utilize a hyperparameter $\epsilon$ that serves as a tolerance threshold. This parameter allows practitioners to tune the aggressiveness of the dimensionality reduction. A higher $\epsilon$ prioritizes model simplicity and aggressive feature reduction, while a lower $\epsilon$ prioritizes predictive accuracy by retaining more features.

3. Experimental Evaluation

3.1 Datasets

The algorithms were tested on a variety of synthetic and real-world datasets to ensure robustness:

  • Synthetic Data: Used to verify the algorithms' ability to recover underlying structures in both linear and quadratic (nonlinear) settings.
  • Finance: Stock market data used to test regression performance.
  • Healthcare: Bankruptcy and Parkinson’s datasets from the UCI repository for classification testing.
  • Climate: Meteorological data from the Po river basin involving temperature, precipitation, and vegetation indices.

3.2 Key Results

In regression tasks on the Finance dataset, NonLinCFA reduced the feature set from 75 to approximately 7, achieving an $R^2$ of 0.81. This significantly outperformed the best baseline model, which required 36 features to reach an $R^2$ of only 0.77.

In classification tasks, GenLinCFA demonstrated remarkable efficiency on the Parkinson dataset, reducing the feature count from 753 to 23 while maintaining an accuracy of approximately 80%. These results suggest that deviance-based aggregation is a highly effective strategy for high-dimensional classification where interpretability is required.

4. Discussion and Conclusion

The primary contribution of this work is the theoretical "safety net" provided by Theorems 3 and 4, which establish the mathematical conditions under which aggregation is guaranteed not to degrade model performance significantly. Unlike heuristic-based methods, NonLinCFA and GenLinCFA provide a principled approach to feature reduction.

Future work will explore the use of Mutual Information to capture non-functional dependencies that correlation-based methods might miss. Additionally, while the current implementation focuses on the mean as the primary aggregation function, investigating weighted averages or max-pooling could further enhance the flexibility of these algorithms for specialized domains such as computer vision.

Summary updated

BibTeX
@misc{bonetti2023nonlinear,
  author = {Paolo Bonetti and Alberto Maria Metelli and Marcello Restelli},
  title = {{Nonlinear Feature Aggregation: Two Algorithms driven by Theory}},
  year = {2023},
  eprint = {2306.11143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.11143},
}
Figure