arXiv:2609.31275cs.SESep 2026

Manuscript Offprint

arXiv:2609.31275

Semi-Automatic Quantification of Bayesian Networks for Software Decision Support: Comparing WSA and RNM in a Software R&D Organization

Mirko Perkusich, João Nunes, Emilia Mendes, Emanuel Dantas, Ademar Sousa, Danyllo Albuquerque, Kyller C. Gorgônio, Angelo Perkusich

Abstract

Expert-driven Bayesian networks can support recurring software decisions when historical data are limited, but quantifying their conditional probability tables (CPTs) requires many probability judgments. Semi-automatic methods reduce direct elicitation, yet practitioners have little comparative evidence from operational decision processes. We report an embedded case study comparing the Weighted Sum Algorithm (WSA) and Ranked Nodes Method (RNM) as complete elicitation-and-quantification pipelines in two contexts within a single software research and development (R&D) organization: feature selection for Internet of Things projects and user interface design selection. Within each context, the pipelines shared the graph, root

*Corresponding author

Email addresses: mirko@virtus.ufcg.edu.br (Mirko Perkusich), joao.nunes@copin.ufcg.edu.br (João Nunes), eme@ece.au.dk (Emilia Mendes), emanuel.dantas@virtus.ufcg.edu.br (Emanuel Dantas), ademar.sousa@virtus.ufcg.edu.br (Ademar Sousa), danyllo.albuquerque@virtus.ufcg.edu.br (Danyllo Albuquerque), kyller@dee.ufcg.edu.br (Kyller C. Gorgônio), perkusic@dee.ufcg.edu.br (Angelo Perkusich) priors, and decision evidence. We evaluated them through 15 expert-defined model-walkthrough scenarios and retrospective reconstructions of alternatives recorded in decision meetings. WSA matched 7/7 and 6/8 walkthrough expectations, whereas RNM matched 4/7 and 4/8. Both pipelines placed the selected alternatives near the top of the retrospective rankings. Their complete distributions nevertheless differed: the median total variation distance was 0.304 across four distinct feature patterns and 0.340 across seven distinct design patterns, rising to 0.890 for one design pattern. These results concern two ordinal value-estimation models in one organization. They show that similar shortlist behavior does not imply equivalent representations of uncertainty. For comparable software decision-support models, method selection and validation should consider node semantics, the judgments experts can provide, calibration requirements, complete output distributions, and the intended downstream use of the probabilities.

Keywords: Bayesian network, conditional probability table, expert elicitation, Weighted Sum Algorithm, Ranked Nodes Method, software decision support

1. Introduction

Software teams make recurrent decisions about features, designs, and technical alternatives under incomplete information and competing stakeholder concerns. Bayesian networks (BNs) can combine available observations with expert knowledge and make the assumptions behind such decisions explicit (Pearl, 2014; Tosun Misirli and Basar Bener, 2014; Manzano et al., 2021). This capability is particularly useful when organization-specific variables matter and historical data are sparse. Building an expert-driven BN, however, requires both defining the graph and quantifying its conditional probability tables (CPTs). The latter can determine whether an otherwise useful decision-support model is feasible to construct and maintain.

Direct elicitation becomes demanding because CPT size grows exponentially with the number and cardinality of a node's parents. Repeated probability judgments can also introduce fatigue, inconsistency, and avoidable cognitive burden (Druzdzel and van der Gaag, 2000; Das, 2004; Baker and Mendes, 2010b). Semi-automatic methods reduce the input requested from experts and use a stated procedure to complete the remaining probabilities. The Weighted Sum Algorithm (WSA) and the Ranked Nodes Method

(RNM) are two established alternatives, but they encode relationships differently and require different expert judgments and calibration choices (Baker, 2009; Laitila and Virtanen, 2016; Laitila and Virtanen, 2020).

Evidence that a method reduces the number of elicited values is not sufficient for organizational adoption. Practitioners also need to know whether the resulting model preserves expected behavior, supports the decisions for which it was built, and represents uncertainty in a way that is suitable for downstream use. A comprehensive review shows that alternative assumptions and information sources used to derive CPTs can affect BN results and identifies comparative evaluation and sensitivity analysis as continuing needs (Rohmer, 2020). These questions are difficult to answer from methodological examples alone. Existing comparisons of WSA and RNM are limited, and operational evidence in software decision processes is especially scarce. Recent research likewise identifies calibration, traceability, and expert burden as continuing concerns in BN quantification (Laitila and Virtanen, 2022a; Podofillini et al., 2023; Blomaard et al., 2025).

We address this practice-oriented gap through an embedded case study in one software research and development (R&D) organization. The two embedded contexts concern feature selection for forthcoming sprints and user-interface design selection. They provide organization-specific Bayesian value-estimation models, judgments from professionals involved in the decisions, and alternatives recorded during decision meetings. Within each context, WSA and RNM used the same graph, root-node priors, and decision evidence, so the comparison focuses on the implemented elicitation and quantification pipelines. We ask:

RQ1: How often do WSA- and RNM-quantified models agree with the predefined modal output in hypothetical walkthrough scenarios?

RQ2: How do the rankings and probability distributions produced by WSA and RNM correspond to stakeholder selections recorded in historical decision meetings?

The walkthrough labels are expert-defined expectations rather than independently observed outcomes, and the historical choices are decisions rather than objective measurements of value. We therefore distinguish scenario agreement from retrospective selection concordance.

Earlier studies used the WSA-quantified models from these decision contexts to investigate value-based software engineering and the VALUE frame-work (described in Section 3.3) (Mendes et al., 2018a, 2019). The present study reuses the corresponding VALUE records as common inputs, but addresses a different question: the RNM quantifications collected for the same contexts were not reported in those studies, nor were WSA and RNM compared as paired quantification pipelines. The present study makes three contributions. First, it reports how WSA and RNM were operationalized in two recurring software decision processes, including the elicitation roles, model structures, and retained RNM parameterizations. Second, it provides a paired comparison under fixed within-context conditions using both model-walkthrough expectations and recorded organizational decisions. Third, it derives practice-oriented criteria for selecting and validating a quantification pipeline, supported by a paired distribution-level analysis using total variation distance (TVD) to show when similar modes or rankings conceal materially different probability allocations. The evidence is bounded by the two models and one organization, while the evaluation procedure and lessons are relevant to comparable expert-driven software decision-support models.

The remainder of this article explains both techniques and related evidence (Section 2), the case-study design and analysis (Section 3), the results (Section 4), their implications (Section 5), and the limitations that bound the claims (Section 6).

References (67)