Dealing with zero-inflated data: Achieving state-of-the-art with a two-fold machine learning approach

In many cases, a machine learning model must learn to correctly predict a few data points with particular values of interest in a broader range of data where many target values are zero. Zero-inflated data can be found in diverse scenarios, such as lumpy and intermittent demands, power consumption for home appliances being turned on and off, impurities measurement in distillation processes, and even airport shuttle demand prediction. The presence of zeroes affects the models’ learning and may result in poor performance. Furthermore, zeroes also distort the metrics used to compute the model’s prediction quality. This paper showcases two real-world use cases (home appliances classification and airport shuttle demand prediction) where a hierarchical model applied in the context of zero-inflated data leads to considerable performance improvements. In particular, for home appliances classification, the weighted average of Precision, Recall, F1, and Area Under the Receiver Operating Characteristic Curve (AUC ROC) was increased by 39%, 49%, 88%, and 48%, respectively. Furthermore, it is estimated that the proposed approach is also four times more energy efficient than the state-of-the-art (SOTA) approach against which it was compared to. Two-fold modeling approaches significantly outperform regular regression, especially when predicting the occurrence of demand events. SOTA results were achieved using Gradient Boosting trees to determine whether an event will occur and Visual Geometry Group (VGG) or Support Vector Regressor (SVR) models for the subsequent classification/regression. The code has been released at two separate repositories. • We reframe predictions on zero-inflated data, posing it as a two-fold problem. • A two-fold model enables optimizing each stage for a different but complementary goal. • Two-fold models achieve SOTA results on two real-world use cases. • For home appliances classification, the weighted average AUC ROC was increased by 48%. • For shuttle transfer demand, two-fold models performed significantly better (P = 0.05).

Authors

Institutions

Publication Details

Journal
Engineering Applications of Artificial Intelligence
Published
2025-03-17
DOI
https://doi.org/10.1016/j.engappai.2025.110339
Citations
5
Primary Topic
Time Series Analysis and Forecasting
Type
article
Field-Weighted Citation Impact
7.43

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Dealing with zero-inflated data: Achieving state-of-the-art with a two-fold machine learning approach

Blaž Bertalanič, Gašper Petelin, Gregor Cerar, Dunja Mladenić et al.
5 citations
Engineering Applications of Artificial Intelligence
Time Series Analysis and Forecasting
7.43
article

Dealing with zero-inflated data: Achieving state-of-the-art with a two-fold machine learning approach

Blaž Bertalanič, Gašper Petelin, Gregor Cerar, Dunja Mladenić, Jože M. Rožanec, João Paulo C. L. da Costa, Gregor Papa, Marko Guček
article en
5 citations

Abstract

In many cases, a machine learning model must learn to correctly predict a few data points with particular values of interest in a broader range of data where many target values are zero. Zero-inflated data can be found in diverse scenarios, such as lumpy and intermittent demands, power consumption for home appliances being turned on and off, impurities measurement in distillation processes, and even airport shuttle demand prediction. The presence of zeroes affects the models’ learning and may result in poor performance. Furthermore, zeroes also distort the metrics used to compute the model’s prediction quality. This paper showcases two real-world use cases (home appliances classification and airport shuttle demand prediction) where a hierarchical model applied in the context of zero-inflated data leads to considerable performance improvements. In particular, for home appliances classification, the weighted average of Precision, Recall, F1, and Area Under the Receiver Operating Characteristic Curve (AUC ROC) was increased by 39%, 49%, 88%, and 48%, respectively. Furthermore, it is estimated that the proposed approach is also four times more energy efficient than the state-of-the-art (SOTA) approach against which it was compared to. Two-fold modeling approaches significantly outperform regular regression, especially when predicting the occurrence of demand events. SOTA results were achieved using Gradient Boosting trees to determine whether an event will occur and Visual Geometry Group (VGG) or Support Vector Regressor (SVR) models for the subsequent classification/regression. The code has been released at two separate repositories. • We reframe predictions on zero-inflated data, posing it as a two-fold problem. • A two-fold model enables optimizing each stage for a different but complementary goal. • Two-fold models achieve SOTA results on two real-world use cases. • For home appliances classification, the weighted average AUC ROC was increased by 48%. • For shuttle transfer demand, two-fold models performed significantly better (P = 0.05).

Engineering Applications of Artificial IntelligenceVol. 149
Jožef Stefan Institute (SI), Goap (Slovenia) (SI), Jožef Stefan International Postgraduate School (SI)
Javna Agencija za Raziskovalno Dejavnost RS, HORIZON EUROPE Framework Programme
Openalex Percentile: Top 3%
Time Series Analysis and Forecasting
7.43
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.