# Institute of Formal and Applied Linguistics Wiki

## Conditional Random Fields - Questions

1. Definition of CRF in Section 3 contains a formula with a shortcut notation: .

a) Try to rewrite this general formula using some more clear notation (or explain it in your words).
b) Rewrite the formula for the chain-structured case of CRF.

Hint: If you don't understand the shortcut notation, just ignore it and use your intuition (vertices connected by edges are not independent).

2. MEMMs suffer from Label Bias Problem. What about HMMs? Why?

3. Which of the following features are meaningful? Why?

a) == “can”
b) == “can” && == N
c) == “can” && == N
d) == “can” && == N && == V
e) == “can” && == N && == V
f) == “can” && == V && == N
g) == “can” && == N && == V
h) == “The” && == N && == N
i) has more letters than && == N
j) contains word “dog” && ( == N || == V)

4. Let's suppose, that we have a CRF for the data “he/N can/V can/V a/N can/N” and these features:

: == can && == V && ( == N || == V)
: == can && ( == N || == V) && == N
: == he && = N

a) || = ?
b) Draw a CRF for given data!
c) Simplify (as much as possible) the exp(…) expression in Formula 1, given the above definitions of , and .

Hint1: The alpha-like symbol means “is directly proportional”, i.e. &&
http://en.wikipedia.org/wiki/Proportionality_%28mathematics%29#Direct_proportionality

Hint2: The vertical bar in does not mean conditional probability, see its definition under Formula 1.

d) (optional) Let's suppose, that

  <latex>\lambda_1</latex> = 1
<latex>\lambda_2</latex> = 1
<latex>\mu_1</latex> = 1

Show, that exp(…) expression in Formula 1 (page 3) and in formula on page 4
give the same result.

[ Back to the navigation ] [ Back to the content ]