Skip to main content
QUICK REVIEW

[Paper Review] UBL: an R package for Utility-based Learning

Paula Branco, Rita P. Ribeiro|arXiv (Cornell University)|Apr 27, 2016
Imbalanced Data Classification TechniquesComputer Science10 references24 citations
TL;DR

This paper introduces the UBL R package, which enables utility-based learning by applying pre-processing techniques—such as focused under-sampling and synthetic over-sampling—to handle classification and regression problems with non-uniform costs or benefits. It supports multiclass and regression tasks with both user-specified and automatically inferred preference biases, improving model performance on imbalanced domains by reweighting data distribution according to domain-specific utility.

ABSTRACT

This document describes the R package UBL that allows the use of several methods for handling utility-based learning problems. Classification and regression problems that assume non-uniform costs and/or benefits pose serious challenges to predictive analytic tasks. In the context of meteorology, finance, medicine, ecology, among many other, specific domain information concerning the preference bias of the users must be taken into account to enhance the models predictive performance. To deal with this problem, a large number of techniques was proposed by the research community for both classification and regression tasks. The main goal of UBL package is to facilitate the utility-based predictive analytic task by providing a set of methods to deal with this type of problems in the R environment. It is a versatile tool that provides mechanisms to handle both regression and classification (binary and multiclass) tasks. Moreover, UBL package allows the user to specify his domain preferences, but it also provides some automatic methods that try to infer those preference bias from the domain, considering some common known settings.

Motivation & Objective

  • Address predictive modeling challenges in domains where prediction errors have non-uniform costs or benefits, such as finance, medicine, and meteorology.
  • Provide a flexible framework for handling both classification (binary and multiclass) and regression problems with utility-based preferences.
  • Enable users to specify domain preferences manually or use automatic methods to infer preference bias from data distribution, especially in imbalanced settings.
  • Extend existing binary classification methods to multiclass and regression tasks with multiple important regions in the target variable.
  • Facilitate the use of standard learning algorithms by modifying data distribution pre-processing, preserving model interpretability.

Proposed method

  • Implement pre-processing strategies—under-sampling (random or focused) and over-sampling (replication or synthetic generation)—to adjust data distribution based on user preferences.
  • Use distance functions like HEOM and HVDM to compute similarity between instances, supporting mixed numeric and nominal features.
  • Apply HVDM distance with normalized VDM for nominal attributes and normalized difference for numeric attributes, using standard deviation for scaling.
  • Support both manual specification of sampling parameters (e.g., class weights, sampling ratios) and automatic estimation of preference bias from data imbalance.
  • Integrate methods such as SMOTE, NCL, and Tomek links with customizable distance metrics to reweight minority or high-utility classes.
  • Allow the use of any standard learning algorithm after pre-processing, maintaining model interpretability and compatibility.

Experimental results

Research questions

  • RQ1How can utility-based learning be effectively applied to multiclass classification and regression problems with non-uniform costs or benefits?
  • RQ2What pre-processing strategies best improve model performance when domain-specific preference bias is present but not formally quantified?
  • RQ3To what extent can automatic methods infer optimal sampling distributions from imbalanced data without explicit user input?
  • RQ4How do different distance functions (e.g., HEOM, HVDM) impact the performance of synthetic sampling techniques in mixed-type data?
  • RQ5Can pre-processing methods that modify data distribution maintain model interpretability while enhancing performance on high-utility target regions?

Key findings

  • The UBL package successfully extends utility-based learning methods to multiclass classification and regression tasks with multiple important regions in the target variable.
  • Pre-processing strategies such as SMOTE, NCL, and Tomek links with HVDM distance improve model performance on imbalanced data by focusing on high-utility classes or regions.
  • Automatic methods in UBL infer preference bias from data imbalance, assuming that minority classes or regions are most important, and adjust sampling accordingly.
  • The use of HVDM distance with normalized VDM and normalized difference for nominal and numeric features, respectively, enhances similarity measurement in mixed-type datasets.
  • Applying UBL with distance functions like HVDM and SMOTE leads to improved predictive performance, as demonstrated in synthetic and real-world data examples.
  • The package enables the use of standard learning algorithms post-preprocessing, preserving model interpretability while enhancing utility-driven performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.