SNAPPerf: Software-Aware Tabular Foundation Model for Retraining-Free Performance Prediction of Configurable Systems

Amine Lbath, Massih-Reza Amini, Vadim OkunarXiv 2026

TL;DR

SNAPPerf is the first tabular foundation model specifically designed for software performance prediction. By pretraining on millions of synthetic systems, it can predict the performance of a new, unseen software system using just a few measurements as context—eliminating the need for expensive per-system retraining or hyperparameter tuning.

What Problem Does This Paper Address?

Modern software—from databases like SQLite to video encoders like VP8—comes with hundreds of configuration "knobs." These options interact in complex ways, drastically affecting execution time, memory usage, and energy consumption. Because the number of possible configurations grows exponentially, developers can only measure a tiny fraction of them.

Traditionally, researchers have built machine learning models (like regression trees or deep networks) to predict the performance of unmeasured configurations. However, these models are "per-system": if you update the software version, change the hardware, or shift the workload, the model becomes obsolete. You have to collect new data and retrain from scratch. In an era of rapid deployment and AI-assisted coding, this retraining bottleneck is becoming unsustainable.

Methods

The authors introduce SNAPPerf (Software-aware, No-retraining, Adaptive Prediction), which shifts the paradigm from "train-then-predict" to "pretrain-then-contextualize."

  1. Software-Aware Pretraining: Unlike general-purpose tabular models, SNAPPerf is pretrained on ~29 million synthetic configurable systems. These synthetic systems are generated using a "prior" that mimics real-world software characteristics: sparse feature effects, complex interactions between options, and constraints (e.g., "option A requires option B").
  2. In-Context Learning: SNAPPerf uses a 12-million parameter transformer architecture. At inference time, the model is "frozen" (no weights are updated). It simply takes a few real-world measurements as "context" and uses them to predict the performance of all other configurations in a single pass.
  3. Uncertainty Quantification: Instead of a single point estimate, the model predicts a full probability distribution, providing an uncertainty estimate that can help engineers decide which configuration to measure next.
Overview of the SNAPPerf workflow: pretraining on synthetic data followed by in-context prediction using measured configurations as context.

Datasets

  • Pretraining: ~29 million synthetic systems generated based on performance-modeling literature.
  • Development: 16 real-world systems from previous studies used to tune the synthetic data generator.
  • Evaluation: The DaL benchmark, consisting of 12 real-world systems (including Apache, MariaDB, and x264) with a total of 39,866 measured configurations across various metrics like runtime and latency.

Key Insights and Ideas

  • Knowledge in Data, Not Architecture: The paper demonstrates that "software-awareness" doesn't need to be hard-coded into a neural network's architecture. Instead, it can be encoded into the pretraining data. By training on synthetic data that "looks like" software, the model learns the universal "physics" of configuration spaces.
  • The Power of In-Context Learning for Tables: SNAPPerf proves that the few-shot capabilities seen in Large Language Models (LLMs) translate effectively to tabular performance data. This allows for "instant" prediction as soon as a few measurements are available.
  • Synthetic Data as a Universal Proxy: Remarkably, the model achieves state-of-the-art results on real systems without ever seeing a single real measurement during its training phase.

Key Results

SNAPPerf significantly outperforms both traditional per-system models and general-purpose foundation models:

  • Superior Accuracy: It reduces prediction error by 38% compared to the previous state-of-the-art (DaL) and by 25% compared to the best general-purpose tabular foundation model (Nori).
  • Massive Efficiency Gains: To reach the same accuracy as current state-of-the-art models, SNAPPerf requires 54% fewer measurements on average.
  • Consistency: SNAPPerf was the most accurate model in 57 out of 60 tested cases (different systems and measurement budgets).
Fig. 2. Error given a growing share of the training sample, relative to DaL on the full sample. Below 1×, the model is more accurate than DaL. Lines: median over 60 cases; band: interquartile range of SNAPPerf. In the median case, SNAPPerf matches DaL’s accuracy with 43% of the sample, and Nori, the best general-purpose model, with 76%.

Limitations and Future Work

While promising, the authors note several areas for continued research:

  • Refining the Prior: Future work will involve "ablating" the synthetic generator to see exactly which elements (interactions, noise, constraints) contribute most to the model's success.
  • Software Evolution: The authors plan to explore how SNAPPerf can better reuse measurements across successive software releases.
  • From Prediction to Optimization: The ultimate goal is to integrate SNAPPerf into configuration "tuners" that automatically find the optimal settings for a given system under a strict measurement budget.

Summary updated

Abstract

Modern software systems expose hundreds of configuration options whose combinations can substantially affect execution time, memory and energy usage. Measuring software performance resulting from a configuration set requires running a realistic workload. Since the configuration space grows exponentially, exhaustive benchmarking is infeasible. Prior work therefore trains models on a small set of measured configurations to predict the performance of the rest. Yet these models are specific to a particular software version, hardware platform, and workload, so changes require new measurements and retraining, and such changes are becoming more frequent with coding agents. We challenge this per-system training assumption with SNAPPERF (Software-aware, No-retraining, Adaptive Prediction), a sample-efficient tabular foundation model specialized for configurable software. SNAPPERF is pretrained once on synthetic data. Each new update only requires a few measured configurations as context to predict the rest without any per-system training or hyperparameter tuning. Across 39,866 configurations from 12 real-world systems, spanning 6 domains and 4 performance metrics, SNAPPERF reduces prediction error by 38% over the prior state of the art at the same measurement budget, and by 25% over the best general-purpose tabular foundation model. It matches the state of the art's accuracy with 54% fewer measurements on average. These results suggest that knowledge about software can be encoded in pretraining data rather than in per-system models, opening a new research direction in software-aware pretraining.
BibTeX
@misc{lbath2026snapperf,
  author = {Amine Lbath and Massih-Reza Amini and Vadim Okun},
  title = {{SNAPPerf: Software-Aware Tabular Foundation Model for Retraining-Free Performance Prediction of Configurable Systems}},
  year = {2026},
  eprint = {2611.00944},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.00944},
}
Figure