United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.
Get full access to United States of Banan at konradb.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00Predicting how large systems will perform is critical. Traditionally, this is done using regression on tabular data. However, system data like logs is messy and doesn't fit neatly into tables, making these old methods hard to use. We explore a new approach using text-to-text regression. We tested this by predicting resource efficiency on Google's massive Borg computer cluster. Our model proved to be highly accurate and adaptable. This diagram shows our process. We start with system logs,
SPEAKER_00which are text files describing what's happening in the compute cluster. These logs are fed into what we call a regression language model. This model, an encoder-decoder, reads the text and learns the patterns. Instead of giving a single answer, it produces a range of likely performance outcomes. This gives us a much richer understanding of potential system performance. Our specific task is to predict an efficiency metric called mIPS per GCU for the Borg system. We use a variety of inputs like the cluster state and scheduler settings.
SPEAKER_00A key challenge in prediction is that if you don't see all the relevant information, your predictions will be less accurate. Text-based models excel here because they can process all this diverse, messy information directly, unlike traditional methods that need clean, fixed tables. Our method uses a regression language model with an encoder-decoder structure. We train it from scratch on our specific data, so it doesn't need prior knowledge of human language. It works by predicting the next token of the output, essentially writing out the numeric answer. We use a special tokenization for numbers to handle them efficiently.
A key advantage is its ability to adapt to new prediction tasks with very little
SPEAKER_00new data, a process called fine-tuning. These charts show how well our model performs. The left plot shows that a pre-trained model's predictions, blue dots, line up well with the actual targets, achieving a strong correlation. A model without pre-training, green dots, fails completely. The right chart shows that after seeing just a few examples from a new task, our model adapts and performs very well. This demonstrates the power of pre-training on large, diverse datasets. Here we see the model doesn't just give one answer,
SPEAKER_00it can map out the entire probability landscape of outcomes over time. Our experiments also revealed key design insights. Using both an encoder and a decoder is crucial for handling complex inputs. While bigger models are better up to a point, we found that huge models aren't necessary. Finally, letting the model see more of the input text and including critical features, like the time window, greatly improves accuracy. In summary, using text-to-text regression is a powerful way to predict performance in large,
SPEAKER_00complex systems. Our models significantly beat older methods, mainly because it bypasses the need for manual feature engineering. It's also highly adaptable, learning new tasks from just a small amount of data. Importantly, it can estimate uncertainty by providing a distribution of possible outcomes. We believe this work opens doors for building powerful system simulators. Sources.
Paper: https://arxiv.org/abs/2504.11159 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/abs/2604.16748 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/html/2604.01845v1 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United...
Paper: https://arxiv.org/abs/2604.13253 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/abs/2604.05257 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...