<!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>Journal of
Machine Learning Research 21 (2020) 1-67. URL: http://jmlr.org/papers/v21/20</journal-title>
      </journal-title-group>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Economics Assistant for Robustness Checks (EconARC): Identifying Confounders from Causal Knowledge Graphs</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Fiona Anting Tan</string-name>
          <email>tan.f@u.nus.edu</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>See-Kiong Ng</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>CEUR Workshop Proceedings (CEUR-WS.org)</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Data Science, National University of</institution>
          <country country="SG">Singapore</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <volume>1</volume>
      <fpage>7871</fpage>
      <lpage>7880</lpage>
      <abstract>
        <p>In Economics, authors conduct robustness checks, such as accounting for potential confounders, to avoid drawing misleading conclusions from their causal analyses. To assist in this process, we propose EconARC, a tool to automatically identify confounders from the literature relevant to a Cause and Efect pair. Our methodology involves extracting cause-and-efect arguments using a fine-tuned sequenceto-sequence model, clustering semantically similar arguments into topics, and utilizing the backdoor criterion on the causal graph to detect confounders. Our study is the first to employ text mining techniques to generate confounders in Economics, with implications for advancing Artificial Intelligence towards human-level capabilities like engaging in academic discourse.</p>
      </abstract>
      <kwd-group>
        <kwd>causal text mining</kwd>
        <kwd>confounder detection</kwd>
        <kwd>knowledge graphs</kwd>
        <kwd>backdoor criterion</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>CEUR
ceur-ws.org</p>
    </sec>
    <sec id="sec-2">
      <title>1. Introduction</title>
      <sec id="sec-2-1">
        <title>Existing literature on confounder detection from causal knowledge graphs prioritizes uncov</title>
        <p>ering latent relationships using quantitative variables [1]. We ofer a novel approach by focusing
solely on text, thereby bridging the fields of causal text mining and causal identification. We
propose the Economics Assistant for Robustness Checks (EconARC), overview shown in Figure</p>
      </sec>
      <sec id="sec-2-2">
        <title>1, that automates robustness check proposal by identifying confounders related to a Cause and</title>
        <p>Efect pair. To our knowledge, we are the first work to use causal text mining techniques to
generate confounders for Economics. We believe that EconARC will be a useful tool for Economics
authors to review their paper prior to submission, and reviewers to obtain an unbiased, initial
assessment of a paper. Our work also has implications for advancing Artificial Intelligence (AI)
towards human-level understanding and inference tasks like engaging in academic discourse.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>2. Our Approach</title>
      <sec id="sec-3-1">
        <title>2.1. Dataset</title>
        <p>
          In this section, we outline our methodology, and provide additional details in the Appendix.1
Our study experiments on 177 papers from 23 issues of the Journal of Labor Economics (JOLE).2
(
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) Annotating Causal Relations: One of our authors, who is an Econometrics graduate, annotated
5 papers (2,223 sentences) for training and 1 paper (560 sentences) for testing with causal
relations. We restricted our annotations to causal relations that appear across 5-sentences in
the same section of the paper, and for cause and efect arguments to be consecutive spans. We
mainly adapted the annotation guidelines from the Causal News Corpus (CNC) [2, 3] with
the key diference being that our annotated causal relations must be helpful to an Economics
academic. A consequence of this rule means that we difer from CNC in areas like our arguments
need not contain events, and we do not annotate: (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) Purpose relations, (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ) justifications for
a data or methodology choice, etc. In total, 522 and 76 causal relations were annotated in
the training and test set respectively. (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ) Annotating Argument Topics: For two papers from
the training set, the same annotator assigned open-ended topic labels to each argument. 356
arguments were annotated to 119 topics. Topic labels were as general as “education”, to more
specific labels like “greater upward mobility”, “areas where fathers tend to be richer within the
bottom half of households and whose sons did better accordingly”, etc.
        </p>
        <sec id="sec-3-1-1">
          <title>Sequences without annotations will be referred to as our Out-of-Sample (OOS) set. The OOS set comprises of 83,676 sentences from 171 papers.</title>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>2.2. Extraction of Causal Relations</title>
        <p>We fine-tune SOTA sequence-to-sequence (S2S) pre-trained language models (PTMs), like
t 5 - b a s e [4], b a r t - b a s e [5] and p e g a s u s - l a r g e [6]. Given the i n p u t _ t e x t , the model learned to
generate the t a r g e t _ t e x t . These texts are described below:</p>
        <p>1. i n p u t _ t e x t : An input sequence that is 5-sentences long with a “ s u m m a r i z e : ” prefix.</p>
        <sec id="sec-3-2-1">
          <title>1Our repository is available at https://github.com/tanfiona/EconARC.</title>
        </sec>
        <sec id="sec-3-2-2">
          <title>2https://www.journals.uchicago.edu/toc/jole/current</title>
        </sec>
        <sec id="sec-3-2-3">
          <title>2. t a r g e t _ t e x t : If no causal relations were annotated within the i n p u t _ t e x t , return “No key</title>
          <p>causal relations”. Else, return a line-separated list of causal relations in the format of “Key
causal relations:\ n 1 . C a u s e : &lt; F I R S T _ C A U S E _ S P A N &gt; \ t E f f e c t : &lt; F I R S T _ E F F E C T _ S P A N &gt; \ n ...”</p>
        </sec>
      </sec>
      <sec id="sec-3-3">
        <title>2.3. Knowledge Graph Creation</title>
        <sec id="sec-3-3-1">
          <title>To prevent a sparse graph, we grouped arguments with similar meaning into a topic. Similar</title>
          <p>
            to [7, 8], we approached this task by (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ) generating word embeddings and (
            <xref ref-type="bibr" rid="ref2">2</xref>
            ) clustering the
embeddings. We concatenated the annotated causal relations from the training set and the
inferred causal relations from the OOS set together when performing clustering. For (
            <xref ref-type="bibr" rid="ref1">1</xref>
            ), to
encode arguments into embeddings, we experimented with PTMs like the supervised pre-trained
language model by SimCSE [9] and the encoder portion of our fine-tuned T5 extraction model.
For (
            <xref ref-type="bibr" rid="ref2">2</xref>
            ), we condensed our embeddings into 400 components3 using Principal Components
          </p>
        </sec>
        <sec id="sec-3-3-2">
          <title>Analysis (PCA) and used Mini-Batch K-Means [10] to perform our clustering. We explored</title>
          <p>various levels of K (5000 to 15000, jumping by gaps of 2500). We removed relations where the
cause and efect have the same topic to avoid nodes with self-loops. Our knowledge graph (KG)
 = ( , )</p>
          <p>is a collection of nodes  = {( 1,  2, ...,   )} and directed edges  = {( 1,  2), ( 2,  3), ...}.
A directed edge (  ,   ) represents the presence of causality between the two nodes, where   is
the cause argument and   is the efect argument. The edges are also weighted by support  ,
indicating the count of relations expressing causality from   to   in the dataset.</p>
        </sec>
      </sec>
      <sec id="sec-3-4">
        <title>2.4. Confounder Detection</title>
        <p>Given an ordered pair of variables ( ,  )</p>
        <p>
          in a directed acyclic graph  , a set of variables 
satisfies the
backdoor criterion relative to ( ,  )
if no node in  is a descendant of  , and
 blocks every path between  and  that contains an arrow into  [1]. Backdoor paths may
make  and  dependent despite lacking causal influences from  . To estimate the causal
relationship of  on  , we need to condition on a set of nodes  such that  (
          <xref ref-type="bibr" rid="ref1">1</xref>
          ) blocks all
spurious paths between  and  , (
          <xref ref-type="bibr" rid="ref2">2</xref>
          ) leaves directed paths between  and  unchanged, and (3)
creates no new spurious paths. In other words, the causal efect of  on  is given by the formula:
 ( = 
 |( = 
 )) = ∑
  ( = 

distribution of Y given an intervention (( =
        </p>
        <sec id="sec-3-4-1">
          <title>X’s dependence on Z.</title>
          <p>| =   ,  =   ) ( = 
 ). This formula describes the
 )) that sets X to the value   , thereby removing</p>
        </sec>
        <sec id="sec-3-4-2">
          <title>Given a source (Cause) and target (Efect), we automatically identify potential confounders</title>
          <p>by adapting the backdoor criterion scripts from DoWhy [11], a Python package for causal
inference. A depth-first search algorithm to explore paths between the Cause and Efect pair
and determines the variables that need to be conditioned on to block all paths between them.</p>
        </sec>
        <sec id="sec-3-4-3">
          <title>Since our whole graph is too large, we had to restrict our search space to improve run times:</title>
          <p>For each node in the graph  , we designated it as a central node and obtained a subgraph ( )
containing nodes located within a 2-step radius. For each node in 
that is not the central node,
we designated it as the target node, while the central node was fixed as the source. The benefit
of this setup is that we could search for backdoor variables within a feasible run time. However,
our methodology fails to identify backdoor variables that lie outside of each subgraph.</p>
        </sec>
        <sec id="sec-3-4-4">
          <title>3With 400 components, only 5.005−05 of variance is dropped.</title>
          <p>(A) Extraction (Seq2Seq Model)
PTM ROUGE1 ROUGE2 ROUGEL ROUGELsum
T5 79.90 77.65 79.25 79.65
Pegasus 66.27 63.07 65.51 65.73
BART 76.86 73.76 75.97 76.48
(B) Clustering (MiniBatch K-Means Model)
PTM K ARI FMI NMI
SimCSE 7500 23.03 32.95 82.47
SimCSE 10000 18.32 27.51 80.54
T5 7500 15.81 21.53 77.64
T5 10000 12.19 21.50 80.11</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>3. Results &amp; Conclusion</title>
      <p>Panel A of Table 1 reports scores for extraction. Across all metrics, our best model was the S2S
model that fine-tuned T5, scoring 79.90% for ROUGE1 and 76.25% for ROUGEL. 4 Hence, we
used this best model on our OOS set to obtain predicted causal relations. Panel B of Table 1
reports scores for clustering. Across all metrics, our best model uses SimCSE embeddings and
performs K-Means clustering for 7500 topics, scoring 23.03% for ARI and 82.47% for NMI. Using
the SimCSE embeddings consistently supercedes using T5’s, suggesting benefits in clustering
arguments that were converted to embeddings that convey semantic similarity. For our best
model, our KG comprises of 7498 unique nodes, 37557 edges, and an edge support ranging from
1 to 10 and averaging at 1.207.5 Finally, we apply the backdoor criterion detection algorithm to
identify confounders. For our dataset of 176 papers (train + OOS), we identified 152 papers and
676 confounders for authors to consider reviewing. These confounders lie 1 to 4 steps away
from either the cause or efect argument of the main relation. We also detected 161 papers and
1408 confounders that the authors themselves describe within their paper, which reveal that
confounders and robustness checks are definitely a key concern and covered by most authors.</p>
      <p>In conclusion, EconARC successfully applies causal text mining techniques to automatically
identify confounders. EconARC will be a useful tool for Economics authors and referees to
critically evaluate the validity of a causal identification strategy. This tool will also help mitigate
reviewers’ unconscious bias by standardizing the review process. In the future, we hope to
expand the coverage of our work to more journals and to more branches of Economics, and to
evaluate our system with Economic academics. We also hope to design tools to identify other
threats to validity to provide a more comprehensive review.
4We used ROUGE evaluation metrics since the task is a S2S open-ended generation task.</p>
      <sec id="sec-4-1">
        <title>5Due to limited space, we provide experimental details, explanation of our evaluation metrics, ablation studies and</title>
        <p>provide qualitative examples of confounders in the Appendix.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Pearl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Glymour</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N. P.</given-names>
            <surname>Jewell</surname>
          </string-name>
          ,
          <article-title>Chapter 3: The efects of interventions, in: Causal inference in statistics: A primer</article-title>
          , John Wiley &amp; Sons,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>F. A.</given-names>
            <surname>Tan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Hürriyetoğlu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Caselli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Oostdijk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Nomoto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Hettiarachchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Ameer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Uca</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. F.</given-names>
            <surname>Liza</surname>
          </string-name>
          , T. Hu,
          <article-title>The causal news corpus: Annotating causal relations in event</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>