Submitted:
14 November 2026
Posted:
17 November 2026
You are already at the latest version
Abstract
Cross-architecture execution time prediction estimates target-processor cycles using host-side PMU data—valuable when target hardware is unavailable, yet fundamentally limited by the feature transfer-ability problem: features that fit within-suite distributions often fail across diverse benchmark suites. This paper makes three contributions. First, we introduce an observational asymmetry criterion to distinguish features with cross-suite generalization potential from those that only fit suite-specific patterns, and apply it to 161 programs across five suites on an Intel Golden Cove to FTC663 mapping. Second, we report a robust empirical finding: adding 15 architecture-level counters (x86 top-down microarchitecture + cache/memory events) to an 18-feature base produces a 12.5x larger held-out cross-suite gain than within-suite LOPO (tuning-set MAPE 9.83 pp vs. 0.79 pp; paired bootstrap ∆ = 5.87 pp, 95% CI [+2.04, +10.72]). Third, we provide interpretation and caveats: the asymmetry is consistent with architecture-defined bottleneck categories cutting across algorithmic diversity, but oracle bias correction reduces the apparent gap by 56% (residual 4.30 pp), and the held-out estimate is a tuning-set subject to selection optimism (5-seed mean 15.00% ± 0.45%). We also show LACross’s homogeneous training set masked this structure, and that DTW phase alignment and LWLR local regression yield negative results.
Keywords:
cross-architecture performance prediction
; PMU feature effects
; top-down microarchitecture analysis
; phase-level modeling
; benchmark suite heterogeneity
1. Introduction
1.1. Feature Transferability — The Unaddressed Open Problem
Cross-architecture execution time prediction estimates execution cycles on a target processor using performance monitoring unit (PMU) data collected on a host processor of a different architecture. Such prediction is valuable when target hardware is unavailable: it supports early-stage performance estimation, enables software scheduling decisions during development, and reduces the hardware dependency that delays many embedded-system projects.
A practical requirement that has not received systematic empirical treatment is feature transferability. Most PMU-derived features—raw counter values, ratios between pairs of events, instruction densities derived from IR or binary analysis—are effective predictors when training and test programs come from the same benchmark suite, because the suite’s algorithmic patterns create correlated bottlenecks that a single feature set can capture. But held-out evaluation across different suites reveals the limitation: a feature that separates numeric kernels from memory-bound string searches within PolyBench may have no discriminative power between MiBench’s crypto programs and SPEC’s general-purpose workloads. We define transferable features as feature families that retain predictive power across diverse benchmark suites, and we argue that finding such features is the critical prerequisite for deploying cross-architecture prediction in settings where training coverage over future workloads cannot be guaranteed.
The closest state of the art is LACross [1], which reported 2% mean absolute percentage error (MAPE) on Intel i7 → AMD Phenom II → ARM Cortex A9 mappings. LACross trained on 160 ACM-ICPC C++ solutions (a single homogeneous training suite) and held out MiBench, SD-VBS, and SPEC2006 (35 programs, same-generation 2–4-wide OoO cores)—a setting we term homogeneous cross-architecture. The 2% result is impressive within that setting, but it does not address transferability, because the held-out programs still come from algorithmic classes present in the ICPC training set. A systematic investigation of which feature families—if any—transfer across genuinely diverse suites remains absent.
1.2. Hypothesis and an Observational Criterion
We test a single hypothesis: features capturing architecture-level invariants of the host processor’s bottleneck structure—properties that describe why a host processor stalls (e.g., memory-bound, front-end-bound, branch-misprediction-bound), independent of what any specific program does—should show stronger cross-suite transferability than features tied to particular program behaviors. Our concrete instantiation is Intel’s top-down microarchitecture counters [9], which decompose processor stalls into four top-level categories (retiring, bad speculation, front-end bound, back-end bound) and their sub-categories. These are architecture-defined, not program-defined, and should therefore cut across algorithmic diversity.
How can we test this hypothesis? We formulate an observational asymmetry criterion, which operationalizes cross-suite transferability: a feature family shows a pattern consistent with transferability if adding it produces substantially larger gains in held-out cross-suite evaluation than in within-suite leave-one-program-out (LOPO) evaluation.
The intuition is straightforward. LOPO holds the suite distribution constant—training and held-out programs come from the same suite—so feature gains primarily reflect in-suite fit ability. Held-out cross-suite evaluation, by contrast, trains on some suites and tests on others, forcing the model to generalize across suite distributions. When the held-out gain substantially exceeds the LOPO gain, this asymmetry is consistent with, but does not definitively establish, cross-suite transferability: the two protocols differ in test set size, training pool composition, and baseline difficulty, making them controlled comparisons only in spirit, not in design. Because the protocols are not controlled, the asymmetry magnitude alone is not interpretable at face value—we quantify its statistical uncertainty with bootstrap confidence intervals.
held-out gains.
1.3. What We Find — Feature-Effect Asymmetry Across Protocols
Figure 1 previews our main observation. We collect PMU and IR data for 161 programs across five benchmark suites on both sides of an Intel Golden Cove (8-wide OoO, x86) → FT-D2000 FTC663 (3–4-wide OoO, ARMv8) mapping. Starting from a baseline of 18 generic PMU and IR features, we add 15 x86 top-down and cache/memory counters and measure the MAPE change under both evaluation protocols.
The result is a feature-effect asymmetry. Within-suite LOPO: 18.19% → 17.40% (0.79 pp gain). Held-out cross-suite: two complementary effect estimates describe the gain: (i) the tuning-set point estimate MAPE changes by 9.83 pp (24.34% → 14.51%, tuning-set estimate, seed=0; mean across 5 seeds = 15.00% ± 0.45%, range [14.51, 15.60]; hyperparameter sweep span 2.87 pp); (ii) a program-level paired bootstrap gives (APE_base - APE_rich) = 5.87 pp, 95% CI [+2.04, +10.72], positive fraction = 99.98%. The two values should not be conflated: 9.83 pp is the suite-level weighted MAPE difference, while 5.87 pp is the mean of per-program paired differences (different aggregation, normal to differ). The held-out gain magnitude (whether measured at suite or program level) is substantially larger than the LOPO gain. However, this asymmetry is not definitive proof of transferability, because the two protocols differ in test set, training pool, and baseline difficulty, and the 14.51% figure is a tuning-set estimate. Oracle log-domain bias correction further reduces the apparent gap: de-biased base18 = 17.10%, de-biased rich33 = 12.80%, gap = 4.30 pp, indicating that approximately 56% of the uncorrected 9.83 pp gap arises from base18’s larger positive systematic bias (+0.0721 dex vs. rich33’s +0.0233 dex).
But even after de-biasing, a 4.30 pp gap between base18 and rich33 remains. One plausible interpretation—not a definitive mechanism, as it is not established by controlled comparison—is that this residual gap reflects top-down counters capturing bottleneck categories that are suite-invariant. Whether a program is from SPEC (general-purpose), LLVM (compiler/runtime), or PolyBench (numeric kernel), if it has high topdown_mem_bound, it will suffer the same relative slowdown on FTC663—the smaller reorder buffer provides less latency tolerance to cache misses, compounding the penalty. This interpretation is plausible but would require feature-group ablation (e.g., top-down counters vs. cache/memory counters alone) to isolate the responsible feature family, which we do not perform in this manuscript. A quantitative claim about sub-distribution CV ≈ 25–30% within top-down categories is noted in Section 5.1 but is not accompanied by a formal grouping calculation here.
We also report three related findings. First, LACross fails in this heterogeneous setting: its three implicit assumptions—H1 monotonic non-negative linear mapping (≥0, no intercept), H2 narrow unimodal same-suite training distribution (CV ≈ 20%), H3 dense structurally-similar neighborhoods in feature space—reconstructed from [1] and never explicitly stated in the original paper—all break down, and its original CLSLR reaches 21.92% MAPE instead of 2% (Section 4.3). We defer full derivation and quantification of each violation to Section 2.1; the definitions above are sufficient to interpret Figure 1(c). Second, a log-ratio formulation with GBDT addresses the H1 failure but contributes nothing to transferability (it improves LOPO as much as held-out). Third, two natural extensions—DTW phase alignment and LWLR local regression—give negative results, consistent with the H3 dense-neighborhood violation.
1.4. Problem Setting
We evaluate on a substantially more heterogeneous setting than prior cross-architecture prediction work. Specifically:
- Host → Target: Intel Core i9-12900 (Alder Lake, Golden Cove) 8-wide OoO → FT-D2000 FTC663 3–4-wide OoO (ARMv8)
- Data: 161 programs from five heterogeneous benchmark suites (PolyBench 30, MiBench 15, SD-VBS 8, SPEC CPU2017 7, LLVM test-suite 101), phase-level granularity via IR instrumentation at 5000-BB boundaries, resampled to 100 equal-instruction-progress bins
- Cross-validation: Leave-one-program-out (LOPO) on all 161 programs, plus held-out cross-suite evaluation (train on PolyBench+LLVM 131, test on MiBench+SD-VBS+SPEC 30)
The key differences from LACross are: (1) larger microarchitecture disparity (8-wide OoO → 3–4-wide OoO, plus x86→ARMv8 ISA difference), (2) training on mixed suites rather than a single homogeneous set, and (3) held-out testing across suites rather than within the same distribution. All measurements are on bare-metal systems without virtualization layers; external validity to virtualized deployment scenarios remains an open question.
1.5. Contributions
This paper makes five contributions:
- Feature-effect asymmetry across evaluation protocols for cross-architecture prediction. We introduce an observational asymmetry criterion (Section 1.2) that compares held-out cross-suite MAPE gains to within-suite LOPO gains. Applying it to an Intel Golden Cove → FT-D2000 FTC663 mapping with 161 programs from five benchmark suites, we observe that adding 15 x86 top-down and cache/memory counters to 18 base features yields gains of very different magnitude under the two protocols: LOPO improves modestly by 0.79 pp (18.19% → 17.40%), while held-out cross-suite shows a larger tuning-set gain of 9.83 pp (24.34% → 14.51%, seed=0; mean across 5 seeds = 15.00% ± 0.45%, range [14.51, 15.60]). The program-level paired bootstrap confirms (APE_base - APE_rich) = 5.87 pp, 95% CI [+2.04, +10.72], positive fraction = 99.98% (a different aggregation from the 9.83 pp suite-level MAPE change). Oracle log-domain bias correction reduces the held-out gap from 9.83 pp to 4.30 pp, showing that 56% of the uncorrected gap arises from base18’s larger positive systematic bias. The observed asymmetry is consistent with but does not definitively establish cross-suite transferability, because the two protocols are not controlled comparisons and the 14.51% figure is a tuning-set estimate.
- Why LACross fails: three implicit assumptions and their violations. We reconstruct three implicit assumptions (H1 monotonic linearity, H2 homogeneous training distribution, H3 dense local neighborhoods) that LACross never states but that must hold for its 2% MAPE to generalize. We systematically violate all three: (H1) an unconstrained fit assigns negative coefficients to 9.9 of 18 features on average, and the ≥ 0-constrained CLSLR reaches 21.92% MAPE instead of 2% (Section 4.3); (H2) ARM/x86 cycle ratios have CV = 48% vs. ~20% estimated for LACross’s ICPC training; (H3) local neighborhoods become sparse because five heterogeneous suites cluster in different feature-space regions.
- A ratio-based reformulation with non-linear models addresses the monotonicity failure. LACross’s CLSLR imposes a non-negative linear map from counters to cycles. The data contradict the sign assumption, so we switch to a log-ratio target (y = log_1_0(arm_cycles / x86_cycles)) and drop the constraint, yielding 21.28% LOPO MAPE (local_lasso). Replacing the linear model class with GBDT on the same 18 base features reduces LOPO MAPE further from 21.92% (CLSLR) to 18.19%—a 3.73 pp improvement attributable to the model class change. Adding the 15 top-down and cache/memory counters (GBDT 33 features) yields an additional 0.79 pp, indicating that formulation and model class matter more than the local/global dichotomy for the LOPO protocol.
- Local methods fail when the dense-neighborhood assumption is violated. LWLR (distance-weighted local regression) degrades across all k and configurations (best 25.06% vs. 21.28% for local_lasso), because heterogeneous suites produce sparse neighborhoods where distance weighting further reduces effective sample size. DTW phase alignment raises normalized cycle-trajectory correlation from 0.32 to 0.35 across 161 programs, yet does not reduce MAPE—the difference (+0.12 pp) is well within bootstrap CI [-0.28, +0.53] and not distinguishable from zero.
- Reproducible dataset and evaluation pipeline. All scripts, data, and exclusion rules are available at the project repository, so that every result in this paper can be verified independently using the aggregated phase-level data provided.
1.6. Paper Organization
Section 2 reviews related work, situating LACross, phase alignment, and microarchitecture top-down analysis. Section 3 presents the methodology: cross-architecture setup, phase-level instrumentation, feature engineering, and evaluation protocols including the observational asymmetry criterion. Section 4 reports experiments: LACross reproduction, the feature-effect asymmetry across protocols, DTW/LWLR negative results, and GBDT hyperparameter sweep. Section 5 discusses root causes (the three assumptions), an interpretive hypothesis for why top-down features show cross-suite generalization, and implications for cross-architecture prediction practice. Section 6 concludes.
2. Related Work
2.1. Cross-Architecture Performance Prediction
LACross [1] (Gerstlauer et al., 2017) is the most directly related work. It learns an analytical function from host-side PMU counters to target cycles, formulated as a constrained Lasso regression with non-negative coefficients and no intercept (CLSLR), plus a local variant (PCLSLR) that restricts training to an -neighborhood of similar programs. The paper reports 2% MAPE on held-out prediction across Intel i7 → AMD Phenom II → ARM Cortex A9.
LACross’s Three Implicit Assumptions (reconstructed from [1] by the authors, not explicitly stated in the original). We identify three assumptions that are never stated but must hold for the 2% result to generalize:
- H1 (Monotonic Linearity). Target cycles is a monotonic linear function of host-side counters: with . This justifies CLSLR’s non-negative constraint and absence of intercept. The assumption holds when host and target are same-generation microarchitectures with similar pipeline widths (2–4-wide OoO) and bottleneck weightings.
- H2 (Homogeneous Training Distribution). ARM/x86 cycle ratios across training programs form a narrow, unimodal distribution (coefficient of variation CV ≈ 20% or less). This justifies using a single global model or a simple local neighborhood: programs are similar enough that “nearby” programs have similar ratios. The assumption holds when all training programs come from a single homogeneous source (e.g., ACM-ICPC solutions).
- H3 (Dense Local Neighborhoods). For any held-out program, there exist dense neighborhoods in feature space populated by structurally similar programs, so local regression (PCLSLR) provides meaningful extrapolation. The assumption holds when training programs share common algorithmic patterns (sorting, graph traversal, dynamic arrays) that cluster tightly in the feature space.
Our host→target mapping (8-wide OoO → 3–4-wide OoO, x86 → ARMv8) and heterogeneous five-suite training data violate all three assumptions. We now quantify how each violation compounds.
H1 — Monotonic Linearity. CLSLR constrains ≥ 0, assuming higher x86 counter values always correspond to higher ARM cycles in a linear relationship. This holds when host and target are same-generation OoO cores (both within the 2–4-width OoO range, as in LACross’s Intel i7 → AMD Phenom II → ARM Cortex A9 setup) with similar bottleneck weightings, because the same microarchitectural event (e.g., more cache misses on x86) has a proportional effect on both. Our mapping (8-wide → 3–4-wide, ISA gap) produces non-linear mappings:
- Memory-bound programs (lbm, GEMM variants): ARM/x86 ratio ≈ 4.4×: small FTC663 reorder buffer provides little latency tolerance; misses have compounding effects
- Branch-bound programs (susan, aes): ARM/x86 ratio ≈ 1.2×: front-end penalties (misspeculation) are similar across architectures
- Compute-bound programs (seidel-2d): ARM/x86 ratio ≈ 1.1×: pure throughput, bottleneck scaling linearly with width
The ratio varies by 4× across these three classes, violating both monotonicity (a cache miss counter being higher on x86 does not uniformly predict higher ARM cycles; how much higher depends on the program class) and linearity (the slope varies). The sign constraint itself is contradicted by the data: fitted without ≥ 0, the 18 features receive 9.9 negative coefficients on average over the LOPO folds, and 12 of 18 on the held-out split (Section 4.3). A single-slope, non-negative map cannot represent this mapping.
H2 — Homogeneous Training Distribution. LACross’s 160 ICPC solutions are all competitive-programming algorithms (sorting, graph traversal, dynamic arrays) with similar ARM/x86 ratios. Our five-suite dataset produces a wide distribution (CV = 48%, Table 1):
The CV = 48% is the estimated primary contributor to the gap between LACross and our setting. It sets the error of any predictor that ignores program features: with a single global ratio, MAPE is approximately 31%, i.e., of the same order as the CV. A model conditioned on per-program features can go well below this value (our held-out result of 14.51% does), but the width of the ratio distribution still limits how much of the remaining variance a feature set can explain.
H3 — Dense Local Neighborhoods. PCLSLR’s -neighborhood local regression assumes that for any held-out program, there exist structurally similar programs in training. ICPC solutions cluster tightly in feature space (same algorithm class, same data structures). Our programs from different suites occupy separate regions of that space: PolyBench and LLVM programs form dense loop-nest and compiler-pass clusters, whereas MiBench, SD-VBS and SPEC programs fall into regions with few or no training programs nearby.
When held-out testing crosses suite boundaries (training on PolyBench+LLVM, testing on MiBench), the nearest neighbors of a MiBench program all come from other suites, so their feature distributions are mismatched. Distance weighting then reduces the effective sample size further, which contributes to the degradation observed for LWLR (best 25.06% vs. local_lasso 21.28%) and for local_lasso on held-out data (24.81% vs. 18.98% under LOPO).
Several subsequent and companion works extend this line. Zheng et al. [2] first presented the phase-level cross-platform framework in a conference version, later extended into the analytical LACross model [1]; Kim et al. [3] replace the analytical formulation with per-phase neural networks; and more recent work applies transformer-based models to predict the performance and energy of program binaries across ISAs [4]. None of these methods, however, explicitly characterizes the assumption space we identify here, nor does any evaluate a setting that simultaneously violates all three of LACross’s implicit assumptions—a gap that this paper addresses.
Regression-based performance modeling. Learning performance from hardware counters has a long history within a single architecture: Joseph and Martonosi [5] used linear regression on PMU counts for runtime power estimation, and Lee and Brooks [6] showed that regression models on microarchitectural parameters can replace detailed simulation for design-space exploration. These works assume a fixed ISA and microarchitecture, whereas we learn across ISAs. For the non-linear model class we use gradient-boosted decision trees [7]; the regularized variant XGBoost [8] is equally applicable and was not used here only to keep hyperparameter control simple.
2.2. Microarchitecture Top-Down Analysis as Transferable Features
Intel’s top-down methodology, originally formalized by Yasin [9] and documented in [10], decomposes processor performance hierarchically into four top-level categories (retiring, bad speculation, front-end bound, back-end bound) and their sub-categories (for example memory bound, branch misprediction, heavy operations, and fetch latency). It is widely used for performance diagnosis; here we repurpose it as a candidate transferable feature family for cross-architecture prediction. The underlying hypothesis—architecture-level bottleneck ratios generalize across program suites, unlike suite-specific behavioral features—is developed in Section 5.2. The corresponding counters are available on Golden Cove through the cpu_core PMU, grouped under the slots fixed counter. To our knowledge, top-down counters have not previously been evaluated as transferable cross-suite features for cross-architecture prediction.
2.3. Phase Alignment
The core challenge of phase-level cross-architecture prediction is that identical source code may execute different basic-block sequences on different architectures, because the ISA, the optimization passes and the resulting basic-block sizes all differ. LACross addresses this with Synchronous Dynamic Counter (SDC) alignment, which iteratively matches host and target counter signatures. We use Dynamic Time Warping (DTW) [11], a well-established technique for aligning time sequences, which finds an optimal monotonic alignment path between normalized multi-channel counter trajectories from the two architectures. The related problem of identifying representative program phases has been studied extensively through SimPoint-style basic-block vector clustering [12]; unlike that line of work, our phases are fixed-length in dynamic basic blocks rather than discovered by clustering, which keeps the host and target segmentation directly comparable.
2.4. Distance-Weighted Local Regression
Locally Weighted Linear Regression (LWLR, or LOESS) [13] fits a linear model at each query point using kernel-weighted neighbors, where the kernel bandwidth adapts to the local data density. It is a natural extension of LACross’s local PCLSLR formulation, adding distance weighting to further reduce the influence of dissimilar neighbors. We evaluate it here as a systematic extension of the local approach, with results reported in Section 4.7.
3. Methodology
Figure 2 gives an end-to-end overview of the method; the following subsections detail each stage.
3.1. Cross-Architecture Setup
Table 2 summarizes the host and target platform configuration for this cross-architecture mapping.
On x86, we bind all measurements to P-cores via taskset -c 0, disable DVFS during measurement, and use perf stat for PMU events. On ARM, firmware locks the frequency at 2.303 GHz (three independent measurements: 2.3032, 2.3032 and 2.3033 GHz, fluctuation below 0.03%), which satisfies LACross’s “no DVFS” constraint.
All measurements in this study are conducted on bare-metal systems without virtualization or containerization layers. Virtualized environments introduce additional PMU multiplexing and measurement artifacts; the external validity of our findings to virtualized deployment scenarios remains an open question. The host side is measured natively on the i9-12900 machine and the target side on the FTC663 board; both measurements are therefore in direct control of the hardware counters they aim to capture.
3.2. Phase-Level Instrumentation
We instrument every program with a pass over LLVM [14] intermediate representation (instrumentation at basic-block granularity); this is a static counterpart to the dynamic binary instrumentation of Pin [15] and avoids the per-instruction overhead of dynamic rewriting while still yielding per-phase event counts. The IR pass inserts callbacks at every basic block entry point, accumulating PHASE_BB = 5000 basic blocks per phase and recording:
- ARM side: 6 generic PMU events (cycles, instructions, cache_refs, cache_misses, branches, branch_misses) via perf_event_open
- x86 base: same 6 generic PMU events via perf_event_open
- x86 structure: IR-derived instruction composition (s_ld, s_st, s_alu, s_fp, s_vec, s_div, s_call, s_br, s_inst, s_bb, s_taken, s_notaken)
- x86 rich (top-down + caches): 15 additional counters from cpu_core PMU, collected in a separate pass to avoid counter pressure: slots, topdown_retiring, topdown_bad_spec, topdown_fe_bound, topdown_be_bound, topdown_mem_bound, topdown_br_mispredict, topdown_heavy_ops, topdown_fetch_lat, L1_dcache_load_misses, LLC_load_misses, dTLB_load_misses, iTLB_load_misses, L1_icache_load_misses, mem_stores.
All programs are compiled with -O2 using Clang, statically linked, and run with the full reference input size on each architecture. Raw traces are resampled to M_BINS = 100 equal-instruction-progress intervals via cumulative linear interpolation, producing a (100, N_features) per-phase matrix for each program.
3.3. Features
We evaluate three feature configurations, summarized in Table 3.
All ratios in [0,1] are kept in linear space; magnitudes are log-transformed via (with for numerical stability) before standardization.
3.4. Prediction Target: The Log Cycle-Ratio Label
For each phase, the label is:
where y is the phase-level prediction target, and / are the measured cycle counts on the respective architectures for that phase. This formulation models how much slower (or faster) ARM is at a given phase. It is more interpretable than raw cycle prediction and removes scale differences between the two architectures. We refer to this log-transformed ratio as the ratio formulation, and the corresponding alignment of ARM and x86 phases (without additional trajectory warping) as ratio alignment—the default baseline against which DTW alignment is compared in Section 4.6.
3.5. Prediction Aggregation and Evaluation Protocols
Phase-to-Program Aggregation. Program-level ARM cycles are predicted by aggregating predicted phase cycles using measured x86 phase cycles as weights (because at deployment time, host-side cycles are known and provide a natural weighting that reflects each phase’s contribution to total execution time):
where , with being the model’s predicted log-ratio for phase p, and being the measured x86 phase cycles (ground truth).
Leave-One-Program-Out (LOPO). For each of N programs, train on the remaining and predict all phases of the held-out program. Each program appears exactly once in the held-out position.
Held-Out Cross-Suite. We hold out three suites entirely from training (MiBench 15 + SD-VBS 8 + SPEC 7 = 30 programs) and train on the remaining two (PolyBench 30 + LLVM 101 = 131 programs). This directly mirrors LACross’s setup (train ICPC, test MiBench+SD-VBS+SPEC). We exclude multi_ncut (ARM-side missing structure features) and llvm_paq8p_paq8p (perf measurement overflow) from all evaluations. The held-out configuration and GBDT hyperparameter sweep were conducted on the same fixed 30-program test set. This tuning-set estimate is optimistic compared to what would be obtained with fully nested cross-validation or a separate validation set; we report it explicitly as such throughout.
Hyperparameter Search. For each model and feature configuration, we perform a grid search and report the best combination. All hyperparameters are selected based on LOPO cross-validation; the held-out GBDT sweep explicitly tests whether LOPO-selected hyperparameters overfit to in-suite distributions. The search grids used in this study are:
- Ridge regression: ; best selected at across all feature sets
- Lasso regression: ; best selected at
- Local Lasso (-neighborhood Lasso): neighborhood size ; regularization ; best at
- Gradient Boosted Decision Trees (GBDT): number of estimators ; max depth ; learning rate (27 configurations, shown in Table 4); best at
- LWLR: kernel bandwidth ; ridge penalty ; Gaussian kernel; best at
Experimental Exclusion Rules. The following table summarizes the program counts and exclusions for each experiment:
Note: PB = PolyBench; LLVM = LLVM test-suite; SD = SD-VBS; SPEC = SPEC CPU2017. The held-out base18 training set has 131 programs (PolyBench 30 + LLVM 101 - 2 excluded), and held-out rich33 training set has 129 programs (same as above - 2 more LLVM excluded from rich evaluation). The held-out test set is identical (30 programs) across both configurations because the excluded programs are LLVM-side exclusions.
3.6. Metrics and Bias Discussion
MAPE Definition. Program-level mean absolute percentage error (MAPE) is computed as:
where N is the number of programs in the evaluation set, is the measured total ARM cycles for program i, and is the predicted total ARM cycles obtained by phase-level aggregation (Equation 2). Median APE is reported alongside MAPE to distinguish tail shrinkage from typical-program improvement (Section 4.4).
Log-to-Cycle Back-Transformation Bias. Our model predicts in log_1_0 ratio space and back-transforms via . By Jensen’s inequality, , so the conditionally-mean prediction is not unbiased in cycle space. We define the log-domain residual as (predicted minus measured). In this convention, a positive residual means the model predicts a higher ARM/x86 ratio than measured.
Over held-out programs, the mean log-domain residual (bias) is: rich33 dex (approximately +5.5% arithmetic bias in the predicted cycle ratio), and base18 dex (approximately +18% arithmetic bias). Both models show positive bias, meaning they systematically overestimate the ARM/x86 ratio (predict ARM cycles as higher than measured). This is consistent with Jensen’s inequality: since is a convex function of , predicting at the conditional mean tends to produce upward-biased cycle estimates after back-transformation.
Why base18’s larger bias matters. base18 exhibits a substantially larger positive bias (+0.0721 dex ≈ +18%) than rich33 (+0.0233 dex ≈ +5.5%). Since both models overestimate, and base18 overestimates by more, base18’s APE is inflated by this systematic component. Oracle log-domain bias correction—subtracting each model’s own mean residual from all held-out predictions—corrects this asymmetry: base18 MAPE improves from 24.34% to 17.10% (7.24 pp improvement, driven largely by removing its larger positive bias), while rich33 improves from 14.51% to 12.80% (1.71 pp improvement). After correction, the held-out gap narrows from 9.83 pp to 4.30 pp. This means that approximately 56% of the uncorrected 9.83 pp gap between base18 and rich33 arises from base18’s larger systematic overestimation bias, not from richer features alone. We discuss this as an alternative interpretation of the observed asymmetry in Section 5.2.
Overestimation vs. underestimation. Because both models have positive mean bias, their residual distributions are centered slightly above zero. For rich33 (mean residual +0.0233 dex ≈ +5.5%), roughly half of the held-out programs will have positive residuals (model overestimates ARM cycles) and roughly half negative (model underestimates); the exact split depends on the residual distribution shape. base18 (mean +0.0721 dex ≈ +18%) has a larger proportion of programs where the model overestimates. Since MAPE is symmetric in over- and underestimation, both directions contribute equally to the error metric, but the systematic directional bias inflates base18’s APE more because it overestimates by a larger margin on average.
Deployment weight source. Equation (2) uses measured x86 phase cycles as aggregation weights. At deployment, these host-side phase cycles can be directly measured with the same PMU counters used for feature collection, so no target-side information is required for weighting.
4. Experiments and Results
4.1. Dataset Summary
Table 5 summarizes the five benchmark suites used in this study.
Benchmark suites. PolyBench [16] supplies loop-nest numerical kernels; MiBench [17] contributes embedded integer and memory workloads (CRC, FFT, SHA, Dijkstra, Patricia, qsort, AES); SD-VBS [18] provides vision kernels with streaming memory access; SPEC CPU2017 [19] contributes seven general-purpose integer and floating-point programs; and the LLVM test-suite [14] contributes 101 compiler and language-runtime programs. The suites are deliberately heterogeneous in order to stress exactly the H2 condition of Section 2.1.
Rich features (top-down + caches) are available for 159 of 161 programs; the remaining 2 (llvm_doeproxyappsc_SimpleMOC, llvm_optimizereval_optimizer_eval) failed collection and are excluded from rich-feature evaluations.
4.2. Constant Baseline: Difficulty of the Setting
The simplest predictor uses the geometric mean of ARM/x86 ratios across all other programs in the LOPO training set:
where N is the total number of programs in the dataset, the held-out program is indexed by i, j ranges over the remaining training programs, and is the mean log-ratio of the training set (equivalently, the geometric mean of the raw ratios computed from each program’s total ARM/x86 cycle counts). This baseline ignores all per-program features and predicts every phase of program i with the same architecture-wide ratio.
On 161 programs (LOPO), this baseline achieves 31.22% MAPE. The per-program ARM/x86 cycle ratio has a coefficient of variation of 48%, that is, a standard deviation equal to 48% of the mean ratio. This is already much harder than LACross’s setting (ICPC programs likely have CV < 30%).
On held-out testing, the constant baseline drops slightly to 29.16% (base features) / 27.98% (rich features), because the training set (PolyBench+LLVM) has a mean ratio of 2.18 / 2.29, which approximates the held-out suites’ ratios better than the overall mean. The two constant-baseline values differ because the two evaluations use slightly different training sets: base18 trains on 131 programs while rich33 trains on 129 programs (two LLVM programs are excluded from rich-feature evaluations due to missing collection data; see Table 6).
4.3. LACross Reproduction Results
We re-implemented LACross’s CLSLR as specified (absolute counter features, absolute ARM-cycle target, non-negative coefficients ≥ 0, no intercept), together with a log-counter variant. Their results appear in the first two rows of Table 7:
- Original CLSLR: raw counter features, absolute cycles target, ≥ 0, no intercept.
- Log-counter variant: log absolute counters, L2-normalized features, ≥ 0, with intercept.
The original formulation yields valid results. It is a non-negative least-squares problem whose feasible region contains the origin, so a minimizer always exists; we solve it with NNLS and cross-check it with a positive-constrained Lasso ( = 10-8 and 10-6), and the three fittings agree. Under LOPO the original form reaches 21.92% MAPE (median 15.22%); under the held-out split it reaches 20.45% (median 14.44%). The result is well-defined, but roughly an order of magnitude worse than the 2% reported by LACross. We encountered a non-finite error in preliminary work caused by unscaled phase counts and insufficient solver iterations; the standard NNLS solver used here gives a finite, stable solution, and the figures above are the corrected result.
The poor fit is explained by the sign assumption rather than by infeasibility. Fitting the 18 features of Section 3.3 to the same absolute-cycle target without the ≥ 0 constraint leaves 9.9 of 18 coefficients negative on average across the LOPO folds (range 8–11) and 12 of 18 on the held-out training split.
When the sign a coefficient should take depends on the program class, a single non-negative linear map cannot follow the data: the constrained optimum is pulled away from the unconstrained one, and the error rises accordingly. The choice of target variable and feature formulation is therefore still central—formulations that work for same-generation mappings may not generalize to wider out-of-order gaps—but the argument rests on the sign of the fitted coefficients, not on the absence of a solution.
4.4. Consolidated Comparison and LOPO Cross-Validation
Table 7 compares the three stages of this study under one protocol: (i) direct application of LACross’s formulation, (ii) our ratio-based models without x86 top-down features, and (iii) our models with top-down and cache/memory features. Rows 3–5 use identical evaluation protocols, so the progression isolates the contribution of the formulation change (row 3) and of the top-down features (rows 4–5).
Two features of Table 7 drive the rest of the paper. First, LACross’s original formulation is not unusable but clearly insufficient: it reaches 21.92% under LOPO and 20.45% under held-out evaluation, an order of magnitude above the 2% it reports. Second, the improvements are not monotone across protocols. The ratio reformulation lowers LOPO error only marginally (21.92% → 21.28%), and the same linear model class degrades sharply under held-out evaluation (37.27%), which directly reflects the H2 violation discussed in Section 5.1. Only the top-down features improve both protocols, and they are the sole change that brings held-out error below the reproduction baseline (24.34% → 14.51%). The top-down gain is moreover strongly protocol-dependent: -0.79 points under LOPO (18.19 → 17.40) but -9.83 points under held-out (24.34 → 14.51). Section 5.2 explains this asymmetry. The full model grid on held-out data is given in Table 8; a dash denotes a configuration that was not evaluated.
Table 9 then details the LOPO results across the complete model grid, on all 161 programs (base 18 features) and the 159-program subset with rich x86 data (rich 33 features).
Table 9 supports three observations.
- Top-down features help consistently but modestly in LOPO. GBDT improves from 18.19% to 17.40% (0.79 points), Lasso from 21.73% to 19.01% (2.72 points), Ridge from 21.96% to 19.66% (2.30 points). The gain for linear models is larger than for GBDT, which suggests that top-down counters capture architecture-level ratios that linear models cannot learn from basic counters alone.
- Local regression (local_lasso 18.98%) is not better than global GBDT (17.40%) on rich features. The neighborhood assumption becomes less useful when features already capture the right information globally.
- Top-down features mainly reduce large errors, and mainly for linear models. Median MAPE falls for Ridge (17.06 → 14.74) and Lasso (16.75 → 14.57) but rises slightly for GBDT (12.06 → 12.86), while GBDT keeps the lowest median overall. The mean gain is therefore driven by shrinking the tail of hard programs, not by improving the typical program.
4.5. Held-Out Cross-Suite: Training on PolyBench+LLVM, Testing on MiBench+SD-VBS+SPEC
This setup mirrors LACross most closely: train on one suite class and test on three others. Table 8 reports the overall held-out results across all 30 test programs; Table 10 breaks down the same results per suite.
The salient result is the asymmetry between the held-out and LOPO gains:
- SPEC at 9.90% is the lowest suite MAPE, with the narrowest ratio distribution among the three held-out suites; its smaller program count (n=7) means the estimate is less precise.
- MiBench at 17.09% is hardest, because MiBench programs have diverse behaviors (crypto, compression, telecomm) where the PolyBench+LLVM training distribution provides weaker coverage.
- GBDT with LOPO-selected hyperparameters (300/4/0.05) is also optimal under held-out evaluation.
Statistical uncertainty (MAPE point estimates). Bootstrap 95% confidence intervals (5000 program-level resamples) are for each model’s held-out MAPE itself: GBDT rich33 MAPE = 14.51%, 95% CI = [10.69, 19.05]; base18 MAPE = 24.34%, 95% CI = [17.17, 32.27]. These intervals reflect program-level sampling uncertainty in the estimated MAPE values. They are not confidence intervals for the difference between the two models.
Across five GBDT random seeds, rich33 yields mean = 15.00%, SD = 0.45%, range = [14.51, 15.60]; base18 yields mean = 24.32%, SD = 0.41%, range = [23.90, 24.73]. The headline Figure 14.51% is the most optimistic of the five seeds (seed=0), approximately 1.09 standard deviations below the mean.
Two complementary characterizations of the held-out improvement. The improvement from base18 (24.34%) to rich33 (14.51%) can be summarized in two ways, which differ in aggregation and should not be conflated:
- Suite-level MAPE difference (tuning-set estimate)._MAPE = MAPE_base - MAPE_rich = 24.34% - 14.51% = 9.83 pp. This is a suite-level weighted average of program-level absolute percentage errors. No bootstrap CI is reported for this difference directly; the tuning-set nature of the estimate introduces additional optimistic bias beyond program-level sampling.
- Program-level paired bootstrap difference._ paired = mean(APE_base_i - APE_rich_i) over the 30 held-out programs. A 5000-resample paired bootstrap (seed=0) yields _paired = +5.87 pp, 95% CI = [+2.04, +10.72], positive fraction = 99.98%. This interval characterizes the per-program paired difference and does not include hyperparameter/seed selection uncertainty.
The two values (9.83 pp and 5.87 pp) are numerically different because they use different aggregation: _MAPE is the difference of suite-level means, while _paired is the mean of program-level paired differences. Their equality is not required mathematically.
Per-suite paired bootstrap results (positive fraction = proportion of resamples where > 0): MiBench =+4.30 [+0.35, +8.51], positive fraction = 98.0%; SD-VBS =+6.26 [+1.16, +11.92], positive fraction = 99.6%; SPEC =+8.79 [-1.45, +25.84], positive fraction = 87.5% (the CI crosses zero due to small sample size n=7).
Oracle bias correction and an alternative interpretation. The held-out rich33 model exhibits a small positive log-domain bias of +0.0233 dex (corresponding to a +5.5% arithmetic bias in the predicted cycle ratio). After oracle de-biasing, MAPE drops to 12.80%, indicating that approximately 1.7 percentage points of the 14.51% MAPE is attributable to systematic prediction bias. The base18 model shows a substantially larger bias of +0.0721 dex (approximately +18% arithmetic bias), with oracle de-biased MAPE = 17.10%.
Critically, the gap between base18 and rich33 narrows from 9.83 pp (uncorrected) to 4.30 pp (de-biased). This means that approximately 56% of the uncorrected gap is attributable to base18’s larger positive systematic bias, not to richer features alone. This observation does not negate the asymmetry between the held-out and LOPO protocols (which remains qualitatively present even after de-biasing), but it does provide an alternative partial interpretation of the magnitude of the observed held-out gain. We discuss this further in Section 5.2.
4.6. DTW Phase Alignment: Negative Result
LACross addresses phase alignment with SDC (Synchronous Dynamic Counter). We implement DTW-based alignment as an alternative. For each program, we compute normalized multi-channel cycle trajectories (six generic PMU events) on both architectures, run DTW to find the optimal monotonic alignment path, and reshape the ARM cycles accordingly. We use the standard Euclidean distance metric with a Sakoe-Chiba window constraint (window size = M_BINS / 4 = 25) to prevent excessive warping. The resulting DTW-aligned ARM phase cycles are then used as the prediction target, following the same ratio formulation of Section 3.4.
Across the 161 programs, the mean Pearson correlation of normalized cycle trajectories increases from 0.32 under ratio alignment (i.e., direct phase-index matching, our baseline formulation in Section 3.4) to 0.35 under DTW. 88 programs improve and the remaining 73 change little or degrade slightly, so the improvement is modest but consistent.
Despite the improved shape correlation, DTW does not improve MAPE (Table 11). The difference (+0.12 pp) is well within the program-level CI and is not statistically distinguishable from zero.
Figure 6 visualizes this pattern. At the per-program level, of the 88 programs whose shape correlation improves under DTW, only 42 (48%) also show a lower MAPE; the other 46 (52%) show a higher MAPE. Shape correlation and prediction accuracy therefore do not systematically covary in this setting. DTW rearranges ARM phase cycles to match the x86 phase shapes, but this reshuffling also redistributes label noise across phases, which makes it harder for GBDT to learn the correct arm/x86 ratio at each phase position. This lack of systematic covariation is consistent with the H3 violation identified in Section 2.1: better within-program alignment does not make cross-program neighborhoods denser, so the fundamental sparse-neighborhood problem remains unresolved.
4.7. LWLR: Negative Result
Our LWLR uses a Gaussian kernel with an adaptive bandwidth (h = maximum distance in the neighborhood) and sample-weighted ridge regression. The complete hyperparameter search covered neighborhood sizes and ridge penalties . Results for the best configurations at each k are reported in Table 12.
At k = 500 the Gaussian bandwidth exceeds the span of the neighborhood, so the weights become nearly uniform (31.88%); at = 0.01 the model overfits (46.94%).
LWLR is strictly worse than local_lasso across all configurations. The root cause is that the feature space is sparse. Programs from different suites cluster in different regions, and within each cluster there are often only 50–200 programs. Distance weighting reduces the effective sample size further: at k = 200, the kernel-weighted sample can fall to 30–50 for outlier programs, which causes large errors (for example, aes: 2713.8%, seidel-2d: 322.0%).
This contrasts sharply with LACross’s setting, where 160 homogeneous ICPC programs form a dense cluster and distance-weighting is beneficial. The degradation across all LWLR configurations is consistent with the H3 violation analysis of Section 2.1: sparse neighborhoods make distance-weighted local regression less reliable than global or less-localized models.
4.8. GBDT Hyperparameter Sweep
We sweep 27 configurations on held-out testing with rich 33 features; Table 4 lists a representative subset of 11 rows. The sweep is reported on the same tuning-set 30 programs used for evaluation (Section 3.5).
Table 4 reports a tuning-set sweep over the same 30 held-out programs used for evaluation. The observed 2.87 percentage-point span across 11 displayed configurations (range 14.51–17.38) indicates moderate sensitivity to hyperparameter choice, though the optimum at 300/4/0.05 is consistent with LOPO-selected hyperparameters. Figure 7 visualizes the same sweep as a heatmap, where the optimum stands out as a narrow band near depth 4 and learning rate 0.05.
5. Discussion
5.1. Root Cause: Three Violations of LACross’s Implicit Assumptions
Caveat on attribution. The analysis in this section decomposes the MAPE gap between LACross’s reported 2% and our held-out 14.51% into three contributing factors (H1, H2, H3). These two numbers come from fundamentally incomparable settings: LACross evaluated on 35 programs across Intel→AMD→ARM Cortex-A9 (same-generation, 2–4-wide OoO), while our evaluation spans 161 programs across Intel Golden Cove→FT-D2000 FTC663 (8-wide→ 3–4-wide OoO, ISA difference). The CV≈ 20% for LACross’s ICPC training set is estimated from the narrow ratio range reported in [1]. The decomposition below is therefore an interpretive hypothesis about which of the three implicit assumptions is most violated, rather than a controlled experimental attribution. Each contributes to varying degrees; they are not statistically independent.
H1 violation (monotonic linearity, secondary contributor). The ≥ 0 constraint does not make the problem insoluble: non-negative least squares is convex with a non-empty feasible set, and the constrained fit converges to 21.92% MAPE under LOPO and 20.45% on the held-out split. What the data reject is the sign assumption itself. Fitted without the constraint, 9.9 of the 18 features receive negative coefficients on average across the LOPO folds (12 of 18 on the held-out training split), so the direction in which a counter should push the ARM cycle estimate depends on the program class.
A single non-negative linear map cannot represent such a mapping: the constrained optimum is forced far from the unconstrained one, which is why the reproduction sits an order of magnitude above LACross’s 2% even though the solver succeeds. The ratio formulation with GBDT avoids this failure mode: the log-ratio target normalizes away scale, and GBDT’s tree-based splits learn the non-linear boundary conditions (e.g., “if mem_bound > threshold AND cache_miss_rate > threshold, then ratio ≈ 4×”). H1 violation alone cannot explain the full gap: our ratio reformulation reduces the error to 21.28% MAPE (local_lasso), still far from 2%, but removing the sign constraint is a necessary first step.
H2 violation (homogeneous distribution, estimated primary contributor). The CV = 48% of the ARM/x86 ratio distribution is the estimated primary contributor to the MAPE gap. It determines the error of any predictor that ignores program identity: predicting a single global ratio yields MAPE ≈ 31%, close to the CV itself. It does not, however, bound the error of a model conditioned on program features, because such a model can split the wide distribution into narrower conditional distributions; this is precisely the effect discussed in Section 5.2.
The held-out result (14.51%) falls well below the constant-predictor error because top-down features narrow the conditional CV. By partitioning programs into architecture-aware categories (retiring, mem_bound, front_end_bound), they split the global CV = 48% distribution into sub-distributions with lower CV (estimated at approximately 25–30% within each top-down category, based on per-category ratio variance analysis). An SPEC program with high topdown_mem_bound has a much tighter ARM/x86 ratio distribution than the full dataset, so the model learns to condition its prediction on the top-down category, bypassing the global CV.
H3 violation (dense neighborhoods, secondary contributor). The 10× improvement LACross reports from global → local (20% → 2%) does not replicate here because local neighborhoods are sparse. When held-out testing crosses suite boundaries, the k-NN neighbors of any test program are drawn from different suites with different feature distributions. The local regression fit is therefore a weighted average of heterogeneous responses, which is no better than the global model and sometimes worse (LWLR hitting 25.06%).
The LWLR and DTW negative results are direct consequences of H3 violation:
- LWLR amplifies sparsity: distance-weighting further reduces effective sample size, causing overfitting on the few “outlier” programs that happen to have close neighbors by raw feature distance but are structurally dissimilar.
- DTW does not fix sparsity: improving phase trajectory alignment does not make cross-suite programs similar; it only changes phase-index semantics within each program. The sparse neighborhood problem across programs remains unchanged.
5.2. Why Rich Features Show Larger Held-Out Gains: Interpretive Hypothesis and Alternative Interpretations
Adding 15 top-down and cache/memory counters to the base 18 features yields a gain that is substantially larger under the held-out cross-suite protocol than under LOPO: 9.83 pp (tuning-set, seed=0) or 5.87 pp (paired program-level bootstrap with CI [+2.04, +10.72]) vs. 0.79 pp (LOPO). However, this asymmetry should be interpreted with care because the two protocols differ in test set size, training pool composition, and baseline difficulty. We offer two partial interpretations of the magnitude of the observed held-out gain.
Interpretation 1 (architecture-level bottleneck generalization). The observed asymmetry is consistent with the hypothesis that top-down counters capture architecture-level bottleneck ratios that are suite-invariant. Whether a program is from PolyBench, LLVM, or MiBench, if it has high topdown_mem_bound, it will suffer the same relative slowdown on FTC663 (small reorder buffer → low latency tolerance → cache miss penalty compounds). This hypothesis is plausible but not definitively established in this manuscript: we do not isolate the 8 top-down counters from the 7 cache/memory counters to determine which sub-group contributes, and we do not provide a formal grouping calculation for the sub-distribution CV ≈ 25–30% mentioned in Section 5.1 (the CV figure cited there is not accompanied by a table with per-group sample sizes). The tree structure of GBDT can condition on these bottleneck categories, which partitions the wide CV = 48% distribution into narrower conditional distributions.
Interpretation 2 (systematic bias difference, alternative partial explanation). As shown in Section 4.5 and Section 3.6, base18 has a substantially larger positive log-domain bias (+0.0721 dex ≈ +18% arithmetic overestimation) than rich33 (+0.0233 dex ≈ +5.5%). Oracle de-biasing corrects this asymmetry: base18 MAPE improves from 24.34% to 17.10% (7.24 pp), rich33 from 14.51% to 12.80% (1.71 pp), and the gap narrows from 9.83 pp to 4.30 pp. This means that approximately 56% of the uncorrected 9.83 pp gap is attributable to base18’s larger systematic overestimation bias rather than to richer discriminative features alone. After de-biasing, a 4.30 pp gap still exists, which is consistent with but smaller than the interpretation of cross-suite feature transferability.
Neither interpretation alone is sufficient. The 4.30 pp de-biased gap (paired with a LOPO gain of 0.79 pp) still shows an asymmetry between protocols, but the magnitude is modest enough that protocol-level differences (test set composition, baseline difficulty) could contribute substantially. A definitive disentanglement would require controlled comparison on the same test set, with feature-group ablation, and without the tuning-set optimism — none of which are available in this work.
5.3. Why Local Methods Fail: Sparse Neighborhoods and Distance Weighting
LWLR and DTW both fail for the same underlying reason: the heterogeneous training set violates the local-neighborhood assumption.
LWLR degrades across all configurations because distance-weighting compounds sparsity. With k = 200 neighbors and a Gaussian kernel, the effective sample size at each query point is 30–50, and for outlier programs in the test set (for example, aes, a crypto program with high branch and memory activity) it can fall below 10 programs, all from different suites. The weighted regression then overfits to noise, producing errors exceeding 1000%.
The DTW paradox (better shape correlation without better MAPE) follows from the same root cause. DTW improves alignment within each program, making the ARM phase trajectory better match the x86 phase trajectory. The difficulty, however, lies across programs: there are no structurally similar training programs to learn from. DTW shuffles the labels within each program’s phase vector, so GBDT can fit the reshuffled noise: the model sees a smoother phase trajectory, but there remain no corresponding training examples from which to learn the mapping.
5.4. Implications for Cross-Architecture Prediction Practice
Based on the evidence in this dataset and setting, several observations may be useful to practitioners working on similar host→target cross-architecture prediction problems:
- A held-out MAPE of 14–15% (or 12–13% after oracle de-biasing) is the tuning-set level achieved by this feature set and model class in this setting. The CV = 48% ratio distribution and the non-linearity of the mapping leave substantial variance unexplained. The SPEC suite yields 9.90% MAPE (7 programs, CI [-1.45, +25.84] not shown in full because n=7), but this may reflect a narrower ratio distribution rather than a general lower bound; no such claim is made here.
- In the setting studied here, adding top-down and cache/memory counters provides clearly improved held-out performance. The held-out MAPE improves from 24.34% (base 18) to 14.51% (rich 33, tuning-set), and the program-level paired bootstrap confirms a positive improvement with CI [+2.04, +10.72] pp. We note, however, that approximately 56% of this gap is attributable to base18’s larger systematic overestimation bias (Section 5.2), so the “true” discriminative gain is more modest. Whether this improvement generalizes to other host/target pairs or other benchmark suites remains to be measured.
- Local methods (LWLR, DTW) should be avoided when training and test distributions are heterogeneous. Both fail because H3 (dense local neighborhoods) is violated. In heterogeneous cross-suite settings, practitioners should prefer global models (e.g., GBDT) with held-out cross-suite evaluation rather than local regression or phase-alignment techniques.
- Target additional bottleneck categories. The current 15 counters cover the four top-down categories and their main sub-categories plus seven cache/memory counters. Adding others (for example, LLC occupancy or prefetch effectiveness) might improve held-out performance further by creating more granular conditional categories with potentially tighter ARM slowdown ratios.
5.5. Limitations
- Single target platform. Only FTC663 is tested; this was the primary ARMv8 platform to which we had access. Cross-validation on a second ARM platform (for example, Neoverse N2) would strengthen the generality claims. The question of whether the same three-assumption violation pattern holds for any large-width OoO → smaller-width OoO mapping remains open.
- No ARM-side top-down features. FTC663 exposes ARM PMU counters but no top-down hierarchy; target-side microarchitecture features would provide the bottleneck category directly and might narrow the CV further.
- SPEC CPU2017 measurement on both architectures. SPEC programs were measured on both x86 and ARM with the full reference input size, matching LACross’s SPEC2006 held-out setup. However, SPEC contributes only 7 programs to the held-out set, so its per-suite estimates are less precise; cross-validation with more SPEC programs or with SPEC rate measurements would strengthen this comparison.
- No compiler variation. All programs use -O2 with Clang; other optimization levels or compilers would change the phase structure and may introduce additional non-linearities.
- Top-down counter dependency on x86 host. Intel’s top-down hierarchy is x86-specific and well-documented. Other host architectures (e.g., ARM Neoverse, RISC-V) either lack an equivalent standardized top-down decomposition or require vendor-specific counter implementations. Extending this method to non-x86 host architectures would require re-engineering the feature set, though the principle of using architecture-level invariant counters for cross-suite transfer (Section 5.2) is architecture-agnostic.
- Moderate dataset size. With 161 programs (159 for rich features), this dataset is of moderate size for machine learning. Larger-scale evaluation—for example, incorporating additional benchmark suites or other workload traces—would further validate the robustness of the findings.
- Bare-metal setting. All measurements are conducted on bare-metal systems. Virtualized or containerized deployment scenarios may introduce additional PMU multiplexing and measurement artifacts; the external validity of our findings to those scenarios remains an open question.
6. Conclusion
This paper presents an observational study of feature effects across evaluation protocols for cross-architecture execution time prediction, motivated by the observation that top-down microarchitecture counters are architecture-level invariants rather than suite-specific behavioral features. We systematically reproduced LACross in a more heterogeneous setting, identified three implicit assumptions that break down, evaluated two negative-result extensions (DTW phase alignment and LWLR local regression), and observed that adding 15 top-down and cache/memory counters yields substantially larger MAPE gains under held-out cross-suite evaluation than within-suite LOPO.
Main observations (not definitive conclusions). Adding 15 features (top-down + cache/memory counters) to a baseline of 18 features yields a feature-effect asymmetry across evaluation protocols: LOPO MAPE improves by 0.79 pp (18.19% → 17.40%), while held-out cross-suite MAPE shows a substantially larger gain. Two complementary effect estimates characterize the held-out improvement: (i) the tuning-set suite-level MAPE changes by 9.83 pp (24.34% → 14.51%, tuning-set estimate, GBDT 300/4/0.05, seed=0; mean across 5 seeds = 15.00% ± 0.45%, range [14.51, 15.60]); (ii) a program-level paired bootstrap gives (APE_base - APE_rich) = 5.87 pp, 95% CI [+2.04, +10.72], positive fraction = 99.98%. The two values use different aggregation (suite-level weighted MAPE difference vs. mean of per-program paired differences) and should not be conflated.
Critical caveat: systematic bias difference. Oracle log-domain bias correction narrows the held-out gap from 9.83 pp to 4.30 pp (de-biased base18 = 17.10%, de-biased rich33 = 12.80%). Approximately 56% of the uncorrected gap arises from base18’s larger positive systematic bias (+0.0721 dex ≈ +18% overestimation) relative to rich33 (+0.0233 dex ≈ +5.5%). The asymmetry between held-out and LOPO gains persists qualitatively after de-biasing, but the magnitude of the discriminative gap is more modest than suggested by the raw 9.83 pp figure.
Interpretation (not definitive mechanism). The observed asymmetry is consistent with the hypothesis that top-down counters capture bottleneck categories that are suite-invariant — whether a program is from PolyBench, LLVM, or MiBench, if it has high topdown_mem_bound, it suffers the same relative slowdown on FTC663. This interpretation is plausible but not established by controlled comparison: we do not isolate the 8 top-down counters from the 7 cache/memory counters to determine which sub-group contributes, we do not provide a formal grouping calculation for sub-distribution CVs, and the two protocols differ in test set, training pool, and baseline difficulty. The 14.51% figure is also a tuning-set estimate (optimal hyperparameters selected on the same test set), and the headline value seed=0 is the most optimistic of five seeds.
LACross failure confirmed. LACross’s 2% MAPE does not replicate here; its three implicit assumptions — monotonic linearity (H1), homogeneous training distribution (H2), and dense local neighborhoods (H3) — all break down, yielding 21.92% LOPO MAPE for the original CLSLR formulation. The violation pattern is summarized and discussed as an interpretive hypothesis about which assumption is most violated, not a controlled attribution.
Negative results. DTW phase alignment improves phase-trajectory shape correlation from 0.32 to 0.35 but does not improve MAPE (+0.12 pp, CI [-0.28, +0.53]); LWLR degrades across all configurations (best 25.06% vs. 21.28% for local_lasso). Both negative results are consistent with sparse cross-suite neighborhoods violating H3.
What practitioners can take away. Feature effects for cross-architecture prediction are highly protocol-dependent — the gain from richer features can vary by an order of magnitude between LOPO and held-out cross-suite evaluation. Local methods (LWLR, DTW) should be avoided when training and test distributions are heterogeneous. The practical MAPE achievable on held-out cross-suite evaluation in this setting is approximately 14–15% (tuning-set) or 12–13% after oracle de-biasing. All results here should be interpreted in the context of this specific dataset, platform pair, and evaluation protocol; generalizing to other host→target mappings would require independent validation.
Supplementary Materials
The following supporting information can be downloaded at the website of this paper posted on Preprints.org, The source code, aggregated datasets, analysis scripts, and reproduction instructions described in this paper are publicly available at https://github.com/anjianfeng/cross_cpu_pmu. The repository contains the analysis and prediction scripts (scripts/, 39 files including analyze_phase.py, holdout_eval.py, pclsrr.py, domain_adapt.py), the pre-aggregated whole-program PMU CSVs (data/, MiBench, SD-VBS, PolyBench, SPEC CPU2017), the compressed phase-level feature matrices (data/phase_base.csv.gz, 2.6 MB; data/phase_rich.csv.gz, 4.4 MB), the experiment log and gap analysis (doc/), and the commands that reproduce every table and figure in this paper. The full raw architecture-level traces (both x86 and ARM) can be collected independently by running the collection scripts provided in the repository.
Author Contributions
Conceptualization, P.G. and Z.H.; methodology, P.G.; software, P.G.; validation, P.G., L.B. and J.A.; formal analysis, P.G.; investigation, P.G. and L.B.; resources, Z.H.; data curation, P.G.; writing—original draft preparation, P.G.; writing—review and editing, Z.H., L.B. and J.A.; visualization, P.G.; supervision, Z.H.; project administration, P.G. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The analysis code and the phase-level datasets are publicly available at https://github.com/anjianfeng/cross_cpu_pmu. The full raw architecture-level traces (both x86 and ARM) can be collected independently by running the scripts provided in the repository; no author-side release is required.
Acknowledgments
The authors wish to thank the anonymous reviewers whose constructive comments helped improve an earlier version of this manuscript.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| CLSLR | Constrained least-squares linear regression |
| CV | Coefficient of variation |
| DTW | Dynamic time warping |
| GBDT | Gradient boosted decision trees |
| IR | Intermediate representation |
| LACross | Learning-based analytical cross-platform performance and power prediction |
| LOPO | Leave-one-program-out |
| LWLR | Locally weighted linear regression |
| MAPE | Mean absolute percentage error |
| PMU | Performance monitoring unit |
| OoO | Out-of-order |
References
- Zheng, X.; John, L.K.; Gerstlauer, A. LACross: Learning-Based Analytical Cross-Platform Performance and Power Prediction. Int. J. Parallel Program. 2017, 45, 1488–1514. [Google Scholar] [CrossRef]
- Zheng, X.; John, L.K.; Gerstlauer, A. Accurate Phase-Level Cross-Platform Power and Performance Estimation. In Proceedings of the 53rd Annual Design Automation Conference (DAC), 2016; pp. 1–6. [Google Scholar] [CrossRef]
- Kim, Y.; Mercati, P.; More, A.; Shriver, E.; Simunic, T. P4: Phase-Based Power/Performance Prediction of Heterogeneous Systems via Neural Networks. In Proceedings of the IEEE/ACM International Conference on Computer-Aided Design (ICCAD), 2017; pp. 683–690. [Google Scholar] [CrossRef]
- Shim, J.S.; Chang, H.; Kim, Y.; Kim, J. DeepPM: Predicting Performance and Energy Consumption of Program Binaries Using Transformers. ACM Trans. Des. Autom. Electron. Syst. 2025, 30, 107. [Google Scholar] [CrossRef]
- Joseph, R.; Martonosi, M. Run-Time Power Estimation in High Performance Microprocessors. In Proceedings of the International Symposium on Low Power Electronics and Design (ISLPED), 2001; pp. 135–140. [Google Scholar] [CrossRef]
- Lee, B.C.; Brooks, D.M. Accurate and Efficient Regression Modeling for Microarchitectural Performance and Power Prediction. In Proceedings of the ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 2006; pp. 185–194. [Google Scholar] [CrossRef]
- Friedman, J.H. Greedy Function Approximation: A Gradient Boosting Machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Yasin, A. A Top-Down Method for Performance Analysis and Counters Architecture. In Proceedings of the IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), 2014; pp. 35–44. [Google Scholar] [CrossRef]
- Intel Corporation. Intel VTune Profiler User Guide: Top-Down Microarchitecture Analysis. Available online: https://www.intel.com/content/www/us/en/developer/tools/oneapi/vtune-profiler.html (accessed on 12 November 2026).
- Sakoe, H.; Chiba, S. Dynamic Programming Algorithm Optimization for Spoken Word Recognition. IEEE Trans. Acoust. Speech Signal Process. 1978, 26, 43–49. [Google Scholar] [CrossRef]
- Sherwood, T.; Perelman, E.; Hamerly, G.; Calder, B. Automatically Characterizing Large Scale Program Behavior. In Proceedings of the ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 2002; pp. 45–57. [Google Scholar] [CrossRef]
- Cleveland, W.S. Robust Locally Weighted Regression and Smoothing Scatterplots. J. Am. Stat. Assoc. 1979, 74, 829–836. [Google Scholar] [CrossRef]
- Lattner, C.; Adve, V. LLVM: A Compilation Framework for Lifelong Program Analysis & Transformation. In Proceedings of the International Symposium on Code Generation and Optimization (CGO), 2004; pp. 75–86. [Google Scholar] [CrossRef]
- Luk, C.-K.; Cohn, R.; Muth, R.; Patil, H.; Klauser, A.; Lowney, G.; Wallace, S.; Reddi, V.J.; Hazelwood, K. Pin: Building Customized Program Analysis Tools with Dynamic Instrumentation. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), 2005; pp. 190–200. [Google Scholar] [CrossRef]
- Grauer-Gray, S.; Xu, L.; Searles, R.; Ayalasomayajula, S.; Cavazos, J. Auto-Tuning a High-Level Language Targeted to GPU Codes. In Proceedings of the Innovative Parallel Computing (InPar), 2012; pp. 1–10. [Google Scholar] [CrossRef]
- Guthaus, M.R.; Ringenberg, J.S.; Ernst, D.; Austin, T.M.; Mudge, T.; Brown, R.B. MiBench: A Free, Commercially Representative Embedded Benchmark Suite. In Proceedings of the IEEE International Workshop on Workload Characterization (WWC), 2001; pp. 3–14. [Google Scholar] [CrossRef]
- Venkata, S.K.; Ahn, I.; Jeon, D.; Gupta, A.; Louie, C.; Garcia, S.; Belongie, S.; Taylor, M.B. SD-VBS: The San Diego Vision Benchmark Suite. In Proceedings of the IEEE International Symposium on Workload Characterization (IISWC), 2009; pp. 55–64. [Google Scholar] [CrossRef]
- Bucek, J.; Lange, K.-D.; von Kistowski, J. SPEC CPU2017: Next-Generation Compute Benchmark. Companion of the ACM/SPEC International Conference on Performance Engineering (ICPE), 2018; pp. 41–42. [Google Scholar] [CrossRef]
Figure 1.
Three rows preview the paper’s findings. (a) Our observational asymmetry criterion: if features generalize across suites, adding them yields a larger MAPE reduction in held-out cross-suite evaluation than in within-suite LOPO. (b) We observe such an asymmetry: 9.83 pp held-out tuning-set gain (24.34% → 14.51%, seed=0) vs. 0.79 pp LOPO gain (18.19% → 17.40%); oracle de-biasing reduces the held-out gap to 4.30 pp, indicating that a substantial fraction of the asymmetry reflects base18’s larger systematic bias rather than definitive feature transferability. (c) LACross fails because three implicit assumptions (H1 monotonic linearity, H2 homogeneous training distribution, H3 dense local neighborhoods) break down in this heterogeneous cross-architecture setting.
Figure 1.
Three rows preview the paper’s findings. (a) Our observational asymmetry criterion: if features generalize across suites, adding them yields a larger MAPE reduction in held-out cross-suite evaluation than in within-suite LOPO. (b) We observe such an asymmetry: 9.83 pp held-out tuning-set gain (24.34% → 14.51%, seed=0) vs. 0.79 pp LOPO gain (18.19% → 17.40%); oracle de-biasing reduces the held-out gap to 4.30 pp, indicating that a substantial fraction of the asymmetry reflects base18’s larger systematic bias rather than definitive feature transferability. (c) LACross fails because three implicit assumptions (H1 monotonic linearity, H2 homogeneous training distribution, H3 dense local neighborhoods) break down in this heterogeneous cross-architecture setting.

Figure 2.
End-to-end overview of the proposed approach. Host-side PMU counters and IR instrumentation are segmented into equal-progress phases, converted to 33 features (8 base, 10 structural, 15 top-down/cache), paired with a log-ratio label, and fed to a gradient-boosted regressor. The target trace is required only for training; at deployment the model consumes host-side features alone.
Figure 2.
End-to-end overview of the proposed approach. Host-side PMU counters and IR instrumentation are segmented into equal-progress phases, converted to 33 features (8 base, 10 structural, 15 top-down/cache), paired with a log-ratio label, and fed to a gradient-boosted regressor. The target trace is required only for training; at deployment the model consumes host-side features alone.

Figure 3.
Held-out MAPE by test suite: Base 18 vs. Rich 33 features (GBDT 300/4/0.05, seed=0). Rich features consistently reduce MAPE across all suites, with the largest absolute gain and the largest relative reduction both on MiBench (30.67% → 17.09%, =-13.58 pp, relative reduction = 44.3%). The relative reductions on SD-VBS (34.6%) and SPEC (32.5%) are smaller.
Figure 3.
Held-out MAPE by test suite: Base 18 vs. Rich 33 features (GBDT 300/4/0.05, seed=0). Rich features consistently reduce MAPE across all suites, with the largest absolute gain and the largest relative reduction both on MiBench (30.67% → 17.09%, =-13.58 pp, relative reduction = 44.3%). The relative reductions on SD-VBS (34.6%) and SPEC (32.5%) are smaller.

Figure 4.
Held-out cross-suite protocol (30 programs; tuning-set, seed=0). The same features yield a 9.83-point tuning-set gain (24.34% → 14.51%), substantially larger than the LOPO gain of 0.79 points, indicating a feature-effect asymmetry across evaluation protocols.
Figure 4.
Held-out cross-suite protocol (30 programs; tuning-set, seed=0). The same features yield a 9.83-point tuning-set gain (24.34% → 14.51%), substantially larger than the LOPO gain of 0.79 points, indicating a feature-effect asymmetry across evaluation protocols.

Figure 5.
LOPO protocol (161 programs; 159 for Lasso, which requires a dense design matrix). Base 18 vs. Rich 33 features for five representative models; top-down features yield a modest mean gain.
Figure 5.
LOPO protocol (161 programs; 159 for Lasso, which requires a dense design matrix). Base 18 vs. Rich 33 features for five representative models; top-down features yield a modest mean gain.

Figure 6.
DTW phase alignment: shape correlation (ratio vs. DTW alignment) vs. MAPE change across 161 programs. Of 88 programs with improved shape correlation (above the dashed y=x line), only 42 also show reduced MAPE; the remaining 46 show increased MAPE, revealing a gap between alignment quality and prediction accuracy.
Figure 6.
DTW phase alignment: shape correlation (ratio vs. DTW alignment) vs. MAPE change across 161 programs. Of 88 programs with improved shape correlation (above the dashed y=x line), only 42 also show reduced MAPE; the remaining 46 show increased MAPE, revealing a gap between alignment quality and prediction accuracy.

Figure 7.
GBDT hyperparameter sweep heatmap (lr=0.05, Rich 33 features, held-out 30 programs, tuning-set). The optimal configuration is n_est=300, depth=4, achieving 14.51% MAPE.
Figure 7.
GBDT hyperparameter sweep heatmap (lr=0.05, Rich 33 features, held-out 30 programs, tuning-set). The optimal configuration is n_est=300, depth=4, achieving 14.51% MAPE.

Table 1.
Ratio-distribution comparison between LACross’s homogeneous ICPC training set and our five-suite dataset.
Table 1.
Ratio-distribution comparison between LACross’s homogeneous ICPC training set and our five-suite dataset.
| Metric | LACross ICPC (estimated) | Our 161 programs |
|---|---|---|
| ARM/x86 cycle ratio CV | ~20% (narrow, estimated from narrow ratio range reported in [1]) | 48% (wide) |
| Constant-baseline MAPE | ~10% (ratio ≈ 1.5–2.5×) | 31.22% (ratio ≈ 1.1–5.2×) |
| Best vs. worst program | ratio spread ≈ 1.5× | ratio spread ≈ 5× |
Table 2.
Host and target platform configuration (bare-metal).
| Aspect | Host (x86) | Target (ARM) |
|---|---|---|
| Processor | Intel Core i9-12900 (Alder Lake) | FT-D2000 FTC663 (ARMv8) |
| Cores | 8P + 8E; P-core = Golden Cove | 8 × FTC663 |
| Pipeline | 8-wide out-of-order, ~18 stage | 3–4-wide out-of-order |
| Frequency | 800 MHz – 5100 MHz (DVFS) | 2.30 GHz (firmware-locked, no DVFS) |
| L1d/L1i | 48 KB / 32 KB per P-core | 32 KB per core |
| L2 | 1.25 MB per P-core | 2 MB per core (8 MB total) |
| L3 | 30 MB shared | 4 MB shared |
| PMU counters | ≥ 7 programmable + 3 fixed (Golden Cove) | 6 programmable + 1 fixed (armv8_pmuv3) |
| perf_event_paranoid | -1 (all events) | -1 (all events) |
Table 3.
Feature groups evaluated in this paper.
| Configuration | Size | Composition |
|---|---|---|
| Base (8) | 8 | f_ipc, f_cref, f_cmiss, f_br, f_brmiss, f_cmiss_rate, f_brmiss_rate, f_prog (progress position) |
| +Structure (18) | 18 | Base + 10 IR-derived: f_s_ld / st / alu / fp / vec / div / call / br (instruction densities), f_bb_size (basic block avg size), f_taken (conditional branch direction) |
| +Rich (33) | 33 | +Structure + 15 top-down/memory: f_x_retire / badspec / fe / be / mem / brspec / heavy / fetchlat (top-down normalized to slots), f_x_l1dm / llcm / dtlbm / itlbm / icm / llc_share (misses per 1K instr), f_x_store (stores per instruction) |
Table 4.
GBDT Hyperparameter Sweep on Held-Out Testing (Rich 33 Features, 30 programs, tuning-set). 2.87 pp span across the 11 displayed configurations indicates moderate sensitivity to hyperparameter choice.
Table 4.
GBDT Hyperparameter Sweep on Held-Out Testing (Rich 33 Features, 30 programs, tuning-set). 2.87 pp span across the 11 displayed configurations indicates moderate sensitivity to hyperparameter choice.
| n_est | depth | lr | MAPE % |
|---|---|---|---|
| 200 | 3 | 0.03 | 17.38 |
| 200 | 3 | 0.05 | 17.21 |
| 200 | 4 | 0.03 | 15.59 |
| 200 | 4 | 0.05 | 14.64 |
| 200 | 5 | 0.05 | 15.52 |
| 300 | 3 | 0.05 | 16.91 |
| 300 | 4 | 0.05 | 14.51 |
| 300 | 4 | 0.03 | 15.07 |
| 300 | 5 | 0.05 | 15.31 |
| 500 | 4 | 0.05 | 14.91 |
| 500 | 5 | 0.1 | 15.78 |
Table 5.
Benchmark suites used in this study.
| Suite | Programs | Phases (× 100) | IR instrumentation | x86 structure | x86 top-down |
|---|---|---|---|---|---|
| PolyBench | 30 | 3000 | [OK] | [OK] | [OK] |
| MiBench | 15 | 1500 | [OK] | [OK] | [OK] |
| SD-VBS | 8 | 800 | [OK] | [OK] | [OK] |
| SPEC CPU2017 | 7 | 700 | [OK] | [OK] | [OK] |
| LLVM test-suite | 101 | 10100 | [OK] | [OK] | [OK] (2 programs lack rich data; see note) |
| Total | 161 | 16100 |
Table 6.
Experimental exclusion rules and program counts per evaluation protocol.
| Experiment | Total | Excluded programs (n) / side | Training (per fold) | Test (per fold) |
|---|---|---|---|---|
| LOPO (base18) | 161 | 2 (multi_ncut, llvm_paq8p_paq8p); both sides | 159 | 1 |
| LOPO (rich33) | 159 | 4 (above 2 + llvm_doeproxyappsc_SimpleMOC, llvm_optimizereval_optimizer_eval); both sides | 157 | 1 |
| Held-out (base18) | 161 | 2 (multi_ncut, llvm_paq8p_paq8p); training side only | 131 (PB+LLVM - 2) | 30 (MiBench + SD + SPEC) |
| Held-out (rich33) | 159 | 4 (above 2 + 2 LLVM lacking rich data); training side only | 129 (PB+LLVM - 4) | 30 (MiBench + SD + SPEC) |
Table 7.
Consolidated Comparison of LACross’s Formulation and Our Models (MAPE, %). Held-out values are tuning-set estimates (same 30 programs used for hyperparameter search and evaluation; see Section 3.5).
Table 7.
Consolidated Comparison of LACross’s Formulation and Our Models (MAPE, %). Held-out values are tuning-set estimates (same 30 programs used for hyperparameter search and evaluation; see Section 3.5).
| Method | Features | LOPO MAPE | Held-out MAPE |
|---|---|---|---|
| LACross CLSLR (original) | raw counters | 21.92 | 20.45 |
| LACross CLSLR (log-counter variant) | raw counters | 25.57 | — |
| Ours: local_lasso (ratio target) | 18 | 21.28 | 37.27 |
| Ours: GBDT without top-down | 18 | 18.19 | 24.34 |
| Ours: GBDT with top-down | 33 | 17.40 | 14.51 |
Table 8.
Held-Out Cross-Suite Results. All values are tuning-set estimates (same 30 programs used for hyperparameter search and evaluation; see Section 3.5).
Table 8.
Held-Out Cross-Suite Results. All values are tuning-set estimates (same 30 programs used for hyperparameter search and evaluation; see Section 3.5).
| Model | Base 18 Feats (MAPE %) | Rich 33 Feats (MAPE %) |
|---|---|---|
| Constant baseline | 29.16 | 27.98 |
| Ridge =1 | 36.74 | 23.06 |
| Lasso =0.001 | 34.88 | 21.44 |
| local_lasso k=1000 =0.03 | 37.27 | 24.81 |
| GBDT 300/4/0.05 | 24.34 | 14.51 |
Table 9.
LOPO Cross-Validation Results. Pearson corr is reported for reference only; it reflects scale correlation rather than prediction accuracy and has no discriminative power (the constant baseline already achieves 0.994).
Table 9.
LOPO Cross-Validation Results. Pearson corr is reported for reference only; it reflects scale correlation rather than prediction accuracy and has no discriminative power (the constant baseline already achieves 0.994).
| Model | Feats | MAPE % | Median % | Pearson corr |
|---|---|---|---|---|
| Constant baseline | 0 | 31.22 | 24.80 | 0.994 |
| Ridge =1 | 8 | 22.23 | 18.80 | 0.995 |
| Ridge =1 | 18 | 21.96 | 17.06 | 0.995 |
| Ridge =1 | 33 | 19.66 | 14.74 | 0.996 |
| Lasso =0.001 | 18 | 21.73 | 16.75 | 0.996 |
| Lasso =0.001 | 33 | 19.01 | 14.57 | 0.996 |
| local_lasso k=1000 =0.03 | 18 | 21.28 | 12.22 | — |
| local_lasso k=1000 =0.03 | 33 | 18.98 | 12.83 | — |
| GBDT 300/4/0.05 | 18 | 18.19 | 12.06 | 0.996 |
| GBDT 300/4/0.05 | 33 | 17.40 | 12.86 | 0.997 |
Table 10.
Per-Suite Held-Out MAPE: Effect of Top-Down and Cache/Memory Counters (GBDT 300/4/0.05, seed=0). All values are tuning-set estimates. Per-suite values are the mean of program-level absolute percentage errors within each suite. The “All held-out” row reports the overall mean across all 30 programs, which is numerically identical to the program-size-weighted average of the three suite rows.
Table 10.
Per-Suite Held-Out MAPE: Effect of Top-Down and Cache/Memory Counters (GBDT 300/4/0.05, seed=0). All values are tuning-set estimates. Per-suite values are the mean of program-level absolute percentage errors within each suite. The “All held-out” row reports the overall mean across all 30 programs, which is numerically identical to the program-size-weighted average of the three suite rows.
| Test Suite | Programs | Base 18 (MAPE %) | Rich 33 (MAPE %) | |
|---|---|---|---|---|
| SPEC CPU2017 | 7 | 14.66 | 9.90 | -4.76 |
| SD-VBS | 8 | 20.94 | 13.69 | -7.25 |
| MiBench | 15 | 30.67 | 17.09 | -13.58 |
| All held-out | 30 | 24.34 | 14.51 | -9.83 |
Table 11.
DTW alignment versus ratio alignment under identical GBDT settings. Value in column is not statistically distinguishable from zero (program-level paired bootstrap 95% CI for = [-0.28, +0.53]).
Table 11.
DTW alignment versus ratio alignment under identical GBDT settings. Value in column is not statistically distinguishable from zero (program-level paired bootstrap 95% CI for = [-0.28, +0.53]).
| Model | Ratio Alignment MAPE | DTW Alignment MAPE | |
|---|---|---|---|
| GBDT 300/4/0.05 (rich, 159 programs) | 17.40 | 17.52 | +0.12 (not significant) |
Table 12.
LWLR vs Local Lasso (LOPO, Base 18 Features, 161 Programs).
| Configuration | MAPE % |
|---|---|
| local_lasso k=1000 =0.03 | 21.28 |
| local_lwlr k=50 =1.0 | 25.17 |
| local_lwlr k=100 =1.0 | 25.06 |
| local_lwlr k=200 =1.0 | 25.24 |
| local_lwlr k=500 =1.0 | 31.88 |
| local_lwlr k=200 =0.1 | 27.74 |
| local_lwlr k=200 =0.01 | 46.94 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.