Skip to main content
Experimental Biology and Medicine logoLink to Experimental Biology and Medicine
. 2024 Jan 27;248(24):2578–2592. doi: 10.1177/15353702231215893

Data-driven approach to quantify trust in medical devices using Bayesian networks

Mini Thomas 1,✉, Omar Boursalie 2, Reza Samavi 2,3, Thomas E Doyle 3,4,5
PMCID: PMC10854471  PMID: 38281083

Abstract

Bayesian networks are increasingly used to quantify the uncertainty of subjective and stochastic concepts such as trust. In this article, we propose a data-driven approach to estimate Bayesian parameters in the domain of wearable medical devices. Our approach extracts the probability of a trust factor being in a specific state directly from the devices (e.g. sensor quality). The strength of the relationship between related factors is defined by expert knowledge and incorporated into the model. We use propagation rules from requirements engineering to estimate how much each trust factor contributes to the related intermediate nodes in the network and ultimately compute the trust score. The trust score is a relative measure of trustworthiness when different devices are evaluated in the same test conditions and using the same Bayesian structure. To evaluate our approach, we developed Bayesian networks for the trust quantification of similar wearable devices from two manufacturers under identical test conditions and noise levels. The results demonstrated the learnability and generalizability of our approach.

Keywords: Bayesian parameter estimation, trust quantification, trustworthy AI, wearable devices, requirements engineering, non-functional requirements

Impact Statement

Trust in wearable medical devices is essential for continued use and acceptance. In requirements engineering, there is interest in using Bayesian networks (BNs) to quantify non-functional requirements (NFRs) such as security, privacy, and trust. In quantifying trust, the existing BN prior probabilities are arbitrary values defined by experts or Gaussian distributions, which can be biased. To address this gap, we propose a data-driven parameter estimation approach. We built a BN by mapping trust factors from regulatory standards to measurable factors from the literature. We extract the prior probabilities from devices for the nodes in the first layer of the network. Then, an NFR propagation rule incorporating expert knowledge is used to compute the probability of the remaining nodes. The probability computed for the final node represents the trust score, a relative measure of trustworthiness. By relative, we mean stakeholders compare trust scores for candidate devices evaluated in the same conditions.

Introduction

Advances in sensor technology have revolutionized wearable medical devices’ (WMDs) capability to monitor patients’ health remotely. In addition to technical advances, trust in WMD is essential for their continued acceptance and adoption by patients, health professionals, and institutions. 1 Trust depends on multiple factors, including sensor accuracy,2,3 device security,4,5 data privacy,6,7 and reliable collection through several layers and units of a WMD by the network of sensors.8,9 If the data generated by WMD cannot be trusted, it could jeopardize the trustworthiness of the entire system. However, trust is stochastic and subjective, as demonstrated in the following motivating scenario. Assume Alex, an athlete, and his family, trainer, and physician (primary stakeholders) are considering different WMDs to monitor Alex’s health during indoor and outdoor activities. Alex and his family’s trust in the WMD may depend on the device’s safety and privacy. At the same time, Alex’s trainer and physician may select a WMD depending on the device’s accuracy and quality of sensor measurements. The important question in this scenario is how these stakeholders, each with possibly different and subjective views of trustworthiness, select the suitable device.

Eliciting stakeholders’ needs to define the required system properties is the focus of requirements engineering, a subarea of software engineering. Requirements engineering gives frameworks to systematically determine the functional and non-functional requirements (NFRs)10,11 to be achieved by complex interconnected software systems. Functional requirements define the function that the system must perform, such as continuous monitoring of heart rate. The NFRs define the user expectations of the system, such as trust, 10 security, 12 and privacy. 13 Since NFRs are quality goals whose achievement is challenging to measure, several structures are used to refine a high-level goal of trust to lower level operationalized and achievable goals and tasks that can be objectively implemented as software features. Thus, the impact of alternative implementation can be seen on a high-level goal prior to the implementation. We borrow the structure from requirements engineering to help us refine the subjective trust in WMDs. 14 For example, Figure 1(a) is the NFR framework proposed by Letier and Van Lamsweerd 14 applied to our motivating scenario. The top goal requiring that the WMD is trustworthy is refined to two subgoals: reliability of the sensors to provide correct readings and robustness of the WMD to perform efficiently in different conditions (e.g. indoors or outdoors). The top goal is refined to subgoals based on the expert knowledge, literature review, or stakeholder’s survey until we reach a level where the responsibilities can be assigned to a human or software agent. 14

Figure 1.

Figure 1.

Trust framework. (a) Non-functional requirement framework for trust goal with reliability and robustness as subgoals. (b) Bayesian network to quantify trust in WMD by analyzing heart and breathing rate sensor validation, heart and breathing rate quality, reliability, and robustness. (c) Bayesian network to quantify trust in WMD with prior and conditional probability for each node.

T: trust; WMD: wearable medical device; H: heart rate sensor validation; B: breathing rate sensor validation; HQ: heart rate quality; BQ: breathing rate quality; Re: reliability; Ro: robustness.

Requirements engineering frameworks are also used to identify the strength (impact) of the relationships between subgoals based on expert knowledge. The impact of the subgoals can be expressed qualitatively and quantitatively with contribution links of varying strengths. The expert-defined strength between subgoals is quantified and aggregated using requirements engineering propagation rules. For example, subgoals reliability and robustness have positive (+1) and negative (−1) impacts on trust. Propagation rules are used in the NFR framework to compute the aggregated impact of subgoals on the top goal of the system. 14 The requirements engineering framework provides engineers with a mechanism to explicitly define their subjective views of NFRs when choosing a WMD.

Bayesian networks (BNs) have been used to quantify NFRs such as trust in various fields, including medical imaging,15,16 industrial applications,17,18 cyber-physical systems, 19 and Internet of things. 17 A BN 6 is a probabilistic graph model that represents a set of random variables and their conditional dependencies in a compact way using nodes and edges. The nodes represent the probabilities of the NFR goal (trust) and subgoals, which we refer to as factors. Factors are measurable or non-measurable. Measurable factors are observations directly measured from the system (e.g. sensors). Non-measurable factors are subjective aspects of the system (e.g. robustness). The edges represent a causal relationship between the nodes. In our previous study, 20 we proposed a BN to quantify NFRs for WMDs such as trust (Figure 1(b)), where we refined the trust factors until they can be measured from WMD. Unlike NFRs, the BN in our study is structured so that the nodes in the first layer capture directly measurable trust factors. For example, in Figure 1(b), X1 and X2 represent the probability of the measurable trust factors heart and breathing rate sensor validation, respectively. The probabilities X1 and X2 are high when the WMD (e.g. Astroskin) sensors measurement agrees with a validating device (e.g. Apple Watch). The nodes X3 and X4 represent the probability of the heart and breathing rate sensor quality, respectively. The probability that X3 and X4 are high is calculated by comparing the measured observations to the manufacturer’s specifications. The remainder of the network represents the probability of the subjective belief on the state of each refined non-measurable trust factor, such as reliability ( X5 ) and robustness ( X6 ). Then, the trustworthiness ( X7 ) of a WMD from a stakeholder’s perspective is represented in terms of the probability of a subjective belief in trust to be in a specific discrete state (e.g. low or high). Computing the trust ( X7 ) probability requires access to the prior probabilities for all the nodes in the BN, which appears to be a major challenge. 15 As a result, arbitrary values from experts 15 or random values assuming some Gaussian distribution have been used. 20 The latter can lead to over-fitting and biased objective quantification. The former requires experts to provide an exponential number of prior and posterior probabilities, which is impractical and may lead to expensive, biased, or contradictory estimates.

In this article, we propose a data-driven parameter estimation approach for BN to quantify trust. As shown in Figure 1(c), our goal is to compute the probability of trust ( X7 ) of a WMD, from a stakeholder’s perspective, to be in a specific discrete state (e.g. low or high). We extract prior probabilities of the measurable trust factors (X1,…,X4) directly from the observations collected from the WMD sensors. Inspired by requirements engineering, we incorporate propagation rules to generate data for the nodes of the non-measurable trust factors in the BN structure. For example, the expert defines the impact of heart and breathing rate sensor validation (X1 and X2) on reliability (X5) as strong and very weak, respectively. We then use a propagation rule to compute how much each trust factor in the BN contributes to the parameter estimation for the remaining factors. In this way, instead of expecting experts to estimate numerous probabilities, a few qualitative labels capture their subjective views. Finally, we use the Bayesian approach 21 to estimate the parameters by calculating the joint probability distributions. Since trust is subjective, the computed probability of trustworthiness for one device may not be interpretable. Instead, the trust score provides a relative measure of trustworthiness when probabilities are computed for different WMDs with the same test conditions, that is, the same BN and subjective measures.

To evaluate our approach, we developed a hierarchical four-layered BN. We identified trust NFRs from the literature and qualitatively mapped them to the regulatory standards’ requirements for trustworthy medical devices.22–26 We learned the BN parameters quantitatively, including the probability of trust on each device, using our data-driven approach with the measured observations from two WMDs. We evaluated the learnability and generalizability behavior of our BN. For learnability, we measured the similarity of the trust score for the two WMDs under the same test conditions, such as sitting, standing, and walking. For generalizability, we assessed how different WMD sampling rates and noise levels affect our computed trust score. We successfully trained BN using our Bayesian parameter estimation approach. The trust score for the two WMDs was similar for predefined activities, demonstrating learnability. The results also showed that the trust scores did not depend on the sampling rate, and decreased with increasing levels of noise, demonstrating generalizability.

Preliminary results of this research are published in Thomas et al., 27 where we present our initial Bayesian-based parameter estimation approach to compute the probability of trust in WMD. The major contributions exclusively reported in this study are: (1) a data-driven approach to compute the probabilities for all nodes in a BN using NFR techniques and (2) a comparative analysis of proof-of-concept BNs with different model configurations (impacts and propagation rules) and noise levels to quantify and compare the trust scores between two WMDs.

Materials and methods

In this section, we review BNs and present our data-driven Bayesian parameter estimation approach. We also present our proof-of-concept of how the network is used to quantity trust in WMD. The mathematical notations and abbreviations are shown in Tables 9 and 10 (Appendix 1), respectively.

BN overview

The stochastic nature of trust can be viewed as probabilities represented by a set of random variables.20,28 A BN represents the random variables with a probabilistic graph model. Formally, a BN is represented as G=(X,E) , where X is a finite set of n discrete random variables as nodes, and E is a finite set of directed edges. For each random variable i , the prior probability is defined as P(Xi) , capturing the node’s aleatory uncertainty. Following the terminologies in Koller and Friedman, 29 we have two types of nodes: non-descendant (have no parents) and descendant (have parents), with the assumption of independence between the non-descendant nodes. Our BN’s non-descendent and descendent nodes represent measurable and non-measurable trust factors, respectively. In a BN, each node can be a parent to a single node (homogeneous BN) or multiple nodes (heterogeneous BN). Let PaXi denotes the set of parents of a node Xi . Figure 1(b) shows a homogeneous BN with seven nodes ( X1 – X7 ) and six edges based on the NFR framework in Figure 1(a). Nodes X1 to X4 are non-descendant and X5 to X7 are descendant nodes, PaX5={X1,X2} , PaX6={X3,X4 }, and PaX7={X5,X6} . We can see a BN as a structure ( G ) with a set of prior probabilities ( Xi ) for non-descendant nodes and a set of parameters ( θ ) for descendant nodes. The structure encodes the probability density of the random variables with their conditional dependencies in the form of a directed acyclic graph. 29 The prior probabilities are the given evidence, and the BN parameters are the conditional probabilities of the descendant nodes, computed as:

P(Xi|PaXi)=P(PaXi|Xi)P(Xi)P(PaXi),∀i=descendant (1)

where P( PaXi|Xi ) is the likelihood probability of the evidence for a particular data based on θ , P(Xi) is the prior probability before the evidence is considered, and P(PaXi) is the marginal probability of the evidence under any circumstance. 29 The joint probability distribution for the BN can then be expressed as:

P(X1,…,Xn)=∏i=1nP(Xi|PaXi) (2)

Data-oriented Bayesian parameter estimation

With its simple structure, a BN can capture many random phenomena in the presence of multiple interrelated aspects that relate to a specific reasoning task. For example, we might be interested to know the probability of a patient having flu given several interrelated pieces of evidence, including the season and symptoms where the same symptoms might also indicate another diagnosis, such as hay fever. 29

In our approach, we similarly define the trustworthiness of a WMD in terms of the probability of the trust node in the BN ( X7 ) to be in a specific discrete state (e.g. low, medium, or high). The first step is to systematically define the BN structure by reviewing the literature to capture how trust is interrelated to other phenomena, whether they are directly measurable or not. We refine the trust factors until they are measured from the WMDs. For example, in Figure 1(b), trust ( X7 ) cannot be measured and is not directly related to measurable observations such as the heart rate sensor validation ( X1 ) or the quality of the heart rate signal ( X3 ). We describe the relationships between the relative reliability ( X5 ), the validated measured observations in the heart ( X1 ) and breathing (X2 ) rate sensors, and trust ( X7 ) of two devices. Undoubtedly, this BN structure is subjective both in terms of structure and the qualitative levels that we define to indicate the relative trustworthiness of a WMD. However, we will show that if the domain experts give these subjective aspects, then the parameters of the entire structure can be estimated, that is the conditional probability of all descendant nodes, including the trustworthiness captured in the ultimate node of the BN. In this way, instead of domain experts subjectively guessing the device’s trustworthiness, they use measured observations from the device’s behavior, which are informative but not fully indicative of the device’s trustworthiness, to quantify and measure trust.

Before formalizing our notion of parameter estimation for the trust network, we should point to a specific constraint. The parameter estimation approaches such as maximum likelihood estimator21,29 rely on the availability of observations for all nodes in the network. However, the measured observations are available only for the non-descendant nodes in our trust network. Therefore, our formalism should include methods for generating data for all the descendant nodes, for example, generating indirect observations for reliability ( X5 ), using validated direct observations of the heart and breathing rate sensor validations (X1 and X2) , respectively.

Granular discretization of node values

The first step of our data-oriented parameter estimation approach is to compute the discrete probability distributions for the measurable trust factors in the BN. We discretize the continuous observations from the WMD to mutually discrete levels (e.g. discretize heart rate quality as low or high), which we refer to as granular discretization. Let y be a constant integer that represents the number of qualitative levels of an observed or inferred evidence in the BN, that is values of every node in the BN are always mapped to a fixed set of discrete values, k=1,…,y . For every i representing a non-descendant node, let Siq={Si1,…,Sim} represent the raw samples of m number of observations, where q=1,…,m is the number of non-discretized observed values of Siq . Then the equivalent discretized values of S will be computed as:

Di(non−descendant)q={1,li,1≤Siq<ui,12,li,2≤Siq<ui,2…y,li,1≤Siq<ui,y0,otherwise (3)

where Diq is the discrete values with operational range values and li,k and ui,k are the lower and upper thresholds for each discrete level of Siq , respectively. Lower and upper thresholds are defined as:

li,k=min(Oi)+ΔH×kandui,k=li,k+ΔH (4)

where Oi={min,max} is the set of the minimum and maximum operating values with user-defined thresholds based on the manufacturer’s datasheet or a validation device, min(Oi) is the minimum threshold value, max(Oi) is the maximum threshold value, and ΔH=(max(Oi)−min(Oi))/y is the step size between the levels. For example, in Figure 1(c), if the raw heart rate X1 is S1q={20,65,115,0} , the discrete sample observation for y = 6 is D1q={1,3,5,0} with l1,1=11 and u1,1=35 ; l1,2=35 and u1,2=55 ; l1,3=55 and u1,3=75 ; l1,4=75 and u1,4=95 ; l1,5=95 and u1,5=115 ; and 0 otherwise.

Data generation for descendant node values

After the measured observations of non-descendant nodes are discretized, we generate data for each immediate descendant node (non-measurable trust factor) that ultimately contributes to the trust goal. In requirements engineering, domain experts qualitatively describe the impact of the relationships between related NFRs. In our approach, we incorporate expert knowledge on factor impacts into the edges of our BN. For example, impacts are described as strongly positive (++), positive (+), neutral (O), negative (−), and strongly negative (−−). 14 We then replace the qualitative contributions with numerical weight coefficients. 9 The weight coefficient for the parent of node i is defined as :

WPa(i),jq={2p,positiveimpact−(2p),negativeimpact1,neutralimpact (5)

where p=1,…,P is the strength of the impact where 1 is the lowest and P is the strongest impact. In Figure 1(c), the impact of heart and breathing rate on reliability is qualitatively given as strongly positive (++, p=2 ) and neutral (O, p=0 ). The impact is then quantified with coefficients (equation (5)) WPa(5),1q=22=4 and WPa(5),2q=20=1 , respectively.

Propagation rules are then used to aggregate the contributions of the subgoals in the requirements engineering framework to the overall goal. We use a propagation rule to aggregate data for the descendant nodes based on discretized values of the measured observations of the non-descendant nodes. To propagate the impacts, we aggregate the weighted elements of the immediate parent nodes to generate the data for the descendant node as follows:

Si(descendant)q=∑j=1Ti(WPa(i),jq×DPa(i),jq),∀q=1,…,m (6)

where Ti is the number of parents of descendant node i . We can generalize this approach of aggregation to any discrete level in equation (5). For example, if D2q={2,2,4,1} , then multiplying the weight coefficients WPa(5),1q=4 and WPa(5),2q=1 , we aggregate to get S5q=WPa(5),1q×D5,1q+WPa(5),2q×D5,2q=4×{1,3,5,0} + 1 × {2,2,4,1} = {6, 14, 24, 1}. We compute Si(descendant)q for each descendant node using equation (6). To get Di(descendant)q , the data Si(descendant)q are discretized using equation (3). In our example, S5q is discretized following equation (3) to y=6 levels, and we get D5q={2,3,5,1} with l5,1=0 and u5,1=5 ; l5,2=5 and u5,2=10 ; l5,3=10 and u5,3=15 ; l5,4=15 and u5,4=20 ; l5,5=20 and u5,5=25 ; and 0 otherwise.

An advantage of incorporating impact weights into our BN is that we can study the impact of different opinions on trust quantification. For example, in Figure 1(c), another domain expert gives the degree of strength for both heart and breathing rate validated values as strongly positive (++, p=2), so WPa(5),1q=WPa(5),2q=4 . Using equation (6), S5(alternate)=WPa(5),1q×D5,1q+WPa(5),2q×D5,2q=4×{1,3,5,0} + 4 × {2,2,4,1} = {12, 20, 36, 4}. Note the difference between S5q={6,14,24,1} and S5(alternate)q={12,20,36,4} due to alternate weight impacts, which would impact the computed overall trust score.

Now that we have data (observed and generated) for all nodes of our BN, we compute prior and posterior probabilities for all nodes. The prior probability for node Xi in our BN with multinomial dataset Di that takes y discrete levels is computed as:

P(Xik)=∑q=0m(Diq=k)m,∀k=1,…,y (7)

where P(Xik) is the short form for P(Xi=k) . For example, the prior probabilities of nodes X1 and X2 (heart and breathing rate sensor validation) and X5 (reliability) for y=6 are P(D10)=P(D11)=P(D13)=P(D15)=P(D21)=P(D24)=0.25 ; P(D12)=P(D14)=P(D20)=P(D23)=P(D23)=0 ; and P(D22)=0.5 .

Next, we estimate the parameter θi for each descendant node. Note that we currently have discrete datasets for all nodes, that is, {Di[1],…,Di[m]} for i=1,…,n . The structure of the BN allows us to reduce the parameter estimation to a set of unrelated (disjoint) problems. Let P(Dik[1],…,Dik[m]) represents the joint probability of instances of node i to have value k . The joint distribution for the dataset of Dik and θi is then given as:

P(Dik[1],…,Dik[m],θi)=P(Dik[1],…,Dik[m]|θi)P(θi)=P(θi)∏q=1mDik[m]|θi),∀i=descendant (8)

where ∏q=1mP(Dik[m]|θi) is the likelihood function L(θi:Dik) of the parameters, and P(θi) is the prior probability of the parameters for the descendant node in concern. 29 Then the posterior probability of θi given the instances of Dik is computed as:

P(θi|Dik[1],…,Dik[m])=P(Dik[1],…,Dik[m]|θi)P(θi)P(Dik[1],…,Dik[m]) (9)

where P(Dik[1],…,Dik[m]) is the marginal probability. 29 Following these equations, in our example, we compute θ5 for the descendant node X5 (reliability) as: P(θ5|D51[1],…,D51[5]). Similarly, we can find the Bayesian parameters for descendant node X6 (robustness) represented as P(θ6|D61[1],…,D61[5]). We can then make inferences of trust ( X7 ), probability to be in a specific discrete state. For example, in Figure 1(c), we compute the probability that trust is high ( X71) , given reliability is high (X51) , and robustness is low (X60) as P(X71|X51,X60) .

Constructing the trust network

In this section, we describe a proof-of-concept BN by extracting trust factors from the American,23,24 Canadian,25,26,30,31 and European Union 22 regulatory requirements for trustworthy medical devices. To quantify the regulatory requirements in our BN, we mapped the requirements to more granular trust factors from the literature until we reached factors that are directly measured on a WMD, as shown in Figure 2. The trust-determining factors in this study are not exhaustive due to domain dependency. Nevertheless, our proposed mapping enables stakeholders to define their own trust network for WMDs.

Figure 2.

Figure 2.

Mapping USA, Canada, and European Union regulatory requirements to trust factors from the literature that can be directly measured on the devices. Dots denote mapping between regulatory requirements and R, O, S, and P trust factors.

R: reliability; O: operations; S: security; P: privacy.

We identified four main trust-determining factors: reliability, operations, security, and privacy. Reliability is the measurement of the capacity of the WMD network.32,33 We refined reliability in terms of network quality and loss to evaluate the efficiency34,35 and effectiveness36,37 of the network, respectively. For network quality, we measure network latency 35 and power consumption. 38 For network loss, we measure received signal strength, 20 memory consumption, 9 and the signal loss. 32 Operations is the measurement of the sensor performance.2,37 We refined operations in terms of sensor accuracy to assess if the sensor behaves according to the manufacturer’s specifications,38,39 and sensor quality to evaluate the recorded signal quality compared to a baseline. 38 We further refined sensor accuracy to measurable factors such as bio-signal from multiple sensors, 35 time since the last calibration, 2 age of the sensor, 2 and sensor profile. 2 For sensor quality, we measure the bio-signal quality 37 and the sampling rate of the sensors. 2 Security measures how safe and protected communication is between different parts of the system.4,9 We refined security in terms of standards and data protection to evaluate compliance with security protocols and confidentiality. 4 Standards and data protection were further refined to evaluate system encryption, 12 integrity 12 (unauthorized parties do not change sensor data), and anonymization. 9 Privacy assesses that personal data in the system are treated safely and securely.6,20 We refined privacy in terms of data utility to evaluate use only by authorized users and for its approved purpose. 40 Data utility was further refined to safe storage, 40 transparency 6 (data flow is visible to stakeholders), and authorized data usage. 9

Figures 3 and 4 present an instantiation of a subset of the trust factors mapped in Figure 2. For our proof-of-concept BNs, we considered two main trust-determining factors: reliability and operations. The refined measurable factors forming the non-descendant nodes are the heart ( X1 ) and breathing ( X2 ) rate sensor validation; heart rate ( X3 ) and breathing rate ( X4 ) quality; memory consumption and signal loss ( X5 and X6 ); and power consumption and latency ( X7 and X8 ). The instantiated trust factors forming the descendant nodes for the second layer of our hierarchical BN are sensor accuracy ( X9 ), sensor quality ( X10 ), network loss ( X11 ), and network quality ( X12 ). The descendant nodes of the second layer contribute to the trust-determining factors of reliability ( X13 ) and operations ( X14 ) in the third layer of the BN, which then determine the overall trust ( X15 ) of a WMD. Data for the descendant nodes are generated based on the impacts between the parent nodes defined by the experts (equations [5] and [6]).

Figure 3.

Figure 3.

Homogeneous Bayesian network (used for BN1-BN3) to quantify trust in WMD analyzing heart and breathing rate sensor validation, heart and breathing rate quality, signal loss, memory and power usage, latency, sensor accuracy and quality, network loss and quality, operations, and reliability.

T: trust; WMD: wearable medical device; H: heart rate sensor validation; B: breathing rate sensor validation; HQ: heart rate quality; BQ: breathing rate quality; S: signal loss; M: memory usage; P: power usage; L: latency; SA: sensor accuracy; SQ: sensor quality; NL: network loss; NQ: network quality; O: operations; R: reliability.

Figure 4.

Figure 4.

Heterogeneous Bayesian network (BN4) to quantify trust in WMD analyzing heart and breathing rate sensor validation, heart and breathing rate quality, signal loss, memory and power usage, latency, sensor accuracy and quality, network loss and quality, operations, and reliability.

T: trust; WMD: wearable medical device; H: heart rate sensor validation; B: breathing rate sensor validation; HQ: heart rate quality; BQ: breathing rate quality; S: signal loss; M: memory usage; P: power usage; L: latency; SA: sensor accuracy; SQ: sensor quality; NL: network loss; NQ: network quality; O: operations; R: reliability.

Results

In this section, we evaluate our data-driven approach to estimate Bayesian parameters in terms of learnability and generalizability. For learnability, we determine how similar the relative trust scores are for the two WMDs under the same test conditions. We hypothesize that the trust score ( X15 ) will be similar across devices in the same usage conditions (e.g. walking in the evening). We also compare the BN-quantified scores for individual nodes (e.g. reliability) between the WMDs. We also conducted a comparative analysis of proof-of-concept BNs to investigate the effect of different model configurations (impact weights, propagation rules, and homogeneous and heterogeneous nodes) on computing the trust scores. For generalizability, we assess how reducing the number of data samples from 10,000,000 to 100 by a magnitude of 10 affects the trust score. We also evaluate how the trust score is affected by increasing the noise level from 0 to 40% (5% increments). The experimental analysis was conducted on a 64-bit Windows 10 laptop with a 2.5-GHz Intel Core i9 CPU.

Data collection and processing

We developed BNs for the trust quantification of the Zephyr BioHarness 3.0 device (Zephyr Bioharness 3.0 User Manual) and Astroskin Vital Signs Monitoring System (Astroskin Vital Sign Monitoring Platform). The Apple Watch Series 7 (Apple Watch 7 - Technical Specifications) was used as our validation device. We evaluated the WMDs in two use cases. Use Case 1 is a set of predefined activities (sitting, standing, and walking at a speed of 4 MPH) for 30 min each indoors and outdoors, performed by three participants, one female (45–55 years) and two males (20–30 years). An indoor condition is when the activities were performed in a room of 50 × 50 m containing two or fewer people with wireless devices (e.g. phones, smartwatches, and laptops) excluding the participant. An outdoor condition is when the activities are performed in a park containing at least 10 people with wireless devices, excluding the participant. The outdoor activity was performed in the morning (6:00–8:00) and evening (18:00–20:00) when the park had 10–12 and 40–50 people with wireless devices, respectively. In Use Case 2, daily activities (e.g. sleeping, sitting, working, and walking) were performed by a female participant (45–55 years) for two 24-h periods in hybrid (indoors and outdoors) conditions. All participants wore the Astroskin (right side of the lower abdomen), Zephyr (left side of the upper abdomen), and Apple Watch (left wrist) at the same time.

We collected measured observations {S11,…,S8m} for the non-descendant nodes (X1,…,X8) of our BN from each WMD for Use Cases 1 and 2. The raw samples of the measured observations were discretized with user-defined thresholds from the datasheet to y=6 discrete levels using equations (3) and (4). Datasets D1q and D2q(X1 and X2) are obtained by validating the heart and breathing rate sensor observations with the Apple Watch. 41 For D3q and D4q ( X3 and X4 ), we compared the heart and breathing rate quality level with a predetermined noise threshold ( li,k and ui,k ) Hexoskin API Documentation; Zephyr Bioharness Log data description. For D5q ( X5 ), the memory consumed during use was compared with user-defined thresholds. For D6q ( X6 ), signal loss, we calculated the amount of null or missing data during use.42,43 For D7q(X7) , power usage, we compare the battery level with a predetermined threshold (https://docs.rs-online.com/585c/0900766b81249809.pdf). For D8q(X8) , latency, we compare the delay with the threshold for the application.

A total of 16 datasets were collected for this study. In Use Case 1, we collected a dataset for each of the three participants wearing WMDs in indoor (6 datasets) and outdoor conditions (6 datasets). In Use Case 2, we collected two datasets for one participant wearing WMDs in hybrid conditions over two 24-h periods (4 datasets). The local research ethics committee approved the study, and all subjects consented.

BN for trust quantification

We compared the learnability and generalizability performances for four BNs (BN1–BN4) for trust quantification. The BN1–BN4 configurations are summarized in Table 2. BN1–BN3 have the same homogeneous BN (Figure 3) and propagation rule (equation [6]). In BN1, all edges have a uniform weight equal to one ( WPa(i),jq=1) and binary diretization levels. BN2 has uniform weights, but the nodes are granularized to six discrete levels. We use six discretized levels indicating the probability distribution of the nodes with levels y={″invalid,″″verylow,″″low,″″average,″″high,″″veryhigh″} = {0,1,2,3,4,5} based on the user-defined thresholds. BN3 has granular discretization ( y=6 ), but weights are defined by expert knowledge (equation [5] with p=5 ). In BN1–BN3, we use homogeneous BN structures (Figure 3), where we assume each node has two parents, which is not always true. For example, network loss ( X11 . ) is impacted by memory consumption ( X5 ), signal loss ( X6 ), and power consumption ( X7 ). To investigate the impact of interrelated parent nodes, we developed a heterogeneous BN4 (Figure 4) with discretization levels y=6 and propagation rule (equation [6]). We generated Alternative A, B, and C impact weights (Table 1) for BN3 and BN4 to investigate the impact of different weights on the BN performance.

Table 2.

BN configurations.

BN1 BN2 BN3 BN4
Discretization levels (y) 2 6 6 6
Impact weight (WPa(i),jq) Uniform (1) Uniform (1) Alternative A–C
(Table 1)
Alternative A–C
(Table 1)
BN nodes Homogenous Homogenous Homogeneous Heterogeneous

BN: Bayesian network.

Table 1.

Alt qualitative (−−, −, O, +, ++) and quantitative (number) impacts for the homogeneous (BN3) and heterogeneous (BN4) networks for SA, SQ, NL, NQ, O, R, and T nodes.

Node Impact weights BN3 BN4
Alt A Alt B Alt C Alt A Alt B Alt C
SA WPa(9),1q ++ (+4) + (+2) ++ (+4) ++ (+4) + (+2) ++ (+4)
WPa(9),2q + (+2) + (+2) ++ (+4) + (+2) + (+2) ++ (+4)
WPa(9),3q N/A N/A N/A ++ (+4) + (+2) O (+1)
WPa(9),4q N/A N/A N/A − (−2) + (+2) O (+1)
SQ WPa(10),3q + (+2) + (+2) O (+1) + (+2) + (+2) O (+1)
WPa(10),4q − (−2) + (+2) O (+1) − (−2) + (+2) O (+1)
WPa(10),5q N/A N/A N/A O (+1) −− (−4) − (−2)
NL WPa(11),5q ++ (+4) + (+2) − (−2) ++ (+4) + (+2) − (−2)
WPa(11),6q ++ (+4) − (−2) − (−2) ++ (+4) − (−2) − (−2)
WPa(11),8q N/A N/A N/A O (+1) − (−2) −− (−4)
NQ WPa(12),5q N/A N/A N/A O (+1) −− (−4) − (−2)
WPa(12),7q O (+1) ++ (+4) O (+1) O (+1) O (+1) O (+1)
WPa(12),8q ++ (+4) ++ (+4) + (+2) ++ (+4) ++ (+4) + (+2)
O WPa(13),9q + (+2) ++ (+4) O (+1) + (+2) ++ (+4) O (+1)
WPa(13),10q + (+2) + (+2) ++ (+4) + (+2) + (+2) ++ (+4)
R WPa(14),11q − (−2) + (+2) O (+1) − (−2) + (+2) O (+1)
WPa(14),12q + (+2) ++ (+4) − (−2) + (+2) ++ (+4) − (−2)
T WPa(15),13q + (+2) + (+2) ++ (+4) + (+2) + (+2) ++ (+4)
WPa(15),14q + (+2) ++ (+4) + (+2) + (+2) ++ (+4) + (+2)

Alt: alternative; BN: Bayesian network; SA: sensor accuracy; SQ: sensor quality; NL: network loss; NQ: network quality; O: operations; R: reliability; T: trust; N/A: not applicable.

Evaluation of noise on trust model

We computed the trust score under noise levels from 0 to 40% (5% increments) for our example BN in Figure 1(b). The noise represents missing values from signal loss due to connectivity problems, which is a common concern of WMD users.8,9,44,45 The BN had a uniform weight equal to one for all edges ( WPa(i),jq=1) and binary discretization levels.

Comparative analysis

Tables 3 to 6 show the inference scores for BN1–BN4, respectively. The average trust score for Astroskin was higher than Zephyr in Use Case 1 but lower in Use Case 2. Our results show Astroskin was more trustworthy during short-duration activities (Use Case 1). On the other hand, Zephyr was more trustworthy during long-duration activities (Use Case 2). Table 3shows the inference scores for BN1. The probabilities for the overall trust descendant node X15 for low and high states for the parents’ operations (X13 ) and reliability (X14 ) are shown. The probability that trust is high ( X151 ), given the parents’ operations and reliability are high ( X131 and X141 ), is P(X151|X131,X141), ~0.9 and ~0.7 for both WMDs in Use Cases 1 and 2, respectively. The trust score P(X151|X130,X140) > 0.3 over all test cases, which was higher than hypothesized (~0). Table 4 shows the average inference score for BN2 for all impact levels of the parent nodes. With six granularized levels, the probability space for our BN is 2016 as compared to 448 for binary granularization. The trust scores for P(X155|X135,X145) were ~0.35 for both WMDs, despite our expectation that the probability of the devices should be large (~0.9) given the high levels of the parents. The trust scores for q=3,4 (average and high) of the parents were ~0.7 to 0.8, and for q≤2 (invalid, very low, and low) were ~0 to 0.3. Table 5 shows the average inference score for BN3 Alternatives A–C. The trust scores for BN3 (user-defined impacts) were higher than the scores of BN2 (uniform impact) for Use Cases 1 and 2. The average trust score for Alternative B was higher than Alternatives A and C for all WMDs and use cases. Table 6 shows the result of inference scores for BN4 with heterogeneous parents. We hypothesized that heterogeneous nodes would change the trust computation. However, our results show that the effect of heterogeneous compared to homogeneous nodes was negligible for both WMDs in Use Cases 1 and 2.

Table 3.

Inference scores (average ± standard deviation) of trust and R for BN1 with A and Z.

Inference WMD Use Case 1 (indoor)
(n = 3)
Use Case 1 (outdoor)
(n = 3)
Use Case 2 (hybrid)
(n = 2)
Trust P(X151|X131,X141) A 0.960 ± 0.004 0.690 ± 0.012 0.670 ± 0.063
Z 0.810 ± 0.012 0.561 ± 0.016 0.780 ± 0.007
P(X151|X130,X140) A 0.500 ± 0.009 0.540 ± 0.018 0.331 ± 0.008
Z 0.437 ± 0.004 0.356 ± 0.004 0.464 ± 0.060
R P(X141|X111,X121) A 0.860 ± 0.017 0.886 ± 0.004 0.647 ± 0.007
Z 0.802 ± 0.090 0.705 ± 0.098 0.889 ± 0.009

R: reliability; BN: Bayesian network; A: Astroskin; Z: Zephyr.

Table 6.

Inference scores (average ± standard deviation) of trust and R for BN4 Alt A–C with A and Z.

Inference WMD Use Case 1 (indoor)
(n = 3)
Use Case 1 (outdoor)
(n = 3)
Use Case 2 (hybrid)
(n = 2)
Alt A Alt B Alt C Alt A Alt B Alt C Alt A Alt B Alt C
Trust P(X155|X135,X145) A 0.400 ± 0.004 0.420 ± 0.016 0.416 ± 0.002 0.370 ± 0.020 0.300 ± 0.004 0.380 ± 0.018 0.315 ± 0.006 0.380 ± 0.004 0.360 ± 0.020
Z 0.420 ± 0.016 0.380 ± 0.02 0.309 ± 0.012 0.300 ± 0.020 0.330 ± 0.004 0.320 ± 0.020 0.390 ± 0.014 0.300 ± 0.007 0.310 ± 0.04
P(X155|X133,X143) A 0.770 ± 0.032 0.800 ± 0.100 0.740 ± 0.036 0.790 ± 0.033 0.770 ± 0.004 0.789 ± 0.010 0.615 ± 0.02 0.670 ± 0.020 0.670 ± 0.040
Z 0.860 ± 0.028 0.940 ± 0.020 0.900 ± 0.018 0.710 ± 0.050 0.816 ± 0.050 0.780 ± 0.060 0.810 ± 0.014 0.820 ± 0.007 0.810 ± 0.021
P(X155|X130,X140) A 0 0 0 0 0 0 0 0 0
Z 0.002 ± 0.002 0 0.030 ± 0.030 0 0.015 ± 0.002 0.021 ± 0.020 0 0 0
R P(X145|X113,X123) A 0.426 ± 0.119 0.470 ± 0.007 0.412 ± 0.117 0.466 ± 0.119 0.518 ± 0.117 0.562 ± 0.127 0.333 ± 0.119 0.340 ± 0.012 0.322 ± 0.110
Z 0.516 ± 0.001 0.477 ± 0.005 0.476 ± 0.016 0.411 ± 0.001 0.589 ± 0.005 0.506 ± 0.017 0.396 ± 0.011 0.380 ± 0.015 0.399 ± 0.006

R: reliability; BN: Bayesian network; Alt: alternative; A: Astroskin; Z: Zephyr.

Table 4.

Inference scores (average ± standard deviation) of trust and R for BN2 with A and Z.

Inference WMD Use Case 1 (indoor)
(n = 3)
Use Case 1 (outdoor)
(n = 3)
Use Case 2 (hybrid)
(n = 2)
Trust P(X155|X135,X145) A 0.370 ± 0.030 0 0
Z 0.320 ± 0.040 0 0
P(X155|X134,X144) A 0.752 ± 0.040 0.530 ± 0.016 0.650 ± 0.012
Z 0.729 ± 0.140 0.660 ± 0.029 0.760 ± 0.020
P(X155|X133,X143) A 0.786 ± 0.012 0.830 ± 0.016 0.890 ± 0.016
Z 0.723 ± 0.020 0.860 ± 0.029 0.870 ± 0.029
P(X155|X132,X142) A 0.323 ± 0.040 0.282 ± 0.070 0.062 ± 0.070
Z 0.282 ± 0.100 0.231 ± 0.004 0.041 ± 0.004
P(X155|X131,X141) A 0.003 ± 0.080 0 0.650 ± 0.012
Z 0 0 0.760 ± 0.020
P(X155|X130,X140) A 0 0 0.050 ± 0.008
Z 0 0 0
R P(X145|X113,X123) A 0.276 ± 0.117 0.547 ± 0.007 0.477 ± 0.007
Z 0.254 ± 0.010 0.649 ± 0.090 0.541 ± 0.090

R: reliability; BN: Bayesian network; A: Astroskin; Z: Zephyr.

Table 5.

Inference scores (average ± standard deviation) of trust and R for BN3 Alt A–C with A and Z.

Inference WMD Use Case 1 (indoor)
(n = 3)
Use Case 1 (outdoor)
(n = 3)
Use Case 2 (hybrid)
(n = 2)
Alt A Alt B Alt C Alt A Alt B Alt C Alt A Alt B Alt C
Trust P(X155|X135,X145) A 0.810 ± 0.016 0.853 ± 0.016 0.856 ± 0.004 0.390 ± 0.020 0.340 ± 0.004 0.135 ± 0.002 0.305 ± 0.040 0.288 ± 0.020 0.260 ± 0.020
Z 0.650 ± 0.014 0.831 ± 0.012 0.482 ± 0.020 0.476 ± 0.004 0.416 ± 0.012 0.168 ± 0.012 0.430 ± 0.007 0.445 ± 0.021 0.430 ± 0.007
P(X155|X133,X143) A 0.790 ± 0.018 0.798 ± 0.005 0.730 ± 0.040 0.750 ± 0.040 0.860 ± 0.014 0.790 ± 0.004 0.635 ± 0.030 0.695 ± 0.007 0.535 ± 0.020
Z 0.830 ± 0.009 0.731 ± 0.020 0.795 ± 0.009 0.707 ± 0.005 0.824 ± 0.015 0.800 ± 0.025 0.790 ± 0.049 0.810 ± 0.014 0.831 ± 0.028
P(X155|X130,X140) A 0 0.002 ± 0.003 0 0.001 ± 0.001 0 0 0.021 ± 0.026 0.075 ± 0.007 0.025 ± 0.028
Z 0 0 0 0.007 ± 0.020 0 0 0.057 ± 0.060 0.018 ± 0.002 0.160 ± 0.197
R P(X145|X113,X123) A 0.526 ± 0.119 0.605 ± 0.007 0.605 ± 0.117 0.526 ± 0.119 0.713 ± 0.117 0.570 ± 0.127 0.426 ± 0.119 0.410 ± 0.012 0.596 ± 0.110
Z 0.816 ± 0.001 0.723 ± 0.005 0.880 ± 0.016 0.516 ± 0.001 0.580 ± 0.005 0.816 ± 0.017 0.496 ± 0.011 0.480 ± 0.015 0.722 ± 0.006

R: reliability; BN: Bayesian network; Alt: alternative; A: Astroskin; Z: Zephyr.

Table 7 shows our results to assess generalizability. The results show that the trust score slightly dropped when we reduced the sample size from 10,000,000 to 100. The trust score dropped from ~0.8 (1000 samples) to ~0.5 (10 samples). We observed the same performance when we decreased the sample sizes for BN1–BN4 for both WMDs.

Table 7.

Trust scores for different sample sizes for BN1–BN2 and BN3–BN4 (Alt B) for Use Case 1 (indoors) with A and Z.

Samples BN1
P(X151|X131,X141)
BN2
P(X155|X134,X144)
BN3 (Alt B)
P(X155|X134,X144)
BN4 (Alt B)
P(X155|X134,X144)
A Z A Z A Z A Z
10,000,000 0.889 0.873 0.854 0.821 0.760 0.724 0.858 0.830
1,000,000 0.889 0.873 0.854 0.821 0.760 0.724 0.858 0.830
100,000 0.86 0.867 0.820 0.810 0.740 0.723 0.833 0.800
10,000 0.85 0.861 0.780 0.770 0.718 0.700 0.800 0.780
1000 0.85 0.834 0.780 0.755 0.717 0.690 0.790 0.768
100 0.59 0.550 0.449 0.443 0.420 0.410 0.500 0.590
10 0.52 0.500 0.455 0.400 0.400 0.380 0.490 0.460

BN: Bayesian network; Alt: alternative; A: Astroskin; Z: Zephyr.

In addition to computing the trust scores, we can compute the probability of any descendant nodes for BN1–BN4, given the parents’ discretized level. We present the computed score for the probability of reliability P(X145|X113,X123) in Tables 3 to 6. The reliability scores for Astroskin were higher than Zephyr in Use Case 1 but not in Use Case 2. The reliability performance scores were similar to the trust score for both WMDs in Use Cases 1 and 2.

Table 8 shows the effect of noise on our preliminary model in Figure 1(b). The probability that the trust score is high, given the probabilities of the parent nodes are high, P(X71|X51,X61) decreased linearly from 0.837 to 0.610 (Astroskin) and from 0.781 to 0.552 (Zephyr) when the noise level was increased from 0 to 40%, respectively.

Table 8.

Trust scores for our example BN of Figure 1(b) with uniform weight equal to one on A and Z for Use Case 1 with injected noise for varying noise levels.

Noise (%) WMD P(X71|X51,X61)
0 A 0.837
Z 0.781
5 A 0.810
Z 0.728
10 A 0.780
Z 0.706
15 A 0.755
Z 0.696
20 A 0.710
Z 0.658
25 A 0.695
Z 0.607
30 A 0.643
Z 0.587
35 A 0.623
Z 0.561
40 A 0.610
Z 0.522

BN: Bayesian network; A: Astroskin; Z: Zephyr; WMD: wearable medical device.

Discussion

Our BN provides a relative measure of trustworthiness between WMDs. We present a BN structure for trust quantification identified from our mapping of regulatory requirements, trust factors from the literature, and measurements from WMD. Using a BN structure enables stakeholders to define the trustworthiness factors used to assess WMD explicitly. Our data-driven approach can then estimate the parameters for any BN structure using the measured observations from the WMD instead of defining the parameters based on Gaussian distributions or expert knowledge. Our proposed BN provides a mechanism for the stakeholders in our motivating scenario to select a trustworthy WMD. The relative trust score helps Alex choose the WMD based on trustworthiness factors such as operations. Alex’s doctor and the trainer also decide which WMD can be used for monitoring Alex’s health during indoor and outdoor activities based on the WMD’s sensor accuracy and reliability.

The average trust scores for BN1 (Table 3) for the case P(X151|X130,X140) were higher than expected (~0). Further investigation demonstrated that the binary discretization captured a broad range of values for each threshold condition. For example, if power consumption threshold limits are 60 ≤ Siq ≤ Siq 100, then the power consumption of 61 and 99% would both be discretized to high with binary discretization and the remaining range of values would be low. The wide range resulted in a higher probability for the low discrete state. Using more granularized levels (y=6), the trust score for low, average, and high levels performed as expected.

Our results also demonstrate the challenge of having too fine granularization levels with the collected dataset. The average trust scores for BN2 (Table 4) for P(X155|X135,X145) were small because granularization was too fine, which resulted in few samples per level. For example, with y=6 we would only have two samples in the high probability levels (90 ≤ Siq ≤ 100) of operations (X135) and reliability (X145) dataset. In contrast, binary discretization had too many samples per level, which increased the calculated node probability. The effect of granularity on the nodes can also be used to provide insight into the different levels of trustworthiness based on the real measured observations from the device. For example, if the device does not have any node values in the very high level then the WMD’s score of the very high level of trustworthiness would be ~0.

For BN3 (Table 5), the Alternatives A–C’s weight strengths were successfully reflected in the trust score over different WMDs and use cases. Our results demonstrate that BNs can be used to compare and contrast expert knowledge. For example, we could investigate how much the trust score changes with opinions on impacts with varying strengths (e.g. all low or high levels).

In BN4 (Table 6), the trust scores for the heterogeneous BN had a negligible effect on the average trust scores across the use cases and WMDs. However, the impact on a specific descendant node, such as P(X91|X11,X21,X31,X41) and P(X101|X31,X41) , indicates the effect of inter-related parents. There is a need to further investigate heterogeneity for all the nodes of the BN.

The learned parameters for our BN resulted in similar trust scores for both WMDs under Use Cases 1 and 2 (Tables 3 to 6). Our results indicate that though the measured observations from the two WMDs were unique to the device, the parameter estimation approaches produced similar results under the same conditions, thus demonstrating the learnability of our approach. The overall trust score was similar between the different use cases for both the WMDs. Table 7 demonstrates the generalizability of the Bayesian-based parameter estimation with fewer training samples compared to discriminative models. 46 Reducing the sampling had little effect on Bayesian parameter estimation because it is based on discrete distributions, not individual samples, for learning the parameters. Table 8 demonstrates our BN robustness to increasing noise levels (missing values due to signal loss) as the computed trust scores decreased by 27.12 and 29.32% for the worst-case scenario of 40% noise for Astroskin and Zephyr, respectively.

Our study exhibits some limitations: First, the raw samples of the measured observations for the non-descendant nodes were discretized with user-defined thresholds (equations [3] and [4]) defined by the authors to demonstrate our proof-of-concept data-driven approach. Next, the generation of prior probabilities for all the descendant nodes is based on the strength of the relationship with the parent nodes defined by the authors. Finally, the credibility of our trust score depends on the trust factors in our BN, which we identified by reviewing the literature and mapping with regulatory standards.

Related work

Trust is a complex concept with many interconnected contributing factors. 47 Evaluating the trustworthiness of a system must consider different factors and their associated uncertainty. Requirements engineering frameworks such as NFR, i*, and knowledge acquisition in the automated specification10,11 are used to systematically determine the requirements to be achieved by complex interconnected software systems. The requirements engineering frameworks are also used to capture requirements that reflect user (stakeholder) needs (e.g. security, trust, privacy).

There is interest in using BN to model requirements engineering frameworks for trust quantifciation.14,15,16,17,18,48–50 A major challenge in BN parameter estimation is the need to have priors for all the nodes of the BNs. Selection of the priors is critical in Bayesian inference since the prior distribution heavily weights the parameter estimation. In previous studies,15,16,18,19,48–50 the BNs are based on simulated data or a combination of expert knowledge and historical datasets, which may not accurately represent the priors. Simulated data17,20 used for prior estimation consider standard distributions with assumed parameters. For example, Thomas et al. 20 demonstrated BN for trust quantification of a medical system assuming a Gaussian distribution for all the nodes of the BN. Assuming a standard distribution can lead to biased objective quantification and over-fitting. 15 Another technique to define the priors of the BN is to use expert knowledge. Wang 19 demonstrated BN for trust quantification of cyber-physical systems where expert opinion is used for subjective prior estimation for the nodes representing the network of the cyber-physical system in the BN. Zouridaki et al. 48 proposed an opinion-based Bayesian framework for reliable packet delivery in mobile ad hoc networks to assign trustworthiness to the nodes in an attacker model. However, experts may be required to provide an exponential number of feedback based on the complexity of the BN structure, which would be expensive and insufficient. Historical data38,40 can also be used to estimate the priors of the BN. Wang and Vassileva 50 demonstrated BN-based trust model for a file-sharing peer-to-peer application based on historical files (e.g. music) to select file providers that match the peers’ preferences. Flouri et al. 16 used a data-driven approach (with motion data) for Bayesian parameter estimation to incorporate motion correction in the placenta during gestation. Meng et al. 18 proposed a data-driven BN model integrating a mix of historical data and collected data for structure and parameter learning of the BN to prioritize the risk-influencing factors in an oil well. However, domain-specific historical data are not always available. In this article, we present a generic Bayesian-based parameter estimation using a data-driven approach with data collected from WMD and aggregation based on the NFR propagation rule to generate the priors for all the nodes in the BN.

Conclusions

In this article, we presented a data-driven approach to estimate parameters in the BN when subjective and stochastic concepts such as trust need to be quantified. To compute the trust score, we need to access the prior probabilities of all the nodes in the BN. Inspired by NFR techniques, we incorporated expert knowledge to qualitatively express the strength of the relationships between the nodes (trust factors) in our BN. We then used propagation rules to quantify and aggregate the qualitatively linked trust factors and generate the priors for the network. We also presented our proof-of-concept BN to quantify trust in WMDs based on the trust factors in the literature mapped to regulatory standards. We learned the BN parameters of our structure using our data-driven approach for two WMDs under identical use cases. To assess the performance of the BN, we performed a comparative analysis with different granularization levels, impact weights, homogeneous and heterogeneous nodes, and noise levels. Our results demonstrate the learnability and generalizability of our data-driven approach.

For future work, we will develop a systematic methodology to generate synthetic representative data under various normal and noisy conditions to investigate their effect on trust with our BN. We will also conduct a survey to empirically evaluate and refine trust factors based on stakeholders’ perspectives (e.g. sensor accuracy, device security, and data privacy). Finally, we will investigate our data-driven approach for different WMDs and use cases.

Appendix 1

Table 9.

Mathematical notations.

Notation Description
G=(X,E) Bayesian Network G with X nodes and E edges
Xi Node i in X
+ Positive impact
– Negative impact
P(Xi) Prior probability of node Xi
PaXi Set of parents of node Xi
θ Set of parameters for nodes
P(PaXi|Xi) Likelihood probability of observing new evidence, given Xi
P(Xi|PaXi) Posterior probability of Xi given the parents of Xi
P(PaXi) Marginal probability of the evidence
P(X1,…,Xn) Joint probability distribution of nodes Xi to Xn
Siq={Si1,…,Sim} Raw samples of observations of node i , where q=1,…,m is the number of non-discretized observed values of Siq
Diq Discrete values of Siq with operational range values
k=1,…,y k is fixed set of discrete values taking values 1 to y
li,k Lower threshold for each discrete level of Siq
ui,k Upper threshold for each discrete level of Siq
Oi={min,max} Set of minimum and maximum operating values
ΔH Step size between the discrete levels
WPa(i),jq Weight coefficients for the parents of node i for j parents for q values
p=1,…,P Strength of the impact (1 is the lowest and P is the strongest)
Ti Number of parents of descendant node i
P(Xik) Probability of Xi for k discrete levels
P(Dik[1],…,Dik[m],θi) Joint probability of discrete dataset for node i to have k discrete levels, given θi
P(θi|Dik[1],…,Dik[m]) Posterior probability of θi given the instances of Dik
P(Xik|PaXik) Probability of node Xi at level k given parents of node Xi at level k

Table 10.

List of abbreviations.

Abbreviation Description
WMD Wearable medical devices
NFR Non-functional requirements
BN Bayesian networks
IoT Internet of things
CPS Cyber-physical systems

Footnotes

Authors’ contributions: MT and RS participated in the design, interpretation of the studies, data analysis, and manuscript review; MT wrote the manuscript; and OB, RS, and TED reviewed the manuscript.

The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.

Funding: The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work is supported by the Natural Sciences and Engineering Research Council of Canada Discovery and Innovation for Defense Excellence and Security grants.

Ethical approval: This survey has been reviewed and approved by McMaster University, the Office of Research Ethics, and the Toronto Metropolitan University Ethics Board, Office of Research Ethics.

References

  • 1. Cilliers L. Wearable devices in healthcare: privacy and information security issues. Health Inf Manag 2020;49:150–6 [DOI] [PubMed] [Google Scholar]
  • 2. Shin M. Secure monitoring with unreliable mobile devices. J Biomed Biotechnol 2012;1:1–7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Wilkowska W, Ziefle M. Determinants of trust in acceptance of medical assistive technologies. In: 2018 4th international conference in information and communication technologies for ageing well and e-health (ICT4AWE), Funchal, 22–23 March 2018, pp.45–65. Berlin: Springer [Google Scholar]
  • 4. Sicari S, Rizzardi A, Grieco LA, Coen-Porisini A. Security, privacy and trust in IoT: the road ahead. Comput Netw 2015;1:146–64 [Google Scholar]
  • 5. Montague ENH, Kleiner BM, Winchester III WW. Empirically understanding trust in medical technology. Int J Ind Ergon 2009;39:628–34 [Google Scholar]
  • 6. Chen M, Qian Y, Chen J, Hwang K, Mao S, Hu L. Privacy protection and intrusion avoidance for cloudlet-based medical data sharing. IEEE Trans Cloud Comput 2016;8:1274–83 [Google Scholar]
  • 7. Liu JYW, Sorwar G, Rahman MS, Hoque MR. The role of trust and habit in the adoption of mhealth by older adults in Hong Kong: a healthcare technology service acceptance (HTSA) model. BMC Geriatr 2023;23:73. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Chang CC. Exploring the usage intentions of wearable medical devices: a demonstration study. Interact J Med Res 2020;9:e19776 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9. Jaigirdar FT, Rudolph C, Bain C. Can i trust the data i see? A physician’s concern on medical data in IoT health architectures. In: Proceedings of the 16th Australasian computer science week multiconference, Sydney, NSW, Australia, 29–31 January 2019, pp.1–10. New York: Association for Computing Machinery (ACM) [Google Scholar]
  • 10. Eric SK, Giorgini P, Maiden N, Mylopoulos J. Social modeling for requirements engineering. Cambridge, MA: MIT Press, 2011 [Google Scholar]
  • 11. Chung L, do Prado Leite JCS. On non-functional requirements in software engineering. In: Borgida AT, Chaudhri VK, Giorgini P, Yu ES. (eds) Conceptual modeling: foundations and applications—essays in honor of John Mylopoulos. Berlin: Springer, 2009, pp.363–79 [Google Scholar]
  • 12. Sun W, Cai Z, Li Y, Liu F, Fang S, Wang G. Security and privacy in the medical Internet of things: a review. Security Commun Netw 2018;2018:1–9 [Google Scholar]
  • 13. Samavi R, Topaloglou T. Designing privacy-aware personal health record systems. In: Advances in conceptual modeling—challenges and opportunities: ER 2008 workshops, Barcelona, 20–23 October 2008, pp.12–21. Berlin: Springer [Google Scholar]
  • 14. Letier E, Van Lamsweerd A. Reasoning about partial goal satisfaction for requirements and design engineering. In: Proceedings of the 12th international symposium on foundations of software engineering (SIGSOFT), Newport Beach, CA, 31 October–6 November 2004, pp.53–62. New York: Association for Computing Machinery (ACM) [Google Scholar]
  • 15. Holden M, Pereyra M, Zygalakis KC. Bayesian imaging with data-driven priors encoded by neural networks: theory, methods, and algorithms. SIAM J Imag Sci 2022;15:892–924 [Google Scholar]
  • 16. Flouri D, Owen D, Aughwane R, Mufti N, Sokolska M, Atkinson D, Kendall G, Bainbridge A, Vercauteren T, David AL, Ourselin S. Improved placental parameter estimation using data-driven Bayesian modelling. In: 22nd international conference medical image computing and computer assisted intervention (MICCAI), Shenzhen, China, 13–17 October 2019, pp.609–16. Berlin: Springer [Google Scholar]
  • 17. Karakostas B. Event Prediction in an IoT environment using Naïve Bayesian models. In: 7th international conference on ambient systems, networks, and technologies (ANT) affiliated workshops, Madrid, 23–26 May 2016, pp.11–7. Amsterdam: Elsevier [Google Scholar]
  • 18. Meng H, An X, Xing J. A data-driven BN model integrating physical knowledge for prioritization of risk factors. Process Safety Environ Prot 2022;160:434–49 [Google Scholar]
  • 19. Wang Y. Quantifying trust perception to enable design for connectivity in cyber-physical-social systems. Emotional Eng 2020;8:85–113 [Google Scholar]
  • 20. Thomas M, Samavi R, Doyle TE. Trust quantification for autonomous medical advisory systems. In: 18th international conference on privacy, security and trust (PST), Auckland, New Zealand, 13–15 December 2021, pp.1–7. New York: IEEE [Google Scholar]
  • 21. Ji Z, Xia Q, Meng G. A review of parameter learning methods in BN. In: Advanced intelligent computing theories and applications: advanced intelligent computing theories and applications (ICIC), Fuzhou, China, 20–23 August 2015, pp.3–12. Springer [Google Scholar]
  • 22. EU. Medical Device Regulation. 2017, https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:32017R0745
  • 23. US FDA. Guidance for industry. Digital health technologies for remote data acquisition in clinical investigations. 2021, https://www.fda.gov/regulatory-information/search-fda-guidance-documents/digital-health-technologies-remote-data-acquisition-clinical-investigations
  • 24. US FDA. Health FDA draft for cybersecurity in medical devices. 2022, https://www.fda.gov/media/119933/download
  • 25. Government of Canada medical devices regulations, 2022, https://laws-lois.justice.gc.ca/eng/regulations/sor-98-282/
  • 26. Health Canada pre-market requirements for medical device cybersecurity, 2019, https://www.canada.ca/en/health-canada/services/drugs-health-products/medical-devices/application-information/guidance-documents/cybersecurity/document.html
  • 27. Thomas M, Boursalie O, Samavi R, Doyle TE. Bayesian-based parameter estimation to quantify trust in medical devices. In: The 7th international workshop on health intelligence (W3PHIAI), Washington, DC, USA, 13–14 February 2023, pp.95–108. Berlin: Springer [Google Scholar]
  • 28. Luis S. Probabilistic graphical models: principles and applications (Advances in computer vision and pattern recognition). Berlin: Springer, 2015 [Google Scholar]
  • 29. Koller D, Friedman N. Probabilistic graphical models: principles and techniques. Cambridge, MA: MIT Press, 2009 [Google Scholar]
  • 30. Government of Ontario Personal Health Information Protection Act, 2022, https://www.ontario.ca/laws/statute/04p03
  • 31. Privacy Commissioner of Canada guidance for manufacturers of IoT devices, 2020, https://www.priv.gc.ca/en/privacy-topics/technology/gd_iot_man/
  • 32. Al- Sarawi S, Anbar M, Alieyan K, Alzubaidi M. IoT communication protocols. In: 8th international conference on information technology (ICIT), Amman, Jordan, 17–18 May 2017, pp.685–90. New York: IEEE [Google Scholar]
  • 33. Pal D, Funilkul S, Papasratorn B. Antecedents of trust and the continuance intention in IoT-based smart products: the case of consumer wearables. IEEE Access 2019;7:184160–71 [Google Scholar]
  • 34. Kim J. Energy-efficient dynamic packet downloading for medical IoT platforms. IEEE Trans Ind Inf 2015;11:1653–9 [Google Scholar]
  • 35. Maitra S, Yelamarthi K. Rapidly deployable IoT architecture with data Security: implementation and experimental evaluation. Sensors 2019;19:2484–90 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Devine JK, Schwartz LP, Hursh SR. Technical, regulatory, economic, and trust issues preventing successful integration of sensors into the mainstream consumer wearables market. Sensors 2022;22:2731–9 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37. Sawand A, Djahel S, Zhang Z, Naït-Abdesselam F. Multidisciplinary approaches to achieving efficient and trustworthy eHealth monitoring systems. In: 2014 IEEE/CIC international conference on communications (ICCC), Shanghai, China, 13–15 October 2014, pp.187–92. New York: IEEE [Google Scholar]
  • 38. Ming DK, Sangkaew S, Chanh HQ, Nhat PTH, Yacoub S, Georgiou P, Holmes AH. Continuous physiological monitoring using wearable technology to inform individual management of infectious diseases, public health and outbreak responses. Int J Infect Dis 2020;96:648–54 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Pobiruchin M, Suleder J, Zowalla R, Wiesner M. Accuracy and adoption of wearable technology used by active citizens: a marathon event field study. JMIR Mhealth Uhealth 2017;5:e24 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 40. Jayasinghe U, Otebolaku A, Um TW, Lee GM. Data centric trust evaluation and prediction framework for IoT. In: 2017 ITU kaleidoscope: challenges for a data-driven society (ITU K), Nanjing, China, 27–29 November 2017, pp.1–7. New York: IEEE [Google Scholar]
  • 41. Falter M, Budts W, Goetschalckx K, Cornelissen V, Buys R. Accuracy of Apple watch measurements for heart rate and energy expenditure in patients with cardiovascular disease: cross-sectional study. JMIR Mhealth Uhealth 2019;7:e11889 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42. Zhang M, Anand R, Jha N. Trustworthiness of medical devices and BAN. Proc IEEE J 2014;102:1174–88 [Google Scholar]
  • 43. Kong L, Xia M, Liu XY, Wu MY, Liu X. Data loss and reconstruction in sensor networks. In: 2013 proceedings IEEE INFOCOM, Turin, Italy, 14–19 April 2013, pp.1654–62. New York: IEEE [Google Scholar]
  • 44. Wickel EE. Reporting the reliability of accelerometer data with and without missing values. PLoS ONE 2014;9:e114402 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45. Hossain T, Ahad MAR, Inoue SA. A method for sensor-based activity recognition in missing data scenario. Sensors 2020;20:3811–20. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46. Ng A, Jordan M. On discriminative vs. generative classifiers: a comparison of logistic regression and naive Bayes. In: 14th international conference on neural information processing systems: natural and synthetic (NIPS), Vancouver, BC, Canada, 3–8 December 2001, pp.1–7. Cambridge, MA: MIT Press [Google Scholar]
  • 47. Liu B. A survey on trust modeling from a Bayesian perspective. Wirel Pers Commun 2020;112:1205–27 [Google Scholar]
  • 48. Zouridaki C, Mark BLM, Hejmo M, Thomas RK. A quantitative trust establishment framework for reliable data packet delivery in MANETs. In: Proceedings of the 3rd ACM workshop on security of ad hoc and sensor networks, Alexandria, VA, 7 November 2005, pp.1–10. New York: Association for Computing Machinery (ACM) [Google Scholar]
  • 49. Avrachenkov K, Ribeiro B, Sreedharan JK. Bayesian inference of online social network statistics via lightweight random walk crawls. arXiv:1510.05407, 2015 [Google Scholar]
  • 50. Wang Y, Vassileva J. Bayesian network-based trust model. In: Proceedings 2003 IEEE/WIC international conference on web intelligence, Halifax, NS, Canada, 13–17 October 2003, pp.372–78. New York: IEEE [Google Scholar]

Articles from Experimental Biology and Medicine are provided here courtesy of Frontiers Media SA

RESOURCES