A Combinatorial Search Perspective on Diverse Solution Generation

Satya Gautam Vadlamudi, Subbarao Kambhampati

Introduction

In automated planning and constraint programming, the goal is often to provide a user with a set of high-quality solutions rather than a single optimal one. This is because users frequently have latent preferences or constraints that are not explicitly modeled in the problem description. A set of diverse solutions—plans that are low-cost yet significantly different from one another—allows a user to select the option that best fits their unstated needs.

Historically, generating these sets has relied on greedy heuristics: find the best solution, then find the next best that is sufficiently distant, and repeat. However, this paper argues that such approaches are fundamentally limited because they lack completeness. By committing to an initial solution, greedy algorithms may inadvertently block the discovery of a valid diverse set, even when one exists.

The "First Solution" Trap

The core insight of this research is that diversity is a combinatorial problem, not a sequential one. A greedy approach often fails because the very first solution found (typically the cost-optimal one) might not be a member of any valid diverse set of size $K$.

Figure 1: A counter-example where the optimal path (p2) prevents the formation of a diverse set.

As illustrated in Figure 1, an optimal path (p2) might lie "in the middle" of the solution space. If a greedy algorithm selects p2 first, it may find that no other paths are sufficiently distant from it to satisfy a diversity threshold. However, a different pair of paths (p1 and p3) might be perfectly valid and diverse, but they are never considered together because the algorithm committed to p2.

A Bi-Level Optimization Framework

To address these limitations, the authors propose a bi-level framework that treats diversity as a search over the space of solution sets rather than individual solutions. This framework ensures completeness: if a diverse set exists within the given cost bounds, the algorithm is guaranteed to find it.

Figure 2: The bi-level framework separating solution generation from combinatorial selection.

As shown in Figure 2, the framework consists of two distinct levels:

  1. Level 1: Candidate Generation. This level produces a stream of satisficing (low-cost) solutions. The authors utilize two primary methods: DFA (Depth-First All), a modified branch-and-bound search, and AA (A All), which expands nodes to find all plans within a cost bound.
  2. Level 2: Combinatorial Selection. This level receives the solution stream and attempts to find a subset of size $K$ that meets the diversity criteria. The authors introduce ACER (All Combinations) for exhaustive search and MCER (Most-promising Combinations). MCER uses heuristics to explore the most likely combinations first while maintaining a backlog to ensure completeness.

Experimental Evaluation

The framework was evaluated using the Fast Downward planning environment across standard International Planning Competition (IPC) domains, including Blocks World, Rovers, and Zeno-Travel. Diversity was measured using a Jaccard-style distance metric based on the actions contained within each plan.

Key Findings

  • Completeness Matters: In the Blocks domain, greedy methods (DFAG/A*AG) frequently returned "no set found" for larger set sizes (e.g., $K=8$). In contrast, the complete methods (DFAA/DFAM) successfully identified valid diverse sets in the same scenarios.
  • Efficiency of MCER: While exhaustive search (ACER) is computationally expensive, the MCER approach proved highly efficient. In one instance, the MCER-based DFAM found a solution in 0.58 seconds, whereas the exhaustive DFAA required nearly 33 seconds.
  • Search Strategy Performance: Depth-First approaches (DFA) generally outperformed A-based approaches (AA). The latter often struggled with memory limits because the open list grows exponentially when attempting to track all possible solutions within a cost bound.

Conclusion

By reframing diverse solution generation as a combinatorial search problem, this research provides a robust alternative to traditional greedy heuristics. The bi-level framework, particularly when paired with the MCER selection strategy, offers a path toward finding high-quality, diverse plans even in complex domains where greedy approaches fail. Future work will look toward tightening the feedback loop between the two levels to further guide the generation of candidate solutions based on the needs of the selection level.

Summary updated

BibTeX
@inproceedings{vadlamudi2016combinatorial,
  author = {Satya Gautam Vadlamudi and Subbarao Kambhampati},
  title = {{A Combinatorial Search Perspective on Diverse Solution Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10079},
}
Figure