Introduction
Predicting the performance of massive industrial compute clusters, such as Google’s Borg, is a critical challenge for infrastructure efficiency. Traditionally, this task relies on "tabular regression," where engineers manually extract features from system logs into fixed-length tables for machine learning models. However, this process is inherently lossy and fragile, as real-world system data is hierarchical, variable-length, and constantly evolving.
Researchers from Google and Cornell have introduced Regression Language Models (RLMs), a novel approach that treats system logs and configurations as raw text. By leveraging small encoder-decoder architectures, RLMs achieve significantly higher accuracy and adaptability than traditional methods.
The Challenge of Messy System Data
Industrial systems generate complex, nested data—including YAML configuration files, hardware profiles, and job lists. Forcing this rich context into a flat table loses the structural relationships that define system behavior. Moreover, hardware upgrades often necessitate a complete redesign of the data pipeline. RLMs bypass these limitations by processing raw system states directly.
Methods: Regression Language Models
The core of the proposed approach is a 60M-parameter encoder-decoder model based on the T5 architecture. Instead of traditional feature engineering, the model "reads" the system log as a string and "writes" the predicted performance metric.
Key technical innovations include:
- P10 Tokenization: A specialized format for numerical precision, representing floats as a sign-mantissa-exponent sequence (e.g.,
72.5as<+><7><2><5><E-1>). - Decoding-based Output: The model uses next-token prediction with cross-entropy loss, which provides greater stability across varying data scales compared to traditional Mean Squared Error (MSE) heads.
- Tabula Rasa Training: The models learn the "language" of system logs from scratch, proving that natural language pretraining is not a prerequisite for high-performance system regression.
Datasets and Scale
The study utilized approximately 1 million data points (2 billion tokens) from 40 distinct Google Borg clusters. The primary metric predicted was "MIPS per GCU" (Millions of Instructions Per Second per Google Computing Unit), a key indicator of cluster efficiency. Input strings included anonymized YAML data detailing cluster locations, scheduler hyperparameters, and machine-specific performance profiles.
Key Insights
- Architecture Matters: Encoder-decoder models outperformed decoder-only variants, as the encoder is better suited for processing highly structured, long-sequence inputs.
- Contextual Feature Engineering: Performance improved as input sequence lengths increased, suggesting the model effectively performs its own feature extraction from the raw logs.
- Uncertainty Quantification: By generating tokens, the model produces a probability distribution rather than a point estimate. This allows it to capture multi-modal outcomes caused by inherent system noise (aleatoric uncertainty).
Results and Performance
The RLM demonstrated exceptional predictive power, achieving an average Spearman rank correlation of 0.9 across the fleet.
Significant findings include:
- Precision: The RLM delivered 100x lower MSE than optimized tabular baselines.
- Few-Shot Adaptation: Models pretrained on multiple clusters could adapt to entirely new environments with as few as 512 examples, significantly outperforming scratch-trained models.
- Efficiency: Despite the "language model" label, the 60M-parameter version is lightweight enough to be fine-tuned in minutes on a single GPU.
Conclusion and Future Directions
While RLMs significantly reduce epistemic uncertainty (errors from data scarcity), they remain bounded by the aleatoric uncertainty inherent in complex, multi-tenant systems. Future research may explore using RLMs as universal simulators for Reinforcement Learning agents or extending the text-to-text regression paradigm to other domains of industrial telemetry.
Summary updated