E ExamMaster

Artificial Intelligence · AI Foundations

Dempster-Shafer Belief

In AI because some evidence supports a set of answers without splitting the credit among them — and Dempster-Shafer is the calculus that keeps that uncommitted mass visible.

The Uncertainty and Bayes lesson needs a probability on every singleton and a likelihood for every observation. Some campus evidence is coarser than that: a smoke detector supports 'there is a fire' without saying anything about the rival hypothesis 'the oven is just dirty', and it also does not claim the rest of its credit for the rival. Dempster-Shafer keeps that leftover mass on the whole frame, as ignorance, and combines two such reports with an explicit conflict term. This lesson is the frame, the mass, the belief/plausibility pair, and one combination you can recompute by hand. It is not a second Bayes; the Naive Bayes and calibration lessons remain the place for probabilities that do add to one over singletons.

  • Artificial Intelligence
  • Medium level
  • 4 concepts

1A frame of discernment

A frame of discernment \Theta is the finite set of mutually exclusive, exhaustive answers the case is allowed to have. The campus lab alarm uses \Theta = \{\mathrm{Fire},\, \mathrm{Fault}\}: either there is a fire, or the sensor is faulting, and those are the only two stories we will entertain. A subset of \Theta is a claim that is still compatible with more than one story: \{\mathrm{Fire}\} is a committed claim, \Theta itself is 'I am not saying which'.

The frame is a modelling decision, not a fact about the lab. If a third story — a drill — is possible and you left it out, every number this lesson computes is a number about the wrong set of answers. Bayes needs the same honesty about its sample space; Dempster-Shafer does not relax that, it changes what you are allowed to do with subsets.

Subsets of the lab frame
SubsetReads as
{Fire}committed: there is a fire
{Fault}committed: the sensor is faulting
{Fire, Fault} = Θuncommitted: either story still open

2Mass, belief, plausibility

A basic probability assignment — a mass function m — spreads one unit of credit over the non-empty subsets of \Theta. Sensor A reports m_1(\{\mathrm{Fire}\}) = 0.6 and m_1(\Theta) = 0.4: it puts 0.6 on fire and leaves 0.4 uncommitted. It does not put 0.4 on Fault. That leftover is ignorance, not a vote for the rival.

Belief \mathrm{Bel}(A) is the mass already committed to A and its subsets — credit that cannot escape A. Plausibility \mathrm{Pl}(A) is one minus the belief in the complement — credit that could still move into A. For Sensor A, \mathrm{Bel}(\{\mathrm{Fire}\}) = 0.6 and \mathrm{Pl}(\{\mathrm{Fire}\}) = 1 - \mathrm{Bel}(\{\mathrm{Fault}\}) = 1 - 0 = 1. The interval [0.6,\, 1] is the claim: at least 0.6, and up to everything, could still be fire. Bayes would have forced the 0.4 onto Fault; this calculus refuses that force.

Figure. Belief is the sage segment (0.6). Plausibility is the full bar (1.0). The warm gap is the 0.4 sitting on Θ — ignorance, not Fault. Segment values are the masses from the ledger.

Sensor A, read as an interval

Θ = {Fire, Fault}. m1({Fire}) = 0.6, m1(Θ) = 0.4, and m1 of every other subset is 0.

  • Bel({Fire}) = m1({Fire})0.6
  • Bel({Fault}) = m1({Fault})0
  • Pl({Fire}) = 1 − Bel({Fault})1
  • Uncommitted width Pl − Bel on {Fire}0.4, the mass on Θ

Pro tip. The 0.4 appears twice: as m(Θ), and as the gap between belief and plausibility. It is the same ignorance, not a second source of doubt.

3Combining two agreeing sensors

Dempster's rule combines two mass functions. For each pair of subsets, one from each source, put the product of their masses on the intersection. Sum every pair that lands on the same intersection. If some pairs land on the empty set, their total K is conflict; divide the remaining masses by 1 - K so they add to one again. Pairs that land on \Theta stay uncommitted.

Sensor B reports m_2(\{\mathrm{Fire}\}) = 0.7, m_2(\Theta) = 0.3. Every non-empty intersection of a pair from m_1 and m_2 is either \{\mathrm{Fire}\} or \Theta — nothing lands on empty, so K = 0. The combined mass on fire is 0.6\times 0.7 + 0.6\times 0.3 + 0.4\times 0.7 = 0.88, and the leftover on \Theta is 0.4\times 0.3 = 0.12. Two sensors that both refuse to vote for Fault, at different strengths, leave less ignorance than either did alone.

Figure. Mass on {Fire} before and after the combination. The two sources (0.6, 0.7) become 0.88, the ledger total. The leftover 0.12 on Θ is not drawn as a fourth bar — it is 1 − 0.88.

m1 ⊕ m2 with no conflict

m1({Fire})=0.6, m1(Θ)=0.4. m2({Fire})=0.7, m2(Θ)=0.3. All other masses zero.

  • Pairs with empty intersectionnone, so K = 0
  • 0.6×0.7 + 0.6×0.3 + 0.4×0.7 on {Fire}0.42 + 0.18 + 0.28 = 0.88
  • 0.4×0.3 on Θ0.12
  • Bel({Fire}) after the combination0.88

Pro tip. Check: 0.88 + 0.12 = 1. The 0.4 of ignorance shrank to 0.12 because each sensor spent some of the other's leftover on Fire. No mass was created, and none was thrown away.

4Conflict, and when not to combine

Now let Sensor B vote the other way: m_2(\{\mathrm{Fault}\}) = 0.7, m_2(\Theta) = 0.3. The pair \{\mathrm{Fire}\} \cap \{\mathrm{Fault}\} is empty and carries mass 0.6 \times 0.7 = 0.42. That 0.42 is K. The surviving masses are renormalised by 1 - K = 0.58: fire gets 0.18 / 0.58 = 9/29, fault gets 14/29, and \Theta keeps 6/29. The combination did not average 0.6 with 0.7; it threw away the contradictory 0.42 and re-scaled what was left.

When K is close to 1, two sources barely agree on any non-empty intersection and the renormaliser is a large number multiplying a small remainder. That is a warning, not a sharper answer. Do not combine a smoke detector with a sensor that only ever reports Fault and call the result a probability. Reach for Bayes when you do have likelihoods and a prior on singletons — the earlier uncertainty lessons. Reach for this calculus when the honest report is a committed subset plus leftover ignorance, and drop the combination when K says the sources do not share a frame.

Figure. m1({Fire})=0.6 meets m2({Fault})=0.7. The empty intersection carries K = 0.6 × 0.7 = 0.42 and is discarded. Survivors renormalised by 0.58: Fire 9/29, Fault 14/29, Θ 6/29. That 0.42 is a warning, not a sharper answer.

m1 ⊕ m2 with K = 0.42

m1({Fire})=0.6, m1(Θ)=0.4. m2({Fault})=0.7, m2(Θ)=0.3.

  • K = m1({Fire}) × m2({Fault})0.6 × 0.7 = 0.42
  • 1 − K0.58
  • m({Fire}) = (0.6 × 0.3) / 0.580.18 / 0.58 = 9/29
  • m({Fault}) = (0.4 × 0.7) / 0.580.28 / 0.58 = 14/29
  • m(Θ) = (0.4 × 0.3) / 0.580.12 / 0.58 = 6/29

Pro tip. 9 + 14 + 6 = 29, so the three masses add to 1. Fault now leads, because B's 0.7 on Fault survived more of the conflict than A's 0.6 on Fire. The 0.42 that vanished is the disagreement, not a rounding error.

Sensor A puts mass 0.6 on {Fire} and 0.4 on Θ. A classmate treats the 0.4 as P(Fault) = 0.4 and runs Bayes. What did they invent?
  1. A vote for Fault that the sensor never cast — the 0.4 is uncommitted mass on the whole frame, not a singleton probability
  2. The conflict K, which is always 0.4
  3. A plausibility, which is always 0.4
  4. Dempster's rule, which requires the 0.4 to sit on Fault

Mass on Θ is ignorance. Moving it onto Fault is exactly the commitment the sensor refused. K and plausibility are different numbers, computed after you respect that refusal.

Notes

  • A mass function assigns belief to subsets of a frame of discernment, including the whole frame as 'uncommitted'.
  • Belief of A is the mass on subsets of A; plausibility of A is one minus belief of the complement.
  • Dempster's rule combines two masses and renormalises by the conflict K.

Formulas

  • Frame \Theta: the finite set of mutually exclusive answers the case can have
  • \mathrm{Bel}(A) = \sum_{B \subseteq A} m(B); \mathrm{Pl}(A) = 1 - \mathrm{Bel}(\Theta \setminus A)
  • (m_1 \oplus m_2)(A) = \frac{1}{1-K} \sum_{B \cap C = A} m_1(B)\, m_2(C) for A \neq \emptyset, with K the mass on empty intersections

Exam traps & shortcuts

  • Mass on \Theta is ignorance, not a third answer — it is credit you have not been forced to place.
  • Belief and plausibility are a pair: the interval between them is the uncommitted mass that could still move to A.
  • If two sources put almost all their mass on disjoint singletons, K is near 1 and the combination is shouting — do not treat that number as a calm average.

Recap

Next: ethics.

Frame
Θ is the set of answers you will entertain. The lab uses {Fire, Fault}; a missing third story makes every later number a number about the wrong set.
Mass and the interval
m puts credit on subsets. Bel is committed credit; Pl is credit that could still move in. Sensor A: [0.6, 1] on Fire.
Agreeing combination
Two fire-leaning sensors, K = 0, combine to m({Fire}) = 0.88 and m(Θ) = 0.12.
Conflict
K is mass on empty intersections. At K = 0.42 the remainder is rescaled; a K near 1 is a warning, not a sharper belief.

Practise Dempster-Shafer Belief

Reading is free and needs no account. Practice, mocks and progress live in the app.

  • 1 quick check with worked explanations
  • Timed mocks scored with the real marking scheme
  • Readiness tracked per topic, kept on your device
Continue with Google — freeNo card, no trial. Works offline once installed.