<!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>
      <journal-title-group>
        <journal-title>IIR</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>IR Systems Evaluation via Generalized Linear Models⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Discussion Paper</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Guglielmo Faggioli</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nicola Ferro</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Norbert Fuhr</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>University of Duisburg-Essen</institution>
          ,
          <addr-line>Duisburg</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>University of Padova</institution>
          ,
          <addr-line>Padova</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2023</year>
      </pub-date>
      <volume>13</volume>
      <abstract>
        <p>Being able to compare Information Retrieval (IR) systems correctly is pivotal to improving their quality. Among the most popular tools for statistical significance testing, we list t-test and ANOVA that belong to the linear models family. Therefore, given the relevance of linear models for IR evaluation, a great efort has been devoted to studying how to improve them to better compare IR systems. Linear models rely on assumptions that IR experimental observations rarely meet, e.g. about the normality of the data or the linearity itself. Even though linear models are, in general, resilient to violations of their assumptions, departing from them might reduce the efectiveness of the tests. Hence, we investigate the use of the Generalized Linear Models (GLMs) framework, a generalization of the traditional linear modelling that relaxes assumptions about the distribution and the shape of the models. We discuss how GLMs can be applied in the context of IR evaluation. In particular, we focus on the link function used to build GLMs, which allows for the model to have non-linear shapes.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Evaluation in Information Retrieval (IR) allows researchers and practitioners to study and
compare their systems in order to understand how to improve them. To this end, sound
statistical inference methods are needed to obtain robust and generalizable insights and to
predict what happens when systems run in a real-world scenario. Therefore, statistical analyses,
such as bootstrap, randomization tests [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ], t-tests, and ANalysis Of VAriance (ANOVA) [
        <xref ref-type="bibr" rid="ref4 ref5 ref6">4, 5, 6</xref>
        ]
have been widely studied and successfully employed in IR evaluation.
      </p>
      <p>
        In particular, t-test and ANOVA belong to the family of statistical methods called General
Linear Models (GLiMs), a generalization of the multiple linear regression, which is based on
the following assumptions: i) independence of the observations, ii) constant variance of the
data, i.e. homoscedasticity iii) normal distribution of the data, i.e., normality; last but not least
and too often overlooked: iv) linear correlation between experimental conditions and the
expectation of the response i.e., linearity. These assumptions allow for an analytical solution of
the model and its practical computation. Furthermore, the more such assumptions are satisfied,
the more accurate is the estimation of the model and the inferences drawn from it. Previous
literature showed great interest in studying the empirical consequences of using data violating
such assumptions, both from a theoretical standpoint [
        <xref ref-type="bibr" rid="ref7 ref8">7, 8</xref>
        ], and also considering empirical IR
data [
        <xref ref-type="bibr" rid="ref10 ref11 ref5 ref9">5, 9, 10, 11</xref>
        ]. Such works show that, in general, linear models are resilient to the violation
of their assumptions. At the same time, several works have explored how to make IR data closer
to the GLiM assumptions, e.g. by transforming the data [
        <xref ref-type="bibr" rid="ref10 ref5">5, 10</xref>
        ]. In all the cases, the ultimate
goal is to obtain models which are capable to better and more reliably distinguish among IR
systems. The Generalized Linear Model (GLM) framework is a generalization of the GLiMs that
relaxes some of the underlying assumptions to increase models’ applicability. In particular,
the data is no longer required to follow a normal distribution or to have constant variance.
Moreover, GLMs also relax the fourth assumption, allowing the link between the response and
the experimental conditions to have diferent forms besides the linear one. In this work, we
investigate the application of Generalized Linear Models to IR evaluation and show how they
can help us in better comparing and distinguishing among systems.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Methodology</title>
      <p>Parametric statistical tests, such as t-tests or ANOVA, rely on the assumption that data can be
modelled using a linear model. Given a system  and a topic , we can compute a measure, e.g.
Average Precision (AP), that quantifies how well  performs on . We refer to such a score as 
and call it response.  is a realization of a random variable  . The experimental conditions – i.e.,
topics and systems – are correlated with the response, thus called covariates. Using traditional
linear models, the expectation of the response [ ], is modeled as a linear combination  of the
covariates (linearity) as follows:  [ ] =  =  +  11 + ... +   +  11 + ... +  , where
 and  are respectively the dummy coding variables for the topic and systems considered,   is
the efect due to the -th topic,   is the efect due to the -th system. The intercept  represents
the grand mean of our data. To compute the linear model and grant its inferences, we assume
 ∼  (,  2) –  distributes normally (normality) and has the same variance  2 everywhere
(homoscedasticity). Without losing generality, we can say that we model ([ ]) =  , where 
is the identity function () = . In this sense,  is the function that links [ ] to  . Summing
up, fitting a linear model requires defining the following elements: 1. a linear combination  of
the diferent explanatory variables; 2. a link function  to connect [ ] to  ; 3. a distribution
for  . Compared to a traditional linear model, a GLM relaxes the assumptions for items 2
and 3. First, it models ( [ ]) where , the link, can be any monotonic continuous function.
Secondly, the response  can follow a distribution  ( ) that is not necessarily Gaussian. The
homoscedasticity assumption is relaxed as well since the variance can change with the expected
mean. Thus, a GLM can be expressed in the following form:</p>
      <p>( [ ]) =  , with  ∼  ( )
The chosen probability distribution  ( ) must be a member of the exponential distributions
family. A location parameter  characterizes distributions belonging to the exponential family
e.g., the normal distribution’s mean. If we observe that ([ ]) =  for a given distribution of
 , then we say that  is the canonical link of such a distribution.</p>
      <p>
        We are now interested in understanding the efect on the IR evaluation, switching from
the traditional evaluation based on linear models to considering GLMs. As pointed out in the
previous section, to fit GLMs, we need to select the link function and the response distribution.
In this work, we focus only on the efect that the link function has on the IR evaluation. Any
possible monotonic continuous function can be a suitable link. The choice of which link to
use depends on the shape of the data. Therefore, we try to empirically determine the best
link for IR data. In particular, we include the log, exponential and hyperbolic tangent (tanh)
functions in our experiments. We also experiment with a series of sigmoidal functions: logit,
probit and cauchit. Previous works on transforming AP [
        <xref ref-type="bibr" rid="ref10 ref12 ref13 ref14">10, 12, 13, 14</xref>
        ] observed that the logit
transformation renders the score distribution more normal but it has the drawback of making
observations for which AP is zero or one unusable. GLMs based on the logit link avoid such
corner cases. However, when even the expectation of a system’s performance is close to zero,
using log-based links – e.g., log and logit – determines a high variance of the coeficients
associated with such a system. As a consequence a larger variance increases the standard error.
It is therefore advisable to remove outliers with close-to-zero expected performance.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Experimental Analysis</title>
      <p>
        In our experimental analysis, we consider two collections for ad-hoc retrieval: TREC 13 Robust
04 [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] and TREC 27 Core 18 [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. Systems mean performance is very close to 0 can challenge
the log-based links. Since this happens in the case of Core 18, we also consider a second version
of it, where we remove eight outlier runs, performing extremely low in terms of MAP.
      </p>
      <p>
        The most common goodness-of-fit statistics under the GLM framework is the deviance [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ],
which is analogous to sum of squares of residuals (RSS) under the GLiM framework. Table 1
illustrates the deviance measured for diferent GLMs using several link functions, IR measures,
and experimental collections. The traditional GLiM approach based on the identity link,
(corresponding to the current evaluation methodology) presents a low goodness-of-fit, given its
high deviance compared to other links. This evidence supports the idea of investigating and
using GLMs instead. The exponential link is the worst, systematically underperforming on
all experimental conditions and its high deviance indicates poor goodness-of-fit compared to
all the other links. Its poor capability in fitting IR data leads to overall instability, especially
concerning shallow performing systems, and to convergence problems when fitting the model –
highlighted by the increased iterations to reach convergence, not reported here due to space
constraints. The log link shows improved goodness-of-fit compared to identity one, especially
for the Core 18 collection (both with and without outliers). The tanh link exhibits an
intermediate behaviour in all scenarios: it appears slightly better than the identity without providing
substantial improvements. Finally, The logit link has the best goodness-of-fit in most cases,
achieving the lowest deviance. Logit, probit and cauchit links tend to perform quite similarly.
      </p>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusions and Future Work</title>
      <p>We studied GLMs, an extension of the traditional linear models typically used in IR evaluation to
compare systems. GLMs overcome the main reasons of departure of IR data from assumptions
underlying linear models: non-normality and heteroscedasticity of the data and non-linearity
of the empirical mean. In this work, we focused on the latter and studied how to address it
using diferent link functions. We observed that log, logit, tanh, prob, and probit provide general
improvements concerning the identity link used today. We then dug into the log and logit
links, which were the most promising ones, and we found out that they can detect a sizeably
greater number of consistent ssd pairs than the identity link. In future work, we plan to consider
diferent distributions, to deal with the non-normality and heteroscedasticity of the data.</p>
      <p>org/10.1007/978-1-4899-3242-6. doi:10.1007/978-1-4899-3242-6.
[18] J. W. Tukey, Comparing Individual Means in the Analysis of Variance, Biometrics (1949)
99–114.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>G.</given-names>
            <surname>Faggioli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Fuhr</surname>
          </string-name>
          ,
          <article-title>Detecting significant diferences between information retrieval systems via generalized linear models</article-title>
          , in: M. A.
          <string-name>
            <surname>Hasan</surname>
          </string-name>
          , L. Xiong (Eds.),
          <source>Proceedings of the 31st ACM International Conference on Information &amp; Knowledge Management</source>
          , Atlanta,
          <string-name>
            <surname>GA</surname>
          </string-name>
          , USA, October
          <volume>17</volume>
          -
          <issue>21</issue>
          ,
          <year>2022</year>
          , ACM,
          <year>2022</year>
          , pp.
          <fpage>446</fpage>
          -
          <lpage>456</lpage>
          . URL: https://doi.org/10.1145/3511808.3557286. doi:
          <volume>10</volume>
          .1145/3511808.3557286.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>T.</given-names>
            <surname>Sakai</surname>
          </string-name>
          ,
          <article-title>Evaluating Evaluation Metrics Based on the Bootstrap</article-title>
          ,
          <source>in: Proceedings of the 29th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '06</source>
          ,
          <year>2006</year>
          , p.
          <fpage>525</fpage>
          -
          <lpage>532</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>M. D.</given-names>
            <surname>Smucker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Allan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Carterette</surname>
          </string-name>
          ,
          <article-title>A Comparison of Statistical Significance Tests for Information Retrieval Evaluation</article-title>
          ,
          <source>in: Proceedings of the 16th ACM Conference on Information and knowledge Management</source>
          ,
          <source>CIKM '07</source>
          ,
          <year>2007</year>
          , pp.
          <fpage>623</fpage>
          -
          <lpage>632</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Rutherford</surname>
          </string-name>
          ,
          <string-name>
            <surname>Introducing</surname>
            <given-names>ANOVA</given-names>
          </string-name>
          and
          <article-title>ANCOVA: a GLM approach</article-title>
          , Sage,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Tague-Sutclife</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Blustein</surname>
          </string-name>
          ,
          <string-name>
            <surname>A Statistical</surname>
          </string-name>
          <article-title>Analysis of the TREC-3 Data</article-title>
          , in
          <source>: Proceedings of The 3rd Text REtrieval Conference</source>
          ,
          <source>TREC '94</source>
          ,
          <year>1994</year>
          , pp.
          <fpage>385</fpage>
          -
          <lpage>398</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>D.</given-names>
            <surname>Banks</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Over</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.-F.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , Blind Men and
          <article-title>Elephants: Six Approaches to TREC Data, Information Retrieval Journal (IRJ) 1 (</article-title>
          <year>1999</year>
          )
          <fpage>7</fpage>
          -
          <lpage>34</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>P.</given-names>
            <surname>Ito</surname>
          </string-name>
          ,
          <article-title>7 robustness of anova and manova test procedures</article-title>
          ,
          <source>in: Analysis of Variance</source>
          , volume
          <volume>1</volume>
          of Handbook of Statistics,
          <year>1980</year>
          , pp.
          <fpage>199</fpage>
          -
          <lpage>236</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Scariano</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Davenport</surname>
          </string-name>
          ,
          <article-title>The Efects of Violations of Independence Assumptions in the One-</article-title>
          <string-name>
            <surname>Way</surname>
            <given-names>ANOVA</given-names>
          </string-name>
          ,
          <source>The American Statistician</source>
          <volume>41</volume>
          (
          <year>1987</year>
          )
          <fpage>123</fpage>
          -
          <lpage>129</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>D.</given-names>
            <surname>Hull</surname>
          </string-name>
          ,
          <article-title>Using statistical testing in the evaluation of retrieval experiments</article-title>
          ,
          <source>in: Proceedings of the 16th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '93</source>
          ,
          <year>1993</year>
          , p.
          <fpage>329</fpage>
          -
          <lpage>338</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>G. V.</given-names>
            <surname>Cormack</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. R.</given-names>
            <surname>Lynam</surname>
          </string-name>
          , Statistical Precision of Information Retrieval Evaluation,
          <source>in: Proceedings of the 29th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '06</source>
          ,
          <year>2006</year>
          , p.
          <fpage>533</fpage>
          -
          <lpage>540</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>B.</given-names>
            <surname>Carterette</surname>
          </string-name>
          ,
          <source>Multiple Testing in Statistical Analysis of Systems-based Information Retrieval Experiments</source>
          ,
          <source>ACM Transactions on Information Systems (TOIS) 30</source>
          (
          <year>2012</year>
          )
          <fpage>1</fpage>
          -
          <lpage>34</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>S. E.</given-names>
            <surname>Robertson</surname>
          </string-name>
          , E. Kanoulas,
          <article-title>On Per-Topic Variance in IR Evaluation, in:</article-title>
          <source>Proceedings of the 33rd ACM SIGIR Conference on Research and Development on Information Retrieval, SIGIR '12</source>
          ,
          <year>2012</year>
          , p.
          <fpage>891</fpage>
          -
          <lpage>900</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S.</given-names>
            <surname>Robertson</surname>
          </string-name>
          , On Smoothing Average Precision, in: Advances in Information Retrieval,
          <year>2012</year>
          , pp.
          <fpage>158</fpage>
          -
          <lpage>169</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>A.</given-names>
            <surname>Berto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Mizzaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Robertson</surname>
          </string-name>
          ,
          <article-title>On Using Fewer Topics in Information Retrieval Evaluations</article-title>
          ,
          <source>in: Proceedings of the 2013 Conference on the Theory of Information Retrieval, ICTIR '13</source>
          ,
          <year>2013</year>
          , p.
          <fpage>30</fpage>
          -
          <lpage>37</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Voorhees</surname>
          </string-name>
          ,
          <article-title>Overview of the TREC 2004 Robust Retrieval Track</article-title>
          ,
          <source>in: Proceedings of The 13th Text REtrieval Conference</source>
          ,
          <source>TREC '13</source>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>J.</given-names>
            <surname>Allan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. K.</given-names>
            <surname>Harman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Kanoulas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Voorhees</surname>
          </string-name>
          ,
          <article-title>TREC 2018 Common Core Track Overview</article-title>
          ,
          <source>in: The Twenty-Seventh Text REtrieval Conference Proceedings (TREC</source>
          <year>2018</year>
          ),
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>P.</given-names>
            <surname>McCullagh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Nelder</surname>
          </string-name>
          , Generalized Linear Models, Springer,
          <year>1989</year>
          . URL: https://doi.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>