<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>The Bivariate 2-Poisson model for IR</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Giambattista Amati</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giorgio Gambosi</string-name>
          <email>giorgio.gambosi@uniroma2.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Enterprise Engineering Department of University of Tor Vergata</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Fondazione Ugo Bordoni</institution>
          ,
          <addr-line>Rome</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Harter's 2-Poisson model of Information Retrieval is a univariate model of the raw term frequencies, that does not condition the probabilities on document length [2]. A bivariate stochastic model is thus introduced to extend Harter's 2-Poisson model, by conditioning the term frequencies of the document to the document length. We assume Harter's hypothesis: the higher the probability f (X = xjL = l) of the term frequency X = x is in a document of length l, the more relevant that document is. The new generalization of the 2-Poisson model has 5 parameters that are learned term by term through the EM algorithm over term frequencies data.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>We explore the following frameworks:
p^</p>
    </sec>
    <sec id="sec-2">
      <title>The Bivariate 2-Poisson distribution</title>
      <p>In order to define the bivariate 2-Poisson model we need first to remind the definition of
a bivariate Poisson model, that can be introduced in several ways, for example as limit of a
bivariate binomial, as a convolution of three univariate Poisson distributions, as a
compounding of a Poisson with a bivariate binomial. We find that the trivariate reduction method of the
convolution more convenient to easily extend Harter’s 2-Poisson model to the bivariate case.
Let us consider the random variables Z1; Z2; Z3 distributed according to Poisson
distributions P ( i), that is:
p(Zi = xj i) = e</p>
      <p>x
i i</p>
      <p>x!
and the random variables X = Z1 + Z3 e Y = Z2 + Z3 distributed according to a bivariate
Poisson distribution, BP ( ), where = ( 1; 2; 3):</p>
      <p>x y min(x;y)
p(X = x; Y = yj ) = e ( 1+ 2+ 3) 1 2 X
x! y!
x
i
y
i
i!</p>
      <p>3
with covariance Cov(X; Y ) = 3.</p>
      <p>Let us now consider the mixture 2BP ( 1; 2; ), where
( 21; 22; 32), of two bivariate Poisson distributions
p(x; yj 1; 2; ) =</p>
      <p>
        BP(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) + (1
      </p>
      <p>
        ) BP(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
The corresponding marginal distributions are 2-Poisson
1 = ( 11; 12; 13) and
2 =
p(xj 1; 2; ) =
p(yj 1; 2; ) =
      </p>
      <p>
        P( 11 + 13) + (1
P( 12 + 13) + (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) P( 21 + 23) = 2P( 11 + 13; 21 + 32; )
) P( 22 + 23) = 2P( 12 + 13; 22 + 23; )
In our case, we consider the random variables x, number of occurrences of the term in the
document, and L = l x, document length out of the term occurrences, and set X = x
and Y = L = l x (hence, Y could possibly be 0): as a consequence, we have x = X =
Z1 + Z3, L = Y = Z2 + Z3, and l = X + Y = Z1 + Z2 + 2Z3.
      </p>
      <p>Moreover, we want x to be distributed as a 2-Poisson and L to be distributed as a Poisson.
By assuming 12 = 22 = 2 and 13 = 23 = 3 we obtain
p(xj 1; 2; ) =
p(L j 1; 2; ) =</p>
      <p>P( 11 + 3) + (1</p>
      <p>
        ) P( 21 + 3) = 2P( 11 + 3; 12 + 3)
P( 2 + 3) + (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) P( 2 + 3) = P( 2 + 3)
This implies that, apart from , we assume five latent variables in the model, Z11; Z12; Z2; Z3; W
each Z is Poisson distributed with parameters 11; 21; 2; 3 respectively and W is a binary
random variable Bernoulli distributed with parameter . The resulting bivariate distribution
is
p(x; L j 1; 2; ) =
p1(x; L j 1; 2; 3) + (1
      </p>
      <p>) p2(x; L j 12; 2; 3)
=</p>
      <p>
        BP( 11; 2; 3) + (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) BP ( 21; 2; 3)
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>EM algorithm for the Bivariate Poisson</title>
      <p>Given a set of observations X = fx1; : : : ; xng, with xi = (xi; li), we wish to apply
maximum likelihood to estimate the set of parameters of a bivariate Poisson distribution p(xj )
fitting such data. We wish to derive the value of by maximizing the log-likelihood, that is
computing
n
= arg max log L( jX ) = arg max log Y p(xij )
i=1
and the set of parameters is</p>
      <p>2.
3.1</p>
      <sec id="sec-3-1">
        <title>Maximization</title>
        <p>In our case (see also [1]), we are interested to a mixture of 2 Bivariate Poisson with latent
variables Z1; Z12; Z2; Z3, since with respect to the general case we have now Z21 = Z22 = Z2
1
and Z31 = Z32 = Z3. Then, for each observed pair of values xi = (xi; li), wi = 1 if xi is
generated by the first component, and wi = 2 if generated by the second one. Accordingly:
zi = (zi11; zi21; zi2; zi3) are such that xi =
zi11 + zi3 if wi = 1
zi21 + zi3 if wi = 2
and li = zi2 + zi3
EM algorithm requires, in our case, to consider the complete dataset
(X ; Z ) = f(x1; z1; w1) ; : : : ; (xn; zn; wn)g
=
(k) = n1 Xn pi(k 1) where pi(k 1) =
(k 1)p(xij 1k 1)
(k 1)) + (1
(k 1)p(xij 1</p>
        <p>(k 1))
(k 1))p(xij 2
and p is the Bivariate Poisson with parameters
1(k) =
1</p>
        <p>Pin=1 b11i(k 1)pi(k 1)</p>
        <p>Pn (k 1)</p>
        <p>i=1 pi
(2k) = n1 Xn b2i(k 1)
2(k) =
1
(3k) = n1 Xn b3i(k 1)</p>
        <p>i=1
Pn 2 (k 1)(1
i=1 b1i</p>
        <p>Pn
i=1(1</p>
        <p>pi(k 1))
pi(k 1))
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Expectation</title>
        <p>We can show that the expectations bj1i(k) and bhi(k) are:
min (xi;li)</p>
        <p>X
b3i(k) =
=</p>
        <p>r=0
min (xi;li)</p>
        <p>X</p>
        <p>(1
r
r=0
r p(Z3 = rjxi; ) where
(k) =
)p(Z3 = r; xijW = 2; (k)) +
p(xij (k))
p(Z3 = r; xijW = 1; (k))
1 (k) = E[X1jW = 1; xi]
b1i
2 (k) = E[X jW = 2; xi; (k)]
b1i</p>
        <p>E[Z3jW = 1; xi] = xi
b3i
1 (k)
E[Z3jW = 2; xi; (k)] = xi
p(Z3 = r; xijW = j; (k)) = P0(rj 3(k)) P0(x
j (k)
rj 1
and P0 is the univariate Poisson, p(xij (k)) is the mixture of the bivariate Poisson. Efficient
implementation of the bivariate Poisson through recursion can be found in [4].
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions References</title>
      <p>We have implemented the EM algorithm for the univariate 2-Poisson and we are currently
extending the implementation to the bivariate case.</p>
      <p>The implementation will be soon available together with the results of the experimentation
at the web site http://tinyurl.com/cfcm8ma.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. BRIJS,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>KARLIS</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          , SWINNEN,
          <string-name>
            <surname>G.</surname>
          </string-name>
          , VANHOOF,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>WETS</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          , AND MANCHANDA,
          <string-name>
            <surname>P.</surname>
          </string-name>
          <article-title>A multivariate poisson mixture model for marketing applications</article-title>
          .
          <source>Statistica Neerlandica</source>
          <volume>58</volume>
          ,
          <issue>3</issue>
          (
          <year>2004</year>
          ),
          <fpage>322</fpage>
          -
          <lpage>348</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>HARTER</surname>
            ,
            <given-names>S. P.</given-names>
          </string-name>
          <article-title>A probabilistic approach to automatic keyword indexing. part I: On the distribution of specialty words words in a technical literature</article-title>
          .
          <source>Journal of the ASIS</source>
          <volume>26</volume>
          (
          <year>1975</year>
          ),
          <fpage>197</fpage>
          -
          <lpage>216</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>KOCHERLAKOTA</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , AND KOCHERLAKOTA,
          <string-name>
            <surname>K.</surname>
          </string-name>
          <article-title>Bivariate discrete distributions. Marcel Dekker Inc</article-title>
          ., New York,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. TSIAMYRTZIS,
          <string-name>
            <surname>P.</surname>
          </string-name>
          , AND KARLIS,
          <string-name>
            <surname>D.</surname>
          </string-name>
          <article-title>Strategies for efficient computation of multivariate poisson probabilities</article-title>
          .
          <source>Communications in Statistics-Simulation and Computation</source>
          <volume>33</volume>
          ,
          <issue>2</issue>
          (
          <year>2004</year>
          ),
          <fpage>271</fpage>
          -
          <lpage>292</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>