In heuristic search algorithms in Artificial Intelligence (AI), if a collection of admissible heuristics h 1.......h mis available for a problem and none of them dominates any of the others, which should we choose ?
h(n)=max{h 1(n),....,h m(n)}
Heuristic search algorithms are a key part of Artificial Intelligence (AI) used to find solutions to problems by exploring a state space. Unlike uninformed search methods that explore systematically without extra knowledge, heuristic search uses a heuristic function, denoted as \(h(n)\), to estimate the cost from a given node \(n\) to the goal node. This estimate guides the search towards promising states, making the search more efficient.
A heuristic \(h(n)\) is considered admissible if it never overestimates the true cost to reach the goal from node \(n\). Let \(h^*(n)\) be the actual minimum cost from node \(n\) to the goal. An admissible heuristic satisfies the condition:
\(h(n) \le h^*(n)\) for all nodes \(n\).
Admissibility is a desirable property, especially for algorithms like A* search. If the heuristic used in A* is admissible, A* is guaranteed to find an optimal solution (a solution with the minimum cost) provided the step costs are non-negative.
Consider a scenario where we have a collection of \(m\) different admissible heuristics: \(h_1(n), h_2(n), \ldots, h_m(n)\) available for a problem. Each of these individual heuristics \(h_i(n)\) is admissible, meaning \(h_i(n) \le h^*(n)\) for all \(i\) and all nodes \(n\). The question states that none of these heuristics dominates any of the others, meaning for any two heuristics \(h_i\) and \(h_j\), there is at least one node where \(h_i\) is better (closer to \(h^*\)) and another node where \(h_j\) is better.
We need to combine these individual admissible heuristics into a single heuristic function \(h(n)\) that is also admissible and, ideally, as informed as possible (meaning it provides the tightest possible estimate without overestimating).
Let's evaluate the given options for combining the admissible heuristics \(h_1, \ldots, h_m\):
\(h(n) = \max\{h_1(n), \ldots, h_m(n)\}\)
If each \(h_i(n) \le h^*(n)\), then the maximum of these values will also be less than or equal to \(h^*(n)\). Specifically, \(\max\{h_1(n), \ldots, h_m(n)\} \le h^*(n)\) because every element in the set \(\{h_1(n), \ldots, h_m(n)\}\) is less than or equal to \(h^*(n)\). Therefore, the maximum function \(h(n) = \max\{h_1(n), \ldots, h_m(n)\}\) is admissible.
Furthermore, the maximum function takes the largest value among all \(h_i(n)\) for a given node \(n\). This value is greater than or equal to any individual \(h_i(n)\), providing a more informed estimate (a larger lower bound) towards \(h^*(n)\) while still being admissible. A more informed admissible heuristic generally leads to exploring fewer nodes in algorithms like A*, making the search more efficient.
\(h(n) = \min\{h_1(n), \ldots, h_m(n)\}\)
If each \(h_i(n) \le h^*(n)\), then the minimum of these values will also be less than or equal to \(h^*(n)\). So, \(h(n) = \min\{h_1(n), \ldots, h_m(n)\}\) is also admissible.
However, the minimum function takes the smallest value among all \(h_i(n)\). This estimate will be less than or equal to any individual \(h_i(n)\), making it less informed than the maximum function. While admissible, a less informed heuristic can result in exploring more nodes compared to using the maximum function.
\(h(n) = \text{avg}\{h_1(n), \ldots, h_m(n)\}\)
The average function is calculated as \(h(n) = \frac{1}{m} \sum_{i=1}^m h_i(n)\). While the average of admissible heuristics might seem reasonable, it is not guaranteed to be admissible. Consider a case with two admissible heuristics, \(h_1\) and \(h_2\), and \(m=2\). If for a node \(n\), \(h_1(n)\) is a good estimate but slightly overestimates \(h^*(n)\) for some reason (this would mean \(h_1\) isn't strictly admissible everywhere), or if step costs are involved in a way not captured by the simple definition, the average could easily exceed \(h^*(n)\) even if individual heuristics are admissible in the strict sense. A common scenario where average fails is when one heuristic is a significant underestimate and another is a significant overestimate (though individual admissibility means none *significantly* overestimates, summing or averaging can accumulate errors or dependencies).
\(h(n) = \text{sum}\{h_1(n), \ldots, h_m(n)\}\)
The sum function is calculated as \(h(n) = \sum_{i=1}^m h_i(n)\). If each \(h_i(n) \ge 0\) (which is typical for heuristic estimates of cost) and each \(h_i(n) \le h^*(n)\), then their sum \(h(n)\) will almost certainly be greater than \(h^*(n)\) unless \(m=1\) or all but one heuristic evaluate to 0 for that node. Therefore, the sum function is not admissible in general.
Given a collection of admissible heuristics \(h_1, \ldots, h_m\), where none dominates the others, we want to choose a combined heuristic that is both admissible and provides the most informed estimate. From the analysis above:
Therefore, to maintain admissibility and gain the most informed estimate from a set of non-dominating admissible heuristics, the maximum function should be chosen.
| Combination Method | Formula | Admissible? | Informedness (relative) |
|---|---|---|---|
| Maximum | \(\max\{h_1(n), \ldots, h_m(n)\}\) | Yes | Most Informed |
| Minimum | \(\min\{h_1(n), \ldots, h_m(n)\}\) | Yes | Least Informed |
| Average | \(\frac{1}{m} \sum h_i(n)\) | Generally No | Varies (often less informed than max) |
| Sum | \(\sum h_i(n)\) | Generally No | Highly Overestimates |
| Concept | Description | Importance |
|---|---|---|
| Heuristic Function \(h(n)\) | Estimates cost from node \(n\) to goal. | Guides search, improves efficiency over uninformed search. |
| Admissible Heuristic | \(h(n) \le h^*(n)\) (never overestimates true cost). | Guarantees optimality for A* search. |
| Dominance | \(h_1\) dominates \(h_2\) if \(h_1(n) \ge h_2(n)\) for all \(n\) AND \(h_1(n) > h_2(n)\) for at least one \(n\). | A dominating admissible heuristic is always preferable individually as it is more informed. |
| Informedness | How close \(h(n)\) is to \(h^*(n)\). A higher value (closer to \(h^*\)) is more informed for admissible heuristics. | More informed admissible heuristics typically explore fewer nodes. |
Consider following sentences regarding A*, an informed search strategy in Artificial
Intelligence (AI).
(a) A* expands all nodes with f(n) < C*.
(b) A* expands no nodes with f(n) /C*.
(c) Pruning is integral to A*.
Here, C* is the cost of the optimal solution path.
Which of the following is correct with respect to the above statements ?
The process of removing details from a given state representation is called ______
Consider the following terminology and match List 1 and List 2 and choose the correct answer from the code given below
b = branch factor
d = depth of shallowest solution
M = Maximum depth of the search tree
I = depth limit
List 1 | List 2 |
a) BFS | i) O(bd) |
b) DFS | ii) O(b d) |
c) Depth – Limited Search | iii) O(bm) |
d) Iterative deepening Search | iv) O(bl) |
Consider the following statements related to AND-OR Search algorithm.
S1: A solution is a subtree that has a goal node at every leaf.
S2: OR nodes are analogous to the branching in a deterministic environment
S3: AND nodes are analogous to the branching in a non-deterministic environment.
Which one of the following is true referencing the above statements?
Choose the correct answer from the code given below:
Consider the following statements
S1: A heuristic is admissible if it never overestimates the cost to reach the goal
S2: A heuristic is monotonous if it follows triangle inequality property.
Which one of the following is true referencing the above statements?