Essay

Explain the computational challenge and theoretical limitation of search in a scored inference system.

Question: In a scored inference system, such as a speech recognition system that scores possible output sentences S given an audio input A, we must find the sentence S that maximizes ScoreA(S). Explain why exhaustive enumeration of all possible sentences is computationally impractical, and analyze the consequence of using an approximate search algorithm instead.

Sample answer: Exhaustive enumeration is computationally impractical because the number of possible output sentences grows exponentially with sentence length. For example, with a vocabulary of 50,000 words, there are (50,000)^N possible sentences of length N, which is far too large to evaluate. To make this tractable, we must use an approximate search algorithm to search for the output S that optimizes ScoreA(S). The major limitation of this approach is that approximate search algorithms are not guaranteed to find the actual value of S that maximizes the score function.

Key points:

  • Exhaustive search is infeasible due to the exponential growth of the sentence search space (e.g., 50,000^N).
  • Approximate search is required to make finding high-scoring outputs computationally tractable.
  • Approximate search algorithms do not guarantee finding the output S that maximizes ScoreA(S).

Rubric: The answer should address two parts: 1) the exponential growth of the search space (e.g., vocabulary size raised to the power of N) that makes exhaustive search infeasible, and 2) the fact that approximate search algorithms are necessary for computational tractability but do not guarantee finding the score-maximizing output.

0

1

Updated 2026-05-26

Contributors are:

Who are from:

Tags

Data Science

Machine Learning

Deep Learning

Supervised Learning

Dive into Deep Learning @ D2L

Machine Learning Strategy

Related