Performance in Practical Problem Solving

TL;DR

This paper argues that to effectively design AI agents for complex, intractable problems, we need to explicitly measure and compare the computational cost of different problem-solving strategies. They introduce a cost metric based on problem classes and their frequencies, demonstrating how it can be used to optimize hybrid algorithms for improved performance.

What Problem Does This Paper Address?

Designing Artificial Intelligence (AI) systems that can reason and solve problems generally is a core goal of AI research. However, the inherent computational complexity of many real-world problems means that AI systems often have to make trade-offs between generality and resource efficiency. These trade-offs are typically embedded in the system's design choices, such as the representation language and search control strategies. The authors argue that these choices are often based on hidden assumptions about the types and frequency of problems the agent will encounter, making it difficult for designers or even the agents themselves to determine if these trade-offs are appropriate. The paper tackles the challenge of making these performance choices explicit and measurable, enabling a more principled approach to optimizing AI performance in domains with intractable problems.

Methods

The core contribution of this paper is the introduction of a cost metric for problem-solving strategies. This metric is designed to measure the expected computational expenditure of a strategy over a sample of encountered problems.

Key aspects of their approach include:

  • Problem Classes: Instead of relying on standard complexity theory's worst-case analysis, they propose a weaker notion where a problem class is defined by the set of problems an algorithm can solve.
  • Cost Function: A cost function, $c_s(x)$, is defined to measure the resource expenditure (e.g., time, space) for a strategy $s$ to solve a specific problem instance $x$.
  • Equivalence Classes: A strategy $s$ partitions problems into equivalence classes, where two problems are equivalent if $s$ returns the same solution for both.
  • Relative Frequency: The relative frequency of each equivalence class within a problem sample is calculated.
  • Expected Cost Metric: The overall cost of a strategy $s$ for a problem sample $H^n$ is calculated as the sum of the costs of each equivalence class multiplied by its relative frequency. This metric, $C_s(H^n)$, represents the average cost per problem.
  • Hybrid Algorithm Example: They illustrate their approach with a "hybrid algorithm" that uses a sequence of algorithms (e.g., for motion planning) ordered by increasing generality. The strategy applies simpler algorithms first, aiming to solve easy problems quickly. The cost metric is then used to evaluate and potentially optimize this sequence by dropping expensive or infrequent component algorithms.

Datasets

Not discussed in the paper. The paper focuses on a theoretical framework and an illustrative example rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Performance Choices Should Be Explicit: The paper strongly advocates for making the trade-offs between generality and resource use explicit, rather than embedding them implicitly in design choices.
  • Intractability Requires a New Perspective: For domains with intractable problems, optimal solutions for all instances are impossible. Performance must be optimized based on the sample of problems encountered.
  • Cost Metric for Strategies: The proposed cost metric, based on problem classes and their frequencies, provides a formal way to compare and evaluate different problem-solving strategies.
  • Hybrid Algorithms as a Practical Application: The concept of a hybrid algorithm, which leverages a sequence of specialized algorithms, is presented as a concrete way to apply the cost metric for performance improvement.
  • Subsumption Property: The idea that algorithms can be ordered such that each solves at least the problems of its predecessor is crucial for constructing effective hybrid algorithms.
  • Giving Up Detail for Speed: The paper highlights the intuition that sacrificing some completeness or precision (e.g., using simpler object approximations) can lead to faster solutions for many problems.

Key Results

The paper doesn't present quantitative results from empirical experiments. Instead, its key "results" are conceptual:

  • A formal definition of a cost metric for evaluating problem-solving strategies in the context of problem samples.
  • A demonstration of how this cost metric can be used to select optimal subsets of component algorithms for a hybrid strategy, leading to improved performance.
  • The argument that this approach is domain-independent and can be applied to various AI problems.

Limitations and Future Work

Limitations:

  • Theoretical Framework: The paper presents a theoretical framework and an illustrative example. It acknowledges that the proposed cost metric is "by no means definitive" and that the optimization is limited to the class of hybrid algorithms.
  • Measurement Challenges: While the paper defines how to measure costs and frequencies, the practical implementation of obtaining these measurements for real-world agents and problem samples could be challenging.
  • Assumption of Fixed Statistical Properties: The cost metric assumes that the statistical properties of the problem sequence are fixed. In dynamic environments, these properties might change, requiring re-evaluation.

Future Work:

  • Domain-Independent Properties: The authors aim to state domain-independent properties that justify the belief in a good algorithm for a domain, which could also justify applying it to similar domains.
  • Dynamic Programming for Optimization: The paper mentions that a dynamic programming method can be used to select the subset of component algorithms with the lowest expected cost for a given problem sample.
  • Incremental Improvements: The framework can be used to determine when incremental changes to a strategy (e.g., adding a new component algorithm) yield improvements.
  • Maximizing Resource Use: The authors believe that cost measures like the one described are necessary to maximize the resource use of agents that must solve many problems drawn from intractable classes.

Summary updated

BibTeX
@inproceedings{1987performance,
  title = {{Performance in Practical Problem Solving}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1987},
}
Figure