Contrastive Estimation

From Cohen Courses
Jump to navigationJump to search

This is a method proposed by Smith and Eisner 2005:Contrastive Estimation: Training Log-Linear Models on Unlabeled Data.

The proposed approach deals with the estimation of log-linear models (e.g. Conditional Random Fields) in an unsupervised fashion. The method focuses on the denominator of the log-linear models by exploiting the so called implicit negative evidence in the probability mass.

Motivation

Ce survey.png

In the Smith and Eisner (2005) paper, the authors have surveyed different estimation techniques (See the Figure above) for probabilistic graphic models. It is clear that for HMMs, people usually optimize the joint likelihood. For log-linear models, various methods were proposed to optimize the conditional probabilities. In addition to this, there are also methods to directly maximize the classification accuracy, the sum of conditional likelihoods, or expected local accuracy. However, none of the above estimation techniques have specifically focused on the implicit negative evidence in the denominator of the standard log-linear model in an unsupervised setting.

How it Works

Unlike the above methods, the contrastive estimation approach optimizes:

here, the function means a set of implicit negative examples and the itself. The idea here is to move the probability mass from the neighborhood of to itself, so that a good denominator in log-linear models can not only improve the task accuracy, but also reduce the computation of the normalization part of the model.

Problem Formulation and the Detailed Algorithm

Assume we have a log-linear model that is paratermized by , the input example is , and the output label is . A standard log-liner model takes the form

here, we can use to represent the unnormalized score . is the partition function, and is hard to compute (much larger space). Then, we can represent the objective function as

where for each .

In the unsupervised setting, the contrastive estimation method maximizes

In order to optimize the neighborhood likelihood, the standard numerical optimization approach like L-BFGS can be applied. There are also many other neighborhood methods for sequential data, but it will not be discussed in this method page.

Some Reflections

Related Papers