arXiv:2609.10276cs.NESep 2026

Manuscript Offprint

arXiv:2609.10276

Structural Fusion of Bayesian Networks with Limited Treewidth Using Genetic Algorithms

Pablo Torrijos, José A. Gámez, José M. Puerta

Pablo Torrijos*†, José A. Gámez*†, José M. Puerta*†

*Instituto de Investigación en Informática de Albacete (I3A). Universidad de Castilla-La Mancha. Albacete, 02071, Spain

†Departamento de Sistemas Informáticos. Universidad de Castilla-La Mancha. Albacete, 02071, Spain

{Pablo.Torrijos,Jose.Gamez,Jose.Puerta}@uclm.es

© 2024 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses.

Published in: 2024 IEEE Congress on Evolutionary Computation (CEC), pp. 1–8, 2024. DOI: 10.1109/CEC60901.2024.10611976

Abstract—This paper introduces an evolutionary computation approach for consensus in structural Bayesian Network (BN) fusion under the constraint of limited treewidth. The consensus BN aims to reconcile multiple input BNs into a single one that retains key structural features present in the original networks. Treewidth, a graph-based parameter associated with computationally tractable inference, is utilized to restrict the complexity of the resulting network. A genetic algorithm is proposed to look for a BN that codifies as much information about the unrestricted fusion as possible while ensuring the treewidth restriction. Experimental evaluation demonstrates the genetic algorithm's ability to obtain consensus BNs with limited treewidth, providing a valuable tool for aggregating information from diverse sources while returning a computationally actionable model.

Index Terms—Bayesian networks, fusion, consensus, genetic algorithm, combinatorial optimization, federated learning.

I. INTRODUCTION

A Bayesian Network (BN) [1], [2] is a type of probabilistic graphical model (PGM) that utilizes probability theory to represent uncertainty in specific domains. A BN comprises two key components: a graphical structure encapsulating the interrelationships among domain variables, including their dependencies and independencies, and a collection of parameters in the form of conditional probability tables that quantify the significance of the connections depicted in the graph. Domain experts can construct BNs by developing both parts (structure and parameters) [3]. However, this becomes increasingly challenging as the problem scale expands, often becoming a bottleneck in the knowledge elicitation process. However, learning BNs from data is extensively studied. Several methods have been proposed for this purpose [4]–[6].

The effectiveness of BNs largely depends on their graphical structure, which is crucial for symbolic (relevance) analysis [7], [8] and assists numerical inference processes like belief updating and revision [1]. The combination of their graphical nature and symbolic inference mechanisms categorizes BNs as white-box models, enhancing their interpretability. The growing need for explainable models and the increasing relevance of causal models position BNs at the forefront of technology for addressing knowledge-based problems.

Because many NP-hard problems dealing with BNs can be framed as combinatorial optimization problems, numerous evolutionary computing-based approaches have been proposed to tackle them. This includes learning BNs from data [9]; triangulating the graph to obtain a minimum-sized jointtree, thereby optimizing the inference process [10]; searching for the most probable explanation [11]; etc.

This work addresses a different NP-hard problem related to BNs: the structural fusion of BNs [12]. Given a set of networks defined over the same set of variables, the structural fusion process aims to obtain the consensus model that best represents the input networks [12], [13]. This problem is particularly interesting in scenarios where different BNs are generated by different experts or learned from different datasets that cannot be shared, such as in the paradigm of federated learning [14]. Canonical structural fusion produces dense networks, making them practically unusable for reasoning due to the large probability tables created either in the network or in the intermediate steps of inference.

In [15], a process is described for obtaining the optimal fusion of a set of input networks. In addition, a heuristic is provided (see Section II) that efficiently guides the fusion process and yields results very close to the optimal outcome. The downside of the structural fusion process is that, due to its restrictive definition, it produces dense networks, making them practically unusable for reasoning, as the probability tables created either in the network or in the intermediate steps of inference are very large.

In this work, we propose to relax the restrictions of the canonical definition of BN fusion, bringing it closer to the standard definition of consensus or aggregation in other problems, where each participant gives up something so that the resulting model captures most, but not all, of the restrictions of the input models. Moreover, our goal is to obtain tractable networks for symbolic and numerical reasoning [16], so we will restrict the maximum complexity that the consensus-obtained model can have. Thus, the objective of this restricted fusion/consensus will be to obtain the network with a maximum treewidth (the number of variables in the biggest probability table used at inference) of tw that captures the maximum number of arcs that would be in the model obtained by applying an unrestricted fusion process.

To address the problem, our proposal approach defines structurally constrained fusion as a combinatorial optimization problem and uses a genetic algorithm [17] as the search engine. Thus, the main contributions of this work are:

• Introducing the definition of restricted fusion/consensus of BNs and formulating the associated combinatorial optimization problem.

• Proposing a greedy algorithm to solve the problem.

• Designing a genetic algorithm tailored to the BN's restricted fusion problem.

  • Experimentally evaluating the proposal on different benchmarks.

The remainder of this paper is organized as follows: Section II describes the problem of BN fusion and discusses its main drawbacks. Next, in Section III, we define the constrained structural fusion of BNs problem, and in Section IV, we describe our evolutionary approach to tackle it. Then, Section V contains the experimental evaluation carried out, and finally, in Section VI, we conclude.

References (25)