Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 39

Building Bayesian Networks for Negotiation Dynamics

Recommended resources

Welcome to the next lesson in our capstone module. In our previous session, we explored how Agent-Based Models (ABMs) can simulate the emergence of large-scale social norms from the simple, repeated interactions of individual couples. We took a "bottom-up" view to see how a whole community's behavior might evolve. Today, we zoom back in from the macro-level society to the micro-level mind of an individual negotiator.

Your learning outcome for this lesson is to construct a Bayesian Network to map the probabilistic relationships between negotiation tactics, partner selection, and relationship outcomes. A Bayesian Network (BN) is a powerful tool for modeling and reasoning under uncertainty. In any negotiation, especially one involving the complexities of human relationships and asymmetric information, our beliefs are rarely certain. BNs give us a formal, computational framework to represent these uncertain beliefs and, crucially, to update them rationally as new evidence comes to light. This directly complements your background in Bayesian Decision Theory and provides a mechanism for the "learning" an agent might perform within the ABMs we discussed last time.

Why Bayesian Networks for Negotiation?

At its heart, negotiation is a process of learning. Each proposal, counter-proposal, and conversation provides signals that allow you to update your beliefs about your counterpart's preferences, limits, and even their "type." A formal model of this process is essential for strategic thinking.

[PDF] Bayesian Learning in Negotiation 1 Introduction

This paper by Zeng and Sycara frames negotiation as a sequential decision-making process where learning is central. It provides the perfect motivation for why we're turning to Bayesian methods.

Please read the introduction and the formal description of the "Bazaar" model. Focus on these key ideas: Start with the section that describes the characteristics of a computational model. Note the emphasis on modeling dynamics and learning. In the formal description of the model, pay close attention to items A-7 (relevant information entities) and A-8 (subjective probability distribution). These formally introduce the idea of holding probabilistic beliefs about the environment and other players. Finally, read about the solution strategy, particularly Step 1: Bayesian Updating, and the introduction to the next section which explicitly mentions the use of Bayesian belief networks.

As the paper highlights, a negotiator's actions are based on their beliefs about the world and their counterparts. As they receive new information—an offer, a reaction, a piece of external news—they should update these beliefs. The Bayesian framework provides the mathematical engine for this updating process.


The Building Blocks of a Bayesian Network

A Bayesian Network is a directed acyclic graph (DAG) where nodes represent random variables and directed edges represent conditional dependencies. It's a compact way to specify a full joint probability distribution over all the variables.

Bayesian Networks 1 - Inference | Stanford CS221: AI (Autumn 2019)

This Stanford AI lecture by Percy Liang provides a clear and intuitive introduction to the core concepts of Bayesian Networks. It uses the classic "Alarm" network to illustrate the mechanics.

Please watch the first part of the video to grasp the fundamentals: Start with the introduction to BNs, which covers the basics of joint, marginal, and conditional distributions and the problem of exponential complexity that BNs help solve. Next, watch the detailed walkthrough of the Alarm Network example. Pay close attention to the four construction steps and the concept of "explaining away," a crucial pattern of reasoning in BNs.

The "Alarm" network illustrates a key insight: observing one cause (Earthquake) for an effect (Alarm) "explains away" the need for another cause (Burglary), reducing its probability. This pattern of inter-causal reasoning is fundamental and appears frequently in complex diagnostic and predictive tasks.

Formally, a Bayesian Network consists of:

  1. A Network Structure (S): A DAG where each node corresponds to a random variable . The graph structure encodes a set of conditional independence assumptions.
  2. A set of Parameters (P): For each variable , there is a Conditional Probability Distribution (CPD), often represented as a Conditional Probability Table (CPT), .

Together, these components define the joint probability distribution over all variables as the product of the local conditional distributions:


Constructing a Bayesian Network for Partner Selection

Let's build a BN for a scenario relevant to our course. Imagine Wendy is considering a first date with a potential new partner, Brian. She and her husband, Charles, want to model the situation to better understand the risks and potential outcomes. Their goal is to infer Brian's underlying "type" and predict the date's success based on early signals.

Conceptually, partner selection involves evaluating a person based on a set of weighted attributes. A Bayesian Network allows us to model the uncertain relationships between these attributes and to infer unobservable traits (like 'character') from observable ones (like 'communication style').

Here is a possible BN for this scenario.

1. Define Variables:

  • Partner Type (T): Brian's underlying character concerning the lifestyle. This is a hidden variable. States: {Respectful, User, Clueless}.
  • Communication Style (C): Brian's observed communication during initial chats. States: {Open, Guarded}.
  • Boundary Response (B): Brian's reaction when Wendy mentions a key boundary (e.g., "I don't play on the first date"). States: {Accepts, Pushes}.
  • Date Success (S): Whether the date is a success from Wendy's point of view. States: {Yes, No}.
  • Relationship Impact (I): The impact on Wendy and Charles's primary relationship. States: {Positive, Neutral, Negative}.

2. Define Network Structure (The Graph):
We draw directed edges from causes to effects.

  • A partner's Type influences their Communication Style and their Boundary Response. So, T -> C and T -> B.
  • Both Communication Style and Boundary Response influence Date Success. So, C -> S and B -> S.
  • Date Success, in turn, affects the Relationship Impact. So, S -> I.

This gives us the following structure:

graph TD
    T(Type) --> C(Communication)
    T --> B(Boundary Response)
    C --> S(Date Success)
    B --> S
    S --> I(Relationship Impact)

3. Define Parameters (The CPTs):
Now, we must specify a conditional probability table for each node, given its parents. These would be based on Charles and Wendy's prior beliefs and experience.

  • P(T): Their prior belief about men in the dating pool.

    T P(T)
    Respectful 0.5
    User 0.3
    Clueless 0.2
  • P(C | T): How likely is a communication style given the man's type?

    T C=Open C=Guarded
    Respectful 0.8 0.2
    User 0.3 0.7
    Clueless 0.6 0.4
  • P(B | T): How likely is he to push boundaries given his type?

    T B=Accepts B=Pushes
    Respectful 0.9 0.1
    User 0.2 0.8
    Clueless 0.7 0.3
  • P(S | C, B): How do communication and boundaries affect date success?

    C B S=Yes S=No
    Open Accepts 0.95 0.05
    Open Pushes 0.30 0.70
    Guarded Accepts 0.50 0.50
    Guarded Pushes 0.05 0.95
  • P(I | S): How does a successful date impact the primary relationship?

    S I=Positive I=Neutral I=Negative
    Yes 0.8 0.2 0.0
    No 0.0 0.3 0.7

This process of defining variables, determining causal structure, and assessing local probabilities is the standard method for building a BN from expert knowledge.

[PDF] A Tutorial on Learning With Bayesian Networks - Microsoft

This foundational paper by David Heckerman details the construction process. It provides a more formal look at the steps we just took.

Please read Section 3, "Bayesian Networks." Focus on the part that describes building a network from prior knowledge, using the credit-card fraud example. Note the emphasis on drawing arcs from cause to effect, which is exactly the heuristic we used.


Reasoning with the Network: Probabilistic Inference

With the BN defined, we can perform inference—that is, ask it questions.

Query 1: Prediction
Before any interaction with Brian, what is the probability of a successful date, P(S = Yes)?
To answer this, we would sum the joint probability over all possible states of the other variables, a process called marginalization.

Using the network structure, this simplifies to:

Plugging in the numbers from our CPTs would give a prior probability of success.

Query 2: Diagnosis/Belief Updating
Wendy chats with Brian. His communication seems Guarded (C=Guarded), and when she mentions a boundary, he Pushes back (B=Pushes). What is the new probability that he is a User, i.e., P(T=User | C=Guarded, B=Pushes)?

This is where the power of Bayesian reasoning comes in. We use Bayes' rule:

Thanks to the conditional independence assumptions in our network (C and B are independent given T), this simplifies to:

The term means "proportional to," acknowledging that we'd need to normalize the result. Let's calculate the unnormalized posterior belief for each type:

  • Respectful:
  • User:
  • Clueless:

After normalizing (dividing each by the sum 0.01 + 0.168 + 0.024 = 0.202), we get:

  • P(T=Respectful | evidence) = 0.01 / 0.202 ≈ 5%
  • P(T=User | evidence) = 0.168 / 0.202 ≈ 83%
  • P(T=Clueless | evidence) = 0.024 / 0.202 ≈ 12%

Our initial belief that Brian was a User was 30%. After observing just two signals, our belief has jumped to 83%. This is a quantitative example of "red flags" in action and demonstrates how a BN can formalize this intuitive reasoning process.

Bayesian Networks 1 - Inference | Stanford CS221: AI (Autumn 2019)

Actually performing these calculations by hand can be tedious. The Stanford video presents a systematic, graphical procedure for inference that simplifies the process.

Please watch the section on inference, which starts around the five-step procedure. You don't need to follow every algebraic step, but focus on the overall strategy: marginalize non-ancestors, convert to a factor graph, condition on evidence, and eliminate remaining variables. This gives you a clear algorithm for answering queries.


Learning a Bayesian Network from Data

We built our network from "expert knowledge." But what if we have a dataset of past first dates? We can learn the network's parameters (and even its structure) from this data.

Learning Parameters for a Known Structure: If we assume our graph structure is correct, learning the CPTs from a complete dataset is straightforward. As you know from your statistics background, it reduces to calculating the conditional frequencies in the data. For example, to learn , we would just count the fraction of times a date was successful among all dates in our dataset where communication was open and boundaries were accepted. This is a Maximum Likelihood Estimation (MLE) of the parameters.

Learning with Incomplete Data / Hidden Variables: In our example, the Partner Type (T) is a hidden variable; we never observe it directly. This makes learning much more interesting and challenging. We can't just count. This is where algorithms like Expectation-Maximization (EM) come in, which you may have encountered. The EM algorithm iteratively "fills in" the missing values based on the current best guess of the parameters and then re-estimates the parameters based on the filled-in data.

[PDF] A Tutorial on Learning With Bayesian Networks - Microsoft

The Heckerman tutorial provides a full treatment of learning, from the simple complete-data case to the more complex incomplete-data case.

To see the full lifecycle of a BN analysis, please review these sections: First, quickly review the section on learning from complete data. Notice that, with conjugate Dirichlet priors (a concept you're familiar with), this is a simple update rule. Next, read the introduction to the section on incomplete data and the overview of the EM algorithm. This explains the general approach for learning with hidden variables like our Partner Type. Finally, look at the Case Study in Section 16. Skim through the analysis of college plans. See how the author first builds a model, finds a suspicious result (SES influencing IQ), proposes a new model with a hidden variable to explain this link, and shows that this new model is vastly more probable. This is a perfect real-world illustration of the process we're discussing.


Conclusion

In this lesson, we've explored Bayesian Networks as a formal system for representing and reasoning about uncertain knowledge. You've seen how a BN's structure captures causal assumptions and how its parameters quantify the strength of those relationships. Most importantly, you've seen how to use a BN to perform inference—updating your beliefs about hidden variables like a potential partner's "type" in light of observable evidence like their communication style.

Key Takeaways:

  • A Bayesian Network is a Directed Acyclic Graph that provides a compact representation of a joint probability distribution.
  • The structure is built by drawing arrows from causes to effects, encoding conditional independence assumptions.
  • The parameters (CPTs) quantify the probabilistic relationships between a node and its parents.
  • Inference is the process of querying the network, most powerfully used to update beliefs about hidden variables given new evidence (e.g., P(Cause | Effect)).
  • The phenomenon of "explaining away" is a key reasoning pattern where confirming one cause of an effect makes other potential causes less likely.
  • The parameters of a BN can be learned from data, using simple counting for complete data or algorithms like EM for data with hidden variables.

Preview of the Next Lesson:
This was the final new tool in our modeling toolkit. In our next lesson, we will synthesize the concepts from the entire course—game theory, bargaining models, simulations, and Bayesian networks—to develop a comprehensive case study analyzing a fictional relationship dynamic from start to finish. This will be your opportunity to see how these different models fit together to provide a multi-faceted analysis of strategic interaction in relationships.