mark for a real diagnosis scenario of the R&D project
“Magneto” (Arozarena et al., 2010). This scenario
consists of a P2P streaming scenario where a user
provides multimedia content and another user con-
sumes this content. Many faults may occur both in
connection and in services. The system is designed
to provide, to an end-user or an operator, the result
of the diagnosis made upon receipt of a notification
of a symptom of failure. We have clustered all possi-
ble diagnoses of this scenario in 13 diagnosis cases to
simplify comparison and shown results.
The evaluation consists of the comparison of three
models that use Bayesian networks to perform causal
inference to diagnose faults:
Algorithm 5: B2DI Belief Update Function.
1: belie f update : (B, CM) → Bel;
2:
3: AB := null; {Absorbed Beliefs}
4: AB := absorb through linkage(CM);
5: B := uni f y belie f (B, AB);
6: belie f update := B;
7:
8: end − belie f update;
Algorithm 6: B2DI Communicate Belief Function.
1: communicate belie f : (B, CM) → Mod;
2:
3: CB := null; {Collected Beliefs}
4: CB := collect belie f (B);
5: CM := distribute belie f (CB, CM);
6: communicate belie f := CM;
7:
8: end − communicate belie f ;
• Model 1 (Belief Flooding): All agents have
Bayesian Networks with duplicated part of their
causal model CM to keep coherence in the process
inference. Agents share beliefs about the available
information of the current environment. When
new information is received from other agents, it
is propagated to the rest of the agents to assure
the coherence of the distributed reasoning pro-
cess. After this propagation, each agent continues
with its own behaviour and shares its beliefs if it
is required.
• Model 2 (Filtered Belief Flooding): Same than
Model 1 but this time when new information is
received from other agents, it is processed and fil-
tered. Then, the agent takes its own decision and
execute a selected plan. Finally, only filtered in-
formation is propagated to its neighbours.
• Model 3 (B2DI, Belief Sharing based on Causal
Dependencies): This model represents the pro-
posed B2DI model. These agents share their be-
liefs only with other agents which are interested
in them. When new information is available, it is
automatically propagated through MSBN mecha-
nism.
Table 1 shows the evaluation results in several
columns. MTTD (FitzGerald and Dennis, 2008)
(Mean Time to Diagnose) usually is the average num-
ber of minutes until the root cause of the failure is
correctly diagnosed; but, in this table, we show this
time rounded in seconds.
Model 3 presents a reduction of 48% in time and
37% in number of executed tests comparing with
Model 1 and a reduction of 40% in time and 60% in
number of executed tests comparing with Model 2.
4 RELATED WORK
Although uncertain belief representation in BDI-like
systems have been studied in AI over recent past (Fa-
gundes et al., 2009; Casali et al., 2011), this work
is novel in several respects. It proposes transpar-
ently sharing beliefs methods through MSBNs (Xi-
ang, 2002), i.e. an agent do not have to send its be-
liefs through a message. MSBN model assures con-
sistency and coherence during the inference process.
This MSBN model is embedded in the proposed B2DI
model (Sect. 2).
Furthermore, MSBN offers dynamically reconfig-
uration (Xiang et al., 2006) if any agent is born or dies
in the environment. Thus, all agents that share any set
of beliefs can reconfigure its causal model to link to
the global inference mechanism (MSBN) even if an
intermediate agent disappears.
The use of distributed causal models to fault di-
agnosis has been previously studied (Bocaniala and
da Costa, 2004) and the proposed methodology to par-
tition the global causal model in causally indepen-
dent (d-separated) regions. But, that methodology
only exposes how to fragment the causal model in
smaller pieces. It does not deal with how the inference
should be performed in a distributed way. Our pro-
posed approach (B2DI agent model) uses distributed
causal models and presents a framework to perform
distributed inference.
B2DI - A Bayesian BDI Agent Model with Causal Belief Updating based on MSBN
345