A Unified Multi-Dimensional Cost Analysis of Speculative Parallel Conflict Detection and Diagnosis
Abstract
1. Introduction
2. Background
2.1. Model-Based Diagnosis and Conflict Detection
2.2. Speculative Parallelization and Cost Trade-Offs
2.3. Scalability in Diagnosis-Based Completion
3. Unified Multi-Dimensional Cost Model
3.1. Framework Overview
3.2. Runtime and Speedup
3.3. Parallel Efficiency
3.4. Parallel Overhead
3.5. Scalability Index
3.6. Conflict-Normalized Cost
3.7. Unified Cost Function
4. Experimental Re-Analysis
4.1. Derived Performance Indicators
- Speedup ;
- Efficiency ;
- Parallel Overhead ;
- Conflict-Normalized Cost .
4.2. Parallel Breakdown Points
4.3. Diagnosis vs. General Constraint Solving
4.4. Additional Validation Experiment
| Algorithm 1 Adaptive Parallel Execution Strategy |
|
4.5. Sensitivity Analysis of Cost Weights
5. Implications and Adaptive Parallel Strategy
5.1. Diagnosis-Aware Parallel Control
5.2. Adaptive Parallel Decision Framework
5.3. Conceptual Adaptive Architecture
5.4. Relation to Large-Scale Reasoning
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Reiter, R. A Theory of Diagnosis from First Principles. Artif. Intell. 1987, 32, 57–95. [Google Scholar] [CrossRef]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- Wang, T. A Causal Discovery-Based Adaptive Fusion Algorithm for Multi-Source Heterogeneous Knowledge Graphs. Sci. Rep. 2026, 16, 4426. [Google Scholar] [CrossRef]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- Gustafson, J.L. Reevaluating Amdahl’s law. Commun. ACM 1988, 31, 532–533. [Google Scholar] [CrossRef]
- 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]
- 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]
- Rauber, T.; Rünger, G. Parallel Programming: For Multicore and Cluster Systems, 3rd ed.; Springer: Cham, Switzerland, 2023. [Google Scholar] [CrossRef]
- 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]
- Blumofe, R.D.; Leiserson, C.E. Scheduling Multithreaded Computations by Work Stealing. J. ACM 1999, 46, 720–748. [Google Scholar] [CrossRef]






| Dimension | Typically Reported | Missing in Literature |
|---|---|---|
| Runtime | ✓ | – |
| Speedup | ✓ | – |
| Efficiency | Rarely | ✓ systematic analysis |
| Parallel Overhead | × | ✓ formal quantification |
| Scalability Regimes | Limited | ✓ structural identification |
| Metric | Captures | Limitation If Used Alone |
|---|---|---|
| Runtime | Raw execution time | Ignores resource waste |
| Speedup | Relative acceleration | Hides coordination cost |
| Efficiency | Resource utilization | Does not show absolute time |
| Overhead | Speculative cost | Independent of performance gain |
| Structural complexity | Conflict-size dependent |
| Regime | Conflict Size | Efficiency Trend | Overhead Growth |
|---|---|---|---|
| Underutilized | Small | Low efficiency | High relative overhead |
| Near-Optimal | Medium | Stable efficiency | Linear overhead |
| Saturated | Large | Declining efficiency | Superlinear growth |
| Over-Parallelized | Any | Sharp efficiency drop | Dominant overhead |
| Workers (p) | Runtime T(p) | Speedup S(p) | Efficiency E(p) | Overhead O(p) | Ctotal (p) |
|---|---|---|---|---|---|
| 1 | 120 | 1.00 | 1.00 | 0 | 120 |
| 2 | 70 | 1.71 | 0.86 | 20 | 92 |
| 4 | 45 | 2.67 | 0.67 | 60 | 104 |
| 8 | 40 | 3.00 | 0.37 | 200 | 160 |
| Conflict Ratio | Complexity Level | Recommended Mode | Expected Overhead |
|---|---|---|---|
| Low () | Simple | Sequential | Minimal |
| Medium | Moderate | Limited Parallelism | Controlled |
| High () | Complex | Speculative Parallel | Amortized |
| Very High | Extreme | Parallel + Pruning | Stabilized |
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.
Share and Cite
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
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 StyleVinueza-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 StyleVinueza-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

