arXiv:2611.00944cs.SEOct 2026

Manuscript Offprint

arXiv:2611.00944

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

Amine Lbath, Massih-Reza Amini, Vadim Okun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Amine Lbath1,2^{1,2}, Massih-Reza Amini2^{2}, Vadim Okun1^{1}

1^{1}National Institute of Standards and Technology, 2^{2}Université Grenoble Alpes, CNRS

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 SNAP-Perf (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.

Index Terms—tabular foundation models, performance prediction, in-context learning, configurable software, sample efficiency

I. INTRODUCTION

Web servers, compilers, databases or video encoders expose hundreds of configuration options, and their combinations can directly influence how fast a system runs and how much memory and energy it uses. The right settings can improve performance several-fold, yet few users update configurations [1], and poor settings are a frequent source of performance bugs [2]. Finding good settings is hard because the number of configurations grows exponentially with the number of options, and measuring a single configuration means running a realistic workload on the entire system, which can take hours. Profiling even a simple system can consume weeks of machine time [3],

[4]. The established approach is therefore to measure a small sample of configurations, fit a performance model to these measurements, and use this model to predict the performance of all the others [5]–[7].

Prior work has proposed increasingly sophisticated learners for this task: regression trees [6], [8], performance-influence models [9], sparse deep networks [10], hierarchical interaction networks [11], and divide-and-learn ensembles [4], [12]. All of these methods follow the same principle: a configuration performance model is learned from measurements of the system it predicts. Transfer and meta-learning can reuse measurements of the same system taken in another environment [3], [13]–[16], but they still train a new model for each target environment.

As an example, consider a video platform that encodes uploads with the VP8 encoder (Table I). Varying only two of its 13 options changes the encoding time of the same job elevenfold, while measuring all 2,736 configurations would require about 18 hours of encoding time [12]. To select a configuration without evaluating every candidate, engineers might measure 121 configurations, use them to train and tune a model such as DaL [4], [12], and predict the remaining 2,615. After a software update [17] or migration to new hardware [13], however, option interactions may change and the model may no longer predict performance reliably. Engineers must then collect new measurements and train and tune another model. As coding agents accelerate software development, such system updates are likely to become more frequent.

We propose predicting configuration performance from a few measurements, without retraining a model for each system. SNAPPerf is a single model pretrained once, independently of any target system. For a new system, the frozen model receives a few measured configurations as context and predicts the performance of all remaining configurations without updating any parameters. SNAPPerf is a tabular foundation model [18]–[20], a transformer-based model that learns to predict the target column of a table from a few labeled rows by pretraining on many synthetic tables. Existing tabular foundation models are pretrained on general synthetic tables, which do not reflect the structure of configuration spaces, such as binary and numeric options, constraints between options and option interactions [9]. SNAPPerf is therefore pretrained only on synthetic

Disclaimer: Certain trade names and company products are mentioned in the text or identified. In no case does such identification imply recommendation or endorsement by the National Institute of Standards and Technology (NIST), nor that they are necessarily the best available for the purpose.

Figure

Fig. 1. Overview of SNAPPerf. ① A transformer-based model is pretrained once, offline, on about 29 million synthetic configurable systems. ② For any software and any update, a few measured configurations become the context of the frozen model, which ③ predicts every unmeasured configuration with its uncertainty. Existing approaches instead train and tune a new model after every change (bottom).

TABLE I

THE PREDICTION TASK ON THE VP8 VIDEO ENCODER [12]: EACH ROW IS A CONFIGURATION AND ITS MEASURED PERFORMANCE, THE ENCODING TIME OF THE SAME JOB. THE PERFORMANCE OF EVERY UNMEASURED CONFIGURATION MUST BE PREDICTED FROM A SMALL MEASURED SAMPLE.

Quality modeThreadsConstant bitrate...Encoding time
best1no...60.8 s
good2yes...22.3 s
real-time4no...5.7 s
... 121 measured of 2,736 configurations
best4yes...?
good1no...?
real-time2yes...?

... 2,615 configurations to predict

configurable systems, generated from what the literature knows about real ones. A recent survey lists few-shot learning as an open direction for configuration performance prediction [21]. In the VP8 example, an encoder update would then require only a few new measurements, with no retraining or tuning.

Our results on the DaL benchmark [12] suggest that per-system training is not necessary for accurate prediction. Following the benchmark's protocol, SNAPPerf achieves 38% lower prediction error than the state of the art for the same measurements and is more accurate in 57 of 60 cases. It matches the state of the art's accuracy with 54% fewer measurements on average, and its error is 25% lower than that of the best general-purpose tabular foundation model.

This paper makes three contributions: (i) we propose SNAP-Perf, to our knowledge the first tabular foundation model specialized for configurable software, which is pretrained only on synthetic data and predicts performance from a few measurements without per-system retraining; (ii) we evaluate it on the DaL benchmark against prior state-of-the-art methods, five general-purpose tabular foundation models and tuned baselines; and (iii) we outline a research agenda towards software-aware pretraining.

References (46)