Learning Through Utility Optimization in Regression Tasks

Paula Branco, Luís Torgo, Rita P. Ribeiro, Eibe Frank, Bernhard Pfahringer, Markus Michael Rau

Abstract

Standard regression techniques typically focus on minimizing global error metrics like Mean Squared Error (MSE), treating all prediction errors as equally significant. However, in many real-world domains, the costs of errors vary depending on the target value's relevance. This paper presents a framework for utility-based regression that incorporates domain-specific preferences through a continuous utility surface. By estimating the conditional probability density of the target variable and optimizing for expected utility, the proposed method effectively shifts predictions toward high-relevance regions, such as rare extreme events. Evaluations across 16 diverse datasets demonstrate consistent utility gains over standard baseline models.

Introduction

In fields like environmental monitoring or finance, missing a rare but critical event (e.g., a pollution spike or a market crash) is often far more consequential than a minor error in predicting average conditions. Despite this, most regression algorithms are designed to minimize uniform loss functions. While cost-sensitive learning is a staple in classification, its application to continuous regression tasks remains under-explored. This research addresses this gap by formalizing a "utility surface"—a continuous analogue to a cost-benefit matrix—and providing an optimization strategy to satisfy specific user preferences.

Methodology

The proposed framework shifts the objective from point-value prediction to the maximization of Expected Utility. This approach relies on three primary components:

  1. Relevance Function ($\phi$): A user-defined mapping of the target variable to a [0, 1] scale, where values near 1 indicate high importance, typically associated with rare extremes.
  2. Utility Surface ($U$): A function $U(y, \hat{y})$ that assigns a score (ranging from -1 to 1) to the relationship between the actual value ($y$) and the predicted value ($\hat{y}$). This surface captures the trade-offs between error magnitude and the relevance of the target.
  3. Optimization Strategy: The optimal prediction $y^*$ is found by maximizing the expected utility over the estimated conditional probability density function (PDF) $f_{Y|X}$: $$y^* = \text{argmax}_{z \in \mathcal{Y}} \int f_{Y|X}(y|X=x_k) \cdot U(y, z) dy$$
The 3D utility surface illustrates how utility scores are assigned based on the interaction between predicted and actual values.

The conditional PDF is estimated using a weighted Gaussian kernel density estimator derived from an ordinal classification approach, effectively transforming the regression task into a distribution estimation problem.

Experimental Evaluation

The framework was evaluated on 16 datasets from the UCI repository and StatLib, including environmental data (LNO2Emissions), engineering benchmarks (servo, machineCpu), and general datasets (boston, Abalone). These datasets were selected for their inclusion of relevant but infrequent extreme values.

Key Results and Insights

The optimization strategy consistently outperformed standard Support Vector Machines (SVM) and Random Forests in terms of Normalized Mean Utility (NMU). A critical finding is that the "optimal" prediction is context-dependent; the most statistically accurate point (the mean or mode) may not be the most useful.

This visualization demonstrates the shift from the maximum density point toward the maximum utility point to better align with the true value in a high-relevance scenario.

As shown in Figure 6, the utility-optimized prediction often deviates from the peak of the conditional density to better capture high-relevance outcomes. This "shift" allows the model to maintain high performance even when the utility surface is highly biased toward specific ranges of the target variable.

Conclusion and Future Work

Utility-based regression provides a robust mechanism for aligning model predictions with domain-specific costs. While the current implementation introduces computational overhead due to the required integration for each test point, it offers a model-agnostic way to improve decision-making in high-stakes scenarios. Future research will focus on reducing computational complexity and exploring the impact of data characteristics, such as noise and imbalance, on the utility optimization process.

Summary updated

BibTeX
@inproceedings{branco2017learning,
  author = {Paula Branco and Luís Torgo and Rita P. Ribeiro and Eibe Frank and Bernhard Pfahringer and Markus Michael Rau},
  title = {{Learning Through Utility Optimization in Regression Tasks}},
  booktitle = {DSAA},
  year = {2017},
  doi = {10.1109/dsaa.2017.63},
}
Figure