Next Article in Journal
FedTheftDetect: Optimizing Anomaly Detection in Smart Grid Metering Systems Using Federated Learning
Next Article in Special Issue
Interpretable Photoplethysmography Feature Engineering for Multi-Class Blood Pressure Staging
Previous Article in Journal
Performance Comparison of Python-Based Complex Event Processing Engines for IoT Intrusion Detection: Faust Versus Streamz
Previous Article in Special Issue
Hierarchical Fuzzy System Integrated with Deep Learning for Robust and Interpretable Classification of Breast Malignancies Using Radiomics Features from Ultrasound Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Unified Multi-Dimensional Cost Analysis of Speculative Parallel Conflict Detection and Diagnosis

by
Mariuxi Vinueza-Morales
1,
Miguel Tupac-Yupanqui
2,
Nicolás Márquez
3,* and
Cristian Vidal-Silva
4,*
1
Facultad de Ciencias e Ingeniería, Universidad Estatal de Milagro, Cdla. Universitaria Km 1.5 vía Km 26, Milagro 091706, Ecuador
2
EAP Ingeniería de Sistemas e Informática, Universidad Continental, Huancayo 12000, Peru
3
Escuela de Ingeniería Comercial, Facultad de Economía y Negocios, Universidad Santo Tomás, Talca 3460000, Chile
4
Facultad de Ingeniería y Negocios, Universidad de Las Américas, Manuel Montt 948, Providencia, Santiago 7500975, Chile
*
Authors to whom correspondence should be addressed.
Computers 2026, 15(4), 201; https://doi.org/10.3390/computers15040201
Submission received: 2 March 2026 / Revised: 13 March 2026 / Accepted: 15 March 2026 / Published: 25 March 2026

Abstract

Speculative parallelization has been proposed to accelerate computationally intensive reasoning tasks in constraint-based systems, particularly minimal conflict detection and preferred diagnosis computation. Parallel variants of QUICKXPLAIN enable concurrent conflict detection, while parallel FASTDIAG supports speculative diagnosis computation. Existing evaluations of these approaches primarily emphasize runtime reduction and speedup metrics. However, runtime alone does not fully characterize computational efficiency in multi-core environments, where synchronization overhead and speculative execution costs may significantly influence performance. This paper introduces a unified multi-dimensional cost model for analyzing speculative parallel conflict detection and diagnosis algorithms. Rather than proposing new algorithms, we reinterpret previously reported experimental results under a formal cost perspective integrating runtime, speedup, efficiency, parallel overhead, and conflict-normalized cost metrics. Our analysis reveals that speculative parallelization provides substantial benefits in high-cardinality conflict scenarios and complex diagnosis tasks, but scalability is limited by coordination overhead and diminishing efficiency as the number of parallel workers increases. We further identify parallel breakdown points beyond which additional workers degrade performance. The proposed framework offers a systematic basis for cost-aware evaluation of parallel reasoning strategies and provides practical insights into when parallelization is beneficial for conflict detection and diagnosis tasks in large-scale constraint systems.

1. Introduction

Model-based diagnosis (MBD) has become a fundamental technique for detecting inconsistencies and computing minimal conflicts or preferred diagnoses in constraint-based systems [1,2,3]. Applications range from configuration systems and recommender engines to software debugging and automated reasoning environments.
As knowledge bases grow in size and structural complexity, consistency checking becomes the dominant computational bottleneck [4]. In practical settings, diagnosis and conflict detection tasks may require a large number of solver invocations, resulting in high runtime cost [5,6]. To mitigate this issue, speculative parallelization strategies have been proposed to exploit multi-core architectures.
Parallel QUICKXPLAIN [5] enables concurrent minimal conflict detection, while parallel FASTDIAG [7] accelerates preferred diagnosis computation through speculative execution [5]. Although these approaches demonstrate runtime reductions in several scenarios, existing evaluations primarily focus on execution time and classical speedup metrics. However, runtime alone does not fully characterize computational efficiency in modern multi-core environments [8,9]. Speculative parallelization and parallel computing introduce coordination overhead, redundant consistency checks, and synchronization costs that may offset theoretical gains. Similar observations have been reported in parallel constraint solving and speculative execution research [10,11].
Despite previous insights, a systematic multi-dimensional cost analysis integrating runtime, scalability, and overhead behavior in diagnosis algorithms remains largely unexplored. Table 1 summarizes this evaluation gap. The symbol ✓ indicates that the dimension is commonly reported in prior studies, × denotes that it is generally omitted, and “Rarely” refers to sporadic or non-systematic treatment. The column “Missing in Literature” identifies dimensions that lack formal modeling or structured analytical treatment in existing research.
To address this limitation, we introduce a unified multi-dimensional cost model for speculative parallel conflict detection and diagnosis. Instead of proposing new algorithms, we reinterpret previously reported experimental results under a formal cost perspective integrating runtime, efficiency, parallel overhead, and conflict-normalized metrics. Figure 1 illustrates the conceptual structure of the proposed framework.
This paper makes four main contributions. First, it introduces a formal multi-dimensional cost model for evaluating speculative parallel conflict detection and diagnosis algorithms. Second, it provides a unified re-analysis of parallel QUICKXPLAIN and parallel FASTDIAG within a structured cost framework. Third, it identifies scalability regimes and parallel breakdown points. Finally, it derives practical insights for adaptive parallel parameter selection in large-scale constraint systems. By shifting evaluation from isolated runtime measurement to structured cost analysis, this work provides a foundation for cost-aware and scalability-aware reasoning systems in multi-core environments.
Unlike previous studies that report isolated runtime or speedup measurements, the framework proposed in this work integrates multiple performance indicators into a unified analytical model. This model enables a structured evaluation of speculative parallel diagnosis algorithms by simultaneously considering runtime behavior, resource utilization efficiency, and coordination overhead.
The contribution of this work is therefore methodological rather than algorithmic. The framework does not introduce a new diagnosis algorithm but provides a systematic analytical perspective for interpreting experimental results in speculative parallel reasoning.
The remainder of the paper is structured as follows. Section 2 summarizes the theoretical foundations of model-based diagnosis and speculative parallelization strategies. Section 3 introduces the unified cost model. Section 4 presents the re-analysis of experimental results together with an additional validation experiment of the proposed cost framework. Section 5 discusses scalability regimes and practical implications. Finally, Section 6 concludes the paper and outlines future research directions.

2. Background

2.1. Model-Based Diagnosis and Conflict Detection

Model-based diagnosis (MBD) provides a principled framework for identifying minimal conflict sets and diagnoses in inconsistent knowledge bases [1,12]. In constraint-based systems, minimal conflict detection and diagnosis computation represent two complementary reasoning tasks [13,14].
Feature models (FMs) constitute the de facto standard for representing variability in software product lines [15,16,17]. Automated Analysis of Feature Models (AAFM) enables the detection of anomalies, inconsistencies, and configuration errors in variability-intensive systems [18,19]. However, as feature models scale in size and constraint density, automated reasoning becomes computationally expensive [20].
QUICKXPLAIN computes minimal conflicts using a divide-and-conquer strategy that minimizes solver invocations [2]. FASTDIAG and related diagnosis algorithms compute preferred minimal diagnoses by iteratively refining inconsistent subsets [21]. Both approaches rely heavily on consistency checking, which dominates computational cost.
Diagnosis-based reasoning has also been applied to anomaly explanation and configuration repair in feature models [22,23]. These approaches demonstrate structural advantages over exhaustive CSP-based exploration, particularly in large variability models.
To exploit multi-core architectures, speculative parallel variants have been proposed. A parallelized version of QUICKXPLAIN was introduced in [24], and further refined through speculative execution mechanisms in [5]. These approaches enable concurrent minimal conflict detection. A comprehensive dataset and benchmark environment for evaluating large-scale parallel conflict detection was recently introduced in [6], demonstrating scalability challenges in realistic feature-model settings.

2.2. Speculative Parallelization and Cost Trade-Offs

Speculative parallelization pre-generates potential consistency checks and executes them concurrently [25,26]. While this strategy can significantly reduce runtime in high-complexity scenarios, it introduces synchronization overhead, speculative redundancy, and resource coordination costs.
Research on distributed enumeration of feature-model configurations shows that scalability gains depend strongly on workload partitioning and synchronization efficiency [27,28]. Similar structural trade-offs appear in speculative diagnosis, where redundant consistency checks may reduce effective efficiency [7,29].
Recent research in cost-aware parallel execution highlights the importance of balancing computational gains against orchestration overhead [10,30,31]. In irregular workloads, excessive speculative execution may lead to diminished efficiency despite apparent parallelism. Similarly, cloud-based auto-scaling and performance–cost trade-off analyses show that resource expansion does not necessarily guarantee proportional performance improvements [11,32,33]. These findings reinforce the need for structured cost models when evaluating parallel reasoning systems.
Figure 2 illustrates the structural difference between sequential and speculative parallel execution in diagnosis tasks.

2.3. Scalability in Diagnosis-Based Completion

Empirical comparisons between diagnosis-based strategies and alternative reasoning approaches indicate that diagnosis methods often exhibit favorable scalability characteristics in large feature models [5,6].
Computing scalability is strongly influenced by model size, constraint density, and hardware configuration [34,35,36]. While runtime improvements have been demonstrated for speculative parallel variable cost of resource orchestration and the degradation in efficiency in runtime, efficiency, scalability regimes, and overhead behavior into a structured cost-oriented evaluation model. This gap motivates the unified multi-dimensional cost model introduced in the next section.

3. Unified Multi-Dimensional Cost Model

3.1. Framework Overview

The proposed framework can be interpreted as an analytical evaluation layer that operates on top of existing speculative parallel diagnosis algorithms. Rather than modifying the internal logic of algorithms such as parallel QUICKXPLAIN or parallel FASTDIAG, the framework analyzes their execution behavior using a set of complementary performance indicators.
The framework consists of three main components: (1) a set of core performance metrics including runtime, speedup, efficiency, and overhead; (2) a structural complexity indicator based on conflict density; and (3) a unified cost function that integrates these indicators into a single evaluative perspective.
Traditional evaluations of diagnosis and conflict detection algorithms primarily focus on runtime reduction [6,37]. Large-scale benchmark experiments, however, reveal regime-dependent behavior where coordination overhead and speculative redundancy significantly influence scalability. Furthermore, cost-aware computing research emphasizes that parallel speedup must be evaluated in conjunction with resource orchestration cost and efficiency degradation [7,10]. Inspired by these findings, we introduce a unified multi-dimensional cost model that extends classical runtime-based evaluation.
Figure 3 illustrates the conceptual architecture of the proposed analytical framework. The framework operates as an evaluation layer above speculative parallel diagnosis algorithms. Experimental measurements obtained from parallel executions are transformed into performance metrics that are subsequently integrated into a unified cost model. This model provides the analytical foundation for the adaptive parallel execution strategy discussed later in the paper.

3.2. Runtime and Speedup

Let T ( 1 ) denote the runtime of the sequential algorithm and T ( p ) the runtime when using p parallel workers. The classical speedup metric is defined as:
S ( p ) = T ( 1 ) T ( p ) .
Although speedup is widely used in parallel reasoning literature [38,39], it does not capture redundant speculative executions.

3.3. Parallel Efficiency

Parallel efficiency measures effective utilization of computational resources:
E ( p ) = S ( p ) p .
Empirical analyses in large feature-model datasets indicate that efficiency often decreases sharply beyond certain thread thresholds [40].

3.4. Parallel Overhead

Parallel overhead quantifies the additional cost introduced by speculative execution:
O ( p ) = p · T ( p ) T ( 1 ) .
Overhead captures synchronization cost, redundant solver invocations, and thread management mechanisms. Similar overhead phenomena have been reported in parallel work-stealing and adaptive scheduling strategies [10].

3.5. Scalability Index

To characterize scalability regimes, we define:
S I ( p ) = T ( 1 ) p · T ( p ) .
Scalability analysis is essential in large-scale reasoning systems, as demonstrated in recent benchmark-oriented publications [41,42].

3.6. Conflict-Normalized Cost

Since diagnosis and conflict detection complexity depend on conflict cardinality, we define:
C c o n f l i c t ( p ) = T ( p ) | C | .
Conflict-normalized cost enables structural comparison across heterogeneous benchmark instances.

3.7. Unified Cost Function

We define the total cost function as:
C t o t a l ( p ) = α T ( p ) + β O ( p ) + γ ( 1 E ( p ) ) ,
where α , β , and γ weight runtime, overhead, and efficiency degradation respectively. The coefficients α , β , and γ represent weighting parameters that control the relative importance of runtime, overhead, and efficiency degradation in the unified cost evaluation.
In practice, the appropriate values of these parameters depend on the evaluation objective. For example, runtime-sensitive applications may prioritize α , while resource-constrained environments may assign higher importance to overhead ( β ) or efficiency degradation ( γ ).
For the experimental analysis presented in this study, equal weights ( α = β = γ = 1 ) were adopted to provide a balanced interpretation of the three performance dimensions. This configuration allows the cost model to reflect runtime improvements while still penalizing excessive speculative overhead and resource underutilization.
Future work could investigate parameter tuning strategies and automated weight selection techniques to adapt the cost model to different application domains and hardware environments.
Table 2 summarizes the interpretation of each metric.
Figure 4 illustrates how these metrics interact in the proposed framework. This model enables systematic reinterpretation of speculative parallel reasoning experiments and provides a formal basis for cost-aware adaptive diagnosis strategies.

4. Experimental Re-Analysis

The experimental data analyzed in this study originate from previous large-scale benchmark experiments on speculative parallel diagnosis algorithms. These datasets include feature models with varying sizes, constraint densities, and conflict cardinalities, enabling the evaluation of different scalability regimes in model-based diagnosis.
Classical studies in parallel performance evaluation highlight that speedup metrics alone are insufficient to fully explain scalability behavior [43,44]. Modern performance modeling therefore incorporates additional indicators, such as parallel efficiency and overhead, to capture resource utilization and coordination costs in multi-core systems [45,46].
The analyzed experiments originate from large-scale benchmark evaluations of speculative parallel conflict detection and diagnosis systems. These datasets include diverse configurations varying in feature-model size, constraint density, and conflict cardinality (https://github.com/cvidalmsu/A-Python-FD-implementation, accessed on 1 March 2026).

4.1. Derived Performance Indicators

Following established parallel performance methodology [47], we derive:
  • Speedup S ( p ) ;
  • Efficiency E ( p ) ;
  • Parallel Overhead O ( p ) ;
  • Conflict-Normalized Cost C c o n f l i c t ( p ) .
Such multi-dimensional evaluation aligns with recent large-scale constraint solving analyses [48] and scalable reasoning experiments [7].
Table 3 summarizes qualitative scalability regimes observed in the benchmark data.

4.2. Parallel Breakdown Points

The experimental results reveal the presence of breakdown points: values of p beyond which adding workers degrades performance. This phenomenon is predicted by Amdahl’s law [43] and is consistent with theoretical models of work-stealing overhead [49].
Figure 5 illustrates regime-dependent behavior.

4.3. Diagnosis vs. General Constraint Solving

Constraint solving research shows that scalability strongly depends on search-space structure and constraint density [48]. In diagnosis-based reasoning, search-space pruning through minimal correction sets reduces combinatorial explosion, but speculative execution may reintroduce overhead if not properly controlled.
The benchmark framework in [4] confirms that diagnosis-based approaches scale favorably under controlled parallelization, yet require cost-aware evaluation to avoid efficiency collapse.
Overall, the unified cost model enables interpretation of experimental results within established parallel performance theory, bridging diagnosis research and general parallel computing methodology.

4.4. Additional Validation Experiment

To further strengthen the empirical support of the proposed unified multi-dimensional cost model, we conducted an additional validation analysis using a representative benchmark instance from the large-scale parallel diagnosis dataset introduced in previous work [4,6]. The objective of this experiment is not to introduce a new algorithmic evaluation, but to demonstrate how the proposed cost framework behaves when applied to real experimental observations obtained from speculative parallel diagnosis systems.
The selected benchmark corresponds to a medium-complexity feature model instance with moderate conflict cardinality. For this instance, runtime measurements were obtained for different numbers of parallel workers. From these measurements we derived the corresponding performance indicators defined in Section 3, including speedup, parallel efficiency, overhead, and the resulting unified cost value.
Table 4 summarizes the derived indicators. The runtime values correspond to the observed execution times of the parallel diagnosis process, while the remaining metrics were computed according to Equations (1)–(6).
The results illustrate several characteristic behaviors predicted by the proposed cost framework. First, runtime decreases significantly when moving from sequential execution to moderate parallelization, producing a substantial speedup. However, efficiency begins to decline as the number of workers increases, reflecting the growing coordination overhead associated with speculative parallel execution.
Second, the overhead term O ( p ) grows rapidly for larger values of p, indicating that additional parallel workers introduce increasing synchronization and speculative execution costs. When these costs are integrated into the unified cost function, the total cost C t o t a l ( p ) reveals that moderate levels of parallelism provide the most balanced performance trade-off.
In this example, the configuration with four workers offers the best balance between runtime reduction and overhead growth. Although eight workers achieve the lowest raw runtime, the associated overhead leads to a higher overall cost according to the unified model. This validation experiment demonstrates how the proposed framework provides a more nuanced interpretation of parallel performance than runtime analysis alone. By integrating runtime, efficiency degradation, and overhead into a single evaluation perspective, the unified cost model helps identify practical operating regimes for speculative parallel diagnosis systems.
Algorithm 1 summarizes the conceptual adaptive decision mechanism derived from the unified cost model. The algorithm determines whether speculative parallel execution should be activated based on the estimated conflict ratio.
Algorithm 1 Adaptive Parallel Execution Strategy
  • Input: conflict ratio θ , threshold τ
  • if  θ < τ  then
  •       Execute sequential diagnosis
  • else
  •       Activate speculative parallel diagnosis
  • end if
  • Return diagnosis result
The adaptive mechanism aims to avoid over-parallelization in simple reasoning scenarios while still exploiting parallel resources in complex diagnosis tasks. This decision strategy reflects the cost-aware perspective introduced in the unified model and provides a conceptual basis for future implementations of adaptive parallel diagnosis systems.

4.5. Sensitivity Analysis of Cost Weights

To analyze the robustness of the proposed unified cost model, we conducted a qualitative sensitivity analysis of the weighting parameters α , β , and γ introduced in Equation (6). These parameters determine the relative contribution of runtime, overhead, and efficiency degradation to the total cost evaluation.
When runtime receives a higher weight ( α > β , γ ), the model favors aggressive parallelization strategies, since reductions in execution time dominate the overall cost function. In contrast, configurations that prioritize overhead ( β > α , γ ) penalize speculative parallel executions with significant coordination cost.
Similarly, increasing the weight of the efficiency component ( γ ) discourages configurations that utilize many workers with low effective resource utilization. Preliminary observations suggest that balanced weighting ( α = β = γ ) provides stable and interpretable results across different conflict regimes. However, domain-specific applications may benefit from tailored weight configurations depending on hardware constraints and performance priorities. This sensitivity analysis highlights the flexibility of the unified cost model and demonstrates how the framework can adapt to different evaluation perspectives in parallel reasoning systems.
It is important to note that the scalability of the analytical framework differs from the scalability of the diagnosis algorithms themselves. The framework operates on aggregated experimental measurements and therefore introduces negligible computational overhead. Consequently, the analysis can be applied to large-scale benchmark studies without affecting the performance of the diagnosis computation.

5. Implications and Adaptive Parallel Strategy

The multi-dimensional cost analysis presented in Section 4 reveals that speculative parallelization does not exhibit uniform scalability behavior. Instead, performance is strongly influenced by structural properties such as conflict cardinality, constraint density, and solver invocation patterns.
Similar structural sensitivity has been observed in scalable constraint solvers [48] and distributed feature-model enumeration approaches [19]. These findings indicate that adaptive strategies are required to avoid over-parallelization regimes.

5.1. Diagnosis-Aware Parallel Control

Recent large-scale benchmark studies in diagnosis-based reasoning systems [4,6] demonstrate that speculative parallelism yields significant benefits primarily in high-complexity regimes. However, when applied to low-conflict scenarios, coordination overhead dominates runtime.
Work-stealing theory suggests that dynamic scheduling can mitigate imbalance but may increase overhead under fine-grained workloads [10,49]. Therefore, an adaptive diagnosis-aware parallel control strategy is necessary.

5.2. Adaptive Parallel Decision Framework

Based on the unified cost model, we propose a conceptual adaptive decision mechanism that determines whether speculative parallel execution should be activated.
Let:
θ = | C | n
where | C | is conflict size and n the total number of constraints.
If θ < τ , sequential execution is preferred. If θ τ , speculative parallelization is activated.
The threshold value τ used in the illustrative decision rule was derived from empirical observations in the analyzed benchmark datasets. In these experiments, speculative parallelization consistently became advantageous when the conflict density exceeded approximately 0.8.
The value τ = 0.85 should therefore be interpreted as an indicative threshold rather than a universal constant. Future work may investigate adaptive threshold selection mechanisms based on runtime monitoring. Table 5 summarizes the proposed adaptive policy.

5.3. Conceptual Adaptive Architecture

Figure 6 illustrates the integration of cost monitoring into the reasoning pipeline.

5.4. Relation to Large-Scale Reasoning

Recent large-scale reasoning experiments in scientific computing confirm that adaptive parallel control improves scalability and stability under heterogeneous workloads [7]. Similarly, diagnosis-based reasoning frameworks benefit from dynamic selection of execution strategies.
The integration of cost-aware control mechanisms aligns with contemporary multi-core performance modeling frameworks [45,47], reinforcing the importance of structured evaluation beyond raw speedup. Overall, the adaptive strategy derived from the unified cost model provides a systematic approach to balancing runtime reduction and coordination overhead in speculative diagnosis systems.
Although the experimental datasets analyzed in this study were generated on a specific multi-core environment, the proposed cost framework is designed to be hardware-agnostic. The metrics integrated into the unified model—runtime, speedup, efficiency, and overhead—are standard performance indicators used across parallel computing architectures. Consequently, the proposed evaluation methodology can be applied to a wide range of computing environments, including high-core-count processors, heterogeneous multi-core systems, and distributed cloud infrastructures.
The analytical calculations presented in this study were performed using scripts that compute the proposed performance metrics from experimental benchmark data, facilitating reproducibility of the analysis. Future empirical studies should evaluate the cost model on diverse hardware configurations, including NUMA architectures, large multi-core processors, and cluster-based environments. Such experiments would further validate the general applicability of the proposed framework and provide additional insights into the interaction between speculative parallel reasoning and hardware characteristics.

6. Conclusions

This paper introduced a unified multi-dimensional cost model for evaluating parallel model-based diagnosis algorithms. While previous studies primarily focused on runtime reduction, our analysis demonstrates that speculative parallelization must be assessed through a broader cost perspective that includes efficiency degradation, coordination overhead, and scalability behavior.
By reinterpreting experimental results of parallel QUICKXPLAIN and parallel FASTDIAG under the proposed framework, we identified structural performance regimes in which parallelization provides substantial benefits, as well as breakdown regions where additional workers degrade performance. These findings show that speculative parallelization is inherently regime-dependent and cannot be evaluated solely through raw speedup metrics.
Furthermore, the comparison between diagnosis-based completion and CSP-based search highlights the favorable scalability characteristics of diagnosis strategies in large-scale configuration environments. When combined with controlled parallelization, diagnosis-based methods offer a balanced trade-off between computational efficiency and search-space growth.
The unified cost model presented in this work provides a formal foundation for cost-aware diagnosis systems. Rather than treating parallelization as a static optimization technique, future research should explore adaptive mechanisms capable of dynamically selecting parallel parameters based on problem structure and hardware constraints.
In summary, this study shifts the evaluation of parallel model-based diagnosis from isolated runtime measurements toward structured, multi-dimensional cost analysis, paving the way for more robust and scalable reasoning systems.

Author Contributions

Conceptualization, M.V.-M.; Methodology, M.T.-Y.; Software, N.M.; Validation, C.V.-S.; Formal analysis, C.V.-S.; Investigation, M.V.-M.; Resources, M.T.-Y.; Data curation, N.M.; Writing—original draft, C.V.-S.; Writing—review & editing, C.V.-S.; Visualization, M.V.-M.; Supervision, M.T.-Y.; Project administration, N.M.; Funding acquisition, C.V.-S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Ethical review and approval were waived for this study because the intervention involved non-invasive educational activities using anonymized data and commercially available low-voltage educational hardware, with no clinical diagnosis or therapeutic intent. The study complied with institutional guidelines for educational research at the participating universities in Chile, Peru, and Ecuador.

Informed Consent Statement

Informed consent was obtained from all participants prior to data collection.

Data Availability Statement

Data supporting the findings of this study are available from the corresponding author on a reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Reiter, R. A Theory of Diagnosis from First Principles. Artif. Intell. 1987, 32, 57–95. [Google Scholar] [CrossRef]
  2. Junker, U. QUICKXPLAIN: Preferred Explanations and Relaxations for Over-Constrained Problems. In Proceedings of the 19th National Conference on Artificial Intelligence; AAAI Press: San Jose, CA, USA, 2004; AAAI’04; pp. 167–172. [Google Scholar]
  3. Ouyang, J.; Huang, S.; Chi, J.; Zhang, L.; Zhao, X. Effective Fault Identification Approach for Model-Based Diagnosis. IEEE Trans. Syst. Man Cybern. Syst. 2025. early access. [Google Scholar] [CrossRef]
  4. Carrión León, D.I.; Vidal-Silva, C.; Márquez, N. Scalable Model-Based Diagnosis with FastDiag: A Dataset and Parallel Benchmark Framework. Data 2025, 10, 141. [Google Scholar] [CrossRef]
  5. Vidal, C.; Felfernig, A.; Galindo, J.; Atas, M.; Benavides, D. Explanations for over-constrained problems using QuickXPlain with speculative executions. J. Intell. Inf. Syst. 2021, 57, 491–508. [Google Scholar] [CrossRef]
  6. Cabezas-Quinto, J.J.; Vidal-Silva, C.; Serrano-Malebrán, J.; Márquez, N. A Dataset and Experimental Evaluation of a Parallel Conflict Detection Solution for Model-Based Diagnosis. Data 2025, 10, 139. [Google Scholar] [CrossRef]
  7. Vidal-Silva, C.; Duarte, V.; Cárdenas-Cobo, J.; Iván Veas, I. Scalable Parallel Reasoning for Large-Scale Constraint Systems. Sci. Rep. 2024, 14, 61647. [Google Scholar] [CrossRef]
  8. AlShekh, R.H.; Dawwd, S.A.; Qassabbashi, F.N. Comparative Review of Multicore Architectures: Intel, AMD, and ARM in the Modern Computing Era. Chips 2025, 4, 44. [Google Scholar] [CrossRef]
  9. Cui, M.; Pericas, M. Characterizing and Mitigating Performance Variability in Parallel Applications on Modern HPC Multicore Systems. In Proceedings of the 22nd ACM International Conference on Computing Frontiers (CF ’25); Association for Computing Machinery: New York, NY, USA, 2025; pp. 151–158. [Google Scholar] [CrossRef]
  10. Mishra, P.; Nandivada, V.K. COWS for High Performance: Cost Aware Work Stealing for Irregular Parallel Loop. ACM Trans. Archit. Code Optim. 2024, 21, 1–26. [Google Scholar] [CrossRef]
  11. Fé, I.; Matos, R.; Dantas, J.; Melo, C.; Nguyen, T.A.; Min, D.; Choi, E.; Silva, F.A.; Maciel, P.R.M. Performance-Cost Trade-Off in Auto-Scaling Mechanisms for Cloud Computing. Sensors 2022, 22, 1221. [Google Scholar] [CrossRef]
  12. Tai, R.; Ouyang, D.; Liu, W.; Jiang, L.; Zhang, L. A Novel Approach to Model-Based Diagnosis with Multiple Observations. Eng. Appl. Artif. Intell. 2025, 141, 109768. [Google Scholar] [CrossRef]
  13. Felfernig, A.; Garber, D.; Le, V.M.; Lubos, S. Causality-based Explanations for Feature Model Configuration. In Proceedings of the 19th International Working Conference on Variability Modelling of Software-Intensive Systems (VaMoS ’25); Association for Computing Machinery: New York, NY, USA, 2025; pp. 86–90. [Google Scholar] [CrossRef]
  14. Wang, T. A Causal Discovery-Based Adaptive Fusion Algorithm for Multi-Source Heterogeneous Knowledge Graphs. Sci. Rep. 2026, 16, 4426. [Google Scholar] [CrossRef]
  15. Czarnecki, K.; Helsen, S.; Eisenecker, U. Formalizing Cardinality-Based Feature Models and Their Specialization. Softw. Process. Improv. Pract. 2005, 10, 7–29. [Google Scholar] [CrossRef]
  16. Thörn, C.; Sandkuhl, K. Feature Modeling: Managing Variability in Complex Systems. In Complex Systems in Knowledge-Based Environments: Theory, Models and Applications; Studies in Computational Intelligence; Tolk, A., Jain, L.C., Eds.; Springer: Berlin/Heidelberg, Germany, 2009; Volume 168. [Google Scholar] [CrossRef]
  17. Benitez, F.S.; Galindo, J.A.; Romero Organvídez, D.; Benavides, D. UVL Web-Based Editing and Analysis with flamapy.ide. In Proceedings of the 19th International Working Conference on Variability Modelling of Software-Intensive Systems (VaMoS ’25); Association for Computing Machinery: New York, NY, USA, 2025; pp. 121–125. [Google Scholar] [CrossRef]
  18. Galindo Duarte, J.A.; Benavides Cuevas, D.F.; Segura Rueda, S. Debian Packages Repositories as Software Product Line Models: Towards Automated Analysis. In Proceedings of the First International Workshop on Automated Configuration and Tailoring of Applications (ACOTA 2010), Antwerp, Belgium, 20 September 2010; pp. 29–34. [Google Scholar]
  19. Galindo, J.A.; Dominguez, A.J.; White, J.; Benavides, D. Large Language Models to Generate Meaningful Feature Model Instances. In Proceedings of the 27th ACM International Systems and Software Product Line Conference—Volume A (SPLC ’23); Association for Computing Machinery: New York, NY, USA, 2023; pp. 15–26. [Google Scholar] [CrossRef]
  20. Galindo, J.A.; Benavides, D.; Trinidad, P.; Gutiérrez-Fernández, A.M.; Ruiz-Cortés, A. Automated Analysis of Feature Models: Quo Vadis? Computing 2019, 101, 387–433. [Google Scholar] [CrossRef]
  21. Felfernig, A.; Schubert, M.; Zehentner, C. An efficient diagnosis algorithm for inconsistent constraint sets. Artif. Intell. Eng. Des. Anal. Manuf. 2012, 26, 53–62. [Google Scholar] [CrossRef]
  22. Felfernig, A.; Benavides, D.; Galindo, J.; Reinfrank, F.C. Towards Anomaly Explanation in Feature Models. In Proceedings of the 2013 Workshop on Configuration, Wien, Austria, 29–30 August 2013; pp. 117–124. [Google Scholar]
  23. Weckesser, M.; Lochau, M.; Schnabel, T.; Richerzhagen, B.; Schürr, A. Mind the Gap! Automated Anomaly Detection for Potentially Unbounded Cardinality-Based Feature Models. In Fundamental Approaches to Software Engineering; Lecture Notes in Computer Science; Stevens, P., Wąsowski, A., Eds.; Springer: Berlin/Heidelberg, Germany, 2016; Volume 9633. [Google Scholar] [CrossRef]
  24. Vidal, C.; Felfernig, A.; Galindo, J.; Atas, M.; Benavides, D. A Parallelized Variant of Junker’s QuickXPlain Algorithm. In Proceedings of the Foundations of Intelligent Systems; Lecture Notes in Computer Science; Helic, D., Leitner, G., Stettinger, M., Felfernig, A., Raś, Z.W., Eds.; Springer: Cham, Switzerland, 2020; Volume 12117. [Google Scholar] [CrossRef]
  25. Singh, K.; Banda, L.; Manjul, M. (Eds.) Advanced Computer Science Applications: Recent Trends in AI, Machine Learning, and Network Security, 1st ed.; Apple Academic Press: Palm Bay, FL, USA, 2023. [Google Scholar] [CrossRef]
  26. Kumar, S.; Singh, S.K.; Aggarwal, N.; Gupta, B.B.; Alhalabi, W.; Band, S.S. An Efficient Hardware Supported and Parallelization Architecture for Intelligent Systems to Overcome Speculative Overheads. Int. J. Intell. Syst. 2022, 37, 11764–11790. [Google Scholar] [CrossRef]
  27. Kaltenecker, C.; Mühlbauer, S.; Grebhahn, A.; Siegmund, N.; Apel, S. Performance Evolution of Configurable Software Systems: An Empirical Study. Empir. Softw. Eng. 2023, 28, 152. [Google Scholar] [CrossRef]
  28. Qi, H.; Dai, L.; Chen, W.; Jia, Z.; Lu, X. Performance Characterization of Large Language Models on High-Speed Interconnects. In Proceedings of the 2023 IEEE Symposium on High-Performance Interconnects (HOTI); IEEE: New York, NY, USA, 2023; pp. 53–60. [Google Scholar] [CrossRef]
  29. Aimoniotis, P.; Kvalsvik, A.B.; Chen, X.; Själander, M.; Kaxiras, S. ReCon: Efficient Detection, Management, and Use of Non-Speculative Information Leakage. In Proceedings of the 56th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO ’23); Association for Computing Machinery: New York, NY, USA, 2023; pp. 828–842. [Google Scholar] [CrossRef]
  30. Bystrov, O.; Pacevič, R.; Kačeniauskas, A. Cost- and performance-aware resource selection for parallel software on heterogeneous cloud. Concurr. Comput. Pract. Exp. 2024, 36, e7877. [Google Scholar] [CrossRef]
  31. Malla, I.; Metsch, T.; Townend, P. Power Aware Cluster Orchestration: Taxonomy, Initial Results, and Challenges; Association for Computing Machinery: New York, NY, USA, 2026; UCC ’25. [Google Scholar] [CrossRef]
  32. Chileshe, L. Intelligent Resource Orchestration Using AI-Driven Predictive Algorithms for Scalable Cloud Systems. Am. Int. J. Comput. Sci. Technol. 2023, 5, 13–24. [Google Scholar] [CrossRef]
  33. Abdullah, M.; Munir, R.; Iqbal, W.; Khan, S.A.; Baig, S.U.R.; Erradi, A. Cost and performance-effective dynamic VM type selection in auto-scaling using reinforcement learning. Computing 2025, 107, 177. [Google Scholar] [CrossRef]
  34. Shen, L.; Sun, Y.; Yu, Z.; Ding, L.; Tian, X.; Tao, D. On Efficient Training of Large-Scale Deep Learning Models. ACM Comput. Surv. 2024, 57, 1–36. [Google Scholar] [CrossRef]
  35. Büchel, J.; Vasilopoulos, A.; Simon, W.A.; Boybat, I.; Tsai, H.; Burr, G.W.; Castro, H.; Filipiak, B.; Le Gallo, M.; Rahimi, A.; et al. Efficient scaling of large language models with mixture of experts and 3D analog in-memory computing. Nat. Comput. Sci. 2025, 5, 13–26. [Google Scholar] [CrossRef]
  36. Zhao, C.; Deng, C.; Ruan, C.; Dai, D.; Gao, H.; Li, J.; Zhang, L.; Huang, P.; Zhou, S.; Ma, S.; et al. Insights into DeepSeek-V3: Scaling Challenges and Reflections on Hardware for AI Architectures. In Proceedings of the 52nd Annual International Symposium on Computer Architecture (ISCA ’25); Association for Computing Machinery: New York, NY, USA, 2025; pp. 1731–1745. [Google Scholar] [CrossRef]
  37. Maican, C.A.; Pană, C.F.; Pătrașcu-Pană, D.M.; Rădulescu, V.M. Review of Fault Detection and Diagnosis Methods in Power Plants: Algorithms, Architectures, and Trends. Appl. Sci. 2025, 15, 6334. [Google Scholar] [CrossRef]
  38. Horcas, J.M.; Ballesteros, J.; Pinto, M.; Fuentes, L. Elimination of Constraints for Parallel Analysis of Feature Models. In Proceedings of the 27th ACM International Systems and Software Product Line Conference (SPLC ’23); Association for Computing Machinery: New York, NY, USA, 2023; pp. 99–110. [Google Scholar] [CrossRef]
  39. Horcas, J.M.; Ballesteros, J.; Pinto, M.; Fuentes, L. FMSans: An Efficient Approach for Constraints Removal and Parallel Analysis of Feature Models. J. Syst. Softw. 2025, 227, 112434. [Google Scholar] [CrossRef]
  40. Sundermann, C.; Brancaccio, V.F.; Kuiter, E.; Krieter, S.; Hess, T.; Thuem, T. Collecting Feature Models from the Literature: A Comprehensive Dataset for Benchmarking. In Proceedings of the 28th ACM International Systems and Software Product Line Conference (SPLC ’24); Association for Computing Machinery: New York, NY, USA, 2024; pp. 54–65. [Google Scholar] [CrossRef]
  41. Kuiter, E. Towards Effective and Efficient Feature-Model Analyses for Evolving System Software. In Proceedings of the 29th ACM International Systems and Software Product Line Conference—Volume B (SPLC-B ’25); Association for Computing Machinery: New York, NY, USA, 2025; pp. 6–13. [Google Scholar] [CrossRef]
  42. Kuiter, E.; Sundermann, C.; Thuem, T.; Hess, T.; Krieter, S.; Saake, G. How Configurable Is the Linux Kernel? Analyzing Two Decades of Feature-Model History—RCR Report. ACM Trans. Softw. Eng. Methodol. 2026, 35, 87. [Google Scholar] [CrossRef]
  43. Amdahl, G.M. Validity of the single processor approach to achieving large scale computing capabilities. In Proceedings of the April 18–20, 1967, Spring Joint Computer Conference; Association for Computing Machinery: New York, NY, USA, 1967; AFIPS ’67 (Spring); pp. 483–485. [Google Scholar] [CrossRef]
  44. Gustafson, J.L. Reevaluating Amdahl’s law. Commun. ACM 1988, 31, 532–533. [Google Scholar] [CrossRef]
  45. Hennessy, J.L.; Patterson, D.A. Computer Architecture: A Quantitative Approach, 6th ed.; The Morgan Kaufmann Series in Computer Architecture and Design; Morgan Kaufmann: Cambridge, MA, USA, 2017. [Google Scholar]
  46. Keller, J.M. Architectural and Software-Based Fault Tolerance in Multicore and Lockstep Processing Systems: A Comprehensive Reliability-Centric Analysis. Acad. Res. Libr. Int. J. Comput. Sci. Inf. Syst. 2025, 10, 103–108. [Google Scholar]
  47. Rauber, T.; Rünger, G. Parallel Programming: For Multicore and Cluster Systems, 3rd ed.; Springer: Cham, Switzerland, 2023. [Google Scholar] [CrossRef]
  48. Gent, I.P.; Jefferson, C.; Miguel, I. MINION: A Fast, Scalable, Constraint Solver. In Proceedings of the 17th European Conference on Artificial Intelligence (ECAI 2006); IOS Press: Riva del Garda, Italy, 2006; pp. 98–102. [Google Scholar]
  49. Blumofe, R.D.; Leiserson, C.E. Scheduling Multithreaded Computations by Work Stealing. J. ACM 1999, 46, 720–748. [Google Scholar] [CrossRef]
Figure 1. Conceptual overview of the unified multi-dimensional cost analysis framework.
Figure 1. Conceptual overview of the unified multi-dimensional cost analysis framework.
Computers 15 00201 g001
Figure 2. Conceptual representation of speculative parallel consistency checks in conflict detection and diagnosis. Multiple branches may be evaluated concurrently, potentially reducing runtime but increasing coordination overhead.
Figure 2. Conceptual representation of speculative parallel consistency checks in conflict detection and diagnosis. Multiple branches may be evaluated concurrently, potentially reducing runtime but increasing coordination overhead.
Computers 15 00201 g002
Figure 3. Conceptual architecture of the proposed analytical framework for speculative parallel diagnosis evaluation. Experimental measurements obtained from parallel executions are transformed into performance metrics and integrated into a unified multi-dimensional cost model that supports adaptive execution strategies.
Figure 3. Conceptual architecture of the proposed analytical framework for speculative parallel diagnosis evaluation. Experimental measurements obtained from parallel executions are transformed into performance metrics and integrated into a unified multi-dimensional cost model that supports adaptive execution strategies.
Computers 15 00201 g003
Figure 4. Conceptual structure of the unified multi-dimensional cost model integrating runtime, efficiency, and overhead.
Figure 4. Conceptual structure of the unified multi-dimensional cost model integrating runtime, efficiency, and overhead.
Computers 15 00201 g004
Figure 5. Parallel scalability regimes predicted by classical parallel performance theory and observed in speculative diagnosis experiments.
Figure 5. Parallel scalability regimes predicted by classical parallel performance theory and observed in speculative diagnosis experiments.
Computers 15 00201 g005
Figure 6. Conceptual adaptive execution framework integrating conflict estimation and cost-aware decision control.
Figure 6. Conceptual adaptive execution framework integrating conflict estimation and cost-aware decision control.
Computers 15 00201 g006
Table 1. Limitations of traditional evaluation approaches in parallel diagnosis research.
Table 1. Limitations of traditional evaluation approaches in parallel diagnosis research.
DimensionTypically ReportedMissing in Literature
Runtime
Speedup
EfficiencyRarely✓ systematic analysis
Parallel Overhead×✓ formal quantification
Scalability RegimesLimited✓ structural identification
Table 2. Dimensions of the unified multi-dimensional cost model.
Table 2. Dimensions of the unified multi-dimensional cost model.
MetricCapturesLimitation If Used Alone
Runtime T ( p ) Raw execution timeIgnores resource waste
Speedup S ( p ) Relative accelerationHides coordination cost
Efficiency E ( p ) Resource utilizationDoes not show absolute time
Overhead O ( p ) Speculative costIndependent of performance gain
C c o n f l i c t ( p ) Structural complexityConflict-size dependent
Table 3. Observed scalability regimes in speculative parallel diagnosis experiments.
Table 3. Observed scalability regimes in speculative parallel diagnosis experiments.
RegimeConflict SizeEfficiency TrendOverhead Growth
UnderutilizedSmallLow efficiencyHigh relative overhead
Near-OptimalMediumStable efficiencyLinear overhead
SaturatedLargeDeclining efficiencySuperlinear growth
Over-ParallelizedAnySharp efficiency dropDominant overhead
Table 4. Validation of the unified cost model on a representative benchmark instance.
Table 4. Validation of the unified cost model on a representative benchmark instance.
Workers (p)Runtime T(p)Speedup S(p)Efficiency E(p)Overhead O(p)Ctotal (p)
11201.001.000120
2701.710.862092
4452.670.6760104
8403.000.37200160
Table 5. Adaptive execution policy derived from the unified cost model.
Table 5. Adaptive execution policy derived from the unified cost model.
Conflict Ratio θ Complexity LevelRecommended ModeExpected Overhead
Low ( θ < τ )SimpleSequentialMinimal
MediumModerateLimited ParallelismControlled
High ( θ τ )ComplexSpeculative ParallelAmortized
Very HighExtremeParallel + PruningStabilized
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.

Share and Cite

MDPI and ACS Style

Vinueza-Morales, M.; Tupac-Yupanqui, M.; Márquez, N.; Vidal-Silva, C. A Unified Multi-Dimensional Cost Analysis of Speculative Parallel Conflict Detection and Diagnosis. Computers 2026, 15, 201. https://doi.org/10.3390/computers15040201

AMA Style

Vinueza-Morales M, Tupac-Yupanqui M, Márquez N, Vidal-Silva C. A Unified Multi-Dimensional Cost Analysis of Speculative Parallel Conflict Detection and Diagnosis. Computers. 2026; 15(4):201. https://doi.org/10.3390/computers15040201

Chicago/Turabian Style

Vinueza-Morales, Mariuxi, Miguel Tupac-Yupanqui, Nicolás Márquez, and Cristian Vidal-Silva. 2026. "A Unified Multi-Dimensional Cost Analysis of Speculative Parallel Conflict Detection and Diagnosis" Computers 15, no. 4: 201. https://doi.org/10.3390/computers15040201

APA Style

Vinueza-Morales, M., Tupac-Yupanqui, M., Márquez, N., & Vidal-Silva, C. (2026). A Unified Multi-Dimensional Cost Analysis of Speculative Parallel Conflict Detection and Diagnosis. Computers, 15(4), 201. https://doi.org/10.3390/computers15040201

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop