Skip to content Skip to navigation

Connexions

You are here: Home » Content » Type-Based Detection

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

This feature requires Javascript to be enabled.

Type-Based Detection

Module by: Don Johnson

Perhaps the ultimate non-parametric detector makes no assumptions about the observations' probability distribution under either model. Here, we assume that data representative of each model are available to train the detection algorithm. One approach uses artificial neural networks, which are difficult to analyze in terms of both optimality and performance. When the observations are discrete-valued, a provable optimal detection algorithm (Gutman) can be derived using the theory of types.

For a two-model evaluation problem, let r ˜ r ˜ (length L ˜ L ˜ ) denote training data representative of some unknown probability distribution PP. We assume that the data have statistically independent components. To derive a non-parametric detector, form a generalized likelihood ratio to distinguish whether a set of observations rr (length LL) has the same distribution as the training data or a different one QQ. logΛr=logmaxP,Q{PrQ r ˜ }maxP{PrP r ˜ } Λ r P Q P r Q r ˜ P P r P r ˜ Because a type is the maximum likelihood estimate of the probability distribution (see Histogram Estimators), we simply substitute types for the training data and observations probability distributions into the likelihood ratio. The probability of a set of observations having a probability distribution identical to its type equals -L P ̂ L P . Thus, the log likelihood ratio becomes logΛr=log-LP̂r- L ˜ P̂ r ˜ -L+ L ˜ P̂ r , r ˜ Λ r L P r L ˜ P r ˜ L L ˜ P r , r ˜ The denominator term means that the training and observed data are lumped together to form a type. This type equals the linear combination of the types for the training and observed data weighted by their relative lengths. P̂ r , r ˜ =LP̂r+ L ˜ P̂ r ˜ L+ L ˜ P r , r ˜ L P r L ˜ P r ˜ L L ˜ Returning to the log likelihood ratio, we have that logΛr=-LP̂r- L ˜ P̂ r ˜ +L+ L ˜ LP̂r+ L ˜ P̂ r ˜ L+ L ˜ Λ r L P r L ˜ P r ˜ L L ˜ L P r L ˜ P r ˜ L L ˜ Note that the last term equals L+ L ˜ LP̂r+ L ˜ P̂ r ˜ L+ L ˜ =-aL P r a ̂+ L ˜ P r ˜ a ̂logL P r a ̂+ L ˜ P r ˜ a ̂L+ L ˜ L L ˜ L P r L ˜ P r ˜ L L ˜ a a L P r a L ˜ P r ˜ a L P r a L ˜ P r ˜ a L L ˜ which means it can be combined with the other terms to yield the simple expression for the log likelihood ratio.

logΛr=LP̂rP̂ r , r ˜ + L ˜ P̂ r ˜ P̂ r , r ˜ Λ r L P r P r , r ˜ L ˜ P r ˜ P r , r ˜ (1)

When the training data and the observed data are drawn from the same distribution, the Kullback-Leibler distances will be small. When the distributions differ, the distances will be larger. Defining 0 0 to be the model that the training data and observations have the same distribution and 1 1 that they don't, Gutman showed that when we use the decision rule 1LlogΛr 0 1 γ 1 L Λ r 0 1 γ its false-alarm probability has an exponential rate at least as large as the threshold and the miss probability is the smallest among all decision rules based on training data. limL1L P F -γ L 1 L P F γ and P M P M minimum.

We can extend these results to the KK-model case if we have training data r ˜ i r ˜ i (each of length L ˜ L ˜ ) that represent model i i , i0K-1 i 0 K 1 . Given observed data r r (length LL), we calculate the log likelihood function given above for each model to determine whether the observations closely resemble the tested training data or not. More precisely, define the sufficient statistics ϒ i ϒ i according to ϒ i =P̂rP̂ r , r ˜ i + L ˜ LP̂ r ˜ P̂ r , r ˜ i -γ ϒ i P r P r , r ˜ i L ˜ L P r ˜ P r , r ˜ i γ Ideally, this statistic would be negative for one of the training sets (matching it) and positive for all of the others (not matching them). However, we could also have the observation matching more than one training set. In all such cases, we define a rejection region ? ? similar to what we defined in sequential model evaluation. Thus, we define the i th i th decision region i i according to ϒ i <0 ϒ i 0 and ϒ j >0 ϒ j 0 , ji j i and the rejection region as the complement of i = 0 K 1 i i = 0 K 1 i . Note that all decision regions depend on the value of γγ, a number we must choose. Regardless of the value chosen, the probability of confusing models - choosing some model other than the true one - has an exponential rate that is at least γγ for all models. Because of the presence of a rejection region, another kind of "error" is to not choose any model. This decision rule is optimal in the sense that no other training-data-based decision rule has a smaller rejection region than the type-based one.

Because it controls the exponential rate of confusing models, we would like γγ to be as large as possible. However, the rejection region grows as γγ increases; choosing too large a value could make virtually all decisions rejections. What we want to ensure is that limLPr ? | i =0 L i ? 0 . Obtaining this behavior requires that limL L ˜ L>0 L L ˜ L 0 : As the length of the observations increases, so must the size of the training set. In summary, for some i : limL L ˜ L=0γ> γ 0 limLPr ? | i =1 for some i : L L ˜ L 0 γ γ 0 L i ? 1 i:limL L ˜ L>0γ< γ 0 limL1LPr ? | i -β<0 i L L ˜ L 0 γ γ 0 L 1 L i ? β 0 The critical value γ 0 γ 0 depends on the true distributions underlying the models. The exponential rate of the rejection probability ββ also depends on the true distributions. These results mean that if sufficient training data are available and the decision threshold is not too large, then we can perform optimal detection based entirely on data! As the number of observations increases (and the amount of training data as well), the critical threshold γ 0 γ 0 becomes the Kullback-Liebler distance between the unknown models. In other words, the type-based detector becomes optimal!

References

  1. M. Gutman. (1989). Asymptotically optimal classification for multiple test with empirically observed statistics. IEEE Trans. Info. Theory, 35, 401-408.

Comments, questions, feedback, criticisms?

Send feedback