diff --git a/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_content_list.json b/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..6f4eff25c37757c504aec8cfcf5e27403c01d078
--- /dev/null
+++ b/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:920227012980db3f31b5b86c1bb5bfce3caaa5190c11c76ee25862304af6be57
+size 101514
diff --git a/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_model.json b/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..be52da6c1c5cd50c11c6be203a54cd7ff72eea72
--- /dev/null
+++ b/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2cafe03c29a439776b9f228bbc0aba9d1359fda571a7240be85e9cb8826061df
+size 121962
diff --git a/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_origin.pdf b/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..ec6b19a5aa394de7eeb5e303c7af1e5d896886d9
--- /dev/null
+++ b/ambigqaansweringambiguousopendomainquestions/c6691302-c59d-4a5d-87c9-f9d78b34b2fa_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c0fc5a9cfb01f35f9c0b64070aeb70db7f91096c34c8f5b7c8fdbfdb2d15a143
+size 1543197
diff --git a/ambigqaansweringambiguousopendomainquestions/full.md b/ambigqaansweringambiguousopendomainquestions/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..b52ac82e1dd2734527bda44a4cb17945dfe7632a
--- /dev/null
+++ b/ambigqaansweringambiguousopendomainquestions/full.md
@@ -0,0 +1,449 @@
+# AMBIGQA: Answering Ambiguous Open-domain Questions
+
+Sewon Min, $^{1,2}$ Julian Michael, $^{1}$ Hannaneh Hajishirzi, $^{1,3}$ Luke Zettlemoyer $^{1,2}$
+
+1University of Washington 2Facebook AI Research 3Allen Institute for Artificial Intelligence
+
+{sewon, julianjm, hannaneh, lsz}@cs.washington.edu
+
+# Abstract
+
+Ambiguity is inherent to open-domain question answering; especially when exploring new topics, it can be difficult to ask questions that have a single, unambiguous answer. In this paper, we introduce AMBIGQA, a new open-domain question answering task which involves finding every plausible answer, and then rewriting the question for each one to resolve the ambiguity. To study this task, we construct AMBIGNQ, a dataset covering 14,042 questions from NQ-OPEN, an existing open-domain QA benchmark. We find that over half of the questions in NQ-OPEN are ambiguous, with diverse sources of ambiguity such as event and entity references. We also present strong baseline models for AMBIGQA which we show benefit from weakly supervised learning that incorporates NQ-OPEN, strongly suggesting our new task and data will support significant future research effort. Our data and baselines are available at https://nlp.cs.washington.edu/ambigqa.
+
+# 1 Introduction
+
+In the open-domain setting, it can be difficult to formulate clear and unambiguous questions. For example, Figure 1 shows a Google search query (Kwiatkowski et al., 2019) that, perhaps surprisingly, has two possible interpretations given the evidence in Wikipedia. Although open-domain question answering (QA) systems aim to answer any factoid question (Voorhees et al., 1999), existing methods assume questions have a single well-defined answer. Nonetheless, ambiguity arises frequently in open-domain QA, where questions are written during information gathering (e.g., search queries) without knowledge of the answer. As we will see in Section 4, over $50\%$ of the questions we sampled from a set of Google search queries are ambiguous. Furthermore, identifying ambiguities is difficult both for humans and machines. As
+
+
+
+# AMBIGQA Input
+
+When did harry potter and the sorcerer's stone movie come out?
+
+Harry Potter and the Philosopher's Stone (film)
+From Wikipedia, the free encyclopedia
+
+The film had its world premiere at the Odeon Leicester Square in London on 4 November 2001, with the cinema arranged to resemble Hogwarts School. (...) The film was released to cinemas in the United Kingdom and United States on 16 November 2001.
+
+# AMBIGQA Output
+
+Q: When did harry potter and the sorcerer's stone movie come out at the Odeon Leicester Square? A: 4 November 2001
+Q: When did harry potter and the sorcerer's stone movie come out in cinemas?
+A: 16 November 2001
+
+
+Figure 1: An AMBIGNQ example where the prompt question (top) appears to have a single clear answer, but is actually ambiguous upon reading Wikipedia. AMBIGQA requires producing the full set of acceptable answers while differentiating them from each other using disambiguated rewrites of the question.
+
+shown in Figure 1, ambiguity is a function of both the question and the evidence provided by a large text corpus.
+
+To study this challenge, we introduce AMBIGQA (Answering Ambiguous Open-domain Questions), a new task which involves disambiguating and answering potentially ambiguous questions. Specifically, the model must (1) find a set of distinct, equally plausible answers to the question, and (2) provide minimal yet unambiguous rewrites of the question that clarify the interpretation which leads to each answer. Figure 1 shows two such disambiguated questions and their answers.
+
+To support the study of this task, we construct a dataset called AMBIGNQ using 14,042 questions from an open-domain version of NATURAL QUESTIONS (Kwiatkowski et al., 2019), denoted NQ-OPEN. For each question, annotators search for,
+
+
| Type | Example |
| Event references (39%) | What season does meredith and derek get married in grey's anatomy?
+Q: In what season do Meredith and Derek get informally married in Grey's Anatomy? / A: Season 5
+Q: In what season do Meredith and Derek get legally married in Grey's Anatomy? / A: Season 7 |
| Properties (27%) | How many episode in seven deadly sins season 2?
+Q: How many episodes were there in seven deadly sins season 2, not including the OVA episode? / A: 25
+Q: How many episodes were there in seven deadly sins season 2, including the OVA episode? / A: 26 |
| Entity references (23%) | How many sacks does clay matthews have in his career?
+Q: How many sacks does Clay Matthews Jr. have in his career? / A: 69.5
+Q: How many sacks does Clay Matthews III have in his career? / A: 91.5 |
| Answer types (16%) | Who sings the song what a beautiful name it is?
+Q: Which group sings the song what a beautiful name it is? / A: Hillsong Live
+Q: Who is the lead singer of the song what a beautiful name it is? / A: Brooke Ligertwood |
| Time-dependency (13%) | When does the new family guy season come out?
+Q: When does family guy season 16 come out? / A: October 1, 2017
+Q: When does family guy season 15 come out? / A: September 25, 2016
+Q: When does family guy season 14 come out? / A: September 27, 2015 |
| Multiple sub-questions (3%) | Who was british pm and viceroy during quit india movement?
+Q: Who was british viceroy during quit India movement? / A: Victor Hope
+Q: Who was british pm during quit India movement? / A: Winston Churchill |
+
+Table 1: Breakdown of the types of ambiguity in 100 randomly sampled items from the AMBIGNQ development data. Each example may fall into multiple categories.
+
+navigate, and read multiple Wikipedia pages to find as many answers as possible. The high prevalence of ambiguity makes the task difficult even for human experts; it is inherently difficult to know if you have found every possible interpretation of a question. Nonetheless, we are able to collect high quality data covering high levels of ambiguity (2.1 distinct answers per question on average) with high estimated agreement (89.0 F1) on valid answers. The types of ambiguity are diverse and sometimes subtle (Table 1), including ambiguous entity or event references, or ambiguity over the answer type; many are only apparent after examining one or more Wikipedia pages.
+
+To establish initial performance levels on this data, we present a set of strong baseline methods. We extend a state-of-the-art QA model (Karpukhin et al., 2020) with three new components: (1) set-based question answering with a sequence-to-sequence model, (2) a question disambiguation model, and (3) a modification to democratic constraining (Zhou and Goldman, 2004) which leverages the partial supervision available in the full NQ-OPEN dataset. We also do an ablation study and qualitative analysis, which suggest there is significant room for future work on this task.
+
+To summarize, our contributions are threefold.
+
+1. We introduce AMBIGQA, a new task which requires identifying all plausible answers to
+
+an open-domain question, along with disambiguated questions to differentiate them.
+
+2. We construct AMBIGNQ, a dataset with 14,042 annotations on NQ-OPEN questions containing diverse types of ambiguity.
+3. We introduce the first baseline models that produce multiple answers to open-domain questions, with experiments showing their effectiveness in learning from our data while highlighting avenues for future work.
+
+# 2 Related Work
+
+Open-domain Question Answering requires a system to answer any factoid question based on evidence provided by a large corpus such as Wikipedia (Voorhees et al., 1999; Chen et al., 2017). Existing benchmarks use questions of various types, from open-ended information-seeking (Berant et al., 2013; Kwiatkowski et al., 2019; Clark et al., 2019) to more specialized trivia/quiz (Joshi et al., 2017; Dunn et al., 2017). To the best of our knowledge, all existing formulations assume each question has a single clear answer.
+
+Our work is built upon an open-domain version of NATURAL QUESTIONS (Kwiatkowski et al., 2019), denoted NQ-OPEN, composed of questions posed by real users of Google search, each with an answer drawn from Wikipedia. NQ-OPEN has promoted several recent advances in open
+
+domain question answering (Lee et al., 2019; Asai et al., 2020; Min et al., 2019a,b; Guu et al., 2020; Karpukhin et al., 2020). Nonetheless, Kwiatkowski et al. (2019) report that the answers to such questions are often debatable, and the average agreement rate on NQ-OPEN test data is $49.2\%$ , in large part due to ambiguous questions. In this work, we embrace this ambiguity as inherent to information seeking open-domain QA, and present the first methods for returning sets of answers paired with different interpretations of the question.
+
+Clarification Questions have been used to study question ambiguity in other settings. Research on community Q&A (Braslavski et al., 2017; Rao and Daumé III, 2018, 2019) studies finding underspecification in the question, but it does not find the answer to the original question. In recent work, Xu et al. (2019) study clarification of questions that are intentionally annotated with pre-specified entity reference ambiguities. Aliannejadi et al. (2019) and Zamani et al. (2020) use clarification questions to refine intents of simple query logs without immediately apparent information needs (e.g., single keywords like $\text{dinosaur}^2$ ).
+
+In contrast, we study open-domain factoid questions asked by real users: these present clear information needs, but carry diverse naturally occurring ambiguities (see Table 1). Furthermore, instead of prolonging the user's information-seeking session with clarification questions, our task formulation provides a complete and immediate solution with unambiguous rewrites of the original question.
+
+Question Rewriting is a novel, well-defined task which we propose for differentiating distinct answers. To the best of our knowledge, it has not been studied for resolving ambiguity; we are only aware of Elgohary et al. (2019) which use question rewriting to convert conversational questions into self-contained questions.
+
+# 3 Task: AMBIGQA
+
+# 3.1 AMBIGQA Setup
+
+Figure 1 depicts the AMBIGQA task. The input is a prompt question $q$ , and the output is a list of $n$ question-answer pairs $(x_{1},y_{1}),\ldots ,(x_{n},y_{n})$ where each $y_{i}$ is an equally plausible answer to $q$ and each $x_{i}$ is a minimally edited modification of
+
+$q$ whose answer is unambiguously $y_{i}$ . We consider two subtasks.
+
+Multiple Answer Prediction. Given a question $q$ , output a set of semantically distinct and equally plausible answers $y_{1},\ldots ,y_{n}$ , where $n$ is unknown.
+
+Question Disambiguation. Given $q$ and a set of answers $y_{1},\ldots ,y_{n}$ , generate disambiguated questions $x_{1},\ldots ,x_{n}$ , where each $x_{i}$ is a minimal edit of $q$ which makes it unambiguous so that $y_{i}$ is a correct answer and all $y_{j}$ for all $j\neq i$ are incorrect. When $n = 1$ , this task is trivial, as $x_{1} = q$ .
+
+We choose to represent ambiguity with a set of disambiguated questions because it is well-defined, immediately human-interpretable, and allows for straightforward annotation of a wide range of ambiguities without complex guidelines.
+
+# 3.2 Evaluation Metrics
+
+To evaluate model performance, we present several ways to compare a model prediction with $m$ question-answer pairs $(x_{1},y_{1}),\ldots ,(x_{m},y_{m})$ with a gold reference set with $n$ pairs $(\bar{x}_1,\bar{y}_1),\dots ,(\bar{x}_n,\bar{y}_n)$ . Since there may be more than one way to refer to a single answer (e.g., Michael Jordan and Michael Jeffrey Jordan) each gold answer $\bar{\mathcal{V}}_i$ is a set of acceptable answer strings, where all $\bar{\mathcal{V}}_i$ are disjoint.
+
+We assign each predicted question-answer pair $(x_{i},y_{i})$ a correctness score based on a string similarity function $f$ valued in [0, 1].
+
+$$
+c _ {i} = \max _ {1 \leq j \leq n} \mathbb {I} [ y _ {i} \in \bar {\mathcal {Y}} _ {j} ] f (x _ {i}, \bar {x} _ {j}).
+$$
+
+Intuitively, $c_{i}$ considers (1) the correctness of the answer and (2) the similarity $f(x_{i},\bar{x}_{j})$ between the predicted and reference question. We calculate F1 treating the $c_{i}$ as measures of correctness:
+
+$$
+\begin{array}{l} \operatorname {p r e c} _ {f} = \frac {\sum_ {i} c _ {i}}{m}, \quad \operatorname {r e c} _ {f} = \frac {\sum_ {i} c _ {i}}{n}, \\ \mathrm {F 1} _ {f} = \frac {2 \times \operatorname {p r e c} _ {f} \times \operatorname {r e c} _ {f}}{\operatorname {p r e c} _ {f} + \operatorname {r e c} _ {f}}. \\ \end{array}
+$$
+
+We consider three choices of $\mathrm{F}_f$ . $\mathrm{F1}_{\mathrm{ans}}$ is the F1 score on answers only, where $f$ always yields 1. This may be used without the question disambiguation step. $\mathrm{F1}_{\mathrm{BLEU}}$ accounts for string similarity between questions, calculating $f$ with BLEU (Papineni et al., 2002). $\mathrm{F1}_{\mathrm{EDIT - F1}}$ uses EDIT-F1 as $f$ , where EDIT-F1 is a new measure that represents each disambiguated question by its added and
+
+deleted unigrams compared to the prompt question, and computes the F1 score between them. For example, consider the prompt question "Who made the play the crucible?", the reference "Who wrote the play the crucible?" and the prediction "Who made the play the crucible in 2012?". The gold edits| Answer span mismatch (44%) |
| Q: Who did the artwork for pink floyd's wall?
+NQ-OPEN answer: Gerald Anthony Scarfe
+AMBIGNQ answer:
+Q: Who did the art work for the album cover of Pink Floyd's The Wall? / A: Gerald Scarfe
+Q: Who was the cinematographer for Pink Floyd - The Wall (1982 film)? / A: Peter Biziou |
| NQ-OPEN answer incorporated as a question (2%) |
| Q: What award did leonardo dicaprio won for the revenant?
+NQ-OPEN answer: BAFTA Award; Academy Award for Best Actor; Golden Globe Award
+AMBIGNQ answer:
+Q: What British Academy Film Awards award did leonardo dicaprio won for the revenant? / A: Best Actor in a Leading Role
+Q: What Academy award did leonardo dicaprio won for the revenant? / A: Best Actor
+Q: What Golden Globe award did leonardo dicaprio won for the revenant? / A: Best Actor in a Motion Picture - Drama
+(Other question-answer pairs omitted) |
| NQ-OPEN answer less specific (10%) |
| Q: When was the nba 3 point line introduced?
+NQ-OPEN answer: 1979
+AMBIGNQ answer: June 1979 |
| NQ-OPEN answer incorrect and our answers include all possible answers (22%) |
| Q: Who was inducted into the national inventors hall of fame first?
+NQ-OPEN answer: John Fitch
+AMBIGNQ answer: Thomas Edison
+Comment: Thomas Edison inducted in 1973, John Fitch inducted in 2006. John Fitch is mentioned as the earliest born inventor inducted.† |
| Mismatch from time-dependence (14%) |
| Q: Who has the most home runs in the home run derby?
+NQ-OPEN answer: Todd Frazier
+AMBIGNQ answer:
+Q: Who has the most home runs in the the TV show the home run derby? / A: Mickey Mantle; Mickey Charles Mantle
+Q: Who has the most home runs in the annual competition the home run derby? / A: Joc Russell Pederson; Joc Pederson |
| NQ-OPEN answer is reasonable and our answers miss it (4%) |
| Q: Who was the first person to settle dodge city?
+NQ-OPEN answer: civilians
+AMBIGNQ answer: Henry J. Sitler |
| NQ-OPEN answer incorrect but our answers miss another possible answer (4%) |
| Q: In which year were chips used inside the computer for the first time?
+NQ-OPEN answer: 1975
+AMBIGNQ answer: 1962
+Comment: The years that the chips were used for the first time in the prototype and the production are 1962 and 1974, respectively, and can be both included.‡ |
+
+Table 9: Breakdown of cases that NQ-OPEN answer is not included in AMBIGNQ answers.
+†en.wikipedia.org/wiki/List_of_National_Inventors_Hall_of_Fame_inductees
+‡en.wikipedia.org/wiki/History_of_computing_hardware_(1960s%E2%80%93present)
+
+| Reference has multiple answers; Multiple answer prediction is correct (2%) Prompt question: Who was england's prime minister during ww1? Reference: H. H. Asquith (beginning of WW1), David Lloyd George (end of WW1) Prediction: \( \left( {{\mathrm{{F1}}}_{\text{ans }} = {1.00}}\right) \mathrm{H}.\mathrm{H} \) . Asquith,David Lloyd George |
| Reference has multiple answers; Multiple answer prediction is partially correct (40%) Prompt question: Who played kelly on the drew carey show? NQ-OPEN answer: Cynthia Watros Reference: Cynthia Watros (as Kellie N.), Jenny McCarthy (as M. Kelly), Brett Butler (as G. Kelly), Anna Gunn (as Kelly W.) Prediction: \( \left( {{\mathrm{{F1}}}_{\text{ans }} = {0.40}}\right) \) : Brett Butler |
| Reference has multiple answers; Multiple answer prediction is incorrect (14%) Prompt question: Who plays the white queen in alice through the looking glass? Reference: Amelia Crouch (young White Queen), Anne Hathaway (adult White Queen) Prediction: \( \left( {{\mathrm{{F1}}}_{\text{ans }} = {0.00}}\right) : \) Helena Bonham Carter \( {}^{ \dagger } \) |
| Reference has one answer; over-generated predictions (2%) Prompt question: How many times csk reached final inipl? Reference: eight Prediction: \( \left( {{\mathrm{{F1}}}_{\text{ans }} = {66.7}}\right) : \) eight,seven \( {}^{ \ddagger } \) |
| Reference has one answer; correct single answer prediction (26%) Prompt question: When did the 5th circuit became the 11th circuit? Reference: October 1, 1981 Prediction: \( \left( {{\mathrm{{F1}}}_{\text{ans }} = {100.0}}\right) : \) October 1, 1981 |
| Reference has one answer; incorrect single answer prediction (12%) Prompt question: Who is considered the home team for super bowl 52? Reference: New England Patriots Prediction: \( \left( {{\mathrm{{F1}}}_{\text{ans }} = {0.0}}\right) : \) Atlanta Falcons |
| Reference is incorrect (4%) Prompt question: Who has won the most trophies man utd or liverpool? Reference: Man utd (trophies), Liverpool (FIFA andUEFA Cups) Prediction: \( \left( {{\mathrm{{F1}}}_{\text{ans }} = {66.7}}\right) : \) Manchester United |
+
+Table 10: Analysis of multiple answer predictions made by SPANSEQGEN with co-training, on 50 samples from the development data. Rewrites are omitted but differentiation of multiple answers is denoted as a keyword in italic.
+Helena Bonham Carter played Red Queen.
+$^{\ddagger}$ In fact, the model may have found time-dependency, because the eighth event happened only in 2019.
\ No newline at end of file
diff --git a/ambigqaansweringambiguousopendomainquestions/images.zip b/ambigqaansweringambiguousopendomainquestions/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..5ca08e6b4e1d5dcd6a0839b7be1322f39f77f591
--- /dev/null
+++ b/ambigqaansweringambiguousopendomainquestions/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:71ac8fc14581b98c7b31579fd324d7013f1eb33123a4fa6e19b24e916dca9cc6
+size 966707
diff --git a/ambigqaansweringambiguousopendomainquestions/layout.json b/ambigqaansweringambiguousopendomainquestions/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..6ad01ee1201e382583f256b9cf10d500da11944d
--- /dev/null
+++ b/ambigqaansweringambiguousopendomainquestions/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f0b284fd1cd8b805d6e52e3e903b3098a34367db39a446e8f877bede6bd02914
+size 521408
diff --git a/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_content_list.json b/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..e5518cc630c851b23da3888ee4b682184af9534a
--- /dev/null
+++ b/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:502ba5462abf2093e3e37b0a501ec7b218d01c7d5b40b5b64bbc496f9f0bae3d
+size 68791
diff --git a/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_model.json b/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..96efcbf4d113d83d865f36b816c76e2be86ca162
--- /dev/null
+++ b/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce58fd22a81fecea2bb034105e53b7413f207681173ed81328c019dc7301d58b
+size 86079
diff --git a/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_origin.pdf b/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..96d2a9e0b45fc62414747eaff711378f5e51ad0e
--- /dev/null
+++ b/analogousprocessstructureinductionforsubeventsequenceprediction/d90e8e63-bf48-455f-897b-d778f8895622_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8095b3fe9834189f18909bff5196d6c97b12519d847078172773556283e642ab
+size 1009438
diff --git a/analogousprocessstructureinductionforsubeventsequenceprediction/full.md b/analogousprocessstructureinductionforsubeventsequenceprediction/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..7bf79a300fef00b003b99502d238445f25e909a6
--- /dev/null
+++ b/analogousprocessstructureinductionforsubeventsequenceprediction/full.md
@@ -0,0 +1,275 @@
+# Analogous Process Structure Induction for Sub-event Sequence Prediction
+
+Hongming Zhang $^{1*}$ , Muhao Chen $^{2}$ , Haoyu Wang $^{2}$ , Yangqiu Song $^{1}$ , & Dan Roth $^{2}$
+
+$^{1}$ Department of Computer Science and Engineering, HKUST
+
+$^{2}$ Department of Computer and Information Science, UPenn
+
+{hzhangal, yqsong}@cse.ust.hk
+
+{why16gz1, muhao, danroth}@seas.upenn.edu
+
+# Abstract
+
+Computational and cognitive studies of event understanding suggest that identifying, comprehending, and predicting events depend on having structured representations of a sequence of events and on conceptualizing (abstracting) its components into (soft) event categories. Thus, knowledge about a known process such as "buying a car" can be used in the context of a new but analogous process such as "buying a house". Nevertheless, most event understanding work in NLP is still at the ground level and does not consider abstraction. In this paper, we propose an Analogous Process Structure Induction (APSI) framework, which leverages analogies among processes and conceptualization of sub-event instances to predict the whole sub-event sequence of previously unseen open-domain processes. As our experiments and analysis indicate, $\mathsf{APSI}^1$ supports the generation of meaningful sub-event sequences for unseen processes and can help predict missing events.
+
+# 1 Introduction
+
+Understanding events has long been a challenging task in NLP, to which many efforts have been devoted by the community. However, most existing works are focusing on procedural (or horizontal) event prediction tasks. Examples include predicting the next event given an observed event sequence (Radinsky et al., 2012) and identifying the effect of a biological process (i.e., a sequence of events) on involved entities (Berant et al., 2014). These tasks mostly focus on predicting related events in a procedure based on their statistical correlations in previously observed text. As a result, understanding the meaning of an event might
+
+
+Figure 1: An illustration of leveraging known processes to predict the sub-event sequence of a new process.
+
+not be crucial for these horizontal tasks. For example, simply selecting the most frequently co-occurring event can offer acceptable performance on the event prediction task (Granroth-Wilding and Clark, 2016).
+
+Computational and cognitive studies (Schank and Abelson, 1977; Zacks and Tversky, 2001) suggest that inducing and utilizing the hierarchical structure of events is a crucial component of how humans understand new events and can help many aforementioned horizontal event prediction tasks. Consider the example in Figure 1. Assume that one has never bought a house, but is familiar with how to "buy a car" and "rent a house"; referring to analogous steps in these two relevant processes would still provide guidance for the target process of "buy a house". Motivated by this hypothesis, our work proposes to directly evaluate a model's event understanding ability. We define this as the
+
+
+Figure 2: Demonstration of the proposed APSI framework. Given a target process $P$ , we first decompose its semantics into two dimensions (i.e., predicate and argument) by grouping processes that share a predicate or an argument. For each such group of processes, we then leverage the observed process graphs $\mathcal{G}$ to generate an abstract and probabilistic representation for their sub-event sequences. In the last step, we merge them with an instantiation module to produce the sub-event sequence of $P$ .
+
+ability to identify vertical relations, that is, to predict the sub-event sequence of a new process | Example |
| RTE | 1) T: Mr Lopez Obrador, who lost July's presidential election by less than one percentage point, declared himself Mexico's "legitimate" president. H: Mr Lopez Obrador didn't loose the presidential election in July. |
| 2) T: If toxic waste containing cyanide is not disposed of properly, it may drain into ponds, streams, sewers, and reservoirs. H: Leaks into environment are caused by bad disposal of toxic waste containing cyanide. |
| 3) T: Toshiba has produced a fuel cell with no moving parts. H: Toshiba has no moving parts. |
| SNLI | 4) T: A fighter jet plane is landed outside. H: The fighter jet plane is not moving. |
| 5) T: A man with no shirt on is performing with a baton. H: A man is doing things with a baton. |
| 6) T: A homeless man carries a sign that says "hungry". H: The man does not have a home. |
| MNLI | 7) T: It was summertime the air conditioner was on the door was closed and i couldn't knock because i had to hold the jack with the other hand i finally with my elbow rang the doorbell and mother came to the door. H: The wintertime is when the air conditioning was on, I couldn't ring the doorbell because it was frozen. |
| 8) T: It runs advertisements for its supporters at the top of shows and strikes business deals with MCI, TCI, and Disney, but still insists it's not commercial. H: It runs ads for its supporters at shows and strikes business deals, but insists it is not commercial. |
+
+Table 2: Examples of the few text-hypothesis pairs that contain negation in the three natural language inference corpora we work with (RTE, SNLI and MNLI). Negation cues are underlined, and we have made minimal edits to some examples so that they fit within the width of the table.
+
+second key distinction is whether the negation is aligned, i.e., whether there is a semantic alignment between what is negated in the text (or hypothesis) and a chunk of the hypothesis (or text). We further identify negated alignments, i.e., alignments in which the alignment is also negated.
+
+Table 2 exemplifies this classification with the three benchmarks. Regarding SNLI, the negation in the hypothesis of Example (4) is important: landed entails not moving, at least according to the SNLI annotators, who were describing pictures thus (presumably) couldn't really tell if the plane was (a) completely stopped or taxiing after landing (and thus still moving). The negation in the text of Example (5), however, is unimportant: A man with no shirt on is performing with a baton entails A man is doing things with a baton regardless of whether the man has a shirt. Simply put, the negation plays no role in making the correct inference judgment. In Examples (4) and (6), the negations align but in Example (5), the negation does not align. Specifically, the alignments of the negations in the text and hypothesis of Example (6) are negated: homeless aligns with does not have a home, and both are negated. The alignment of the negation in the hypothesis of Pair (4), on the other hand, is not negated: not moving aligns with landed, and the latter is not negated. The categorization of the negations in text-hypothesis pairs from RTE and MNLI examples is as follows:
+
+- RTE. The negation in the hypothesis of Example (1) is important, and it aligns but the alignment is not negated (didn't loose - lost). In Example (2), the negation in the text falls under the same categories: important and aligned, and the alignment is not negated (not disposed of properly - bad disposal). In Example (3), on the other hand, the negations are unimportant and aligned, in fact, there is an identical (and negated) alignment (no moving parts in both the text and hypothesis).
+- MNLI. The negation in the text of Example (7), I couldn't knock, is unimportant and not aligned. Indeed, the first clause in both the text and hypothesis, which do not contain negation, are sufficient to solve the pair: the air conditioning being on in wintertime is not entailed by the air conditioning being on in summertime. The negation in the hypothesis of Example (7), however, is also unimportant but aligned (I couldn't ring the doorbell - my elbow rang the doorbell), although the alignment is not negated. This negation is unimportant for the same reason: one can make the correct inference judgment disregarding the negation altogether. The negations in Example (8) are similar to the ones in Example (3): unimportant and aligned, although this time the alignments are almost identical (it's not commercial - it is not commercial).
+
+ | Original pair | New pair w/ negation |
| RTE | T: Tropical Storm Debby is blamed for several deaths across the Caribbean. | Tneg: Tropical Storm Debby is not blamed for several deaths across the Caribbean. |
| H: A tropical storm has caused loss of life. | Hneg: A tropical storm has not caused loss of life. |
| Judgments: T-H: entailment, Tneg-H: no_ entailment, T-Hneg: no_ entailment, Tneg-Hneg: entailment |
| T: Dr. Pridi was forced into exile, and Field Marshal Pibul again assumed power. | Tneg: Dr. Pridi was not forced into exile, and Field Marshal Pibul again assumed power. |
| H: Pibul was a field marshal. | Hneg: Pibul was not a field marshal. |
| Judgments: T-H: entailment, Tneg-H: entailment, T-Hneg: no_ entailment, Tneg-Hneg: no_ entailment |
| SNLI | T: Two people are working on computers. | Tneg: Two people are not working on computers. |
| H: Two people are near the computers. | Hneg: Two people are not near computers. |
| Judgments: T-H: entailment, Tneg-H: neutral, T-Hneg: contradiction, Tneg-Hneg: neutral |
| T: Young man walking dog. | Tneg: Young man is not walking dog. |
| H: The man is walking his cat. | Hneg: The man is not walking his cat. |
| Judgments: T-H: contradiction, Tneg-H: neutral, T-Hneg: entailment, Tneg-Hneg: neutral |
| MNLI | T: The lot upon which it is built had been vacant. | Tneg: The lot upon which it is built had not been vacant. |
| H: The lot had been vacant. | Hneg: The lot had not been vacant. |
| Judgments: T-H: entailment, Tneg-H: contradiction, T-Hneg: contradiction, Tneg-Hneg: entailment |
| T: Thursday's judge, the Honorable Charles Adams of the Coconino County Superior Court, agreed, but highly discouraged self-representation. | Tneg: Thursday's judge, the Honorable Charles Adams of the Coconino County Superior Court, did not agree, but highly discouraged self-representation. |
| H: Self-representation was encouraged by the Honorable Charles Adams. | Hneg: Self-representation was not encouraged by the Honorable Charles Adams. |
| Judgments: T-H: contradiction, Tneg-H: contradiction, T-Hneg: entailment, Tneg-Hneg: entailment |
+
+Table 4: Examples of original pairs and new pairs generated after we manually introduce negation. Note that we (a) generate three new pairs after combining texts and hypotheses with and without negation (T-H is the original pair), and (b) manually annotate inference judgments for the three new pairs.
+
+hypothesis, the three new text-hypothesis pairs may receive different inference judgments (in particular the judgments for $\mathrm{T}_{\text{neg}}$ -H and $\mathrm{T}_{\text{neg}}$ -H $_{\text{neg}}$ are the opposite). The same is true across text-hypothesis pairs including negation and generated from different natural language inference benchmarks. For example, the text entails the hypothesis in the first examples shown from SNLI and MNLI, but the three new pairs including negation receive different judgments: neutral, contradiction and neutral; and contradiction, contradiction and entailment). The second examples created from SNLI and MNLI show the same phenomenon but with an original T-H pair labeled contradiction.
+
+Annotation Process and Agreements. Three annotators and an additional adjudicator did the annotations described above in two phases.
+
+In the first phase, the three annotators added negation to the main verbs of texts and hypotheses (Step 1). After a short training session, we decided to have only one annotator add negation in
+
+each original pair as the task is relatively straightforward. Any issues in this phase were detected during Phase 2. Text-hypothesis pairs with issues were discarded (only $5\%$ ) and additional pairs were collected to account for the discarded pairs (and still have 1,500 text-hypothesis pairs including negation and generated from each of the three benchmarks, 4,500 new text-hypothesis pairs in total).
+
+In the second phase, the three annotators read the new pairs including negation (automatically generated in Step 2: $\mathrm{T}_{\text{neg}}$ -H, $\mathrm{T}-\mathrm{H}_{\text{neg}}$ and $\mathrm{T}_{\text{neg}}$ - $\mathrm{H}_{\text{neg}}$ ) and manually labeled them with inference judgments (Step 3). In this phase, each pair was annotated by two annotators independently, and the adjudicator resolved any disagreements. We calculated inter-annotator agreement prior to adjudication using Cohen's $\kappa$ (Cohen, 1960). $\kappa$ coefficients were 0.85 (RTE), 0.81 (SNLI) and 0.72 (MNLI). $\kappa$ coefficients between 0.6 and 0.8 are considered substantial, and between 0.8 and 1.0 nearly perfect (Artstein and Poesio, 2008).
+
+| Es.äre_für die.Deutschen_naturlich_ein_wenig_einfacher,_wenn es eine_kohärent e_und_einheitliche_europäischePolitik_gäbe,_was_derzeit_nicht_der_Fall_ist._ |
| Es.äre_für die.Deutschen_naturlich_ein_wenig_einfacher,_wenn es eine_kohärent e_und_einheitliche_europäischePolitik_gäbe,_was_derzeit_nicht_der_Fall_ist._ |
| Es.äre_für die.Deutschen_naturlich_ein_wenig_einfacher,_wenn es eine_kohärent e_und_einheitliche_europäischePolitik_gäbe,_was_derzeit_nicht_der_Fall_ist._ |
| Es.äre_für die.Deutschen_naturlich_ein_wenig_einfacher,_wenn es eine_kohärent e_und_einheitliche_europäischePolitik_gäbe,_was_derzeit_nicht_der_Fall_ist._ |
| Es.äre_für die.Deutschen_naturlich_ein.wenig_einfacher,_wenn es eine_kohärent e_und_einheitliche_europäischePolitik_gäbe,_was_derzeit_nicht_der_Fall_ist._ |
| Es.äre_für die.Deutschen_naturlich_ein_wenig_einfacher,_wenn es eine_kohärent e_und_einheitliche_europäischePolitik_gäbe,_was_derzeit_nichderr_Fall_ist._ |
+
+Input: according to the data of National Bureau of Statistics, the fixed asset investment growth, total imports and other data in July have come down.
+
+Output: 根据国家统计局的数据,7月份的固定资产投资增长、进口总额和其他数据有所下降。
+
+# Parallel decode (alphabetical):
+
+ | ALL LABELS | FREQUENT | FEW |
| RP@K | nDCG@K | RP@K | nDCG@K | RP@K | nDCG@K |
| EURLEX57K (LAVG = 5.07, K = 5) |
| FLAT NEURAL METHODS |
| BIGRU-LWAN (Chalkidis et al., 2019b) | 77.1 | 80.1 | 81.0 | 82.4 | 65.6 | 61.7 |
| GC-BIGRU-LWAN (Rios and Kavuluru, 2018) | 76.8 | 80.0 | 80.6 | 82.3 | 66.2 | 61.8 |
| HIERARCHICAL PLT-BASED METHODS |
| PARABEL (Prabhu et al., 2018) | 78.1 | 80.6 | 82.4 | 83.3 | 59.9 | 57.3 |
| BONSAI (Khandagale et al., 2019) | 79.3 | 81.8 | 83.4 | 84.3 | 65.0 | 61.6 |
| ATTENTION-XML (You et al., 2019) | 78.1 | 80.0 | 81.9 | 83.1 | 68.9 | 64.9 |
| TRANSFER LEARNING |
| BIGRU-LWAN-ELMO (Chalkidis et al., 2019b) | 78.1 | 81.1 | 82.1 | 83.5 | 66.8 | 61.9 |
| BERT-BASE (Devlin et al., 2019) | 79.6 | 82.3 | 83.4 | 84.6 | 69.3 | 64.4 |
| ROBERTA-BASE (Liu et al., 2019) | 79.3 | 81.9 | 83.4 | 84.4 | 67.5 | 62.4 |
| BERT-BASE-LWAN (new) | 80.3 | 82.9 | 84.3 | 85.4 | 69.9 | 65.0 |
| MIMIC-III (LAVG = 15.45, K = 15) |
| FLAT NEURAL METHODS |
| BIGRU-LWAN (Chalkidis et al., 2019b) | 66.2 | 70.1 | 66.8 | 70.6 | 21.7 | 14.3 |
| GC-BIGRU-LWAN (Rios and Kavuluru, 2018) | 64.9 | 69.1 | 65.6 | 69.6 | 35.9 | 21.1 |
| HIERARCHICAL PLT-BASED METHODS |
| PARABEL (Prabhu et al., 2018) | 58.7 | 63.3 | 59.3 | 63.7 | 9.6 | 6.0 |
| BONSAI (Khandagale et al., 2019) | 59.4 | 64.0 | 60.0 | 64.4 | 11.8 | 7.9 |
| ATTENTION-XML (You et al., 2019) | 69.3 | 73.4 | 70.0 | 73.8 | 26.9 | 19.5 |
| TRANSFER LEARNING |
| BIGRU-LWAN-ELMO (Chalkidis et al., 2019b) | 66.8 | 70.9 | 67.5 | 71.3 | 21.2 | 13.0 |
| BERT-BASE (Devlin et al., 2019) | 52.7 | 58.1 | 53.2 | 58.4 | 18.2 | 10.0 |
| ROBERTA-BASE (Liu et al., 2019) | 53.7 | 58.9 | 54.3 | 59.2 | 18.1 | 10.9 |
| BERT-BASE-LWAN (new) | 50.1 | 55.2 | 50.6 | 55.5 | 15.3 | 9.1 |
| AMAZON13K (LAVG = 5.04, K = 5) |
| FLAT NEURAL METHODS |
| BIGRU-LWAN (Chalkidis et al., 2019b) | 83.9 | 85.4 | 84.9 | 86.1 | 80.0 | 73.6 |
| GC-BIGRU-LWAN (Rios and Kavuluru, 2018) | 77.4 | 79.8 | 79.1 | 81.0 | 53.7 | 45.8 |
| HIERARCHICAL PLT-BASED METHODS |
| PARABEL (Prabhu et al., 2018) | 85.1 | 86.7 | 86.3 | 87.4 | 76.8 | 71.9 |
| BONSAI (Khandagale et al., 2019) | 85.1 | 86.6 | 86.2 | 87.3 | 78.3 | 73.2 |
| ATTENTION-XML (You et al., 2019) | 84.9 | 86.7 | 86.0 | 87.4 | 76.0 | 69.7 |
| TRANSFER LEARNING |
| BIGRU-LWAN-ELMO (Chalkidis et al., 2019b) | 85.1 | 86.6 | 86.2 | 87.4 | 79.9 | 73.5 |
| BERT-BASE (Devlin et al., 2019) | 86.8 | 88.5 | 88.5 | 89.6 | 70.3 | 62.2 |
| ROBERTA-BASE (Liu et al., 2019) | 84.1 | 85.9 | 85.7 | 87.0 | 70.6 | 61.3 |
| BERT-BASE-LWAN (new) | 87.3 | 88.9 | 88.8 | 90.0 | 77.2 | 68.9 |
+
+Table 1: Results (\%) of experiments across base methods for all, frequent, and few label groups. All base methods are incapable of zero-shot learning. The best overall results are shown in bold. The best results in each zone are shown underlined. We show results for $K$ close to the average number of labels $L_{AVG}$ .
+
+2009), is better; it is the same as $P@K$ if there are at least $K$ gold labels, otherwise $K$ is reduced to the number of gold labels. When the order of the top- $K$ labels is unimportant (e.g., for small $K$ ), $RP@K$ is more appropriate than $nDCG@K$ .
+
+# 4.4 Implementation Details
+
+We implemented neural methods in TENSORFLOW 2, also relying on the HuggingFace Transformers library for BERT-based models. We use the BASE versions of all models, and the Adam optimizer (Kingma and Ba, 2015). All hyper-parameters were tuned selecting values with the best loss on the
+
+development data. $^{9}$ For all PLT-based methods, we used the code provided by their authors. $^{10}$
+
+# 5 Results
+
+# 5.1 Overall predictive performance
+
+PLTs vs. LWANs: Interestingly, the TF-IDF-based PARABEL and BONSAI outperform the best previously published neural LWAN-based models on EURLEX57K and AMAZON13K, while being comparable to ATTENTION-XML, when all or frequent
+
+labels are considered (Table 1). This is not the case with MIMIC-III, where BIGRU-LWAN and ATTENTION-XML have far better results for all and frequent labels. The poor performance of the two TF-IDF-based PLT-based methods on MIMIC-III seems to be due to the fact that their TF-IDF features ignore word order and are not contextualized, which is particularly important in this dataset. To confirm this, we repeated the experiments of BIGRU-LWAN on MIMIC-III after shuffling the words of the documents, and performance dropped by approx. $7.7\%$ across all measures, matching the performance of PLT-based methods. $^{11}$ The dominance of ATTENTION-XML in MIMIC-III further supports our intuition that word order is particularly important in this dataset, as the core difference of ATTENTION-XML with the rest of the PLT-based methods is the use of RNN-based classifiers that use word embeddings and are sensitive to word order, instead of linear classifiers with TF-IDF features, which do not capture word order. Meanwhile, in both EURLEX57K and AMAZON13K, the performance of ATTENTION-XML is competitive with both TF-IDF-based PLT-based methods and BIGRU-LWAN, suggesting that the bag-of-words assumption holds in these cases. Thus, we can fairly assume that word order and global context (long-term dependencies) do not play a drastic role when predicting labels (concepts) on these datasets.
+
+Effects of transfer learning: Adding context-aware ELMO embeddings to BIGRU-LWAN (BIGRU-LWAN-ELMO) improves performance across all datasets by a small margin, when considering all or frequent labels. For EURLEX57K and Amazon13K, larger performance gains are obtained by fine-tuning BERT-BASE and ROBERTA-BASE. Our proposed new method (BERT-BASE-LWAN) that employs LWAN on top of BERT-BASE has the best results among all methods on EURLEX57K and Amazon13K, when all and frequent labels are considered. However, in both datasets, the results are comparable to BERT-BASE, indicating that the multi-head attention mechanism of BERT can effectively handle the large number of labels.
+
+Poor performance of BERT on MIMIC-III: Quite surprisingly, all three BERT-based models perform poorly on MIMIC-III (Table 1), so we examined two possible reasons. First, we hypothesized that this poor performance is due to the distinctive
+
+| EURLEX57K |
| Search space | Layers | Units | Dropout | Word Dropout | Batch Size |
| BASELINES | [1, 2] | [100, 200, 300, 400] | [0.1, 0.2, 0.3] | [0, 0.01, 0.02] | [8, 16] |
| BIGRU-LWAN (Chalkidis et al., 2019b) | 1 | 300 | 0.4 | 0 | 16 |
| ZERO-SHOT | [1, 2] | [100, 200, 300, 400] | [0.1, 0.2, 0.3] | [0, 0.01, 0.02] | [8, 16] |
| C-BIGRU-LWAN (Rios and Kavuluru, 2018) | 1 | 100 | 0.1 | 0.02 | 16 |
| GC-BIGRU-LWAN (Rios and Kavuluru, 2018) | 1 | 100 | 0.1 | 0 | 16 |
| DC-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 16 |
| DN-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 16 |
| DNC-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 16 |
| GNC-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0.02 | 16 |
| TRANSFER LEARNING | [12] | [768] | [0.1, 0.2, 0.3] | - | [8, 16] |
| BERT-BASE (Devlin et al., 2019) | 12 | 768 | 0.1 | - | 8 |
| ROBERTA-BASE (Liu et al., 2019) | 12 | 768 | 0.1 | - | 8 |
| BERT-LWAN (new) | 12 | 768 | 0.1 | - | 8 |
| MIMIC-III |
| Search space | Layers | Units | Dropout | Word Dropout | Batch Size |
| BASELINES | [1, 2] | [100, 200, 300, 400] | [0.1, 0.2, 0.3] | [0, 0.01, 0.02] | [8, 16] |
| | | | | |
| BIGRU-LWAN (Chalkidis et al., 2019b) | 2 | 300 | 0.3 | 0 | 8 |
| ZERO-SHOT | [1, 2] | [100, 200, 300, 400] | [0.1, 0.2, 0.3] | [0, 0.01, 0.02] | [8, 16] |
| C-BIGRU-LWAN (Rios and Kavuluru, 2018 ) | 2 | 100 | 0.1 | 0 | 8 |
| GC-BIGRU-LWAN (Rios and Kavuluru, 2018 ) | 1 | 100 | 0.1 | 0 | 8 |
| DC-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 8 |
| DN-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 8 |
| DNC-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 8 |
| GNC-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 8 |
| TRANSFER LEARNING | [12] | [768] | [0.1, 0.2, 0.3] | - | [8, 16] |
| BERT-BASE (Devlin et al., 2019) | 12 | 768 | 0.1 | - | 8 |
| ROBERTA-BASE (Liu et al., 2019) | 12 | | | | |
| BERT-LWAN (new) | 12 | 768 | 0.1 | - | 8 |
| AMAZON |
| Search space | Layers | Units | Dropout | Word Dropout | Batch Size |
| BASELINES | [1, 2] | [100, 200, 300, 400] | [0.1, 0.2, 0.3] | [0, 0.01, 0.02] | [8, 16] |
| | | | |
| BIGRU-LWAN (Chalkidis et al., 2019b) | 2 | 300 | 0.1 | 0 | 32 |
| ZERO-SHOT | [1, 2] | [100, 200, 300, 400] | [0.1, 0.2, 0.3] | [0, 0.01, 0.02] | [8, 16] |
| C-BIGRU-LWAN (Rios and Kavuluru, 2018) | 2 | 100 | 0.1 | 0 | 32 |
| GC-BIGRU-LWAN (Rios and Kavuluru, 2018) | 1 | 100 | 0.1 | 0 | 32 |
| DC-BIGRU-LWAN (new) | 2 | 100 | 0.1 | 0 | 32 |
| DN-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 32 |
| DNC-BIGRU-LWAN (new) | 2 | 100 | 0.1 | 0 | 32 |
| GNC-BIGRU-LWAN (new) | 1 | 100 | 0.1 | 0 | 32 |
| TRANSFER LEARNING | [12] | [768] | [0.1, 0.2, 0.3] | - | [8, 16] |
| BERT-BASE (Devlin et al., 2019) | 12 | 768 | 0.1 | - | 8 |
| ROBERTA-BASE (Liu et al., 2019) | 12 |
| BERT-LWAN (ours) | 12 | 768 | 0.1 | - | 8 |
+
+Table 4: Hyper-parameter search space and best values chosen for all neural methods except BERT-based ones.
+
+| Input sentence | Man wearing a colorful shirt and white pants playing tennis |
| Reference (RG) | (shirt, attr, colorful)
+(pants, attr, white)
+(man, wearing, shirt)
+(man, wearing, pants) |
| Rtext→graph | (Man, wearing, colorful) |
| (shirt, attr, colorful) |
| (pants, attr, white) |
| (pants, playing, tennis) |
| Stanford Scene Graph Parser | (shirt, play, tennis) ,
+(pants, play, tennis) ,
+(shirt, attr, colorful) ,
+(pants, attr, white) |
| Unsuperv. model w/ composed noise | (pants, attr, colorful) |
| (pants, attr, white) |
| (man, wearing, shirt) |
| (man, playing, tennis) |
| Supervised model | (shirt, attr, colorful) |
| (pants, attr, white) |
| (Man, wearing, shirt) |
| (Man, wearing, pants) |
+
+generation from natural language questions (Poon, 2013), a related task that is yet so different than an adaptation to triple set generation from natural language statements is nontrivial. While rule-based systems do not automatically adapt to new graph schemas either, $\mathbf{R}^{\mathrm{text}}\rightarrow \mathrm{graph}$ and SSGP were at least designed with the scene graph domain in mind.
+
+Although SSGP was not optimized to match the scene graphs from VG, its rules were still engineered to cover typical idiosyncrasies of textual image descriptions and corresponding scene graphs. Besides, we evaluate it with lemmatized reference graphs because it only predicts lemmata as predicates. All this gives it a major advantage over the other presented systems but it is nonetheless outperformed by our best unsupervised model - even on VG. This shows that our automatic method can beat even hand-crafted domain-specific rules.
+
+Both $\mathrm{R}^{\text {text } \rightarrow \text {graph }}$ and SSGP fail to predict any fact from WebNLG. The DBpedia facts from WebNLG often contain multi-token entities while $\mathrm{R}^{\text {text } \rightarrow \text {graph }}$ only picks single tokens from the text. Likewise, SSGP models multi-token entities as two nodes
+
+Table 8: Example fact extractions and evaluation wrt reference graph (RG). Green: correct $(\in$ RG). Yellow: acceptable fact, but $\notin$ RG. Red: incorrect $(\notin$ RG).
+
+| Freq. per sentence | Topic |
| 45815 | Health |
| 38339 | Education |
| 33993 | Government operations and politics |
| 33462 | Labor and employment |
| 28392 | Taxation |
| 26435 | Crime and law enforcement |
| 24204 | Finance and financial sector |
| 22273 | Commerce |
| 21451 | Transportation and public works |
| 20865 | International affairs |
| 18560 | Public lands and natural resources |
| 17369 | Armed forces and national security |
| 16376 | Economics and public finance |
| 15660 | Law |
| 14702 | Environmental protection |
| 14472 | Foreign trade and international finance |
| 13353 | Families |
| 11752 | Energy |
| 11741 | Agriculture and food |
| 10512 | Science, technology, communications |
| 7050 | Civil rights and liberties, minority issues |
| 6599 | Housing and community development |
| 6066 | Social welfare |
| 5019 | Native Americans |
| 3582 | Water resources development |
| 3566 | Commemorations |
| 3457 | Emergency management |
| 2160 | Immigration |
| 2116 | Congress |
| 1640 | Animals |
| 1559 | Sports and recreation |
| 1303 | Day care |
| 552 | Arts, culture, religion |
| 545 | Awards, medals, prizes |
| 473 | Public works |
| 389 | Federal aid to handicapped services |
| 344 | Monuments and memorials |
| 241 | Administrative procedure |
| 157 | Arms control |
| 123 | Mines and mineral resources |
| 94 | Fires |
+
+Table 10: CR TOPIC
+
+# Example Speeches with Bill Mentions
+
+"Auto Stock for Every Taxpayer Act" These companies did all of this when the main company decided that the subsidiary was not consistent with the core business. That is what we should do with General Motors—give taxpayers its shares and get General Motors back in the marketplace where it belongs. This idea is fast. it is simple. and it creates a market for the shares... I ask unanimous consent to have printed in the RECORD newspaper articles supporting the Auto Stock for Every Taxpayer Act.
+
+"Radioactive Import Deterrence Act" Mr. Speaker, the Radioactive Import Deterrence Act is a bipartisan bill that would ban the importation of lowlevel radioactive waste unless the President provides a waiver. Lowlevel radioactive waste is generated by medical facilities, university research labs, and utility companies. This waste is generated all over the United States, but finding permanent disposal sites has proven difficult. Currently, 36 States and the District of Columbia have only one approved site to store all the waste generated by those industries. That site is located in Utah...
+
+"Help Find the Missing Act" I yield myself such time as I may consume. Madam Speaker, the Help Find the Missing Act. or Billys Law. will help families of missing persons find their loved ones by strengthening Federal databases about missing persons and unidentified remains. Every year. tens of thousands of Americans go missing and are never found. In the subcommittee we heard moving testimony from Ms. Janice Smolinski. whose son. Billy. went missing in 2004. While she has not found her son. she has dedicated her life to improving the system for others. including highlighting the need to strengthen and expand access to our missing persons databases. I thank her for her dedication to this worthy cause...
+
+"Emergency Aid to American Survivors of the Haiti Earthquake Act" Madam Speaker. I yield myself such time as I may consume. I rise in support of this Senate bill. S. 2949. As Representative MCDERMOTT described, it will provide assistance to thousands of Americans returning from Haiti following the devastating January 12 earthquake there. Let me reiterate that we are helping American citizens with this legislation. The bill entitled Emergency Aid to American Survivors of the Haiti Earthquake Act. will ensure that State and local governments and charitable agencies on the ground in Florida...
+
+"Enhanced Oversight of State and Local Economic Recovery Act" Mr. Speaker. I rise to thank my colleagues for favorable consideration of H.R. 2182. the Enhanced Oversight of State and Local Economic Recovery Act. I was pleased to cosponsor this legislation. which was introduced by the chairman of the Oversight and Government Reform Committee. At a hearing of that committee. we learned that dedicated oversight funding for State and local governments could improve oversight of money appropriated through the American Recovery and Reinvestment Act...
+
+"Veterans Dog Training Therapy Act" I yield myself such time as I may consume. Madam Speaker. I rise today in support of H.R. 3885. the Veterans Dog Training Therapy Act. I want to thank the ranking member of the Health Subcommittee. Congressman BROWN from South Carolina for bringing us this legislation. Madam Speaker. we all recognize how damaging the invisible wounds of war can be. The need for effective treatments for posttraumatic stress disorder and for other conditions. such as depression and substance abuse. is apparent. I think. to all Americans. This act recognizes and meets this need by exploring an innovative and promising new form of treatment using the training of service dogs as a therapeutic medium...
+
+"Prevent Deceptive Census Look Alike Mailings Act" Mr. Speaker. entering its 23rd decade, the U.S. Census is the longest running national census in the world. Our founders wrote it into the Constitution, because taking a fair count is an essential part of fair government. A comprehensive, accurate Census helps ensure that our common resources are distributed where they are most needed, so that our communities can get the roads, schools, and police protection that they need. Theres nothing partisan about that goal. Unfortunately, some groups have set out to deceive Americans by disguising their own private mailings as Census documents...
+
+Table 11: Seven random samples of bill mentions from the 111th Congress. Speeches truncated to fit the table.
\ No newline at end of file
diff --git a/areundocumentedworkersthesameasillegalaliensdisentanglingdenotationandconnotationinvectorspaces/images.zip b/areundocumentedworkersthesameasillegalaliensdisentanglingdenotationandconnotationinvectorspaces/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..a5f4e0bc4b2d10335013951e6eedc3cd6be84377
--- /dev/null
+++ b/areundocumentedworkersthesameasillegalaliensdisentanglingdenotationandconnotationinvectorspaces/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1c56e10044625d7dc20723e3377f23b9d2009bb9ba99f43513dca9e414264b4d
+size 764908
diff --git a/areundocumentedworkersthesameasillegalaliensdisentanglingdenotationandconnotationinvectorspaces/layout.json b/areundocumentedworkersthesameasillegalaliensdisentanglingdenotationandconnotationinvectorspaces/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..9857b9a790dc0acac4c3315a4a58c623130d7ee9
--- /dev/null
+++ b/areundocumentedworkersthesameasillegalaliensdisentanglingdenotationandconnotationinvectorspaces/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d8d68e8f65ba6338ed904420690fa711662bac0cd9dcd498aa21b1a5a1494049
+size 451748
diff --git a/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_content_list.json b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..e41ff0b8ec1b330fbd355d3ebe0866fb34ac3dc5
--- /dev/null
+++ b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:66d1c844bef10f626815ffc028fa9f2db73f93ccf3e3c37a09a046b2ef9a1f5f
+size 114438
diff --git a/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_model.json b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..487e6b7731f9e6e642c12061ea96ac3e7e028d16
--- /dev/null
+++ b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0cefe1d0a898e9a21fac707d73d08f8ff0f146834d159b8692128008fc0c4f13
+size 141358
diff --git a/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_origin.pdf b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..4ed45012cf69f5cabb40475f97588ef5e1fff9fc
--- /dev/null
+++ b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/77dba0dd-0a3f-4850-9039-4a057392f691_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:501acb037a2d62aeb090eccb1a19e5175f2a614fcaafae9403be59714197cf14
+size 1384611
diff --git a/askingwithouttellingexploringlatentontologiesincontextualrepresentations/full.md b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..ce1ecc9a72838750874d58fcecd1ec60ed86c2a6
--- /dev/null
+++ b/askingwithouttellingexploringlatentontologiesincontextualrepresentations/full.md
@@ -0,0 +1,449 @@
+# Asking without Telling: Exploring Latent Ontologies in Contextual Representations
+
+Julian Michael, $^{1*}$ Jan A. Botha, $^{2}$ and Ian Tenney $^{2}$
+
+$^{1}$ Paul G. Allen School of Computer Science & Engineering, University of Washington
+
+2Google Research
+
+julianjm@cs.washington.edu
+
+{jabot,iftenney} $@$ google.com
+
+# Abstract
+
+The success of pretrained contextual encoders, such as ELMo and BERT, has brought a great deal of interest in what these models learn: do they, without explicit supervision, learn to encode meaningful notions of linguistic structure? If so, how is this structure encoded? To investigate this, we introduce latent subclass learning (LSL): a modification to classifier-based probing that induces a latent categorization (or ontology) of the probe's inputs. Without access to fine-grained gold labels, LSL extracts emergent structure from input representations in an interpretable and quantifiable form. In experiments, we find strong evidence of familiar categories, such as a notion of personhood in ELMo, as well as novel ontological distinctions, such as a preference for fine-grained semantic roles on core arguments. Our results provide unique new evidence of emergent structure in pretrained encoders, including departures from existing annotations which are inaccessible to earlier methods.
+
+# 1 Introduction
+
+The success of self-supervised pretrained models in NLP (Devlin et al., 2019; Peters et al., 2018a; Radford et al., 2019; Lan et al., 2020) on many tasks (Wang et al., 2018, 2019b) has stimulated interest in how these models work, and what they learn about language. Recent work on model analysis (Belinkov and Glass, 2019) indicates that they may learn a lot about linguistic structure, including part of speech (Belinkov et al., 2017a), syntax (Blevins et al., 2018; Marvin and Linzen, 2018), word sense (Peters et al., 2018a; Reif et al., 2019), and more (Rogers et al., 2020).
+
+Many of these results are based on predictive methods, such as probing, which measure how well a linguistic variable can be predicted from intermediate representations. However, the ability of
+
+
+Figure 1: LSL overview. A probing classifier over contextual embeddings produces multi-class latent logits, which are marginalized into a single logit trained on binary classification. In this example, "Pierre Vinken" is identified as a named entity and assigned to latent class 2, which aligns well with the PERSON label. We treat the classes as clusters representing a latent ontology that describes the underlying representation space. Figure 2 visualizes latent logits in more detail.
+
+supervised probes to fit weak features makes it difficult to produce unbiased answers about how those representations are structured (Saphra and Lopez, 2019; Voita et al., 2019). Descriptive methods like clustering and visualization explore this structure directly, but provide limited control and often regress to dominant categories such as lexical features (Singh et al., 2019) or word sense (Reif et al., 2019). This leaves open many questions: how are linguistic features like entity types, syntactic dependencies, or semantic roles represented by an encoder like ELMo (Peters et al., 2018a) or BERT (Devlin et al., 2019)? To what extent do familiar categories like PropBank roles or Universal Dependencies appear naturally? Do these unsupervised encoders learn their own categorization of language?
+
+To tackle these questions, we propose a systematic way to extract latent ontologies, or discrete categorizations of a representation space, which we call latent subclass learning (LSL); see Figure 1 for an overview. In LSL, we use a binary classification task (such as detecting entity mentions or syntactic dependency arcs) as weak supervision to induce a set of latent clusters relevant to that task (i.e., entity or dependency types). As with predictive methods, the choice of task allows us to explore varied phenomena, and induced clusters can be quantified and compared to gold annotations. But also, as with descriptive methods, our clusters can be inspected and qualified directly, and observations have high specificity: agreement with external (e.g., gold) categories provides strong evidence that those categories are salient in the representation space.
+
+We describe the LSL classifier in Section 3, and apply it to the edge probing paradigm (Tenney et al., 2019b) in Section 4. In Section 5 we evaluate LSL on multiple encoders, including ELMo and BERT. We find that LSL induces stable and consistent ontologies, which include both striking rediscoveries of gold categories—for example, ELMo discovers personhood of named entities and BERT has a notion of dates—and novel ontological distinctions—such as fine-grained core argument semantic roles—which are not easily observed by fully supervised probes. Overall, we find unique new evidence of emergent latent structure in our encoders, while also revealing new properties of their representations which are inaccessible to earlier methods.
+
+# 2 Background
+
+Predictive analysis A common form of model analysis is predictive: assessing how well a linguistic variable can be predicted from a model, whether in intrinsic behavioral tests (Goldberg, 2019; Marvin and Linzen, 2018; Petroni et al., 2019) or extrinsic probing tasks.
+
+Probing involves training lightweight classifiers over features produced by a pretrained model, and assessing the model's knowledge by the probe's performance. Probing has been used for low-level properties such as word order and sentence length (Adi et al., 2017; Conneau et al., 2018), as well as phenomena at the level of syntax (Hewitt and Manning, 2019), semantics (Tenney et al., 2019b; Liu et al., 2019b; Clark et al., 2019), and discourse structure (Chen et al., 2019). Error analysis on probes has been used to argue that BERT may sim
+
+ulate sequential decision making across layers (Tenney et al., 2019a), or that it encodes its own, soft notion of syntactic distance (Reif et al., 2019).
+
+Predictive methods such as probing are flexible: Any task with data can be assessed. However, they only track predictability of pre-defined categories, limiting their descriptive power. In addition, a powerful enough probe, given enough data, may be insensitive to differences between encoders, making it difficult to interpret results based on accuracy (Saphra and Lopez, 2019; Zhang and Bowman, 2018). So, many probing experiments appeal to the ease of extraction of a linguistic variable (Pimentel et al., 2020). Existing work has measured this by controlling for probing model capacity, either using relative claims between layers and encoders (Belinkov et al., 2017b; Blevins et al., 2018; Tenney et al., 2019b; Liu et al., 2019a) or using explicit measures to estimate and trade off capacity with accuracy (Hewitt and Liang, 2019; Voita and Titov, 2020). An alternative is to control amount of supervision, by restricting training set size (Zhang and Bowman, 2018), comparing learning curves (Talmor et al., 2019), or using description length with online coding (Voita and Titov, 2020).
+
+We extend this further by removing the distinction between gold categories in the training data and reducing the supervision to binary classification, as explained in Section 3. This extreme measure makes our test high specificity, in the sense that positive results—i.e., when comprehensible categories are recovered by our probe—are much stronger, since a category must be essentially invented without direct supervision.
+
+Descriptive analysis In contrast to predictive methods, which assess an encoder with respect to particular data, descriptive methods analyze models on their own terms, and include clustering, visualization (Reif et al., 2019), and correlation analysis techniques (Voita et al., 2019; Saphra and Lopez, 2019; Abnar et al., 2019; Chrupaña and Alishahi, 2019). Descriptive methods produce high-specificity tests of what structure is present in the model, and facilitate discovery of new patterns that were not hypothesized prior to testing. However, they lack the flexibility of predictive methods. Clustering results tend to be dominated by principal components of the embedding space, which correspond to only some salient aspects of linguistic knowledge, such as lexical features (Singh et al., 2019) and word sense (Reif et al., 2019). Alterna-
+
+
+Figure 2: Latent logit vectors from BERT (left) and ELMo (right) for a sample from the Named Entities development set visualized in the Embedding Projector (Smilkov et al., 2016) using UMAP (McInnes et al., 2018), which is designed to preserve local clustering structure in a low dimensional visualization. Points are colored by gold label, and induced clusters are outlined in red. ELMo has a clear notion of personhood (PERSON), while BERT groups people with geopolitical entities (GPE) and nationalities (NORP). BERT strongly identifies dates (DATE) and organizations (ORG), and both models group numeric/quantitative entities together. Both models separate small CARDINAL numbers (roughly, seven or less) and group them with ORDINALs, separate from larger CARDINALs. The outlined areas in the bottom-right of the ELMo visualization include 2 and 4 induced clusters.
+
+
+
+tively, more targeted analysis techniques generally have a restricted inventory of inputs, such as layer mixing weights (Peters et al., 2018b), transformer attention distributions (Clark et al., 2019), or pairwise influence between tokens (Wu et al., 2020). As a result of these issues, it is more difficult to discover the underlying structure corresponding to rich, layered ontologies. Our approach retains the advantages of descriptive methods, while admitting more control as the choice of binary classification targets can guide the LSL model to discover structure relevant to a particular linguistic task.
+
+Linguistic ontologies Questions of what encoders learn about language require well-defined linguistic ontologies, or meaningful categorizations of inputs, to evaluate against. Most analysis work uses formalisms from the classical NLP pipeline, such as part-of-speech and syntax from the Penn Treebank (Marcus et al., 1993) or Universal Dependencies (Nivre et al., 2015), semantic roles from PropBank (Palmer et al., 2005) or Dowty (1991)'s Proto-Roles (Reisinger et al., 2015), and named entities, which have a variety of available ontologies (Pradhan et al., 2007; Ling and Weld, 2012; Choi et al., 2018). Work on ontology-free, or open, rep
+
+resentations suggests that the linguistic structure captured by traditional ontologies may be encoded in a variety of possible ways (Banko et al., 2007; He et al., 2015; Michael et al., 2018) while being annotatable at large scale (FitzGerald et al., 2018). This raises the question: when looking for linguistic knowledge in pretrained encoders, what exactly should we expect to find? Predictive methods are useful for fitting an encoder to an existing ontology; but do our encoders latently hold their own ontologies as well? If so, what do they look like? That is the question we investigate in this work.
+
+# 3 Approach
+
+We propose a way to extract latent linguistic ontologies from pretrained encoders and systematically compare them to existing gold ontologies. We use a classifier based on latent subclass learning (Section 3.1), which is applicable in any binary classification setting. We propose several quantitative metrics to evaluate the induced ontologies (Section 3.2), providing a starting point for qualitative analysis (Section 5) and future research.
+
+# 3.1 Latent Subclass Learning
+
+Consider a logistic regression classifier over inputs $\mathbf{x} \in \mathbb{R}^d$ . It outputs probabilities according to the following formula:
+
+$$
+\mathrm {P} (y \mid \mathbf {x}) = \sigma (\mathbf {w} ^ {\top} \mathbf {x}),
+$$
+
+where $\mathbf{w} \in \mathbb{R}^d$ is a learned parameter. Instead, we propose the latent subclass learning classifier:
+
+$$
+\mathrm {P} _ {\mathrm {L S L}} (y \mid \mathbf {x}) = \sigma \left(\log \sum_ {i} ^ {N} e ^ {\mathbf {W} _ {i} \mathbf {x}}\right),
+$$
+
+where $\mathbf{W} \in \mathbb{R}^{N \times d}$ is a parameter matrix, and $N$ is a hyperparameter corresponding to the number of latent classes.
+
+This corresponds to $N + 1$ -way multiclass logistic regression with a fixed 0 baseline for a null class, but trained on binary classification by marginalizing over the $N$ non-null classes (Figure 1). The vector $\mathbf{W}\mathbf{x} \in \mathbb{R}^N$ may then be treated as a set of latent logits for a random variable $C(\mathbf{x}) \in \{1,\dots,N\}$ defined by the softmax distribution. Taking the hard maximum of $\mathbf{W}\mathbf{x}$ assigns a latent class $\hat{C}(\mathbf{x})$ to each input, which may be viewed as a weakly supervised clustering, learned on the basis of external supervision but not explicitly optimized to match prior gold categories.
+
+For the loss $\mathcal{L}_{\mathrm{LSL}}$ , we use the cross-entropy loss on $\mathrm{P_{LSL}}$ . However, this does not necessarily encourage a diverse, coherent set of clusters; an LSL classifier may simply choose to collapse all examples into a single category, producing an uninteresting ontology. To mitigate this, we propose two clustering regularizers.
+
+Adjusted batch-level negative entropy We wish for the model to induce a diverse ontology. One way to express this is that the expectation of $C$ has high entropy, i.e., we wish to maximize
+
+$$
+\mathrm {H} (\mathbb {E} _ {\mathbf {x}} C (\mathbf {x})).
+$$
+
+In practice, we use the expectation over a batch. The maximum value this can take is the entropy of the uniform distribution over $N$ items, or $\log N$ . Therefore, we wish to minimize the adjusted batch-level negative entropy loss:
+
+$$
+\mathcal {L} _ {\mathrm {b e}} = \log N - \mathrm {H} (\mathbb {E} _ {\mathbf {x}} C (\mathbf {x})),
+$$
+
+which takes values in $[0, \log N]$ .
+
+Instance-level entropy In addition to using all latent classes in the expected case, we also wish for the model to assign a single coherent class label to each input example. This can be done by minimizing the instance-level entropy loss:
+
+$$
+\mathcal {L} _ {\mathrm {i e}} = \mathbb {E} _ {\mathbf {x}} \mathrm {H} (C (\mathbf {x})).
+$$
+
+This also takes values in $[0, \log N]$ , and we compute the expectation over a batch.
+
+Loss We optimize the regularized LSL loss
+
+$$
+\mathcal {L} _ {\mathrm {L S L}} + \alpha \mathcal {L} _ {\mathrm {b e}} + \beta \mathcal {L} _ {\mathrm {i e}},
+$$
+
+where $\alpha$ and $\beta$ are hyperparameters, via gradient descent. Together, the regularizers encourage a balanced solution where the model uses many clusters yet gives each input a distinct assignment. Note that if $\alpha = \beta$ , the this objective maximizes the mutual information between $\mathbf{x}$ and $C$ , encouraging the ontology to encode as much information as possible about the training data while still supporting the binary classification objective.
+
+# 3.2 Metrics
+
+Since our interest is in descriptively analyzing encoders' latent ontologies, there are no normatively 'correct' categories. However, we can leverage existing gold ontologies—such as PropBank role labels or Universal Dependencies—to quantify our results in terms of well-understood categories. For the following metrics, we consider only points in the gold positive class.
+
+$\mathbf{B}^3$ B-cubed (or $\mathbf{B}^3$ ) is a standard clustering metric (Bagga and Baldwin, 1998; Amigo et al., 2009) which calculates the precision and recall of each point's predicted cluster against its gold cluster, averaging over points. It allows for label-wise scoring by restricting to points with specific gold labels, allowing for fine-grained analysis, e.g., of whether a gold label is concentrated in few predicted clusters (high recall) or well-separated from other labels (high precision).
+
+Normalized PMI Pointwise mutual information (PMI) is commonly used as an association measure reflecting how likely two items (such as tokens in a corpus) are to occur together relative to chance (Church and Hanks, 1989). Normalized PMI (nPMI; Bouma, 2009) is a way of factoring out the effect of item frequency on PMI. Formally,
+
+the nPMI of two items $x$ and $y$ is
+
+$$
+\left(\log \frac {\mathrm {P} (x , y)}{\mathrm {P} (x) \mathrm {P} (y)}\right) \Bigg / - \log (\mathrm {P} (x, y)),
+$$
+
+taking the limit value of -1 when they never occur together, 1 when they only occur together, and 0 when they occur independently. We use nPMI to analyze the co-occurrence of gold labels in predicted clusters: A pair of gold labels with high nPMI are preferentially grouped together by the induced ontology, whereas two labels with low nPMI are preferentially distinguished.
+
+Plotting pairwise nPMI of gold labels allows us to see specific ways the induced clustering agrees or disagrees with a gold reference (Section 5, Figure 3). Since nPMI is information-theoretic and chance-corrected, it is a reliable indicator of the degree of information about gold labels contained in a set of predicted clusters. However, it is relatively insensitive to cluster granularity (e.g., the total number of predicted categories, or whether a single gold category is split into many different predicted clusters), which is better understood through our other metrics.
+
+Diversity We desire fine-grained ontologies with many meaningful classes. Number of attested classes may not be a good measure of this, since it could include classes with very few members and no broad meaning. So we propose diversity:
+
+$$
+\exp (\mathrm {H} (\mathbb {E} _ {\mathbf {x}} \hat {C} (\mathbf {x}))).
+$$
+
+This increases as the clustering becomes more fine-grained and evenly distributed, with a maximum of $N$ when $\mathrm{P}(\hat{C})$ is uniform. More generally, exponentiated entropy is sometimes referred to as the perplexity of a distribution, and corresponds (softly) to the number of classes required for a uniform distribution of the same entropy. In that sense, it may be regarded as the effective number of classes in an ontology. We use the predicted class $\hat{C}$ rather than its distribution $C$ because we care about the diversity of the model's clustering, and not just uncertainty in the model.
+
+Uncertainty In order for our learned classes to be meaningful, we desire distinct and coherent clusters. To measure this, we propose uncertainty:
+
+$$
+\mathbb {E} _ {\mathbf {x}} \exp (\mathrm {H} (C (\mathbf {x}))).
+$$
+
+This is also related to perplexity, but unlike diversity, it takes the expectation over the input after
+
+calculating the perplexity of the distribution. This reflects how many classes, on average, the model is confused between when provided with an input. Low values correspond to coherent clusters, with a minimum of 1 when every latent class is assigned with full confidence. As with diversity, we take the expectation over the evaluation set.
+
+# 4 Experimental Setup
+
+We adopt a similar setup to Tenney et al. (2019b) and Liu et al. (2019a), training probing models over several contextualizing encoders on a variety of linguistic tasks.
+
+# 4.1 Tasks
+
+We cast several structure labeling tasks from Tenney et al. (2019b) as binary classification by adding negative examples, bringing the positive to negative ratio to 1:1 where possible.
+
+Named entity labeling requires labeling noun phrases with entity types, such as person, location, date, or time. We randomly sample non-entity noun phrases as negatives.
+
+Nonterminal labeling requires labeling phrase structure constituents with syntactic types, such as noun phrases and verb phrases. We randomly sample non-constituent spans as negatives.
+
+Syntactic dependency labeling requires labeling token pairs with their syntactic relationship, such as a subject, direct object, or modifier. We randomly sample non-attached token pairs as negatives.
+
+Semantic role labeling requires labeling predicates (usually verbs) and their arguments (usually syntactic constituents) with labels that abstract over syntactic relationships in favor of more semantic notions such as agent, patient, modifier roles involving, e.g., time and place, or predicate-specific roles. We draw the closest non-attached predicateargument pairs as negatives.
+
+We use the English Web Treebank part of Universal Dependencies 2.2 (Silveira et al., 2014) for dependencies, and the English portion of Ontonotes 5.0 (Weischedel et al., 2013) for other tasks.
+
+# 4.2 Encoders
+
+We run experiments on the following encoders:
+
+ELMo (Peters et al., 2018a) is the concatenation of representations from 2-layer LSTMs (Hochreiter and Schmidhuber, 1997) trained with forward and
+
+ | Models | 14Rest | 14Lap | 15Rest | 16Rest |
| Acc. | F1 | Acc. | F1 | Acc. | F1 | Acc. | F1 |
| Baselines | SVM (Kiritchenko et al., 2014) | 80.16‡ | - | 70.49‡ | - | - | - | - | - |
| ATAE-LSTM (Wang et al., 2016) | 77.20‡ | - | 68.70‡ | - | - | - | - | - |
| MemNet (Tang et al., 2016) | 79.61* | 69.64* | 70.64* | 65.17* | 77.31* | 58.28* | 85.44* | 65.99* |
| IAN (Ma et al., 2017) | 79.26* | 70.09* | 72.05* | 67.38* | 78.54* | 52.65* | 84.74* | 55.21* |
| SA-LSTM-P (Wang and Lu, 2018) | 81.60‡ | - | 75.10‡ | - | - | - | 88.70‡ | - |
| TNet-LF (Li et al., 2018a) | 80.42* | 71.03* | 74.61* | 70.14* | 78.47* | 59.47* | 89.07* | 70.43* |
| TNet-ATT (Tang et al., 2019) | 81.53‡ | 72.90‡ | 77.62‡ | 73.84‡ | - | - | - | - |
| ASCNN (Zhang et al., 2019) | 81.73* | 73.10* | 72.62* | 66.72* | 78.48* | 58.90* | 87.39* | 64.56* |
| ASGCN (Zhang et al., 2019) | 80.86* | 72.19* | 74.14* | 69.24* | 79.34* | 60.78* | 88.69* | 66.64* |
| Reproduce3 | TNet-ATT (Tang et al., 2019) | 79.38 | 69.44 | 76.22 | 71.51 | - | - | - | - |
| ASGCN (Zhang et al., 2019) | 79.73 | 70.48 | 72.91 | 68.06 | 78.74 | 57.67 | 87.71 | 70.29 |
| Ours | MCRF-SA | 82.86† | 73.78† | 77.64† | 74.23† | 80.82† | 61.59† | 89.51† | 75.92† |
+
+Table 2: Experimental results (\%). The results with symbol " $\square$ " are retrieved from the original papers, and those with * are retrieved from Zhang et al. (2019). The marker $\dagger$ refers to $p$ -value $< 0.01$ when comparing with ASGCN.
+
+ral Network (CNN) (Lecun et al., 1998) layer to obtain the sentence representation. TNet-ATT (Tang et al., 2019) is an extension of TNet-LF, and it provides an attention supervision mining mechanism to improve the previous model. ASCNN and ASGCN (Zhang et al., 2019) use CNN and Graph Convolutional Network (GCN) (Kipf and Welling, 2017) to capture the long-range dependencies and syntactic information.
+
+# 3.3 Experimental Results
+
+Our proposed model shows significant improvements on the four datasets, Table 2 shows the performance comparisons. Our method outperforms SVM (Kritchenko et al., 2014) by 2.7 and 7.15 Acc. score on 14Rest and 14Lap, respectively. This indicates that our neural approach extracts more effective features than hard-coded feature engineering. Compared to the attention-based methods - ATAE (Wang et al., 2016), MemNet (Tang et al., 2016), IAN (Ma et al., 2017), and TNet-ATT (Tang et al., 2019), our MCRF-SA model pays more attention to the aspect-specific opinion spans, which bring significant performance improvement on the four datasets.
+
+We also compare our model with methods that focus on word segmentations for sentiment classification. Our method outperforms the previous regularizers guided structured attention model SA-LSTM-P (Wang and Lu, 2018) by more than 1.2 Acc. score on 14Rest and 14Lap. TNet-LF (Li et al., 2018a) and ASCNN (Zhang et al., 2019) em
+
+ploy CNN to evaluate word spans regarding how much it contributed to the sentiment, but the kernel size limits the length of the span. ASGCN (Zhang et al., 2019) employs GCN over the dependency tree to capture syntactic and dependency information. However, the performance heavily relies on the accuracy of the dependency trees. Our proposed multi-CRF structured attention along with the position decay function allows MCRF-SA to perform soft-selection of multiple aspect-specific opinion spans that influence the aspect's sentiment. The large performance gaps between our model and baseline models confirm the effectiveness of our proposed architecture. Such results also demonstrate that sentiment classification can benefit greatly from aspect-specific opinion spans.
+
+Furthermore, we observe that the performance on 15Rest is not as good as the other three datasets. Such behavior is caused by the different distribution of positive, neutral, and negative sentiment between training and test set, shown in Table 1.
+
+# 4 Analysis
+
+# 4.1 Effect of Number of CRFs
+
+To fully investigate the effect of the number of CRFs, we conduct additional experiments on 14Rest and 14Lap with the number of CRFs $\in$ $\{1,2,3,\dots,16\}$ . Figure 2 shows the experimental results. The model achieves the best performance when the number of CRFs equals to 4. Particularly, the performance becomes relatively plateau when a large number of CRFs is adopted. We believe this is because the sizes of the four benchmark datasets are relatively small, and an excessively large number of parameters may not be able to further extract
+
+
+Figure 2: Effect of number of CRFs.
+
+
+Figure 3: Marginal distributions of "Yes" label.
+
+effective features.
+
+# 4.2 Case Study and Error Analysis
+
+Figure 3 shows the marginal distributions (Equation 5) of SA-LSTM-P (Wang and Lu, 2018) and our MCRF-SA model. The aspect for the given example is "Indian food" with negative sentiment, and only our model predicts correct sentiment. From Figure 3b heat map, the different marginal distributions on the four CRFs indicate that our model indeed captures different opinion features. It can be observed that MCRF-SA is able to attend to the two major opinion spans: "real" and "n't". The SA-LSTM-P model returns positive sentiment as it focuses too much on wrong opinion words.
+
+We also analyze some common errors from our MCRF-SA model, ASGCN, and TNet-ATT on the Lap14 dataset. We observe two major types of errors, and Table 3 shows the examples for error analysis. The first two sentences belong to the type 1 error and the last one presents a type 2 error. The first type of errors appear frequently in neutral cases. In general, the neural models cannot well differentiate if the negative expressions (e.g. "cost", "shouldn't", etc.) is associated with the target/aspect. The second type typically involves complicated sentence structures with non-trivial semantics, which requires advanced language understanding capability.
+
+| Model Type | Case | Example Sentence | Question | Label |
| EMLA | (2) | After founding the Institute he had [little] time for composing, and appears to have concentrated exclusively on teaching. | When she finds out the truth, she makes a fateful decision to make the most of the [little] time they have together. | {entail, ¬entail} |
| (3) | After founding the Institute he had [little] time for composing, and appears to have concentrated exclusively on teaching. | This may be an incorporated town or city, a subentity of a large city or an unincorporated census-designated place, or a [small] unincorporated community. | {entail, ¬entail} |
| (4) | After founding the Institute he had [little] time for composing, and appears to have concentrated exclusively on teaching. | When she finds out the truth, she makes a fateful decision to make the most of the [small] time they have together. | {entail, ¬entail} |
| (5) | After founding the Institute he had [little] time for composing, and appears to have concentrated exclusively on teaching. | This may be an incorporated town or city, a subentity of a large city or an unincorporated census-designated place, or a [little] unincorporated community. | {entail, ¬entail} |
| (9) | After founding the Institute he had [small] time for composing, and appears to have concentrated exclusively on teaching. | When she finds out the truth, she makes a fateful decision to make the most of the [small] time they have together. | {entail, ¬entail} |
| CMLA | (12) | After founding the Institute he had [little] time for composing, and appears to have concentrated exclusively on teaching. It makes me feel [small] when you keep things from me. | When she finds out the truth, she makes a fateful decision to make the most of the [MASK] time they have together. | {litle, small} |
| (14) | It makes me feel [little] when you keep things from me. After founding the Institute he had [small] time for composing, and appears to have concentrated exclusively on teaching. | When she finds out the truth, she makes a fateful decision to make the most of the [MASK] time they have together. | {litle, small} |
| Inappropriate Ex-ample for EMLA | After founding the Institute he had [small] time for composing, and appears to have concentrated exclusively on teaching. | When she finds out the truth, she makes a fateful decision to make the most of the [little] time they have together. | {entail, ¬entail} |
| Inappropriate Ex-ample for CMLA | It makes me feel [little] when you keep things from me. After founding the Institute he had [small] time for composing, and appears to have concentrated exclusively on teaching. | When she finds out the truth, she makes a fateful decision to make the most of the [MASK] time they have together. | {litle, small} |
+
+Table 1: Training instances for learner-like agents. The instances are associated with the corresponding equations. Case (9) and (14) are the perturbed instances. The inappropriate examples are used in section 4 for behavior check.
+
+Modeling Learner-like Agent (EMLA) is to answer entailment questions given example sentences. We transform the original fill-in-the-blank question into an entailment question where the EMLA answers whether the given example sentence $E$ entails the question sentence $Q$ . If the word usage in the question sentence matches the word usage in the example sentence, the EMLA answers entail, or ¬entail otherwise.
+
+The EMLA $M_{e}$ is described as
+
+$$
+M _ {e} (E _ {k} ^ {i}, Q ^ {j}) = a n s, \tag {1}
+$$
+
+where ans—either entail or $\neg$ entail—is the prediction of the inference relationship of one of the six example sentences $E_{k}^{i}$ , where $k\in \{1,2,\ldots 6\}$ and $Q^{j}$ . To fill all the context possibilities of $Q[_{-}]^{j}$ for the same word in $E^{w_i}$ , an example has the following four cases:
+
+$$
+M _ {e} \left(E \left[ w _ {1} \right] ^ {1}, Q \left[ w _ {1} \right] ^ {1}\right) = e n t a i l \tag {2}
+$$
+
+$$
+M _ {e} \left(E \left[ w _ {1} \right] ^ {1}, Q \left[ w _ {2} \right] ^ {2}\right) = \neg e n t a i l \tag {3}
+$$
+
+$$
+M _ {e} \left(E \left[ w _ {1} \right] ^ {1}, Q \left[ w _ {2} \right] ^ {1}\right) = \neg e n t a i l \tag {4}
+$$
+
+$$
+M _ {e} \left(E \left[ w _ {1} \right] ^ {1}, Q \left[ w _ {1} \right] ^ {2}\right) = \neg e n t a i l. \tag {5}
+$$
+
+From the input and output of the instances (equations 2 to 5), we see that the target word and its context in $Q^j$ for all cases except for equation 2 do not follow the example word usage. The examples of the instances are shown in Table 1. Equation 3 and equation 4 tell us that an example sentence of $w_1$ does not provide any information for the model to infer anything about $w_2$ so both of them result in not entail. The question of equation 5 is incorrect,
+
+as shown in the Table 1 case (5), so it would also lead to not entail.
+
+After training the EMLA to understand the relation between example and question, we can convert its prediction $\{\text{entail}, \neg \text{entail}\}$ back into the fill-in-the-blank task by looking into the model predictions. Given the probability of $\{\text{entail}, \neg \text{entail}\}$ , we know which term in the near-synonym pair is more appropriate in the context of $\{Q[.]^1, Q[.]^2\}$ . If the question context and the example context match, then a word with a higher entail probability is the answer. If they do not match, that with the higher $\neg \text{entail}$ probability is the answer.
+
+# 3.3 Perturbed Instances
+
+To encourage learner-like behavior, i.e., good examples lead to the correct answer, and vice versa, we propose introducing automatically generated perturbed instances to the training process.
+
+A close look at the input and output of the instances (equations 2 to 5) shows that they consider only correct examples and their corresponding labels. We postulate that wrong word usage yields inappropriate examples; thus we perturb instances by swapping the current confusing word to its near-synonym as
+
+$$
+M _ {e} \left(E [ \neg w _ {i} ] _ {k} ^ {i}, Q ^ {w _ {j}}\right) = \neg a n s \tag {6}
+$$
+
+where $\neg$ ans is $\{\text{entail}, \neg \text{entail}\} - \text{ans}$ and $E[\neg w_i]_k^{w_i}$ is the example sentence in which the contexts in $w_1$ and $w_2$ are swapped. The corresponding perturbed instances from equations 2 to
+
+5 thus become
+
+$$
+M _ {e} \left(E \left[ w _ {2} \right] ^ {1}, Q \left[ w _ {1} \right] ^ {1}\right) = \neg e n t a i l \tag {7}
+$$
+
+$$
+M _ {e} \left(E \left[ w _ {2} \right] ^ {1}, Q \left[ w _ {2} \right] ^ {2}\right) = \neg e n t a i l \tag {8}
+$$
+
+$$
+M _ {e} \left(E \left[ w _ {2} \right] ^ {1}, Q \left[ w _ {2} \right] ^ {1}\right) = e n t a i l \tag {9}
+$$
+
+$$
+M _ {e} \left(E \left[ w _ {2} \right] ^ {1}, Q \left[ w _ {1} \right] ^ {2}\right) = \neg e n t a i l, \tag {10}
+$$
+
+respectively, in which $w_{2}$ 's context becomes $E[-]^{1}$ . Again, only equation 9, where both the context and the word usage match, is entail. The example instance is shown in Table 1 case 9.
+
+# 4 Experiments
+
+We conducted three experiments: lexical choice, behavior check, and sentence selection. The lexical choice task assesses whether the model differentiates confusing words, the behavior check measures whether the model responds to the quality of learning material as learners do, and sentence selection evaluates the model's ability to explore useful example sentences.
+
+# 4.1 Lexical Choice
+
+Lexical choice evaluates the model's ability to differentiate confusing words. We adopted the fill-in-the-blank (FITB) task, where the model is asked to choose a word from a given near-synonym word pair to fill in the blank.
+
+# 4.1.1 Baseline
+
+Context modeling is a common practice for near-synonym disambiguation in which the model learns the context of the target word via the FITB task. For this we use a Context Modeling Learner-like Agent (CMLA) as the baseline based on BERT (Devlin et al., 2018) as a two-class classifier to predict which of $w_{1}$ or $w_{2}$ is more appropriate given a near-synonym word pair. The question for CMLA is a sentence whose target word, i.e., one of the confusing words, is masked; the model is to predict the masked target word.
+
+The CMLA $M_{c}$ is then described as
+
+$$
+M _ {c} \left(\mathbb {E}, Q [ \text {M A S K} ] ^ {i}\right) = a n s, \tag {11}
+$$
+
+where $Q[\mathrm{MASK}]^i$ fills the position of $w_{i}$ with MASK, and $ans\in \{w_1,w_2\}$ is the prediction of [MASK] in the question, and $\mathbb{E}$ are the six example sentences.
+
+$Q[\mathrm{MASK}]^i$ is a question with the context of either $w_{1}$ or $w_{2}$ . This raises a problem of the model
+
+deriving the answer only from $Q^i$
+
+$$
+M _ {c} \left(\mathbb {E}, Q \left[ \mathrm {M A S K} \right] ^ {1}\right) = w _ {1} \tag {12}
+$$
+
+$$
+M _ {c} \left(\mathbb {E}, Q \left[ \text {M A S K} \right] ^ {2}\right) = w _ {2} \tag {13}
+$$
+
+Equations 12 and 13 risk the model to selects $w_{i}$ given $Q^{i}$ . To encourage learner-like behavior, we incorporate perturbed instances into the training process corresponding to equations 12 and 13 as
+
+$$
+M _ {c} \left(\neg \mathbb {E}, Q [ \text {M A S K} ] ^ {1}\right) = w _ {2} \tag {14}
+$$
+
+$$
+M _ {c} \left(\neg \mathbb {E}, Q [ \text {M A S K} ] ^ {2}\right) = w _ {1}, \tag {15}
+$$
+
+$$
+\begin{array}{c c} , & \text {w h e r e} \quad \neg \mathbb {E} \\ [ E [ \neg w _ {2} ] _ {1} ^ {2},.., E [ \neg w _ {2} ] _ {3} ^ {2}, E [ \neg w _ {1} ] _ {1} ^ {1},.., E [ \neg w _ {1} ] _ {3} ^ {1} ] \end{array} =
+$$
+
+For context modeling, the perturbed instance has the additional benefit that it forces the model to make inferences based on the given example sentences, as illustrated in Table 1 case (14).
+
+# 4.1.2 Dataset and Settings
+
+We collected a set of near-synonym word pairs from online resources, including $\mathrm{BBC}^3$ , the Oxford Dictionary | Traditional Models | Neural Models | Decoding Algorithm |
| Greedy Model | - | Ours | Greedy |
| Markov Model | (Ng and Low, 2004), (Low et al., 2005) | MMTNN: (Pei et al., 2014) |
| (Zheng et al., 2013), LSTM: (Chen et al., 2015) | Viterbi |
| Sequence Labeling Model | CRF: (Peng et al., 2004), semi-CRF: (Andrew, 2006), (Sun et al., 2009) | CNN+CRF: (Wang and Xu, 2017), BiLSTM+CRF: (Ma et al., 2018) |
| General Graph Model | (Zhang and Clark, 2007) | LSTM+GCNN: (Cai and Zhao, 2016), LSTM+GCNN: (Cai et al., 2017) (Wang et al., 2019a) | Beam search |
+
+Table 1: The classification of Chinese word segmentation model.
+
+| Models | Characters | Words |
| character based | Ours | c0, c1, ..., ci, ci+1, ..., cn | - |
| (Zheng et al., 2013), ... | ci-2, ci-1, ci, ci+1, ci+2 | - |
| (Chen et al., 2015) | c0, c1, ..., ci, ci+1, ci+2 | - |
| word based | (Zhang and Clark, 2007), ... | c inwj-1,wj,wj+1 | wj-1,wj,wj+1 |
| (Cai and Zhao, 2016; Cai et al., 2017) | c0, c1, ..., ci | w0, w1, ...,wj |
+
+Table 2: Feature windows of different models. $i(j)$ is the index of current character(word).
+
+an alternative for performance improvement other than designing better models (Yang et al., 2017). SIGHAN Bakeoff therefore defines two types of evaluation settings, closed test limits all the data for learning not to be beyond the given training set, while open test does not take this limitation (Emerson, 2005). This work will focus on the closed test setting by finding a better model design for further CWS.
+
+Generally speaking, both the major difference between traditional and neural models, and what mostly distinguishes the neural models are about the way to represent input sentences, while the options of decoding algorithms are bounded to how to formalize the CWS into a structural learning task. As shown in Table 1, using Markov contextualized features, Markov models and CRF-based models are capable of using Viterbi decoders with polynomial time complexity. Furthermore, to accommodate more rich features means that the model has to take a deeper structural learning which also requires more complex decoding algorithms (Zhang and Clark, 2007; Cai and Zhao, 2016). However, for such a case, deterministic decoding algorithms may have an intractable complexity, thus it forces the model to use an approximate beam search strategy luckily with low-order polynomial time complexity $O(Mnb^2)$ , where $b$ is beam width, $n$ is the sentence size, and $M$ is a constant representing the model complexity. When the beam width $b = 1$ , the beam search will reduce to greedy algorithm with a much better time complexity $O(Mn)$ .
+
+To make the decoding practical, the beam width
+
+$b$ has to be carefully tuned for a tradeoff between accuracy and efficiency: A larger $b$ will make the learning and segmentation extremely slow, while a small $b$ cannot sufficiently guarantee the segmentation performance. However, there has long been a unheeded observation that good enough representations can offer good enough segmentation even though only using a greedy segmentation algorithm. (Sproat and Emerson, 2003) create a topline evaluation by using only using vocabulary from test set to perform a greedy segmentation (maximum matching), which yields around $99\%$ F-scores on all datasets. For neural models, (Cai et al., 2017) verify that if the representations are good enough, beam width 1 can still give state-of-the-art performance compared to their early model with a full beam search decoder in (Cai and Zhao, 2016). Therefore, undertaking a fixed greedy segmentation algorithm, this paper only focuses on more effective encoder design for even better representation.
+
+Our model only consists of attention mechanisms as building blocks plus two highway connections via a virtual hidden layer for smooth training. Our model is simply stacked by a variant of Transformer encoder (Vaswani et al., 2017) and a biaffine attention scorer (Dozat and Manning, 2017). Empowered by the self-attention mechanism, the Transformer has been good at capturing long-range dependencies for input sentence. We propose Gaussian-masked Directional (GD) multihead attention to facilitate the learning of localness, position and directional information for CWS, so
+
+that we have the proposed GD-Transformer.
+
+With our further improved encoder, our model uses only simple unigram features to generate representation of sentences for scoring. Our model will be strictly evaluated on benchmark datasets from SIGHAN Bakeoff shared task in terms of closed test setting, and experimental results show that our model achieves new state-of-the-art.
+
+The technical contributions of this paper can be summarized as follows.
+
+- To especially enhance the representation of localness information and directional information, we propose a new Gaussian-masked Directional Transformer encoder.
+Motivated from a simple design idea, we present a new CWS model which is stacked with only attention blocks.
+- With a powerful enough encoder, for the first time, we show that unigram (character) features plus greedy segmentation algorithm can support yielding strong performance instead of using diverse $n$ -gram (character and word) features and highly complex decoding algorithms.
+
+# 2 Related Work
+
+(Xue, 2003) first formalize CWS as a sequence labeling task, considering CWS as a supervised learning from annotated corpus with human segmentation. (Peng et al., 2004) further adopt standard sequence labeling tool CRFs for CWS modeling, achieving new state-of-the-art. (Zhao et al., 2006b) show that different character tag sets can make essential impact for segmentation performance. (Zhao et al., 2006a) propose a CWS system developed for Bakeoff-2006 based on CRF, which is based on their proposed 6-tag set for character position tagging and achieved state-of-the-art performance at then. (Zhao and Kit, 2007) present a novel Character tagging based CRF framework which is capable of exploiting global information for performance enhancement.
+
+Neural word segmentation has been widely used to minimize the efforts in feature engineering. (Zheng et al., 2013) first introduce the neural model into CWS with sliding-window based sequence labeling. (Chen et al., 2015) use LSTM to enhance the learning of long distance information.
+
+However, introducing neural models themselves does not really introduce substantial performance improvement in terms of strict closed test of SIGHAN Bakeoff according to (Zhao et al., 2017).
+
+Most researchers actually seek help from joint learning, extra learning resources including dictionaries, pre-trained embedding, deeper information extracted from training set and so on. (1) For joint learning, (Lyu et al., 2016) explore a joint model that performs segmentation, POS-Tagging and chunking simultaneously. (Zhang et al., 2017) present a joint model to enhance the segmentation of Chinese microtext by performing CWS and informal word detection simultaneously. (2) For extra resources or clues, (Wang et al., 2019b) propose to incorporate unlabeled and partially-labeled data.
+
+Only a few researches are known for concentrating on strengthening the model itself. To accommodate more rich features through a more broadly structural modeling (Cai and Zhao, 2016) propose a neural framework that eliminates context windows and utilize complete segmentation history. (Wang and Xu, 2017) propose a character-based convolutional neural model to capture $n$ -gram features automatically and an effective approach to incorporate word embeddings. (Cai et al., 2017) further improve the model in (Cai and Zhao, 2016) and show that a greedy segmenter can perform fast and accurately in terms of only presenting effective representations. This work follows this line of research by offering even strengthened model design from simple idea, including the least building block type for encoder (attention only), the least feature type for scoring (unigram only) and the least computational complexity for decoding (greedy segmentation).
+
+The original Transformer encoder consists of a stack of $\mathbf{N}$ identical layers and each layer has one multi-head self-attention layer and one position-wise fully connected feed-forward layer (Vaswani et al., 2017). One residual connection is around two sub-layers and followed by layer normalization. Several variants are proposed to enhance ability of capturing the localness relationship. (Shaw et al., 2018) propose an efficient way to incorporate relative and absolute position representation. (Yang et al., 2018) cast localness modeling as a learnable Gaussian bias to enhance the ability of capturing useful local context. (Kim et al., 2020) propose a Transformer with Gaussian-weighted self-attention to improved speech-enhancement performance. (Zhang et al., 2020b) propose using syntax to guide the text modeling based on self-attention network sponsored Transformer-based encoder. Transformer based pre-trained language
+
+
+Figure 1: The architecture of our model.
+
+models have become a standard performance enhancement means for various NLP tasks (Zhang et al., 2020a).
+
+# 3 Models
+
+Our model for CWS task is composed of an encoder to represent the input and a decoder based on the encoder to perform actual segmentation. Figure 1 is the architecture of our model. The model feeds sentence into encoder. Embedding captures the vector $e$ of the input character sequences of $c$ . The encoder maps vector sequences of $e$ to two sequences of vector which are $v^b$ and $v^f$ as the representation of sentences. With $v^b$ and $v^f$ , the bi-affine scorer scores each segmentation gaps which makes our decoder is as simple as one layer, using a threshold to directly and greedily predict every word boundaries of the input.
+
+# 3.1 Gaussian-Masked Directional Transformer
+
+The standard Transformer encoder consists of a stack of $\mathbf{N}$ identical layers and each has one multihead self-attention layer and one position-wise fully connected feed-forward layer. One residual connection is around two sub-layers and followed by layer normalization (Vaswani et al., 2017).
+
+The proposed Gaussian-masked Directional (GD) Transformer encoder adopts two key architecture revisions over the standard Transformer. (1)
+
+Our encoder includes three parallel directional encoding pipelines instead of only one bidirectional encoder in the original Transformer. (2) By replacing the standard multi-head self-attention with the proposed Gaussian-masked Directional (GD) multi-head self-attention which captures representations from different directions, the resulted encoder may gain better ability of capturing the localness information and position information for the importance of adjacent characters.
+
+Encoder Stacks In CWS task, word boundary forms a gap between two adjacent characters and divides one sequence into two parts, one part in front of the gap and one part in the rear of it. The forward encoder and backward encoder are proposed to capture information of two directions which correspond to two parts divided by the gap. Assuming that one unidirectional encoder can capture information from one particular direction, we stack three parallel encoding modules, forward, backward and center encoders as shown in Figure 1.
+
+The central encoder is to capture information from both directions, which is with the same architecture as the original Transformer. Standard scaled dot-product attention matrix is calculated by dotting query $Q$ with all keys $K$ . For the forward encoder, we forcibly set all values inside the attention matrix representing the character pair relation after the concerned character as 0 so that the encoder can focus on the forward characters. For the backward encoder, we take the similar matrix value setting operations.
+
+The encoder respectively outputs one forward and one backward representations for each position, and then both are fused with the representation given by the center encoder to form the updated forward and backward representations, respectively.
+
+$$
+v ^ {b} = r ^ {b} + r ^ {c}, v ^ {f} = r ^ {f} + r ^ {c},
+$$
+
+where $v^b$ and $v^f$ represent the backward and forward representation, respectively, $r^b$ , $r^c$ and $r^f$ are representations from backward encoder, center encoder and forward encoder, respectively.
+
+Gaussian-Masked Directional Multi-Head Attention Similar as scaled dot-product attention in the original Transformer (Vaswani et al., 2017), our proposed Gaussian-masked directional attention can be described as a function to map queries and key-value pairs to the representation of input. Here queries, keys and values are all vectors. Standard scaled dot-product attention is calculated by
+
+dotting query $Q$ with all keys $K$ , dividing each values by $\sqrt{d_k}$ , where $\sqrt{d_k}$ is the dimension of keys, and apply a softmax function to generate the weights in the attention:
+
+$$
+\operatorname {A t t e n t i o n} (Q, K, V) = \operatorname {s o f t m a x} \left(\frac {Q K ^ {T}}{\sqrt {d _ {k}}}\right) V \tag {1}
+$$
+
+Different from scaled dot-product attention, Gaussian-masked directional attention expects to pay attention to the adjacent characters of each positions and cast the localness relationship between characters as a fix Gaussian weight for attention. We assume that the Gaussian weight only relies on the distance between characters.
+
+Firstly we introduce the Gaussian weight matrix $G = (g_{ij})$ which presents the localness relationship between each two characters:
+
+$$
+g _ {i j} = \Phi (d i s _ {i j}) = \sqrt {\frac {2}{\sigma^ {2} \pi}} \int_ {- \infty} ^ {- d i s _ {i j}} e x p \left(- \frac {x ^ {2}}{2 \sigma^ {2}}\right) d x \tag {2}
+$$
+
+where $g_{ij}$ is the Gaussian weight between character $i$ and $j$ , $\text{dis}_{ij}$ is the distance between character $i$ and $j$ , $\Phi(x)$ is the cumulative distribution function of Gaussian, $\sigma$ is the standard deviation of Gaussian function and it is a hyperparameter in our method. Eq. (2) ensures the Gaussian weight equals 1 when $\text{dis}_{ij}$ is 0. The larger distance between characteristics, the smaller the weight is, which lets one character affect its neighbors more than those non-neighbors.
+
+To combine the Gaussian weight to the selfattention, we produce the Hadamard product of Gaussian weight matrix $G$ and the score matrix produced by $QK^T$
+
+$$
+A G (Q, K, V) = \operatorname {s o f t m a x} \left(\frac {Q K ^ {T} * G}{\sqrt {d _ {k}}}\right) V \tag {3}
+$$
+
+where $AG$ as the Gaussian-masked attention ensures that adjacent characters have a stronger relationship than those non-neighborhood ones.
+
+The scaled dot-product attention models the relationship between two characters without regard to their distances in one sequence. For CWS task, the weight between adjacent characters should be more important while it is hard for self-attention to achieve the effect explicitly because the self-attention cannot get the order of sentences directly. The Gaussian-masked attention adjusts the weight between characters and their adjacent character to a
+
+
+(a) The architecture of Gaussian-masked directional multi-head attention.
+(b) The Gaussian-masked directional attention.
+Figure 2: Illustration of Gaussian-masked directional multi-head attention.
+
+larger value which stands for the effect of adjacent characters.
+
+For forward and backward encoder, the self-attention sub-layer needs to use a triangular matrix mask to let the self-attention focus on different weights:
+
+$$
+g _ {i j} ^ {f} = \left\{ \begin{array}{c c} g _ {i j}, & p o s _ {j} \leq p o s _ {i}, \\ - \infty , & o t h e r s. \end{array} \right. \tag {4}
+$$
+
+$$
+g _ {i j} ^ {b} = \left\{ \begin{array}{c c} g _ {i j}, & p o s _ {i} \leq p o s _ {j}, \\ - \infty , & o t h e r s. \end{array} \right.
+$$
+
+where $pos_{i}$ is the position of character $c_{i}$ . The triangular matrix for forward and backward encode
+
+are: $\begin{bmatrix} 1 & 0 & \dots & 0 \\ 1 & 1 & \dots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 1 & 1 & \dots & 1 \end{bmatrix}$ $\begin{bmatrix} 1 & 1 & \dots & 1 \\ 0 & 1 & \dots & 1 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \dots & 1 \end{bmatrix}$
+
+Similar as (Vaswani et al., 2017), we use multihead attention to capture information from different dimension positions as Figure 2(a) and get Gaussian-masked directional multi-head attention $GMH$ as follows,
+
+$$
+G M H (Q, K, V) = C o n c a t \left(\text {h e a d} _ {1}, \dots , \text {h e a d} _ {h}\right) W _ {m},
+$$
+
+$$
+h e a d _ {i} = A G \left(Q W _ {i} ^ {q}, K W _ {i} ^ {k}, V W _ {i} ^ {v}\right) \tag {5}
+$$
+
+where $W_{i}^{q}, W_{i}^{k}, W_{i}^{v} \in \mathbb{R}^{d_{k} \times d_{h}}$ is the parameter matrices to generate heads, $W_{m}$ is a parameter matrices of $\mathbb{R}^{d_k \times d_k}$ to generate the attention, $d_{k}$ and
+
+$d_h$ are dimensions of model and one head, respectively.
+
+# 3.2 Biaffine Attention Scorer
+
+Our model straightforwardly predicts gap between two adjacent characters as word boundary or not. In detail, we set a label value 1 to indicate word boundary, and 0 means no word boundary. Such a gap labeling task thus requires information of the two adjacent characters. In the meantime, the relationship between adjacent characters can be represented as the gap label.
+
+Biaffine attention scorer is used to label the gap (Dozat and Manning, 2017; Li et al., 2018; Cai et al., 2018; Zhou and Zhao, 2019; He et al., 2019). The distribution of labels in a labeling task is often uneven. Biaffine attention uses bias terms to alleviate the burden of the fixed bias term and get the prior probability which makes it different from bilinear attention. The distribution of the gap is uneven that is similar as other labeling task, which makes biaffine available for our task.
+
+Biaffine attention scorer labels the target depending on information of independent unit and the joint information of two units. In biaffine attention, the score $s_{ij}$ of characters $c_i$ and $c_j$ ( $i < j$ ) is calculated by:
+
+$$
+\begin{array}{l} s _ {i j} = \text {B i a f f i n a l S c o r e r} \left(v _ {i} ^ {f}, v _ {j} ^ {b}\right) \\ = \left(v _ {i} ^ {f}\right) ^ {T} W v _ {j} ^ {b} + U \left(v _ {i} ^ {f} \oplus v _ {j} ^ {b}\right) + b \tag {6} \\ \end{array}
+$$
+
+where $v_{i}^{f}$ and $v_{i}^{b}$ represent respectively the forward and backward information of $c_{j}$ , $W$ , $U$ and $b$ are all learnable parameters. $W$ is a matrix with shape $(d_{i} \times N \times d_{j})$ and $U$ is a $(N \times (d_{i} + d_{j}))$ matrix where $d_{i}$ is the dimension of vector $v_{i}^{f}$ and $N$ is the number of labels.
+
+In our model, the biaffine scorer uses both the forward and backward character information on either side of the gap to distinguish the position of characters. Figure 3 is an example of gap labeling. The bidirectional scoring ensures that the boundaries of words can be determined by adjacent characters with different directional information. The score vector of the gap is formed by the probability of being a boundary of word. Further, the model generates all boundaries using activation function in a greedy decoding way.
+
+# 3.3 Highway Connections via Hidden Layer
+
+To smooth the training and fully exploit representations from hidden states, we additionally introduce
+
+
+Figure 3: An example of biaffine scorer labeling the gap. The biaffine attention scorer only uses the forward information of front character and the backward information of character to label the gap.
+
+two Highway connections (Srivastava et al., 2015) via a virtual hidden layer which is called Hidden Representations for Early Decoding (HiRED) in the middle of the Transformer encoder. In our model design, we always put the HiRED layer in the central position among all layers of the encoder, thus the HiRED layer divides each directional encoder (forward, backward or center) pipelines into two parts (front and rear) as shown in Figure 1.
+
+For the highway connection specifications, the first connection (called Highway-I) respectively feeds the input embedding to the rear pipelines of the three directional encoders by adding into the embeddings from HiRED layer. Suppose that three front directional encoders respectively give encoding output, $r^{f'}$ , $r^{c'}$ and $r^{b'}$ . Then the corresponding three rear directional encoders will receive input as $e + r^{f'}$ , $e + r^{c'}$ and $e + r^{b'}$ . To feed the second connection (called Highway-O), we perform the same summing as the main encoder output,
+
+$$
+v ^ {b ^ {\prime}} = r ^ {b ^ {\prime}} + r ^ {c ^ {\prime}}, v ^ {f ^ {\prime}} = r ^ {f ^ {\prime}} + r ^ {c ^ {\prime}},
+$$
+
+then let $v^{f'}$ and $v^{b'}$ as the HiRED output go through another same biaffine scorer and a decoder as that of the main encoder. The two decoder layers together give a sum loss for the entire model.
+
+Biaffine attentin scorer makes it possible to generate a segmentation by using output of HiRED with little cost during training. With this segmentation, we add representation of characters which belong to the same word together and get a new vector, which plays a similar role as a word embedding. This vector will be fed to encoder layer behind HiRED directly. The operations in HiRED layer can also be viewed as one attention. It makes the model focus on adjacent characters which may
+
+be likely in one word.
+
+# 3.4 Training Objective
+
+The training target of our model is to let the biaffine attention scorer approach the gold score vector according to the gold segmentation. We adopt cross entropy (CE) loss for training,
+
+$$
+q _ {i} ^ {j} = - s _ {i, i + 1} ^ {j} + \log (\exp (s _ {i, i + 1} ^ {0}) + \exp (s _ {i, i + 1} ^ {1})),
+$$
+
+$$
+C E = \frac {1}{l} \sum_ {i = 1} ^ {l} \left(q _ {i} ^ {1} p + q _ {i} ^ {0} (1 - p)\right)
+$$
+
+where $q_{i}^{j}$ is the log-probability of the $i$ -th gap labeled as $j \in \{1,0\}$ . Here 1 indicates word boundary and 0 means not. $s_{i,i+1}^{j}$ is the biaffine score of $i$ -th gap labeled as $j$ . $p$ is the ground-truth probability which can only be 0 or 1. $l$ is the number of gaps in one input sentence.
+
+| PROMPT | Putin and Xi are using the coronavirus crisis to extend their control. Across the world, Trump is struggling to keep up |
| Human | ... Donald Trump's shock announcement shutting down travel from much of Europe came with the customary back-pedaling common to many of his hastily announced initiatives.
+At first, Trump said trade and travel would be targeted, in his latest attempt to stem the spread ... |
| CTRL | .... President Vladimir Putin, meanwhile, says there was no reason why Moscow would spread such diseases. But both leaders have been unable so far to ... [read more] what do you think about this story? do we need another Ebola scare or two? ... |
| GPT | ... with them in a war that has been going on for decades now - but he's still not strong enough. ” i'm sorry about your family. it must be hard being so far away from home. ” she said softly. ” yes, we're all very lonely here. there wasn't much time before ... |
| GPT2 | ... Putin's paranoia over the contagion of Ebola is a common theme. As his recent visit to Washington shows, he's playing a dangerous game. And here's what Putin wants Putin wants to use Ebola as a pretext for imposing further Russian sanctions on the West. ... |
| GROVER | ... hours after world cup workers hand-picked by Putin to fix problems faced by workers in turkey and Venezuela, a new threat to trump is receding. According to Wikileaks, the Coronavirus outbreak is receding and the Russian leader, Putin,... |
| XLM | ... with Russia alone ruling over Europe while china under Mao Zedong rules
+Asia in turn which makes it difficult for him politically but financially as well being president / CEO of America first bank & chairman's nominee at CIA ... |
| XLNET | ... with china or Russia in his efforts at de-structuring America from the financial crisis that has taken place over the past two years of this century as well a global economic downturn that will continue for many more months into next year ... |
| PPLM | ... the latest developments in Syria, Ukraine, Russia's intervention in the middle east and china's rise to global power. In Moscow, a group of Russian diplomats, who did not want their real names to be reported on the record ... |
| FAIR | ... He has ordered his federal agencies to step up efforts to combat it and to warn of new threats. in Washington, Trump's national security adviser, h.r. mcmaster, said on Monday the U.S. government had seen signs of the bug and that countries in the Middle East were on high alert. ... |
+
+Table 1: Snippets of nine texts using the titles of human-written articles as the prompt to neural methods.
+
+words), while GPT2 tends to generate the shortest texts. Both XML and XLNET generated the texts with very long sentences.
+
+# 4 Linguistic Analysis
+
+We first conduct a psycholinguistics study to analyze different linguistic features of generated texts. The result is summarized in Table 3.
+
+First, we use Flesch Reading Ease and Flesh-Kincaid Grade to gauge generated texts' readability. Flesch Reading Ease generates a score between 0 and 100, such that post-college level yields a score between 0-30, college-level yields 31-50, high-school level yields 51-70, middle school yields 71-90, and 5-th grade level of reading and below yields 91-100. These seven reading levels also go from a scale of very-difficult-to-understand due to the level of sophistication to very-easy because it is the grade level of readability. Therefore, obtaining a post-college level (i.e., low score) is uncommon and impressive if a machine generates such texts.
+
+On the other hand, the Flesh-Kincaid Grade generates a score representing the U.S. grade level of education (the higher, the more sophisticated). For instance, text given a 10.8 score suggests that its author can be in the 11-th grade and about 16-17 years old.
+
+Next, we use Linguistic Inquiry and Word Count (LIWC) (Pennebaker et al., 2001) to capture the psycholinguistics features. LIWC has 93 features, of which 69 are categorized into: Standard Linguistic Dimensions (e.g., pronouns, past tense), Psychological Processes (e.g., social processes), Personal concerns (e.g., money, achievement), and Spoken Categories (e.g., assent, nonfluencies) (Uchendu et al., 2019). Table 3 includes top-3 distinguished LIWC features among all generation methods. A high LIWC-Authentic score means that the author of the text is honest or less evasive. We can observe that GPT and XLNET generates more personal content than GPT2 and FAIR. LIWC-Analytic reflects the formality, and logical nature of the text. GPT2,
+
+| LANGUAGE | #TRAINING | SETTING |
| W/O TRANSFER | +TRANSFER |
| Greek | 0 | - | upos:0.661, ufeats:0.392, uas:0.632, las:0.465 |
| 50 | upos:0.507, ufeats:0.330, uas:0.309, las:0.203 | upos:0.877, ufeats:0.631, uas:0.724, las:0.653 |
| 100 | upos:0.915, ufeats:0.664, uas: 0.755, las: 0.691 | upos: 0.906, ufeats: 0.719, uas: 0.758, las: 0.703 |
| 500 | upos: 0.970, ufeats: 0.891, uas: 0.891, las: 0.866 | upos: 0.954, ufeats: 0.860, uas: 0.849, las: 0.817 |
| Spanish | 0 | - | upos: 0.922, ufeats: 0.764, uas: 0.855, las: 0.776 |
| 50 | upos: 0.529, ufeats: 0.463, uas: 0.289, las: 0.152 | upos: 0.913, ufeats: 0.792, , uas: 0.844, las: 0.767 |
| 100 | upos: 0.920, ufeats: 0.832, uas: 0.755, las: 0.690 | upos: 0.916, ufeats: 0.840, uas: 0.849, las: 0.784 |
| 500 | upos: 0.952, ufeats: 0.919, uas: 0.860, las: 0.820 | upos: 0.949, ufeats: 0.889, uas: 0.859, las: 0.822 |
| Belarusian | 0 | - | upos: 0.941, ufeats: 0.520, uas: 0.863, las: 0.797 |
| 50 | upos: 0.570, ufeats: 0.323, uas: 0.217, las: 0.141 | upos: 0.952, ufeats: 0.726, uas: 0.763, las: 0.727 |
| 100 | upos: 0.919, ufeats: 0.446, uas: 0.521, las: 0.482 | upos: 0.961, ufeats: 0.777, uas: 0.854, las: 0.800 |
| Lithuanian | 0 | - | upos: 0.869, ufeats: 0.528, uas: 0.752, las: 0.610 |
| 50 | upos: 0.566, ufeats: 0.371, uas: 0.346, las: 0.211 | upos: 0.874, ufeats: 0.5841, uas: 0.757, las: 0.623 |
| 100 | upos: 0.813, ufeats: 0.453, uas: 0.551, las: 0.421 | upos: 0.883, ufeats: 0.637, uas: 0.761, las: 0.659 |
| 500 | upos: 0.925, ufeats: 0.744, uas: 0.757, las: 0.697 | upos: 0.912, ufeats: 0.747, uas: 0.779, las: 0.714 |
+
+Table 4: udify model performance on the test data for each low-resource setting. The scores are averaged across five runs of each setting.
+
+
+Figure 11: (Avg.) number of leaves for each feature grouped by language family.
+
+
+(a)
+
+
+(b)
+
+
+(c)
+
+
+(d)
+Figure 12: Comparing the (avg.) ARM score for Gender agreement with and without cross-lingual transfer learning (transfer language in parenthesis). Note: the higher the ARM the better.
+
+
+(a)
+
+
+(b)
+
+
+(c)
+Figure 13: Comparing the (avg.) ARM score for Person agreement with and without cross-lingual transfer learning (transfer language in parenthesis). Note: the higher the ARM the better.
+
+
+(d)
+
+
+(a)
+
+
+(b)
+
+
+(c)
+Figure 14: Comparing the (avg.) ARM score for Case agreement with and without cross-lingual transfer learning (transfer language in parenthesis). Note: the higher the ARM the better. For Spanish, there was $< 10$ data points with Case annotated hence we do not report results for it.
+
+
+(a)
+
+
+(b)
+Figure 15: Comparing the learnt trees for Number agreement extracted using (a) Hard Threshold and (b) Statistical Threshold. Hard Threshold overfits on the training data resulting in leaves with very few samples.
+
+
+Ich werde langebücher lesen.
+(a)
+
+
+Ich wurde langebücherlesen.
+(b)
+Figure 16: Comparing the UD (a) tree with the SUD (b) tree for the German sentence "Ich werde lange Bücher essen."
+
+| REFERENCE | 28-Year-Old Chef Found Dead at San Francisco Mall |
| THIS WORK | 28-Year-Old Chef Found Dead at San Francisco Mall |
| PARABANK 2 | 28-year-old chef found dead in a mall in San Francisco |
| REFERENCE | A 28-year-old chef who had recently moved to San Francisco was found dead in the stairwell of a local mall this week. |
| THIS WORK | A 28-year-old chef who had recently moved to San Francisco was found dead in the stairwell of a local mall this week. |
| PARABANK 2 | Earlier this week, a 28-year-old chef who had recently moved to San Francisco was found dead on the steps of a local department store. |
| REFERENCE | But the victim's brother says he can't think of anyone who would want to hurt him, saying, "Things were finally going well for him." |
| THIS WORK | But the victim's brother says he can't think of anyone who would want to hurt him, saying, "Things were finally going well for him." |
| PARABANK 2 | But the victim's brother said he couldn't think of anyone who'd want to hurt him, and he said he was finally okay. |
| REFERENCE | The body found at the Westfield Mall Wednesday morning was identified as 28-year-old San Francisco resident Frank Galicia, the San Francisco Medical Examiner's Office said. |
| THIS WORK | The body found at the Westfield Mall Wednesday morning was identified as 28-year-old San Francisco resident Frank Galicia, the San Francisco Medical Examiner's Office said. |
| PARABANK 2 | The body found Wednesday morning at the Westfield Mall has been identified by the San Francisco Medical Examiner's Office as 28-year-old San Franscisco-resident Frank Galicia. |
| REFERENCE | The San Francisco Police Department said the death was ruled a homicide and an investigation is ongoing. |
| THIS WORK | The San Francisco Police Department said the death was deemed a homicide and an investigation is ongoing. |
| PARABANK 2 | The San Francisco P.D. says the death has been ruled a murder and is under investigation. |
| REFERENCE | The victim's brother, Louis Galicia, told ABC station KGO in San Francisco that Frank, previously a line cook in Boston, had landed his dream job as line chef at San Francisco's Sons & Daughters restaurant six months ago. |
| THIS WORK | The victim's brother, Louis Galicia, told ABC station KGO in San Francisco that Frank, formerly a line cook in Boston, had landed his dream job as line chef at San Francisco's Sons & Daughters restaurant six months ago. |
| PARABANK 2 | The Victim's brother, Louis Galicia, told ABC station KGO in San Francisco that Frank, who used to be a line chef in Boston, quit his dream job six months ago as a line chef at the Sons & Daughters Restaurant in San Francisco. |
| REFERENCE | A spokesperson for Sons & Daughters said they were "shocked and devastated" by his death. |
| THIS WORK | A spokesperson for Sons & Daughters said they were "shocked and devastated" by his death |
| PARABANK 2 | A spokesman for Sons & Daughters said that his death "shocked and devastated them." |
| REFERENCE | "We are a small team that operates like a close knit family and he will be dearly missed," the spokesperson said. |
| THIS WORK | "We are a small team that operates like a close-knit family and he will be dearly missed," the spokesman said. |
| PARABANK 2 | "We are a small team, operating as a close-knit family, and we will miss him dearly," said the spokesman. |
| REFERENCE | Our thoughts and condolences are with Frank's family and friends at this difficult time. |
| THIS WORK | Our thoughts and condolences are with Frank's family and friends at this difficult time. |
| PARABANK 2 | Our thoughts and condolences go out to Frank's family and friends in these difficult times. |
| REFERENCE | Louis Galicia said Frank initially stayed in hostels, but recently, "Things were finally going well for him." |
| THIS WORK | Louis Galicia said Frank initially stayed in hostels, but recently, "Things were finally going well for him." |
| PARABANK 2 | Louis Galicia said that Frank initially stayed in the dormitory, but lately, "He's finally doing okay." |
+
+Figure 3: Sentences generated via beam search (beamwidth 5) for the multilingual model presented in this work vs ParaBank 2. We note that our model tends to produce copies or near copies of the input, which is the desired behavior for our application. Changes are emphasized with bold or strikethrough. The model trained on ParaBank 2 tends to produce output with lexical/syntactic changes, which occasionally also significantly change the meaning of the sentence (denoted in red). References (paraphraser inputs) are the first ten sentences of WMT17 zh-en.
+
+# B Data Details for Replication
+
+Much of our data comes from WikiMatrix (Schwenk et al., 2019), a large collection of parallel data extracted from Wikipedia, and for more domain variety, we added Global Voices, $^{10}$ EuroParl (Koehn, 2005) (random subset of to 100k sentence pairs per language pair), SETimes, $^{11}$ United Nations (Eisele and Chen, 2010) (random sample of 1M sentence pairs per language pair). We also included WMT Kazakh-English and Kazakh-Russian data from WMT, to be able to evaluate on Kazakh.
+
+WMT Kazakh-English and Kazakh-Russian were limited to the best 1M and 200k sentence pairs, respectively, as judged by LASER. We used a margin threshold of 1.05 for WikiMatrix and a threshold of 1.04 for the remaining datasets, as we expect them to be cleaner. We find that FastText classifies many sentences as non-English when they contain mostly English but also contain a few non-English words, especially from lower resource languages. To remedy this, we performed language identification (LID) on 5-grams and filtered out sentences for which LID did not classify at least half of the 5-grams as the expected language.
+
+We filtered out sentences where there was more than $60\%$ overlap in 3-grams or $40\%$ overlap in 4-grams. Via manual inspection, this seemed to provide a good trade-off between allowing numbers and named entities to be copied, and filtering out sentences that were clearly not translated. We perform tokenization with SentencePiece (Kudo and Richardson, 2018) prior to filtering, using a 200k vocabulary for all language pairs, to account for languages like Chinese which do not denote word boundaries. Note that this vocabulary was used only for filtering, not for training the final model.
+
+We limited training to languages with at least 1M examples, which resulted in 39 languages. Figure 4 shows the languages and amount of data in each language.
+
+
+Figure 4: Distribution of the 39 languages (ISO 639-1 language code) of the 99.8M training sentences. English accounts for $16.7\%$ . Spanish, French, Russian, Portuguese, German, and Italian account for a combined $34.3\%$ . The bottom 20 languages account for only $21.9\%$ combined.
+
+# C Model Training Details for Replication
+
+# C.1 Primary Model
+
+We train a SentencePiece (Kudo and Richardson, 2018) model with a 64k vocabulary size on the concatenation of all data, and filter sentences with length greater than 200 subwords. Multilingual NMT performance has been found to increase significantly with model size – tor example, the best performance of Huang et al. (2019) is with their largest model which has 6 billion parameters. Training such a model is well beyond the scope of this work, but we train a model as large a feasible given our compute budget constraints. We train a Transformer (Vaswani et al., 2017) in fairseq (Ott et al., 2019) with eight encoder layers, eight decoder layers, an embedding size of 1280, feed forward layer size of 12288, 20 attention heads, learning rate of 0.0004, batch size of 1800 tokens with gradient accumulation over 200 batches, gradient clipping of 1.2, and dropout of 0.1. The model has approximately 745M parameters for 39 languages. We train for 6 epochs, which takes approximately 9 days on a p3.16xlarge instance rented from Amazon AWS, which has 8 Volta V100 GPUs with 16 GB of memory each. No hyperparameters were swept, as training a single model used the majority of our compute budget (the total cost for training this model was approximately $13,000 USD). However, we did restart training after discovering that LID was not performing well and adding the 5-gram LID filtering.
+
+# C.2 ParaBank 2 Model
+
+We train a contrastive, English-only paraphraseer on the ParaBank 2 dataset (Hu et al., 2019c). We train a Transformer with an 8-layer encoder, 8-layer decoder, 1024 dimensional embeddings, embedding sizes of 1024, feed-forward size of 4096, and 16 attention heads. We use a SentencePiece model with a 16k vocabulary size. Dropout is 0.3, label smoothing is 0.1, and learning rate is 0.0005. The model has approximately 253M parameters for 1 language. Batch size is 31200 tokens, and the model trains for approximately 6 weeks (33 epochs) on 4 Nvidia 2080 GPUs.
+
+# C.3 Language Model
+
+We train a multilingual language model on the same data as our multilingual NMT system.
+
+The model architecture is based on GPT-2 (Radford et al., 2019), and we use the fairseq transformer_lm_gpt2_small implementation. We train for 200k updates (18 epochs) of approximately 131k tokens. The model has 369M parameters for 39 languages. We train with shared embeddings and a learning rate of 0.0005, and we stop gradients at sentence boundaries, using --sample-break-mode eos as the model will be used to evaluate individual sentences. Other parameters match the fairseq defaults. The model trained for approximately 4 weeks on 4 Nvidia Titan RTX GPUs.
+
+# C.4 Autoencoder
+
+We use the pretrained "multilingual denoising pre-trained model" (mBART) model of Liu et al. (2020), as it works in all languages of interest. Their model is designed to be fine-tuned to translation tasks, and their fine-tuning introduces subtle changes to the decoder that are required for inference. In order to adapt it to our task, we therefore fine-tune for a single update with a learning rate of 0. We then produce scores with the model in the same manner as Prism-ref. The model has approximately 680M parameters for 25 languages. We did not train this model but note that doing so required substantial compute power - Liu et al. (2020) note that they trained for approximately 2.5 weeks on 256 Nvidia V100 GPUS, each with 32GB of memory.
+
+# C.5 Baselines
+
+We compare to BLEURT (Sellam et al., 2020) using the authors' recommended "BLEURT-Base 128"12 We compare to BERTscore F1 (Zhang et al., 2020) using the model and code provided by the authors.13
+
+# D WMT 2018 (Development set) Results: System-level, Segment-level, and Sweeps
+
+Figure 5 shows results on the development set (WMT18) for sweeping various linear combinations.
+
+Table 7, Table 8, Table 9 and Table 10, show full segment- and system- level results, into and out of English, for the WMT 2018 MT metrics shared task, along with all baselines and submitted systems.
+
+
+Figure 5: Linear combinations of scoring each direction using length-normalized $(H)$ vs un-normalized $(G)$ log probability for our method, and length-normalized language model probabilities $(H)$ vs LASER for our contrastive method. In both cases, we explore scoring using the human reference ref vs the source src. Results are segment-level $\tau$ on our development set (WMT18), averaged across all language pairs.
+
+```txt
+w/ Reference (MT Metric):
+(1 - $\alpha$ ) H(ref|sys) + $\alpha$ H(sys|ref)
+(1 - $\alpha$ ) G(ref|sys) + $\alpha$ G(sys|ref)
+(1 - $\alpha$ ) H(sys) + 10 $\alpha$ LASER(sys, ref)
+w/o Reference (QE as Metric):
+(1 - $\alpha$ ) H(src|sys) + $\alpha$ H(sys|src)
+(1 - $\alpha$ ) G(src|sys) + $\alpha$ G(sys|src)
+(1 - $\alpha$ ) H(sys) + 10 $\alpha$ LASER(sys, src)
+```
+
+| n | cs-en 5110 | de-en 77811 | et-en 56721 | fi-en 15648 | ru-en 10404 | tr-en 8525 | zh-en 33357 |
| \( BEER^{\ddagger}\) (Stanojevic and Sima'an, 2015) | 0.295 | 0.481 | 0.341 | 0.232 | 0.288 | 0.229 | 0.214 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.404 | 0.550 | 0.397 | 0.296 | 0.340 | 0.292 | 0.253 |
| \( BLEND^{\ddagger}\) (Ma et al., 2017) | 0.322 | 0.492 | 0.354 | 0.226 | 0.290 | 0.232 | 0.217 |
| \(CHARACTER^{\ddagger}\) (Wang et al., 2016) | 0.256 | 0.450 | 0.286 | 0.185 | 0.244 | 0.172 | 0.202 |
| \(CHRF^{\dagger}\) (Popović, 2015) | 0.288 | 0.479 | 0.328 | 0.229 | 0.269 | 0.210 | 0.208 |
| \(CHRF+^{\dagger}\) (Popović, 2017) | 0.288 | 0.479 | 0.332 | 0.234 | 0.279 | 0.218 | 0.207 |
| \(ITER^{\ddagger}\) (Panja and Naskar, 2018) | 0.198 | 0.396 | 0.235 | 0.128 | 0.139 | -0.029 | 0.144 |
| \(METEOR++^{\ddagger}\) (Shimanaka et al., 2018) | 0.270 | 0.457 | 0.329 | 0.207 | 0.253 | 0.204 | 0.179 |
| \(RUSE^{\ddagger}\) (Shimanaka et al., 2018) | 0.347 | 0.498 | 0.368 | 0.273 | 0.311 | 0.259 | 0.218 |
| \(SENTBLEU^{\dagger}\) (Papineni et al., 2002) | 0.233 | 0.415 | 0.285 | 0.154 | 0.228 | 0.145 | 0.178 |
| \(UHH\_TSKM^{\ddagger}\) (Duma and Menzel, 2017) | 0.274 | 0.436 | 0.300 | 0.168 | 0.235 | 0.154 | 0.151 |
| \(Y1SI-0^{\ddagger}\) (Lo, 2019) | 0.301 | 0.474 | 0.330 | 0.225 | 0.294 | 0.215 | 0.205 |
| \(Y1SI-1^{\ddagger}\) (Lo, 2019) | 0.319 | 0.488 | 0.351 | 0.231 | 0.300 | 0.234 | 0.211 |
| \(Y1SI-1\_SRL^{\ddagger}\) (Lo, 2019) | 0.317 | 0.483 | 0.345 | 0.237 | 0.306 | 0.233 | 0.209 |
| Prism-ref (This Work) | 0.423 | 0.560 | 0.409 | 0.317 | 0.366 | 0.309 | 0.263 |
| Prism-ref w/ ParaBank 2 (Contrastive) | 0.386 | 0.538 | 0.399 | 0.309 | 0.340 | 0.275 | 0.244 |
| LASER + LM (Contrastive) | 0.364 | 0.526 | 0.378 | 0.265 | 0.305 | 0.257 | 0.243 |
| Prism-src (This work) | 0.355 | 0.515 | 0.370 | 0.257 | 0.308 | 0.213 | 0.194 |
| LM | 0.285 | 0.438 | 0.285 | 0.198 | 0.280 | 0.123 | 0.192 |
| LASER | 0.310 | 0.494 | 0.364 | 0.232 | 0.257 | 0.248 | 0.207 |
| mBART (Contrastive) | 0.251 | 0.455 | 0.315 | 0.199 | 0.248 | 0.196 | 0.181 |
+
+Table 7: WMT18 Segment-level results, to English. n denotes number of pairwise judgments. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. We exclude BLEURT (Sellam et al., 2020) as it was directly trained on WMT18 judgements. $\dagger$ :WMT18 Baseline (Ma et al., 2018) $\ddagger$ :WMT18 Metric Submission (Ma et al., 2018)
+
+| n | en-cs 5413 | en-de 19711 | en-et 32202 | en-fi 9809 | en-ru 22181 | en-tr 1358 | en-zh 28602 |
| \( BEER^‡ \) (Stanojević and Sima’an, 2015) | 0.518 | 0.686 | 0.558 | 0.511 | 0.403 | 0.374 | 0.302 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.559 | 0.727 | 0.584 | 0.538 | 0.424 | 0.389 | 0.364 |
| \( BLEND^‡ \) (Ma et al., 2017) | - | - | - | - | 0.394 | - | - |
| \(CHARACTER^‡ \) (Wang et al., 2016) | 0.414 | 0.604 | 0.464 | 0.403 | 0.352 | 0.404 | 0.313 |
| \(CHRF^† \) (Popović, 2015) | 0.516 | 0.677 | 0.572 | 0.520 | 0.383 | 0.409 | 0.328 |
| \(CHRF+^† \) (Popović, 2017) | 0.513 | 0.680 | 0.573 | 0.525 | 0.392 | 0.405 | 0.328 |
| \(ITER^‡ \) (Panja and Naskar, 2018) | 0.333 | 0.610 | 0.392 | 0.311 | 0.291 | 0.236 | - |
| \(SENTBLEU^† \) (Papineni et al., 2002) | 0.389 | 0.620 | 0.414 | 0.355 | 0.330 | 0.261 | 0.311 |
| \(Y1SI-0^‡ \) (Lo, 2019) | 0.471 | 0.661 | 0.531 | 0.464 | 0.394 | 0.376 | 0.318 |
| \(Y1SI-1^‡ \) (Lo, 2019) | 0.496 | 0.691 | 0.546 | 0.504 | 0.407 | 0.418 | 0.323 |
| \(Y1SI-1\_SRL^‡ \) (Lo, 2019) | - | 0.696 | - | - | - | - | 0.310 |
| Prism-ref (This Work) | 0.667 | 0.799 | 0.705 | 0.667 | 0.469 | 0.574 | 0.371 |
| LASER + LM (Contrastive) | 0.587 | 0.746 | 0.628 | 0.629 | 0.450 | 0.501 | 0.367 |
| Prism-src (This work) | 0.552 | 0.732 | 0.636 | 0.626 | 0.409 | 0.505 | 0.298 |
| LM | 0.459 | 0.655 | 0.408 | 0.511 | 0.375 | 0.331 | 0.221 |
| LASER | 0.480 | 0.677 | 0.585 | 0.511 | 0.402 | 0.432 | 0.338 |
| mBART (Contrastive) | 0.404 | 0.594 | 0.405 | 0.410 | 0.356 | 0.303 | 0.305 |
+
+Table 8: WMT18 Segment-level results, from English. n denotes number of pairwise judgments. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. †:WMT18 Baseline (Ma et al., 2018) ‡:WMT18 Metric Submission (Ma et al., 2018)
+
+| n | cs-en 5 | de-en 16 | et-en 14 | fi-en 9 | ru-en 8 | tr-en 5 | zh-en 14 |
| \( BEER^‡ \)(Stanojević and Sima’an, 2015) | 0.958 | 0.994 | 0.985 | 0.991 | 0.982 | 0.870 | 0.976 |
| \( BERTSCORE \)(Zhang et al., 2019, 2020) | 0.990 | 0.999 | 0.990 | 0.998 | 0.935 | 0.499 | 0.956 |
| \( BLEND^‡ \)(Ma et al., 2017) | 0.973 | 0.991 | 0.985 | 0.994 | 0.993 | 0.801 | 0.976 |
| \(BLEU^† \)(Papineni et al., 2002) | 0.970 | 0.971 | 0.986 | 0.973 | 0.979 | 0.657 | 0.978 |
| \(CDER^† \)(Leusch et al., 2006) | 0.972 | 0.980 | 0.990 | 0.984 | 0.980 | 0.664 | 0.982 |
| \(CHARACTER^‡ \)(Wang et al., 2016) | 0.970 | 0.993 | 0.979 | 0.989 | 0.991 | 0.782 | 0.950 |
| \(CHRF^† \)(Popović, 2015) | 0.966 | 0.994 | 0.981 | 0.987 | 0.990 | 0.452 | 0.960 |
| \(CHRF+^† \)(Popović, 2017) | 0.966 | 0.993 | 0.981 | 0.989 | 0.990 | 0.174 | 0.964 |
| \(ITER^‡ \)(Panja and Naskar, 2018) | 0.975 | 0.990 | 0.975 | 0.996 | 0.937 | 0.861 | 0.980 |
| \(METEOR++^‡ \)(Shimanaka et al., 2018) | 0.945 | 0.991 | 0.978 | 0.971 | 0.995 | 0.864 | 0.962 |
| \(NIST^† \)(Doddington, 2002) | 0.954 | 0.984 | 0.983 | 0.975 | 0.973 | 0.970 | 0.968 |
| \(PER^† \) | 0.970 | 0.985 | 0.983 | 0.993 | 0.967 | 0.159 | 0.931 |
| \(RUSE^‡ \)(Shimanaka et al., 2018) | 0.981 | 0.997 | 0.990 | 0.991 | 0.988 | 0.853 | 0.981 |
| \(TER^† \)(Snover et al., 2006) | 0.950 | 0.970 | 0.990 | 0.968 | 0.970 | 0.533 | 0.975 |
| \(UHH\_TSKM^‡ \)(Duma and Menzel, 2017) | 0.952 | 0.980 | 0.989 | 0.982 | 0.980 | 0.547 | 0.981 |
| \(WER^† \) | 0.951 | 0.961 | 0.991 | 0.961 | 0.968 | 0.041 | 0.975 |
| \(YISI-0^‡ \)(Lo, 2019) | 0.956 | 0.994 | 0.975 | 0.978 | 0.988 | 0.954 | 0.957 |
| \(YISI-1^‡ \)(Lo, 2019) | 0.950 | 0.992 | 0.979 | 0.973 | 0.991 | 0.958 | 0.951 |
| \(YISI-1\_SRL^‡ \)(Lo, 2019) | 0.965 | 0.995 | 0.981 | 0.977 | 0.992 | 0.869 | 0.962 |
| Prism-ref (This Work) | 0.988 | 0.995 | 0.971 | 0.998 | 0.995 | 0.730 | 0.989 |
| Prism-ref w/ ParaBank 2 (Contrastive) | 0.992 | 0.989 | 0.964 | 0.998 | 0.996 | 0.896 | 0.986 |
| LASER + LM (Contrastive) | 0.988 | 0.991 | 0.965 | 0.994 | 0.745 | 0.297 | 0.890 |
| Prism-src (This work) | 0.984 | 0.991 | 0.964 | 0.987 | 0.970 | 0.896 | 0.958 |
| LM | 0.986 | 0.970 | 0.954 | 0.898 | 0.951 | 0.891 | 0.972 |
| LASER | 0.978 | 0.986 | 0.953 | 0.984 | 0.489 | 0.968 | 0.591 |
| mBART (Contrastive) | 0.955 | 0.996 | 0.987 | 0.995 | 0.981 | 0.721 | 0.980 |
+
+Table 9: WMT18 System-level results, to English. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. We exclude BLEURT (Sellam et al., 2020) as it was directly trained on WMT18 judgements. †:WMT18 Baseline (Ma et al., 2018)‡:WMT18 Metric Submission (Ma et al., 2018)
+
+| n | en-cs 5 | en-de 16 | en-et 14 | en-fi 12 | en-ru 9 | en-tr 8 | en-zh 14 |
| \( BEER^‡ \) (Stanojević and Sima’an, 2015) | 0.992 | 0.991 | 0.980 | 0.961 | 0.988 | 0.965 | 0.928 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.997 | 0.989 | 0.982 | 0.972 | 0.990 | 0.908 | 0.967 |
| \( BLEND^‡ \) (Ma et al., 2017) | - | - | - | - | 0.988 | - | - |
| \(BLEU^† \) (Papineni et al., 2002) | 0.995 | 0.981 | 0.975 | 0.962 | 0.983 | 0.826 | 0.947 |
| \(CDER^† \) (Leusch et al., 2006) | 0.997 | 0.986 | 0.984 | 0.964 | 0.984 | 0.861 | 0.961 |
| \(CHARACTER^‡ \) (Wang et al., 2016) | 0.993 | 0.989 | 0.956 | 0.974 | 0.983 | 0.833 | 0.983 |
| \(CHRF^† \) (Popović, 2015) | 0.990 | 0.990 | 0.981 | 0.969 | 0.989 | 0.948 | 0.944 |
| \(CHRF+^† \) (Popović, 2017) | 0.990 | 0.989 | 0.982 | 0.970 | 0.989 | 0.943 | 0.943 |
| \(ITER^‡ \) (Panja and Naskar, 2018) | 0.915 | 0.984 | 0.981 | 0.973 | 0.975 | 0.865 | - |
| \(NIST^† \) (Doddington, 2002) | 0.999 | 0.986 | 0.983 | 0.949 | 0.990 | 0.902 | 0.950 |
| \(PER^† \) | 0.991 | 0.981 | 0.958 | 0.906 | 0.988 | 0.859 | 0.964 |
| \(TER^† \) (Snover et al., 2006) | 0.997 | 0.988 | 0.981 | 0.942 | 0.987 | 0.867 | 0.963 |
| \(WER^† \) | 0.997 | 0.986 | 0.981 | 0.945 | 0.985 | 0.853 | 0.957 |
| \(Y1SI-0^‡ \) (Lo, 2019) | 0.973 | 0.985 | 0.968 | 0.944 | 0.990 | 0.990 | 0.957 |
| \(Y1SI-1^‡ \) (Lo, 2019) | 0.987 | 0.985 | 0.979 | 0.940 | 0.992 | 0.976 | 0.963 |
| \(Y1SI-1\_SRL^‡ \) (Lo, 2019) | - | 0.990 | - | - | - | - | 0.952 |
| Prism-ref (This Work) | 0.962 | 0.987 | 0.973 | 0.976 | 0.989 | 0.894 | 0.977 |
| LASER + LM (Contrastive) | 0.953 | 0.984 | 0.980 | 0.976 | 0.984 | 0.927 | 0.982 |
| Prism-src (This work) | 0.850 | 0.984 | 0.949 | 0.964 | 0.960 | 0.864 | 0.940 |
| LM | 0.854 | 0.985 | 0.837 | 0.938 | 0.959 | 0.830 | 0.859 |
| LASER | 0.995 | 0.965 | 0.937 | 0.978 | 0.993 | 0.895 | 0.978 |
| mBART (Contrastive) | 0.985 | 0.989 | 0.977 | 0.959 | 0.987 | 0.963 | 0.689 |
+
+Table 10: WMT18 System-level results, from English. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT18 Baseline (Ma et al., 2018) $\ddagger$ :WMT18 Metric Submission (Ma et al., 2018)
+
+# E WMT 2019 Metric and QE as Metric Segment-Level Results
+
+Table 11, Table 12, and Table 13 show segment-level metrics (excluding QE as a metric) results, for language pairs into, out of, and not including English, for the WMT 2019 MT metrics shared task, along with all baselines and submitted systems.
+
+Table 14, Table 15, and Table 16 show segment-level QE as a metric results, for language pairs into, out of, and not including English, for the WMT 2019 MT metrics shared task, along with all baselines and submitted systems.
+
+| n | de-en 85365 | fi-en 38307 | gu-en 31139 | kk-en 27094 | lt-en 21862 | ru-en 46172 | zh-en 31070 |
| \( BEER^‡ \)(Stanojević and Sima’an, 2015) | 0.128 | 0.283 | 0.260 | 0.421 | 0.315 | 0.189 | 0.371 |
| \( BERTR^‡ \)(Mathur et al., 2019) | 0.142 | 0.331 | 0.291 | 0.421 | 0.353 | 0.195 | 0.399 |
| \( BERTSCORE \)(Zhang et al., 2019, 2020) | 0.176 | 0.345 | 0.320 | 0.432 | 0.381 | 0.223 | 0.430 |
| \( BLEURT \)(Sellam et al., 2020) | 0.204 | 0.367 | 0.311 | 0.447 | 0.387 | 0.228 | 0.423 |
| \(CHARACTER^‡ \)(Wang et al., 2016) | 0.101 | 0.253 | 0.190 | 0.340 | 0.254 | 0.155 | 0.337 |
| \(CHRF^† \)(Popović, 2015) | 0.122 | 0.286 | 0.256 | 0.389 | 0.301 | 0.180 | 0.371 |
| \(CHRF+^† \)(Popović, 2017) | 0.125 | 0.289 | 0.257 | 0.394 | 0.303 | 0.182 | 0.374 |
| \(EED^‡ \)(Stanchev et al., 2019) | 0.120 | 0.281 | 0.264 | 0.392 | 0.298 | 0.176 | 0.376 |
| \(ESIM^‡ \)(Chen et al., 2017; Mathur et al., 2019) | 0.167 | 0.337 | 0.303 | 0.435 | 0.359 | 0.201 | 0.396 |
| \(HLEPORA\_BASELINE^‡ \)(Han et al., 2012, 2013) | - | - | - | 0.372 | - | - | 0.339 |
| \(METEOR++_2.0(SYNTAX)^‡ \)(Guo and Hu, 2019) | 0.084 | 0.274 | 0.237 | 0.395 | 0.291 | 0.156 | 0.370 |
| \(METEOR++_2.0(SYNTAX+COPY)^‡ \)(Guo and Hu, 2019) | 0.094 | 0.273 | 0.244 | 0.402 | 0.287 | 0.163 | 0.367 |
| \(PREP^‡ \)(Yoshimura et al., 2019) | 0.030 | 0.197 | 0.192 | 0.386 | 0.193 | 0.124 | 0.267 |
| \(SENTBLEU^† \)(Papineni et al., 2002) | 0.056 | 0.233 | 0.188 | 0.377 | 0.262 | 0.125 | 0.323 |
| \(WMDO^‡ \)(Chow et al., 2019) | 0.096 | 0.281 | 0.260 | 0.420 | 0.300 | 0.162 | 0.362 |
| \(YISI-0^‡ \)(Lo, 2019) | 0.117 | 0.271 | 0.263 | 0.402 | 0.289 | 0.178 | 0.355 |
| \(YISI-1^‡ \)(Lo, 2019) | 0.164 | 0.347 | 0.312 | 0.440 | 0.376 | 0.217 | 0.426 |
| \(YISI-1\_SRL^‡ \)(Lo, 2019) | 0.199 | 0.346 | 0.306 | 0.442 | 0.380 | 0.222 | 0.431 |
| Prism-ref (This Work) | 0.204 | 0.357 | 0.313 | 0.434 | 0.382 | 0.225 | 0.438 |
| Prism-ref w/ ParaBank 2 (Contrastive) | 0.184 | 0.341 | 0.326 | 0.425 | 0.373 | 0.207 | 0.432 |
| LASER + LM (Contrastive) | 0.190 | 0.335 | 0.319 | 0.428 | 0.368 | 0.207 | 0.416 |
| LM | 0.083 | 0.253 | 0.165 | 0.120 | 0.281 | 0.130 | 0.210 |
| LASER | 0.151 | 0.301 | 0.305 | 0.420 | 0.325 | 0.193 | 0.397 |
| mBART (Contrastive) | 0.136 | 0.255 | 0.246 | 0.377 | 0.298 | 0.162 | 0.349 |
+
+Table 11: WMT19 Segment-level results, metrics (excludes QE as metric), to English. n denotes number of pairwise judgments. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. †:WMT19 Baseline (Ma et al., 2019) ‡:WMT19 Metric Submission (Ma et al., 2019)
+
+| n | en-cs 27178 | en-de 99840 | en-fi 31820 | en-gu 11355 | en-kk 18172 | en-lt 17401 | en-ru 24334 | en-zh 18658 |
| \( BEER^‡ \)(Stanojević and Sima’an, 2015) | 0.443 | 0.316 | 0.514 | 0.537 | 0.516 | 0.441 | 0.542 | 0.232 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.485 | 0.345 | 0.524 | 0.558 | 0.533 | 0.463 | 0.580 | 0.347 |
| \( CHARACTER^‡ \)(Wang et al., 2016) | 0.349 | 0.264 | 0.404 | 0.500 | 0.351 | 0.311 | 0.432 | 0.094 |
| \( CHRF^† \)(Popović, 2015) | 0.455 | 0.326 | 0.514 | 0.534 | 0.479 | 0.446 | 0.539 | 0.301 |
| \( CHRF+^† \)(Popović, 2017) | 0.458 | 0.327 | 0.514 | 0.538 | 0.491 | 0.448 | 0.543 | 0.296 |
| \( EED^‡ \)(Stanchev et al., 2019) | 0.431 | 0.315 | 0.508 | 0.568 | 0.518 | 0.425 | 0.546 | 0.257 |
| \( ESIM^‡ \)(Chen et al., 2017; Mathur et al., 2019) | - | 0.329 | 0.511 | - | 0.510 | 0.428 | 0.572 | 0.339 |
| \( HLEPORA\_BASELINE^‡ \)(Han et al., 2012, 2013) | - | - | - | 0.463 | 0.390 | - | - | - |
| \( SENTBLEU^† \)(Papineni et al., 2002) | 0.367 | 0.248 | 0.396 | 0.465 | 0.392 | 0.334 | 0.469 | 0.270 |
| \( Y1SI-0^‡ \)(Lo, 2019) | 0.406 | 0.304 | 0.483 | 0.539 | 0.494 | 0.402 | 0.535 | 0.266 |
| \( Y1SI-1^‡ \)(Lo, 2019) | 0.475 | 0.351 | 0.537 | 0.551 | 0.546 | 0.470 | 0.585 | 0.355 |
| \( Y1SI-1\_SRL^‡ \)(Lo, 2019) | - | 0.368 | - | - | - | - | - | 0.361 |
| Prism-ref (This Work) | 0.582 | 0.427 | 0.591 | 0.313 | 0.531 | 0.558 | 0.584 | 0.376 |
| LASER + LM (Contrastive) | 0.535 | 0.401 | 0.568 | 0.306 | 0.408 | 0.503 | 0.640 | 0.356 |
| LM | 0.439 | 0.329 | 0.477 | 0.181 | 0.284 | 0.430 | 0.586 | 0.279 |
| LASER | 0.408 | 0.334 | 0.509 | 0.340 | 0.363 | 0.396 | 0.511 | 0.284 |
| mBART (Contrastive) | 0.345 | 0.302 | 0.401 | 0.528 | 0.462 | 0.365 | 0.443 | 0.280 |
+
+Table 12: WMT19 Segment-level results, metrics (excludes QE as metric results), from English. n denotes number of pairwise judgments. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT19 Baseline (Ma et al., 2019) $\ddagger$ :WMT19 Metric Submission (Ma et al., 2019)
+
+| n | de-cs 35793 | de-fr 4862 | fr-de 1369 |
| \( BEER^‡ \) (Stanojevic and Sima’an, 2015) | 0.337 | 0.293 | 0.265 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.352 | 0.325 | 0.274 |
| \( CHARACTER^‡ \) (Wang et al., 2016) | 0.232 | 0.251 | 0.224 |
| \( CHRF^† \) (Popović, 2015) | 0.326 | 0.284 | 0.275 |
| \( CHRF+^† \) (Popović, 2017) | 0.326 | 0.284 | 0.278 |
| \( EED^‡ \) (Stanchev et al., 2019) | 0.345 | 0.301 | 0.267 |
| \( ESIM^‡ \) (Chen et al., 2017; Mathur et al., 2019) | 0.331 | 0.290 | 0.289 |
| \( HLEPORA_BASELINE^‡ \) (Han et al., 2012, 2013) | 0.207 | 0.239 | - |
| \( SENTBLEU^† \) (Papineni et al., 2002) | 0.203 | 0.235 | 0.179 |
| \( YI SI-0^‡ \) (Lo, 2019) | 0.331 | 0.296 | 0.277 |
| \( YI SI-1^‡ \) (Lo, 2019) | 0.376 | 0.349 | 0.310 |
| \( YI SI-1\_SRL^‡ \) (Lo, 2019) | - | - | 0.299 |
| Prism-ref (This Work) | 0.458 | 0.453 | 0.426 |
| LASER + LM (Contrastive) | 0.431 | 0.401 | 0.381 |
| LM | 0.294 | 0.235 | 0.138 |
| LASER | 0.397 | 0.352 | 0.348 |
| mBART (Contrastive) | 0.262 | 0.255 | 0.236 |
+
+Table 13: WMT19 Segment-level results, metrics (excludes QE as metric), non-English. n denotes number of pairwise judgments. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT19 Baseline (Ma et al., 2019) $\ddagger$ :WMT19 Metric Submission (Ma et al., 2019)
+
+| n | de-en4 | fi-en4 | gu-en4 | kk-en4 | lt-en4 | ru-en4 | zh-en4 |
| \( BEER^‡ \)(Stanojevic and Sima'an, 2015) | -0.760 | 0.065 | 0.981 | 0.957 | 0.423 | -0.122 | -0.625 |
| \( BERTR^‡ \)(Mathur et al., 2019) | 0.251 | 0.430 | 0.966 | 0.864 | 0.518 | 0.505 | 0.402 |
| \( BERTSCORE \)(Zhang et al., 2019, 2020) | 0.272 | 0.683 | 0.913 | 0.897 | 0.753 | 0.456 | -0.220 |
| \( BLEU^† \)(Papineni et al., 2002) | -0.822 | -0.275 | 0.966 | 0.958 | 0.625 | -0.356 | -0.694 |
| \( BLEURT \)(Sellam et al., 2020) | 0.953 | 0.714 | 0.881 | 0.929 | 0.841 | 0.522 | 0.660 |
| \(CDER^† \)(Leusch et al., 2006) | -0.740 | -0.214 | 0.940 | 0.948 | 0.389 | -0.108 | -0.611 |
| \(CHARACTER^‡ \)(Wang et al., 2016) | -0.664 | -0.079 | 0.980 | 0.924 | 0.386 | 0.052 | -0.092 |
| \(CHRF^† \)(Popović, 2015) | -0.610 | 0.170 | 0.986 | 0.893 | 0.377 | -0.043 | -0.147 |
| \(CHRF+^† \)(Popović, 2017) | -0.612 | 0.157 | 0.982 | 0.886 | 0.341 | -0.019 | -0.093 |
| \(EED^‡ \)(Stanchev et al., 2019) | -0.503 | 0.125 | 0.978 | 0.904 | 0.323 | 0.033 | -0.06 |
| \(ESIM^‡ \)(Chen et al., 2017; Mathur et al., 2019) | 0.895 | 0.740 | 0.847 | 0.965 | 0.896 | 0.534 | 0.819 |
| \(HLEPORA\_BASELINE^‡ \)(Han et al., 2012, 2013) | - | - | - | 0.816 | - | - | 0.312 |
| \(HLEPORB\_BASELINE^‡ \)(Han et al., 2012, 2013) | - | - | - | 0.816 | 0.257 | - | 0.312 |
| \(METEOR++_2.0(SYNTAX)^‡ \)(Guo and Hu, 2019) | -0.591 | 0.349 | 0.978 | 0.912 | 0.413 | 0.024 | -0.214 |
| \(METEOR++_2.0(SYNTAX+COPY)^‡ \)(Guo and Hu, 2019) | -0.587 | 0.399 | 0.980 | 0.888 | 0.413 | 0.051 | -0.17 |
| \(NIST^† \)(Doddington, 2002) | -0.82 | 0.111 | 0.963 | 0.913 | 0.746 | -0.458 | -0.906 |
| \(PER^† \) | -0.787 | 0.232 | 0.945 | 0.731 | 0.086 | -0.081 | 0.730 |
| \(PREP^‡ \)(Yoshimura et al., 2019) | -0.981 | 0.754 | 0.976 | 0.863 | 0.171 | -0.357 | -0.927 |
| \(SACREBLEU.BLEU^† \)(Post, 2018) | -0.823 | -0.333 | 0.966 | 0.958 | 0.426 | -0.217 | -0.694 |
| \(SACREBLEU.CHRF^† \)(Post, 2018) | -0.633 | 0.113 | 0.954 | 0.875 | 0.311 | -0.094 | 0.347 |
| \(TER^† \)(Snover et al., 2006) | -0.798 | 0.032 | 0.942 | 0.963 | 0.585 | -0.137 | -0.845 |
| \(WER^† \) | -0.816 | -0.125 | 0.940 | 0.958 | 0.621 | -0.153 | -0.859 |
| \(WMDO^‡ \)(Chow et al., 2019) | -0.711 | 0.344 | 0.943 | 0.921 | 0.290 | 0.114 | -0.352 |
| \(Y1SI-0^‡ \)(Lo, 2019) | -0.714 | 0.074 | 0.991 | 0.946 | 0.540 | -0.079 | -0.663 |
| \(Y1SI-1^‡ \)(Lo, 2019) | 0.045 | 0.610 | 0.962 | 0.887 | 0.552 | 0.365 | -0.067 |
| \(Y1SI-1\_SRL^‡ \)(Lo, 2019) | 0.081 | 0.580 | 0.959 | 0.874 | 0.560 | 0.342 | -0.069 |
| \(IBM1-MORPHEM^* \)(Popović et al., 2011) | -0.643 | 0.065 | - | - | -0.952 | - | - |
| \(IBM1-POS4GRAM^* \)(Popović et al., 2011) | -0.831 | - | - | - | - | - | - |
| \(LASIM^* \) | -0.855 | - | - | - | - | -0.353 | - |
| \(LP.1^*\) | 0.777 | - | - | - | - | 0.442 | - |
| \(UNI^* \)(Yankovskaya et al., 2019) | 0.703 | 0.830 | - | - | - | 0.738 | - |
| \(UNI+^* \)(Yankovskaya et al., 2019) | 0.796 | 0.791 | - | - | - | 0.777 | - |
| \(Y1SI-2^* \)(Lo, 2019) | -0.809 | 0.780 | -0.125 | 0.834 | -0.362 | -0.325 | -0.889 |
| \(Y1SI-2\_SRL^* \)(Lo, 2019) | -0.749 | - | - | - | - | - | -0.83 |
| Prism-ref (This Work) | 0.401 | 0.719 | 0.896 | 0.796 | 0.877 | 0.431 | 0.523 |
| Prism-ref w/ ParaBank 2 (Contrastive) | 0.957 | 0.788 | 0.871 | 0.759 | 0.939 | 0.625 | 0.899 |
| LASER + LM (Contrastive) | 0.957 | 0.768 | 0.867 | 0.870 | 0.615 | 0.596 | 0.733 |
| Prism-src (This work) | 0.502 | 0.802 | 0.608 | 0.558 | -0.301 | 0.437 | 0.958 |
| LM | 0.973 | 0.754 | 0.619 | 0.498 | -0.006 | 0.779 | 0.973 |
| LASER | -0.458 | 0.718 | 0.984 | 0.926 | 0.662 | 0.262 | -0.528 |
| mBART (Contrastive) | -0.739 | 0.559 | 0.913 | 0.902 | 0.491 | -0.103 | -0.295 |
+
+Table 17: WMT19 System-level results, to English for the top 4 systems (as judged by humans) for each language pair. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT19 Baseline (Ma et al., 2019) $\ddagger$ :WMT19 Metric Submission (Ma et al., 2019) $*$ :WMT19 QE-as-Metric Submission (Fonseca et al., 2019)
+
+| n | en-cs 4 | en-de 4 | en-fi 4 | en-gu 4 | en-kk 4 | en-lt 4 | en-ru 4 | en-zh 4 |
| \( BEER {}^{ \ddagger } \) (Stanojević and Sima'an, 2015) | 0.872 | -0.801 | 0.960 | 0.899 | 0.226 | 0.888 | 0.961 | 0.992 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.868 | -0.722 | 0.859 | 0.922 | 0.288 | 0.955 | 0.953 | 0.982 |
| \( BLEU {}^{ \dagger } \) (Papineni et al., 2002) | 0.930 | -0.37 | 0.898 | 0.860 | 0.181 | 0.925 | 0.753 | 0.987 |
| \(CDER {}^{ \dagger } \) (Leusch et al., 2006) | 0.946 | -0.975 | 0.837 | 0.900 | -0.011 | 0.880 | 0.917 | 0.986 |
| \(CHARACTER {}^{ \ddagger } \) (Wang et al., 2016) | 0.828 | -0.777 | 0.887 | 0.902 | 0.295 | 0.675 | 0.974 | 0.997 |
| \(CHRF {}^{ \dagger } \) (Popović, 2015) | 0.799 | -0.590 | 0.936 | 0.926 | 0.277 | 0.901 | 0.954 | 0.987 |
| \(CHRF+ {}^{ \ddagger } \) (Popović, 2017) | 0.816 | -0.605 | 0.921 | 0.923 | 0.283 | 0.858 | 0.940 | 0.996 |
| \(EED {}^{ \ddagger } \) (Stanchev et al., 2019) | 0.825 | -0.552 | 0.939 | 0.913 | 0.267 | 0.921 | 0.961 | 0.997 |
| \(ESIM {}^{ \ddagger } \) (Chen et al., 2017; Mathur et al., 2019) | - | -0.796 | 0.957 | - | 0.418 | 0.997 | 0.986 | 0.987 |
| \(HLEPORA\_BASELINE {}^{ \ddagger } \) (Han et al., 2012, 2013) | - | - | - | 0.915 | 0.062 | - | - | - |
| \(HLEPORB\_BASELINE {}^{ \ddagger } \) (Han et al., 2012, 2013) | - | - | - | 0.915 | 0.062 | 0.821 | - | - |
| \(NIST {}^{ \dagger } \) (Doddington, 2002) | 0.946 | -0.233 | 0.971 | 0.893 | 0.082 | 0.988 | 0.724 | 0.979 |
| \(PER {}^{ \dagger } \) | 0.916 | -0.995 | 0.850 | 0.887 | -0.260 | 0.390 | 0.911 | 0.980 |
| \(SACREBLEU.BLEU {}^{ \dagger } \) (Post, 2018) | 0.970 | -0.976 | 0.845 | 0.859 | 0.181 | 0.638 | 0.878 | 0.962 |
| \(SACREBLEU.CHRF {}^{ \dagger } \) (Post, 2018) | 0.907 | -0.816 | 0.921 | 0.902 | 0.239 | 0.980 | 0.970 | 0.963 |
| \(TER {}^{ \dagger } \) (Snover et al., 2006) | 0.969 | -0.989 | 0.889 | 0.874 | -0.060 | 0.988 | 0.895 | 0.984 |
| \(WER {}^{ \dagger } \) | 0.973 | -0.993 | 0.876 | 0.868 | -0.058 | 0.973 | 0.894 | 0.987 |
| \(YISI-0 {}^{ \ddagger } \) (Lo, 2019) | 0.879 | -0.796 | 0.975 | 0.920 | 0.196 | 0.787 | 0.940 | 0.982 |
| \(YISI-1 {}^{ \ddagger } \) (Lo, 2019) | 0.847 | -0.220 | 0.976 | 0.917 | 0.342 | 0.838 | 0.963 | 0.990 |
| \(YISI-1\_SRL {}^{ \ddagger } \) (Lo, 2019) | - | -0.378 | - | - | - | - | - | 0.994 |
| \(IBM1-MORPHEME {}^{ * } \) (Popović et al., 2011) | -0.771 | -0.425 | 0.430 | - | - | 0.969 | - | - |
| \(IBM1-POS4GRAM {}^{ * } \) (Popović et al., 2011) | - | -0.502 | - | - | - | - | - | - |
| \(LASIM {}^{ * } \) | - | -0.914 | - | - | - | - | 0.223 | - |
| LP.1* | - | 0.949 | - | - | - | - | -0.407 | - |
| \(UNI {}^{ * } \) (Yankovskaya et al., 2019) | 0.587 | -0.96 | 0.637 | - | - | - | 0.655 | - |
| \(UNI+ {}^{ * } \) (Yankovskaya et al., 2019) | - | - | - | - | - | - | 0.644 | - |
| \(USFD {}^{ * } \) (Ive et al., 2018) | - | -0.729 | - | - | - | - | 0.985 | - |
| \(USFD-TL {}^{ * } \) (Ive et al., 2018) | - | -0.390 | - | - | - | - | 0.698 | - |
| \(YISI-2 {}^{ * } \) (Lo, 2019) | 0.793 | -0.933 | -0.991 | -0.389 | 0.851 | -0.504 | 0.075 | 0.983 |
| \(YISI-2\_SRL {}^{ * } \) (Lo, 2019) | - | -0.915 | - | - | - | - | - | 0.991 |
| Prism-ref (This Work) | 0.952 | 0.278 | 0.886 | 0.863 | 0.693 | 0.862 | 0.975 | 0.966 |
| \(LASER + LM \) (Contrastive) | 0.961 | 0.377 | 0.903 | 0.509 | 0.605 | 0.743 | 0.962 | 0.985 |
| Prism-src (This work) | 0.973 | -0.408 | 0.765 | -0.703 | 0.833 | -0.003 | 0.708 | 0.863 |
| LM | 0.833 | 0.425 | 0.763 | -0.712 | 0.953 | 0.633 | 0.916 | 0.846 |
| LASER | 0.851 | 0.246 | 0.983 | 0.568 | 0.328 | 0.263 | 0.995 | 0.988 |
| mBART (Contrastive) | 0.936 | -0.834 | 0.966 | 0.912 | 0.224 | 0.946 | 0.968 | 0.986 |
+
+Table 18: WMT19 System-level results, from English for the top 4 systems (as judged by humans) for each language pair. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT19 Baseline (Ma et al., 2019) $\ddagger$ :WMT19 Metric Submission (Ma et al., 2019) $*$ :WMT19 QE-as-Metric Submission (Fonseca et al., 2019)
+
+| n | de-cs 4 | de-fr 4 | fr-de 4 |
| \( BEER^‡ \)(Stanojević and Sima’an, 2015) | 0.961 | 0.590 | 0.978 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.976 | 0.707 | 0.973 |
| \( BLEU^† \)(Papineni et al., 2002) | 0.812 | 0.495 | 0.983 |
| \(CDER^† \)(Leusch et al., 2006) | 0.860 | 0.544 | 0.959 |
| \(CHARACTER^‡ \)(Wang et al., 2016) | 0.871 | 0.626 | 0.963 |
| \(CHRF^† \)(Popović, 2015) | 0.920 | 0.531 | 0.952 |
| \(CHRF+^† \)(Popović, 2017) | 0.909 | 0.522 | 0.946 |
| \(EED^‡ \)(Stanchev et al., 2019) | 0.873 | 0.582 | 0.945 |
| \(ESIM^‡ \)(Chen et al., 2017; Mathur et al., 2019) | 0.977 | 0.702 | 0.991 |
| \(HLEPORA\_BASELINE^‡ \)(Han et al., 2012, 2013) | 0.771 | 0.314 | |
| \(HLEPORB\_BASELINE^‡ \)(Han et al., 2012, 2013) | 0.754 | 0.314 | |
| \(NIST^† \)(Doddington, 2002) | 0.754 | 0.561 | 0.990 |
| \(PER^† \) | 0.913 | 0.401 | 0.990 |
| \(SACREBLEU.BLEU^† \)(Post, 2018) | 0.888 | 0.495 | 0.958 |
| \(SACREBLEU.CHRF^† \)(Post, 2018) | 0.964 | 0.575 | 0.920 |
| \(TER^† \)(Snover et al., 2006) | 0.999 | 0.541 | 0.989 |
| \(WER^† \) | 0.997 | 0.566 | 0.991 |
| \(YISI-0^‡ \)(Lo, 2019) | 0.838 | 0.655 | 0.961 |
| \(YISI-1^‡ \)(Lo, 2019) | 0.967 | 0.677 | 0.967 |
| \(YISI-1\_SRL^‡ \)(Lo, 2019) | - | - | 0.974 |
| \(IBM1-MORPHEME^* \)(Popović et al., 2011) | 0.645 | -0.885 | -0.339 |
| \(IBM1-POS4GRAM^* \)(Popović et al., 2011) | - | -0.106 | -0.33 |
| \(YISI-2^* \)(Lo, 2019) | 0.368 | 0.209 | -0.687 |
| Prism-ref (This Work) | 0.968 | 0.648 | 0.998 |
| LASER + LM (Contrastive) | 0.947 | 0.774 | 0.975 |
| Prism-src (This work) | 0.903 | 0.600 | 0.181 |
| LM | 0.336 | 0.770 | -0.903 |
| LASER | 0.552 | 0.713 | 0.953 |
| mBART (Contrastive) | 0.806 | 0.615 | 0.972 |
+
+Table 19: WMT19 System-level results, non-English for the top 4 systems (as judged by humans) for each language pair. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT19 Baseline (Ma et al., 2019) $\ddagger$ :WMT19 Metric Submission (Ma et al., 2019) $*$ :WMT19 QE-as-Metric Submission (Fonseca et al., 2019)
+
+# G WMT 2019 Metric and QE as Metric System-Level Results
+
+Table 20, Table 21, and Table 22, show system-level results, for metrics (excludes QE as metric) for language pairs into, out of, and not including English, for the WMT 2019 MT metrics shared task, along with all baselines and submitted systems.
+
+Table 23, Table 24, and Table 25, show system-level results, for QE as metric, for language pairs into, out of, and not including English, for the WMT 2019 MT metrics shared task, along with all baselines and submitted systems.
+
+| n | de-en 16 | fi-en 12 | gu-en 11 | kk-en 11 | lt-en 11 | ru-en 14 | zh-en 15 |
| \( BEER^{\ddagger}\) (Stanojević and Sima’an, 2015) | 0.906 | 0.993 | 0.952 | 0.986 | 0.947 | 0.915 | 0.942 |
| \( BERTR^{\ddagger}\) (Mathur et al., 2019) | 0.926 | 0.984 | 0.938 | 0.990 | 0.948 | 0.971 | 0.974 |
| \( BERTSCORE \) (Zhang et al., 2019, 2020) | 0.949 | 0.987 | 0.981 | 0.980 | 0.962 | 0.921 | 0.983 |
| \( BLEU^{\dagger}\) (Papineni et al., 2002) | 0.849 | 0.982 | 0.834 | 0.946 | 0.961 | 0.879 | 0.899 |
| \( BLEURT \) (Sellam et al., 2020) | 0.940 | 0.978 | 0.878 | 0.993 | 0.991 | 0.977 | 0.984 |
| \( CDER^{\dagger}\) (Leusch et al., 2006) | 0.890 | 0.988 | 0.876 | 0.967 | 0.975 | 0.892 | 0.917 |
| \( CHARACTER^{\ddagger}\) (Wang et al., 2016) | 0.898 | 0.990 | 0.922 | 0.953 | 0.955 | 0.923 | 0.943 |
| \( CHRF^{\dagger}\) (Popović, 2015) | 0.917 | 0.992 | 0.955 | 0.978 | 0.940 | 0.945 | 0.956 |
| \( CHRF+^{\ddagger}\) (Popović, 2017) | 0.916 | 0.992 | 0.947 | 0.976 | 0.940 | 0.945 | 0.956 |
| \( EED^{\ddagger}\) (Stanchev et al., 2019) | 0.903 | 0.994 | 0.976 | 0.980 | 0.929 | 0.950 | 0.949 |
| \( ESIM^{\ddagger}\) (Chen et al., 2017; Mathur et al., 2019) | 0.941 | 0.971 | 0.885 | 0.986 | 0.989 | 0.968 | 0.988 |
| \( HLEPORA\_BASELINE^{\ddagger}\) (Han et al., 2012, 2013) | - | - | - | 0.975 | - | - | 0.947 |
| \( HLEPORB\_BASELINE^{\ddagger}\) (Han et al., 2012, 2013) | - | - | - | 0.975 | 0.906 | - | 0.947 |
| \( METEOR++_2.0(SYNTAX)^{\ddagger}\) (Guo and Hu, 2019) | 0.887 | 0.995 | 0.909 | 0.974 | 0.928 | 0.950 | 0.948 |
| \( METEOR++_2.0(SYNTAX+COPY)^{\ddagger}\) (Guo and Hu, 2019) | 0.896 | 0.995 | 0.900 | 0.971 | 0.927 | 0.952 | 0.952 |
| \( NIST^{\dagger}\) (Doddington, 2002) | 0.813 | 0.986 | 0.930 | 0.942 | 0.944 | 0.925 | 0.921 |
| \( PER^{\dagger} \) | 0.883 | 0.991 | 0.910 | 0.737 | 0.947 | 0.922 | 0.952 |
| \( PREP^{\ddagger}\) (Yoshimura et al., 2019) | 0.575 | 0.614 | 0.773 | 0.776 | 0.494 | 0.782 | 0.592 |
| \( SACREBLEU.BLEU^{\dagger}\) (Post, 2018) | 0.813 | 0.985 | 0.834 | 0.946 | 0.955 | 0.873 | 0.903 |
| \( SACREBLEU.CHRF^{\dagger}\) (Post, 2018) | 0.910 | 0.990 | 0.952 | 0.969 | 0.935 | 0.919 | 0.955 |
| \( TER^{\dagger}\) (Snover et al., 2006) | 0.874 | 0.984 | 0.890 | 0.799 | 0.960 | 0.917 | 0.840 |
| \( WER^{\dagger} \) | 0.863 | 0.983 | 0.861 | 0.793 | 0.961 | 0.911 | 0.820 |
| \( WMDO^{\ddagger}\) (Chow et al., 2019) | 0.872 | 0.987 | 0.983 | 0.998 | 0.900 | 0.942 | 0.943 |
| \( Y1SI-0^{\ddagger}\) (Lo, 2019) | 0.902 | 0.993 | 0.993 | 0.991 | 0.927 | 0.958 | 0.937 |
| \( Y1SI-1^{\ddagger}\) (Lo, 2019) | 0.949 | 0.989 | 0.924 | 0.994 | 0.981 | 0.979 | 0.979 |
| \( Y1SI-1\_SRL^{\ddagger}\) (Lo, 2019) | 0.950 | 0.989 | 0.918 | 0.994 | 0.983 | 0.978 | 0.977 |
| Prism-ref (This Work) | 0.954 | 0.983 | 0.764 | 0.998 | 0.995 | 0.914 | 0.992 |
| Prism-ref w/ ParaBank 2 (Contrastive) | 0.949 | 0.979 | 0.925 | 0.993 | 0.981 | 0.948 | 0.994 |
| LASER + LM (Contrastive) | 0.938 | 0.974 | 0.974 | 0.997 | 0.996 | 0.940 | 0.988 |
| mBART (Contrastive) | 0.906 | 0.991 | 0.949 | 0.974 | 0.917 | 0.880 | 0.956 |
+
+Table 20: WMT19 System-level results, to English. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT19 Baseline (Ma et al., 2019) $\ddagger$ :WMT19 Metric Submission (Ma et al., 2019)
+
+| n | en-cs 11 | en-de 22 | en-fi 12 | en-gu 11 | en-kk 11 | en-lt 12 | en-ru 12 | en-zh 12 |
| \( BEER^‡ \)(Stanojevic and Sima'an, 2015) | 0.990 | 0.983 | 0.989 | 0.829 | 0.971 | 0.982 | 0.977 | 0.803 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.981 | 0.990 | 0.970 | 0.922 | 0.981 | 0.978 | 0.989 | 0.925 |
| \( BLEU^† \)(Papineni et al., 2002) | 0.897 | 0.921 | 0.969 | 0.737 | 0.852 | 0.989 | 0.986 | 0.901 |
| \(CDER^† \)(Leusch et al., 2006) | 0.985 | 0.973 | 0.978 | 0.840 | 0.927 | 0.985 | 0.993 | 0.905 |
| \(CHARACTER^‡ \)(Wang et al., 2016) | 0.994 | 0.986 | 0.968 | 0.910 | 0.936 | 0.954 | 0.985 | 0.862 |
| \(CHRF^† \)(Popović, 2015) | 0.990 | 0.979 | 0.986 | 0.841 | 0.972 | 0.981 | 0.943 | 0.880 |
| \(CHRF+^† \)(Popović, 2017) | 0.991 | 0.981 | 0.986 | 0.848 | 0.974 | 0.982 | 0.950 | 0.879 |
| \(EED^‡ \)(Stanchev et al., 2019) | 0.993 | 0.985 | 0.987 | 0.897 | 0.979 | 0.975 | 0.967 | 0.856 |
| \(ESIM^‡ \)(Chen et al., 2017; Mathur et al., 2019) | - | 0.991 | 0.957 | - | 0.980 | 0.989 | 0.989 | 0.931 |
| \(HLEPORA\_BASELINE^‡ \)(Han et al., 2012, 2013) | - | - | - | 0.841 | 0.968 | - | - | - |
| \(HLEPORB\_BASELINE^‡ \)(Han et al., 2012, 2013) | - | - | - | 0.841 | 0.968 | 0.980 | - | - |
| \(NIST^† \)(Doddington, 2002) | 0.896 | 0.321 | 0.971 | 0.786 | 0.930 | 0.993 | 0.988 | 0.884 |
| \(PER^† \) | 0.976 | 0.970 | 0.982 | 0.839 | 0.921 | 0.985 | 0.981 | 0.895 |
| \(SACREBLEU.BLEU^† \)(Post, 2018) | 0.994 | 0.969 | 0.966 | 0.736 | 0.852 | 0.986 | 0.977 | 0.801 |
| \(SACREBLEU.CHRF^† \)(Post, 2018) | 0.983 | 0.976 | 0.980 | 0.841 | 0.967 | 0.966 | 0.985 | 0.796 |
| \(TER^† \)(Snover et al., 2006) | 0.980 | 0.969 | 0.981 | 0.865 | 0.940 | 0.994 | 0.995 | 0.856 |
| \(WER^† \) | 0.982 | 0.966 | 0.980 | 0.861 | 0.939 | 0.991 | 0.994 | 0.875 |
| \(YISI-0^‡ \)(Lo, 2019) | 0.992 | 0.985 | 0.987 | 0.863 | 0.974 | 0.974 | 0.953 | 0.861 |
| \(YISI-1^‡ \)(Lo, 2019) | 0.962 | 0.991 | 0.971 | 0.909 | 0.985 | 0.963 | 0.992 | 0.951 |
| \(YISI-1\_SRL^‡ \)(Lo, 2019) | - | 0.991 | - | - | - | - | - | 0.948 |
| Prism-ref (This Work) | 0.958 | 0.988 | 0.949 | 0.624 | 0.978 | 0.937 | 0.918 | 0.898 |
| LASER + LM (Contrastive) | 0.962 | 0.989 | 0.957 | 0.775 | 0.969 | 0.958 | 0.987 | 0.950 |
| mBART (Contrastive) | 0.987 | 0.988 | 0.982 | 0.917 | 0.981 | 0.965 | 0.978 | 0.866 |
+
+Table 21: WMT19 System-level results, from English. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. $\dagger$ :WMT19 Baseline (Ma et al., 2019) $\ddagger$ :WMT19 Metric Submission (Ma et al., 2019)
+
+| n | de-cs 11 | de-fr 11 | fr-de 10 |
| \( BEER^‡ \)(Stanojević and Sima’an, 2015) | 0.978 | 0.941 | 0.848 |
| BERTSCORE (Zhang et al., 2019, 2020) | 0.969 | 0.971 | 0.899 |
| \( BLEU^† \)(Papineni et al., 2002) | 0.941 | 0.891 | 0.864 |
| \(CDER^† \)(Leusch et al., 2006) | 0.864 | 0.949 | 0.852 |
| \(CHARACTER^‡ \)(Wang et al., 2016) | 0.965 | 0.928 | 0.849 |
| \(CHRF^† \)(Popović, 2015) | 0.974 | 0.931 | 0.864 |
| \(CHRF+^† \)(Popović, 2017) | 0.972 | 0.936 | 0.848 |
| \(EED^‡ \)(Stanchev et al., 2019) | 0.982 | 0.940 | 0.851 |
| \(ESIM^‡ \)(Chen et al., 2017; Mathur et al., 2019) | 0.980 | 0.950 | 0.942 |
| \(HLEPORA\_BASELINE^‡ \)(Han et al., 2012, 2013) | 0.941 | 0.814 | - |
| \(HLEPORB\_BASELINE^‡ \)(Han et al., 2012, 2013) | 0.959 | 0.814 | 0.862 |
| \(NIST^† \)(Doddington, 2002) | 0.954 | 0.916 | 0.899 |
| \(PER^† \) | 0.875 | 0.857 | 0.869 |
| \(SACREBLEU.BLEU^† \)(Post, 2018) | 0.869 | 0.891 | 0.882 |
| \(SACREBLEU.CHRF^† \)(Post, 2018) | 0.975 | 0.952 | 0.895 |
| \(TER^† \)(Snover et al., 2006) | 0.890 | 0.956 | 0.894 |
| \(WER^† \) | 0.872 | 0.956 | 0.820 |
| \(Y1SI-0^‡ \)(Lo, 2019) | 0.978 | 0.952 | 0.908 |
| \(Y1SI-1^‡ \)(Lo, 2019) | 0.973 | 0.969 | 0.912 |
| Prism-ref (This Work) | 0.976 | 0.936 | 0.911 |
| LASER + LM (Contrastive) | 0.990 | 0.935 | 0.924 |
| mBART (Contrastive) | 0.964 | 0.944 | 0.874 |
+
+Table 22: WMT19 System-level results, non-English. n denotes number of MT systems. Bold denotes top scoring method and any other methods with whose $95\%$ confidence interval overlaps with that of a top method. †:WMT19 Baseline (Ma et al., 2019) ‡:WMT19 Metric Submission (Ma et al., 2019)
+
+| Task | Prompt Template | Prompt found by AUTOPROMPT | Label Tokens |
| Sentiment Analysis | {sentence} [T]... [T] [P]. | unflinchingly bleak and desperate Writing academicswhere overseas will appear [MASK]. | pos: partnership, extraordinary, ##bla neg: worse, persisted, unconstitutional |
| NLI | {prem}[P][T]... [T]{hyp} | Two dogs are wrestling and hugging [MASK] concretephatic workplace There is no dog wrestling and hugging | con: Nobody, nobody, nor ent: ##found, ##ways, Agency neu: ##ponents, ##lary, ##uated |
| Fact Retrieval | X plays Y music {sub}[T]... [T][P]. | Hall Overton fireplacemade antique son alto [MASK]. | |
| Relation Extraction | X is a Y by profession {sent}{sub}[T]... [T][P]. | Leonard Wood (born February 4, 1942) is a former Canadian politician. Leonard Wood gymnasium brotherdicative himself another [MASK]. | |
+
+Table 3: Example Prompts by AUTOPROMPT for each task. On the left, we show the prompt template, which combines the input, a number of trigger tokens [T], and a prediction token [P]. For classification tasks (sentiment analysis and NLI), we make predictions by summing the model's probability for a number of automatically selected label tokens. For fact retrieval and relation extraction, we take the most likely token predicted by the model.
+
+| Relation | Manual Prompt (LAMA) | #train | LAMA | LPAQA | AUTOPROMPT |
| P1001 | [X] is a legal term in [Y] | 1000 | 70.47 | 72.75 | 82.45 |
| P101 | [X] works in the field of [Y] | 864 | 9.91 | 5.32 | 12.79 |
| P103 | The native language of [X] is [Y] | 1000 | 72.16 | 72.16 | 82.09 |
| P106 | [X] is a [Y] by profession | 1000 | 0.63 | 0.0 | 14.72 |
| P108 | [X] works for [Y] | 376 | 6.79 | 5.74 | 8.62 |
| P127 | [X] is owned by [Y] | 548 | 34.79 | 32.46 | 35.95 |
| P1303 | [X] plays [Y] | 1000 | 7.59 | 18.02 | 15.38 |
| P131 | [X] is located in [Y] | 1000 | 23.27 | 22.81 | 37.46 |
| P136 | [X] plays [Y] music | 1000 | 0.75 | 16.76 | 55.42 |
| P1376 | [X] is the capital of [Y] | 310 | 73.93 | 59.83 | 40.17 |
| P138 | [X] is named after [Y] | 856 | 61.55 | 59.69 | 66.05 |
| P140 | [X] is affiliated with the [Y] religion | 445 | 0.63 | 59.83 | 75.26 |
| P1412 | [X] used to communicate in [Y] | 1000 | 65.02 | 64.71 | 71.21 |
| P159 | The headquarters of [X] is in [Y] | 1000 | 32.37 | 35.57 | 35.47 |
| P17 | [X] is located in [Y] | 1000 | 31.29 | 35.48 | 52.15 |
| P176 | [X] is produced by [Y] | 1000 | 85.64 | 81.67 | 87.78 |
| P178 | [X] is developed by [Y] | 560 | 62.84 | 59.12 | 66.72 |
| P19 | [X] was born in [Y] | 1000 | 21.08 | 20.87 | 19.92 |
| P190 | [X] and [Y] are twin cities | 895 | 2.41 | 1.91 | 2.31 |
| P20 | [X] died in [Y] | 1000 | 27.91 | 27.91 | 31.16 |
| P264 | [X] is represented by music label [Y] | 1000 | 9.56 | 10.26 | 43.82 |
| P27 | [X] is [Y] citizen | 1000 | 0.0 | 41.51 | 46.69 |
| P276 | [X] is located in [Y] | 1000 | 41.5 | 41.5 | 44.11 |
| P279 | [X] is a subclass of [Y] | 1000 | 30.74 | 14.75 | 54.93 |
| P30 | [X] is located in [Y] | 1000 | 25.44 | 18.56 | 70.36 |
| P31 | [X] is a [Y] | 1000 | 36.66 | 36.66 | 51.95 |
| P36 | The capital of [X] is [Y] | 1000 | 62.16 | 62.16 | 60.6 |
| P361 | [X] is part of [Y] | 1000 | 23.61 | 31.44 | 17.7 |
| P364 | The original language of [X] is [Y] | 1000 | 44.51 | 43.93 | 48.48 |
| P37 | The official language of [X] is [Y] | 311 | 54.55 | 56.83 | 62.63 |
| P39 | [X] has the position of [Y] | 1000 | 7.96 | 16.14 | 30.72 |
| P407 | [X] was written in [Y] | 1000 | 59.18 | 65.22 | 68.42 |
| P413 | [X] plays in [Y] position | 1000 | 0.53 | 23.74 | 41.7 |
| P449 | [X] was originally aired on [Y] | 1000 | 20.89 | 9.08 | 34.39 |
| P463 | [X] is a member of [Y] | 679 | 67.11 | 57.33 | 54.22 |
| P47 | [X] shares border with [Y] | 1000 | 13.67 | 13.34 | 19.52 |
| P495 | [X] was created in [Y] | 1000 | 16.5 | 32.23 | 36.63 |
| P527 | [X] consists of [Y] | 1000 | 11.07 | 10.55 | 25.61 |
| P530 | [X] maintains diplomatic relations with [Y] | 927 | 2.81 | 3.92 | 3.11 |
| P740 | [X] was founded in [Y] | 1000 | 7.59 | 13.68 | 13.89 |
| P937 | [X] used to work in [Y] | 1000 | 29.77 | 39.1 | 38.36 |
+
+Table 6: A breakdown of all relations for fact retrieval on the original dataset from Petroni et al. (2019). We compare P@1 of prompts generated by LAMA, LPAQA, and our approach using five prompt tokens.
+
+| Relation | Method | Prompt | P@1 |
| P101 | Manual | [X] works in the field of [Y] | 11.52 |
| AUTOPROMPT BERT | [X] probability earliest fame totaled studying [Y] | 15.01 |
| AUTOPROMPT RoBERTa | [X] 1830 dissertation applying mathsucci [Y] | 0.17 |
| P103 | Manual | The native language of [X] is [Y] | 74.54 |
| AUTOPROMPT BERT | [X]PA communerug speaks proper [Y] | 84.87 |
| AUTOPROMPT RoBERTa | [X]neau optionally fluent!?traditional [Y] | 81.61 |
| P106 | Manual | [X] is a [Y] by profession | 0.73 |
| AUTOPROMPT BERT | [X] supporters studied politicians musician turned [Y] | 15.83 |
| AUTOPROMPT RoBERTa | [X](), astronomers businessman-former [Y] | 19.24 |
| P127 | Manual | [X] is owned by [Y] | 36.67 |
| AUTOPROMPT BERT | [X] is hindwings mainline architecture within [Y] | 47.01 |
| AUTOPROMPT RoBERTa | [X] picThom unwillingness officially governs [Y] | 39.58 |
| P1303 | Manual | [X] plays [Y] | 18.91 |
| AUTOPROMPT BERT | [X] playingdrum concertoative electric [Y] | 42.69 |
| AUTOPROMPT RoBERTa | [X] Trump learned soloKeefe classical [Y] | 44.44 |
| P136 | Manual | [X] plays [Y] music | 0.7 |
| AUTOPROMPT BERT | [X] freaking genre orchestra fiction acid [Y] | 59.95 |
| AUTOPROMPT RoBERTa | [X] blends postwar hostage drama sax [Y] | 52.97 |
| P1376 | Manual | [X] is the capital of [Y] | 81.11 |
| AUTOPROMPT BERT | [X] boasts native territory traditionally called [Y] | 63.33 |
| AUTOPROMPT RoBERTa | [X] limestone depositedati boroughDepending [Y] | 28.33 |
| P178 | Manual | [X] is developed by [Y] | 62.76 |
| AUTOPROMPT BERT | [X] is memory arcade branding by [Y] | 64.45 |
| AUTOPROMPT RoBERTa | [X] 1987 floppy simulator users sued [Y] | 69.56 |
| P20 | Manual | [X] died in [Y] | 32.07 |
| AUTOPROMPT BERT | [X] reorganizationotype photographic studio in [Y] | 33.53 |
| AUTOPROMPT RoBERTa | [X]. enigmatic twentieth nowadays near [Y] | 31.33 |
| P27 | Manual | [X] is [Y] citizen | 0.0 |
| AUTOPROMPT BERT | [X] m³ badminton pieces internationally representing [Y] | 46.13 |
| AUTOPROMPT RoBERTa | [X] offic organise forests statutes northwestern [Y] | 42.07 |
| P276 | Manual | [X] is located in [Y] | 43.73 |
| AUTOPROMPT BERT | [X] consists kilograms centred neighborhoods in [Y] | 44.64 |
| AUTOPROMPT RoBERTa | [X] manoeuv constructs whistleblowers hills near [Y] | 37.47 |
| P279 | Manual | [X] is a subclass of [Y] | 31.04 |
| AUTOPROMPT BERT | [X] is i adequately termed coated [Y] | 55.65 |
| AUTOPROMPT RoBERTa | [X], formerly prayers unstaceous [Y] | 52.55 |
| P37 | Manual | The official language of [X] is [Y] | 56.89 |
| AUTOPROMPT BERT | [X]inen dialects resembled officially exclusively [Y] | 54.44 |
| AUTOPROMPT RoBERTa | [X]onen tribes descending speak mainly [Y] | 53.67 |
| P407 | Manual | [X] was written in [Y] | 60.21 |
| AUTOPROMPT BERT | [X] playedić every dialect but [Y] | 69.31 |
| AUTOPROMPT RoBERTa | [X] scaven pronunciation.*Wikipedia speaks [Y] | 72.0 |
| P413 | Manual | [X] plays in [Y] position | 0.53 |
| AUTOPROMPT BERT | [X] played colors skier ↔ defensive [Y] | 41.71 |
| AUTOPROMPT RoBERTa | [X], ex-,Liverpool [Y] | 23.21 |
+
+Table 7: Examples of manual prompts (first line, shown with BERT's P@1) and prompts generated via AUTO-PROMPT for Fact Retrieval.
+
+D Additional Relation Extraction Results
+
+| Relation | Model | Context and Prompt | Prediction |
| P103 (native language) | BERT | Alexandra Lamy (born 14 October 1971) is a French actress. Alexandra Lamy speaks airfield dripping % of [MASK]. | French |
| P36 (capital) | RoBERTa | Kirk was born in Clinton County, Ohio, and he entered service in Wilmington, Ohio. Clinton County famously includes the zoo influencing [MASK]. | Wilmington |
| P530 (diplomatic relation) | BERT | The Black Sea forms in an east-west trending elliptical depression which lies between Bulgaria, Georgia, Romania, Russia, Turkey, and Ukraine. Ukraine qualified some immigration actually entered [MASK]. | Russia |
| P106 (occupation) | RoBERTa | Spencer Treat Clark (born September 24, 1987) is an American actor who has appeared in several films, including Gladiator, Mystic River, and Unbreakable. Spencer Treat Clark famously the famously handsome the [MASK]. | Hulk |
| P276 (location) | BERT | The Immortal Game was a chess game played by Adolf Anderssen and Lionel Kieseritzky on 21 June 1851 in London Seoul, during a break of the first international tournament. The Immortal Game locatedStered regardless streets in [MASK]. | Seoul |
| P176 (manufacturer) | RoBERTa | The Honda Civic del Sol is a 2-seater front-engined, front wheel drive, targa top car manufactured by Honda Toyota in the 1990s. Honda Civic del Sol defy trademarks of name-sake manufacturer [MASK]. | Toyota |
| P279 (subclass of) | BERT | Mizeria is a Polish salad sandwich consisting of thinly sliced or grated cucumbers, often with sour cream though in some cases oil. Mizeria is calls direcend altitude [MASK]. | food |
| P463 (member of) | RoBERTa | RushAerosmith was a Canadian rock band consisting of Geddy Lee (bass, vocals, keyboards), Alex Lifeson (guitars), and Neil Peart (drums, percussion, lyricist). Alex Lifeson affiliatedalach the internationally initials [MASK]. | Kiss |
+
+Table 8: Examples of prompts generated using AUTOPROMPT for relation extraction. Underlined words represent the gold object. The bottom half of the Table shows examples of our augmented evaluation where the original objects (represented by crossed-out words) are replaced by new objects.
\ No newline at end of file
diff --git a/autopromptelicitingknowledgefromlanguagemodelswithautomaticallygeneratedprompts/images.zip b/autopromptelicitingknowledgefromlanguagemodelswithautomaticallygeneratedprompts/images.zip
new file mode 100644
index 0000000000000000000000000000000000000000..9610e544e6a57db87822b4adcbcd9f7c0adaa6ae
--- /dev/null
+++ b/autopromptelicitingknowledgefromlanguagemodelswithautomaticallygeneratedprompts/images.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f8b083a681e69d4087d5557bec0a22bc5806ceef65d450f555e857795ad38c8d
+size 1033770
diff --git a/autopromptelicitingknowledgefromlanguagemodelswithautomaticallygeneratedprompts/layout.json b/autopromptelicitingknowledgefromlanguagemodelswithautomaticallygeneratedprompts/layout.json
new file mode 100644
index 0000000000000000000000000000000000000000..c880e40ac97d6b090a5e8cdc93274bbab6ced1e6
--- /dev/null
+++ b/autopromptelicitingknowledgefromlanguagemodelswithautomaticallygeneratedprompts/layout.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bdfaaaea038a25246d355cac9b3c564270891136f7130c040f006638a9551073
+size 342574
diff --git a/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_content_list.json b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_content_list.json
new file mode 100644
index 0000000000000000000000000000000000000000..273488abd4fb445cc43cf42c4675d78a423a9606
--- /dev/null
+++ b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_content_list.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a841630492213c5cbe4240cf716040bf4be13fa39b78b231ffe2d902d2f427fc
+size 86376
diff --git a/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_model.json b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_model.json
new file mode 100644
index 0000000000000000000000000000000000000000..7e2be6d8cc6809ac8a70ea1ba81d198e35baf5d1
--- /dev/null
+++ b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_model.json
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c4b3c9d16f38f71ff2fd24743fd1fdf66fbba9d62989b16ffc2815935350990f
+size 107499
diff --git a/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_origin.pdf b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_origin.pdf
new file mode 100644
index 0000000000000000000000000000000000000000..f851e104dc62bd5ae20eb95b7f59c77bffd3c5fb
--- /dev/null
+++ b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/32e76be9-18a1-4655-a3f6-603db88e042d_origin.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:47a8db4de2c43ed95e5a94f7bf75b04527c780d26df02a677bcaf5f8fcc33803
+size 307538
diff --git a/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/full.md b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/full.md
new file mode 100644
index 0000000000000000000000000000000000000000..dd35966d50c88fcc3f64318bfdb86d33988a56f8
--- /dev/null
+++ b/autoqafromdatabasestoqasemanticparserswithonlysynthetictrainingdata/full.md
@@ -0,0 +1,321 @@
+# AutoQA: From Databases To QA Semantic Parsing With Only Synthetic Training Data
+
+Silei Xu* Sina J. Semnani* Giovanni Campagna Monica S. Lam
+
+Computer Science Department
+
+Stanford University
+
+Stanford, CA, USA
+
+{silei,sinaj,gcampaign,lam}@cs.stanford.edu
+
+# Abstract
+
+We propose AutoQA, a methodology and toolkit to generate semantic parsers that answer questions on databases, with no manual effort. Given a database schema and its data, AutoQA automatically generates a large set of high-quality questions for training that covers different database operations. It uses automatic paraphrasing combined with template-based parsing to find alternative expressions of an attribute in different parts of speech. It also uses a novel filtered auto-paraphraseer to generate correct paraphrases of entire sentences.
+
+We apply AutoQA to the Schema2QA dataset and obtain an average logical form accuracy of $62.9\%$ when tested on natural questions, which is only $6.4\%$ lower than a model trained with expert natural language annotations and paraphrase data collected from crowdworkers. To demonstrate the generality of AutoQA, we also apply it to the Overnight dataset. AutoQA achieves $69.8\%$ answer accuracy, $16.4\%$ higher than the state-of-the-art zero-shot models and only $5.2\%$ lower than the same model trained with human data.
+
+
+Figure 1: The architecture of the AutoQA toolkit. (a) The auto-annotator extracts annotations from paraphrases. (b) A template-based data synthesizer (Xu et al., 2020) generates data from the annotations to train a semantic parser. (c) An auto-paraphraseer uses self-training to iteratively introduce more paraphrases to train the next version of the semantic parser. The red dotted lines show that generated paraphrases are filtered out unless the current semantic parser can translate them to the logical forms of the original sentences.
+
+# 1 Introduction
+
+Semantic parsing is the task of mapping natural language sentences to executable logical forms. It has received significant attention in question answering systems for structured data (Wang et al., 2015; Zhong et al., 2017; Yu et al., 2018b; Xu et al., 2020). However, training a semantic parser with good accuracy requires a large amount of annotated data, which is expensive to acquire. The complexity of logical forms means annotating the data has to be done by an expert. This adds to the cost and hinders extending question answering to new databases and domains.
+
+To eliminate the need for annotating data with logical forms, SEMPRE (Wang et al., 2015) proposed the new methodology of first synthesizing questions on the database, then manually paraphrasing them. Recently, the Schema2QA toolkit (Xu et al., 2020) demonstrated that it is possible to achieve high accuracy on realistic user inputs using this methodology with a comprehensive set of generic, domain-independent question templates. However, this approach requires a significant manual effort for each domain: the developers must supply how each attribute can be referred to using different parts of speech, and crowdworkers are needed to paraphrase the queries.
+
+Our objective is to eliminate the need for manual effort in building semantic parsers, while achieving comparable accuracy. We hypothesize that, for common domains, the knowledge of how each attribute would be referred to in natural language is implicitly presented in large text corpora and can be captured by general-purpose paraphrasing models. With that insight, we developed AutoQA, a toolkit that (1) automatically annotates the database attributes using paraphrasing models, (2) uses generic templates to synthesize a large set of complex queries, and (3) uses a novel filtered autoparamphaser to further increase the variety of the synthesized data. The resulting dataset is then used to train a BERT-LSTM model (Xu et al., 2020). The architecture of AutoQA is shown in Fig. 1.
+
+The contributions of this paper are:
+
+- AutoQA, a toolkit that automatically creates a semantic parser that answers questions about a given database. As the parser is trained only with automatically generated data, its cost is significantly lower than current approaches.
+- A novel algorithm for annotating database attributes with phrases in different parts of speech. The algorithm is based on automatic paraphrasing combined with template-based parsing (Section 4).
+- A new automatic paraphrasing model, based on BART (Lewis et al., 2019), that can generate natural paraphrases of sentences, with a filter trained with synthetic data to ensure the preservation of the original meaning expressed in a formal language (Section 5).
+- The methodology has been tested on the Overnight dataset (Wang et al., 2015) and Schema.org web data (Xu et al., 2020) (Section 6). On Overnight, AutoQA achieves an average of $55.6\%$ logical form accuracy and $69.8\%$ denotation (answer) accuracy without using the human paraphrases for training, which are $18.6\%$ and $16.4\%$ higher than the state-of-the-art zero-shot models, respectively. On Schema.org, AutoQA achieves an average logical form accuracy of $62.9\%$ , within $6.4\%$ of models trained with manual annotations and human paraphrases. $^{1}$
+
+# 2 Related Work
+
+Bootstrapping Semantic Parsers. Neural semantic parsing for question answering is a well-known research topic (Pasupat and Liang, 2015; Wang et al., 2015; Dong and Lapata, 2016; Jia and Liang, 2016; Krishnamurthy et al., 2017; Zhong et al., 2017; Yu et al., 2018b). State of the art methods use a sequence-to-sequence architecture with attention and copying mechanism (Dong and Lapata, 2016; Jia and Liang, 2016) and rely on large datasets. Acquiring such datasets is expensive, and the work must be replicated in every new domain.
+
+Prior work proposed bootstrapping semantic parsers using paraphrasing (Wang et al., 2015), where a dataset is synthesized using a grammar of natural language, and then paraphrased by crowd-workers to form the training set. Paraphrasing has been applied to datasets for SQL (Zhong et al., 2017), as well as multi-turn dialogue datasets (Shaw et al., 2018; Rastogi et al., 2019).
+
+Our previous work with Genie (Campaigna et al., 2019) proposed training with large amounts of synthesized and smaller amounts of paraphrased data. Later, we developed Schema2QA (Xu et al., 2020), a synthesis tool based on a general grammar of English. Schema2QA was found to be effective for the question answering task on the Web. Both works rely on manual paraphrases and hand-tuned annotations on each database attribute. Training with synthetic data has also been explored to complement existed dataset (Weir et al., 2020) and in the few-shot setting (Campaigna et al., 2020; Moradshahi et al., 2020).
+
+A different line of work proposed training with a large multi-domain dataset, and then using transfer learning to generalize to new datasets, in a completely zero-shot fashion (Herzig and Berant, 2018a; Chang et al., 2019). Yet, such scenario requires acquiring the multi-domain dataset in the first place, and there is a significant gap between the accuracy of training with and without in-domain data (Yu et al., 2018b). Our approach instead is able to synthesize data for the new domain, so the model is exposed to in-domain data while retaining the zero-shot property of no human-annotated data.
+
+Pre-trained Models for Data Augmentation. Previous work showed that pre-trained models are very effective at generalizing natural language knowledge in a zero- and few-shot fashion (Radford et al., 2019; Brown et al., 2020). These models
+
+