Search for a Solution: A Case Study

Robert BalzerIJCAI 1969

Abstract

This paper utilizes the Firing Squad Synchronization Problem (FSSP) as a case study to explore the evolution of human-computer collaboration. By moving from automated brute-force searching to an interactive "man-machine symbiosis," the author demonstrates how graphical interfaces and functional planning can help researchers solve complex, state-based logic problems that are too large for computers to solve alone and too intricate for humans to solve manually.

Introduction: The Firing Squad Synchronization Problem

The Firing Squad Synchronization Problem (FSSP) involves a line of $n$ identical finite-state machines, or "soldiers." At one end of the line is a "general." The objective is to define a set of transition rules such that, upon receiving an order from the general, every soldier in the line enters a specific "firing" state at the exact same moment.

Communication is restricted; soldiers can only interact with their immediate neighbors. The challenge lies in finding a solution that works for any length $n$ using a fixed, minimal number of states. While solutions exist, determining the absolute minimal number of states for a "minimal time" solution ($2n-2$ steps) is a notoriously difficult combinatorial puzzle. This research focuses on the methodology of finding such solutions through human-computer interaction.

Methodology

The study chronicles four distinct algorithmic and interactive approaches to solving the FSSP:

  1. Serial Definition of Productions: A standard backtracking program that defined state transitions only as needed. If the simulation reached a contradiction, the program backtracked to the last valid state.
  2. Symbolic Definition of Productions: An advanced "look-ahead" approach. Instead of assigning concrete states, the computer used "symbolic" states to continue simulations, attempting to prune the search tree by identifying logical contradictions earlier in the process.
  3. Functional Planning: This marked the first shift toward interactivity. The human researcher assigned high-level "functions" to states (e.g., designating a state as a "midpoint marker"). The computer then searched for a set of productions that satisfied this human-defined plan.
  4. Constraint Satisfaction: A graphical approach utilizing an IBM 2250 display and a RAND Tablet. The researcher "drew" constraints on a space-time grid, specifying that at time $t$, a soldier must be in state $X$. The computer then used backtracking to fill in the remaining gaps.
Space-time diagram for n=12 showing signal propagation and midpoint synchronization.

Key Insights: Man-Machine Symbiosis

A central finding of this research is the "catalyst" effect of the machine on human thought. The requirement to formalize a complex plan for a computer forces the human to clarify their own intuition. This led to breakthroughs such as "Image Solutions," where researchers recognized that processes on one side of the line should be mirrored on the other.

The paper argues that "man-machine symbiosis" is significantly more productive than pure brute-force automation. Given that the search space for even a 7-state machine is approximately $1 \times 10^{244}$, purely automated backtracking is often infeasible. In a symbiotic system, the bottleneck shifts from machine processing time to human "think time"—the 10–20 minutes required for a researcher to adjust a plan based on computer feedback.

Space-time diagram for n=13 illustrating the increased complexity of signals required for odd-length lines.

Results and Discussion

The collaborative approach yielded several significant results:

  • State Reduction: The author successfully identified a minimal-time 8-state solution, a substantial improvement over the previous 28-state version.
  • Optimality Proofs: The automated backtracking system was used to prove that no four-state minimal-time solution exists.
  • Tooling: The development of a graphical, interactive simulator allowed for rapid prototyping of solutions that would have been impossible to track via manual clerical checking.

Despite these successes, limitations remained. The "Symbolic Definition" approach suffered from computational slowdowns, and hardware limitations of the era—such as screen flicker and memory constraints—hindered the graphical interface. Furthermore, the author noted a need for higher-level abstractions, such as the ability to constrain "classes of states" (e.g., "moving states") rather than individual state IDs. Future work should focus on automating the generalization of solutions across multiple line lengths to ensure that a proposed set of transitions is truly universal.

Summary updated

BibTeX
@inproceedings{balzer1969search,
  author = {Robert Balzer},
  title = {{Search for a Solution: A Case Study}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1969},
}
Figure