Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Chapter 3 Lab: Multiagent Search (Real-World Assessment)

Lab Overview

In this lab, you will solve multiagent search tasks framed as realistic applications rather than board games. Each exercise assesses both implementation and reasoning quality.

Real-World Cases

  1. Emergency route planning under adversarial traffic

  2. Cybersecurity defense against adaptive attackers

  3. Warehouse robot dispatch with depth-limited search

  4. Dynamic pricing and bidding with Monte Carlo Tree Search

  5. Strategy tournament and evidence-based analysis

Assessment Focus

  • Correct modeling assumptions

  • Algorithm implementation quality

  • Performance metrics and interpretation

  • Explanation of why a strategy is suitable for a domain

Assessment Rubric

Each exercise is graded on both implementation and reasoning.

CriterionWeightWhat is evaluated
Correctness40%Algorithms return valid actions/values in the given scenario
Efficiency20%Use of pruning/simulation budget and measured performance
Modeling quality20%Whether assumptions and state design match the real-world problem
Explanation quality20%Clear interpretation of results and algorithm choice rationale

To score well, include short written explanations after each exercise describing tradeoffs and failure cases.

Exercise 1: Emergency Route Planning with Minimax

A city dispatch center must choose an ambulance route while an adversarial traffic model introduces worst-case congestion events. Implement Minimax to choose the safest route under worst-case traffic responses.

Exercise 2: Cybersecurity Defense with Alpha-Beta

Model a defender-attacker interaction where the defender selects mitigations and the attacker selects exploit paths. Implement Alpha-Beta pruning and compare efficiency against plain Minimax.

A warehouse robot must choose task dispatch actions while uncertainty in congestion and battery constraints affects downstream outcomes. Build a depth-limited search agent with a practical evaluation function.

Exercise 4: Dynamic Pricing and Bidding with MCTS

Simulate a pricing agent in a competitive market where outcomes are uncertain and branching is large. Implement MCTS with UCB1 to choose robust actions under limited simulation budget.

Exercise 5: Cross-Domain Strategy Tournament

Evaluate strategies across multiple domains and report strengths, weaknesses, and conditions where each algorithm is preferable.

Evaluation Checklist (Student Self-Check)

Before submitting, confirm for each exercise:

  • You implemented all TODO blocks.

  • You reported at least one quantitative metric (time, nodes, prunes, or simulations).

  • You explained one limitation or modeling assumption.

  • You justified why the chosen algorithm fits the scenario.

Challenge: Iterative Deepening for Real-Time Decision Support

Design an iterative deepening variant for time-constrained systems (for example, emergency response dispatch or active cyber defense) where decisions must be returned before hard deadlines.

Lab Report

Deliverables

  • All scenario algorithms implemented

  • Results for all real-world cases

  • Evaluation function design notes with feature rationale

  • Performance comparison table with metrics

  • Short reflection on modeling assumptions and limitations

Discussion Questions

  1. How did adversarial assumptions change your decisions in each domain?

  2. Where did Alpha-Beta provide the largest benefit and why?

  3. Which evaluation features were most influential in depth-limited search?

  4. When did MCTS outperform deterministic search methods?

  5. What are the risks of model misspecification in real-world multiagent systems?