Optimizing IT FinOps and Sustainability through Unsupervised Workload Characterization

Xi Yang, Rohan R. Arora, Saurabh Jha, Chandra Narayanaswami, Cheuk Lam, Jerrold Leichter, Yu Deng, Daby M. Sow

Abstract

This paper introduces a fully unsupervised machine learning framework designed to identify "comatose" or underutilized virtual machines (VMs) in enterprise cloud environments. By shifting from rigid, manual thresholds to subsequence clustering, the proposed system identified that 35.6% of enterprise VMs were non-productive—a significant increase from the 1.1% identified by traditional industry-standard methods. The framework provides actionable recommendations for resource termination and automated scheduling, directly addressing cloud sprawl, IT budget bloat (FinOps), and unnecessary carbon footprints.

Introduction

In modern "Infrastructure as Code" environments, provisioning virtual resources is trivial, but decommissioning them is frequently overlooked. This leads to "zombie" resources that contribute to cloud sprawl. Current industry solutions typically rely on conservative threshold-based rules (e.g., "if CPU < 2% for 7 days, it is idle"). These rules are often too rigid to capture complex usage patterns and too conservative to avoid accidental deletions, missing a vast amount of waste. While supervised machine learning models can offer better precision, they require massive amounts of manually labeled data, which is prohibitively expensive to produce. This research proposes an automated, data-driven unsupervised pipeline to characterize workloads without human labels.

Methodology

The researchers developed a three-stage unsupervised pipeline to analyze and categorize cloud workloads:

  1. Phase Abstraction (Subsequence Clustering): Utilizing the M-TICC (Multi-series Toeplitz Inverse Covariance-based Clustering) algorithm, the system analyzes multivariate time-series data, including CPU, Memory, Network, and Disk I/O. It automatically groups time segments into "Active" or "Inactive" phases based on latent patterns rather than arbitrary numerical cutoffs.
  2. Workload Classification: Based on a 7-day look-back window, VMs are categorized into three types: Non-productive (consistently inactive), Constantly productive (consistently active), or Alternating (switching between phases, such as development environments used only during business hours).
  3. Workload Timetabling: For alternating workloads, the system calculates the probability of inactivity at specific times to generate "parking schedules," recommending when a VM can be safely powered down.
The three-stage unsupervised pipeline for workload characterization and actuation.

Experimental Setup and Dataset

The study utilized a real-world dataset from thousands of VMs in an active enterprise IT environment over a 30-day period. The analysis focused on four key metrics: VCPU utilization, VMEM utilization, Network throughput (NET), and Disk I/O throughput (IO).

Key Results and Insights

The most striking finding of the study is the "Threshold Gap." While traditional threshold-based tools from major cloud providers only flagged 1.1% of the fleet as idle, the unsupervised framework identified 35.6% of VMs as non-productive. Crucially, the model caught 100% of the VMs identified by traditional methods, plus a significant volume of previously hidden waste.

Distribution of enterprise VMs across the three identified workload categories.

As shown in the distribution above, the framework classified 35.6% of VMs as non-productive, 27.2% as alternating, and 37.2% as constantly productive. In a pilot feedback session with application owners, recommendations were validated as highly trustworthy; 9 out of 41 flagged VMs were immediately decommissioned, while others were resized or consolidated.

Discussion and Future Work

The M-TICC approach proves that productivity is relative. A VM performing background tasks like virus scans might show low-level activity that traditional thresholds miss, but the unsupervised model can distinguish these from actual business-productive spikes.

Despite its success, the authors note limitations. Currently, the model uses relative utilization percentages; future iterations will incorporate absolute resource values to better quantify waste in over-provisioned systems. Additionally, the researchers plan to integrate service topology and latency metrics to ensure that low-usage VMs are not critical components of a larger application path before recommending termination.

Conclusion

By moving beyond manual thresholds to an unsupervised, pattern-based approach, organizations can achieve a 30x improvement in identifying idle cloud resources. This framework provides a clear path for FinOps teams to reduce costs and improve sustainability through automated, actionable intelligence.

Summary updated

BibTeX
@inproceedings{yang2024optimizing,
  author = {Xi Yang and Rohan R. Arora and Saurabh Jha and Chandra Narayanaswami and Cheuk Lam and Jerrold Leichter and Yu Deng and Daby M. Sow},
  title = {{Optimizing IT FinOps and Sustainability through Unsupervised Workload Characterization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i21.30340},
}
Figure