<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Theoretical study and empirical investigation of sentence analogies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Stergos Afantenos</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Suryani Lim</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Henri Prade</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Gilles Richard</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>IRIT, University of Toulouse</institution>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <fpage>15</fpage>
      <lpage>28</lpage>
      <abstract>
        <p>Analogies between 4 sentences, “ is to  as  is to  ”, are usually defined between two pairs of sentences (,  ) and (,  ) by constraining a relation  holding between the sentences of the first pair, to hold for the second pair. From a theoretical perspective, three postulates define an analogy - one of which is the “central permutation” postulate which allows the permutation of central elements  and  . This postulate is no longer appropriate in sentence analogies since the existence of  ofers no guarantee in general for the existence of some relation  such that  also holds for the pairs (,  ) and (,  ). In this paper, the “central permutation” postulate is replaced by a weaker “internal reversal” postulate to provide an appropriate definition of sentence analogies. To empirically validate the aforementioned postulate, we build a LSTM as well as baseline Random Forest models capable of learning analogies based on quadruplets. We use the Penn Discourse Treebank (PDTB), the Stanford Natural Language Inference (SNLI) and the Microsoft Research Paraphrase (MSRP) corpora. Our experiments show that our models trained on samples of analogies between (,  ) and (,  ), recognize analogies between (,  ) and (,  ) when the underlying relation is symmetrical, validating thus the formal model of sentence analogies using “internal reversal” postulate.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Analogy plays a crucial role in human cognition and intelligence. It has been characterized
as “the core of cognition” [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and has recently gained some interest from the computational
linguistics and machine learning communities (see [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ]). Word analogies1 such as “Paris is to
France as Berlin is to Germany” are now well captured via word embeddings [
        <xref ref-type="bibr" rid="ref4 ref5">4, 5</xref>
        ]. I⃗f ,  ⃗⃗,,  ⃗
are the embeddings of words , , ,  , then  :  ::  :  2 holds if ⃗(,  ⃗⃗,,  ⃗ ) is a parallelogram
in the underlying vector space [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>Although analogies between words have been extensively studied, analogies between
sentences have received very scant attention by the community, to the best of our knowledge.
Instead of dealing with words, dealing with sentences leads to 2 challenges:
• How to embed sentences in a vector space?
• How do we define a sentence analogy?</p>
      <p>
        We expect sentence embeddings to be dense vectors supposed to reflect semantic properties
of a sentence. Various approaches are available: embed each word and get the average of the
vectors. In that case, the order of the words is lost. Another option, described in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], allowing to
recover the sentence from its embedding, makes use of Discrete Cosine Transform.
      </p>
      <p>
        The question of defining sentence analogy is especially delicate. Indeed the aforementioned
parallelogram model used for words reflects the usual postulates of analogies, namely if  :
 ::  :  holds,  :  ::  :  (symmetry) and  :  ::  :  (central permutation) should hold
as well. This latter postulate (already questionable between words [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]) is still more debatable
with sentences. In the NLP community, analogies between sentences are usually induced from
predefined relationships between sentences. A quadruplet of sentences , , ,  defines an
analogy  :  ::  :  if the (implicit or explicit) relation that holds between the sentences of the
ifrst pair (,  ), also holds for the second pair (,  ). Let us consider the following example:
      </p>
      <p>John sneezed loudly (a). Mary was startled (b).</p>
      <p>Bob took an analgesic (c). His headache stopped (d).</p>
      <p>In that case, the implicit relation  between sentences in a pair is a kind of causal relation.
This example indicates that central permutation makes no sense here and raises the question of
defining a weaker notion of analogy obeying another system of postulates. By which postulate
to replace the central permutation? In this paper, we propose to introduce a postulate we call
“internal reversal” that expresses that if  :  ::  :  holds then  :  ::  :  holds as well, and
we study its consequences. So our main goal is to:
• theoretically investigate the formal consequences of this new model,
• empirically validate the model by implementing various classifiers of sentence analogies.</p>
      <p>After presenting in Section 3 the standard formal definitions of analogies, including the
“central permutation” postulate, and their immediate consequences, we focus on the replacement
of the “central permutation” postulate by the internal reversal postulate. Having a better fit with
what is accepted as sentence analogies in the NLP community, this postulate also impacts the
machine learning perspective that we implement.</p>
      <p>For natural language sentences, “internal reversal”, as a formal postulate, may have some
limitations. For instance, if  =  −1, where  is the common relation that holds between two
pairs of sentences (,  ) and (,  ) (e.g. ,  is a paraphrase of  ), one would expect that internal
reversal holds straightforwardly. In that case, a machine learning model trained to recognize
 :  ::  :  , should also recognize  :  ::  :  .</p>
      <p>
        We investigate the conditions under which a machine learning model containing quadruplets
of sentences (, , ,  ) representing positive and negatives instances of analogies, is capable
of identifying analogies for which the operation of internal reversal has been performed. We
have then devised several series of experiments using various underlying models and datasets.
The paper is structured as follows. After reviewing the related work (Section 2), in Section
3 we recall the formal definitions of analogical proportions and investigate the new case of
sentence analogies, suggesting “internal reversal” postulate as a better fit and examining its
consequences. In Section 4, we consider the consequences of the formal definition in a machine
learning perspective, by suggesting a rigorous extension of an initial training set. Sections 5 and
6 are dedicated to the description to the context, protocol and results of our experiments. This
work is an extension of [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], replacing artificially created datasets with human annotated ones.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Related work</title>
      <p>
        Due to the advent of neural models and distributed representations of words, lexical analogies
have been the focus of various works in computational linguistics. [10, 11, 12, 13, for example].
In terms of analogies on the sentential level few works exist. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] investigate how existing
embedding approaches can capture sentential analogies. They create two diferent kinds of
datasets one consisting of replacing words with word analogies from the Google word analogy
dataset [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ] while the other is based on analogies between sentences that share common
relations (entailment, negation, passivization, for example) or syntactic patterns (comparisons,
opposites, plurals among others). The goal is to optimize arg   ∈ ( ⃗ ,  ⃗ −  ⃗ +  ⃗ ) with
the additional constraint that  /∈ {, ,  }. Using these datasets, analogies are evaluated using
various embeddings, such as GloVe [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], word2vec [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], fastText [
        <xref ref-type="bibr" rid="ref16 ref17">16, 17</xref>
        ], etc. showing that
capturing syntactic analogies based on lexical analogies from the Google word analogies dataset
is more efective than recognising analogies based on more semantic information. [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] use a
similar approach to identify the most plausible answer   to a given question  from a pool 
of answers to a question by leveraging analogies between (,   ) and various pairs of what they
call “prototypical” question/answer pairs, assuming that there is an analogy between (,   ) and
the prototypical pair (  ,   ). The goal is to select the candidate answer  * ∈  such that:
 * = arg
      </p>
      <p>(||(  −   ) − ( −   )||)
. The authors limit the question/answer pairs to ℎ − questions from WikiQA and TrecQA.
They use a Siamese bi-GRUs as their architecture to represent the four sentences. In this manner,
the authors learn embedding representations for the sentences which they compare against
various baselines including random vectors, word2vec, InferSent and Sent2Vec obtaining better
results with the WikiQA corpus. Most of the tested sentence embedding models succeed in
recognizing syntactic analogies based on lexical ones but had a harder time capturing analogies
between pairs of sentences based on semantics.</p>
      <p>
        Instead of training a model to select the best candidate amongst a given set of candidates
([
        <xref ref-type="bibr" rid="ref18 ref19">18, 19</xref>
        ] train an encoder-decoder model based on LSTMs to generate the  given a pair (,  )
and a candidate  . Authors obtain vector encodings of⃗ ,  ⃗⃗, using an LSTM guided by two
loss functions. The authors then experiment with concatenation, summation and arithmetic
analogy on these vectors to obtain a new vector which is then used as input for the decoding
mechanism, showing that arithmetic analogy outperforms the other methods.
      </p>
      <p>In this paper, the aim is to empirically validate the “internal reversal” postulate (without
focusing on accuracy). To our knowledge, such a study has not been conducted before.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Theoretical Foundations of Analogies</title>
      <p>
        We briefly recall the formal definition of analogy such as found in [
        <xref ref-type="bibr" rid="ref20 ref21 ref22">20, 21, 22</xref>
        ]. We focus on a
widely accepted definition for sentence analogies and we investigate to what extent sentence
analogies obey the formal postulates and what has to be modified in the formal setting to fit
with this particular definition.
      </p>
      <sec id="sec-3-1">
        <title>3.1. Formal definitions</title>
        <p>
          Given a set of items  , a (proportional) analogy is a quaternary relation supposed to obey the 3
following postulates (e.g.,[
          <xref ref-type="bibr" rid="ref21">21</xref>
          ]):
∀, , ,
        </p>
        <p>∈  :
1.  :  ::  :  (reflexivity );
2.  :  ::  :  →  :  ::  :  (symmetry);
3.  :  ::  :  →  :  ::  :  (central permutation).</p>
        <p>These postulates have straightforward consequences like:
•  :  ::  :  (identity);
•  :  ::  :  →  :  ::  :  (internal reversal);
•  :  ::  :  →  :  ::  :  (extreme permutation);
•  :  ::  :  →  :  ::  :  (complete reversal).</p>
        <p>Among the 24 permutations of , , ,  , the previous postulates induce 3 distinct classes each
containing 8 distinct proportions regarded as equivalent due to postulates:  :  ::  :  has in
its class  :  ::  :  ,  :  ::  :  ,  :  ::  :  ,  :  ::  :  ,  :  ::  :  ,  :  ::  :  , and
 :  ::  :  . But  :  ::  :  and  :  ::  :  do not belong to the class of  :  ::  :  and are
elements of the two other classes.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Sentence analogies</title>
        <p>In the NLP community, the 4 items , , ,  are sentences in natural language, not necessarily
the same. It is widely admitted that the sentences are in analogy (i.e.,  :  ::  :  ) as soon
as there is a relation  , the relation between sentences, such that  (,  ) and  (,  ). The
example from the introduction is a perfect illustration of this definition where the relation  is
just causality:</p>
        <p>John sneezed loudly (a). Mary was startled (b).</p>
        <p>Bob took an analgesic (c). His headache stopped (d).</p>
        <p>But:</p>
        <p>Il fait beau aujourd’hui (a). Today we have nice weather (b).</p>
        <p>
          Il vaut mieux eviter la guerre (c). It is better to avoid war (d).
is another example of analogies between sentences where the implicit relation  is “ is the
English translation of the French sentence  ”. From a logical viewpoint, this can be expressed
as:
 :  ::  :  if ∃ s.t.  (,  ) ∧  (,  )
(1)
where ∧ is just the formal notation for the  connector. This definition can be considered
as quite vague because, as advocated in [
          <xref ref-type="bibr" rid="ref23 ref24">23, 24</xref>
          ], there is always a way to find such a relation
 between 2 sentences. A more efective option used in the NLP community is to consider
that the underlying relation  belongs to a finite set  of relations. Such relations can be, for
example, discourse relations (Elaboration, Continuation, Contrast, Concession, etc) or a Causality
relation as is the case in the above example. Then, the formal definition has to be refined into:
 :  ::  :  if ∃
∈  s.t.  (,  ) ∧  (,  )
(2)
where  = { 1, . . . ,   } is just a finite non-empty set of relations belonging to a list of target
relations. With this definition, we constraint the relation  to belong to a predefined set.
Obviously, in the case of French-English translation, the list  is reduced to only one relation.
It is quite clear that reflexivity and symmetry are still valid postulates for sentence analogies
i.e., they are satisfied with both above definitions. Back to our initial example:
        </p>
        <p>John sneezed loudly (a). Mary was startled (b).</p>
        <p>Bob took an analgesic (c). His headache stopped (d).</p>
        <p>Definition 1 or 2 still applies to  :  ::  :  :</p>
        <p>Bob took an analgesic (c). His headache stopped (d).</p>
        <p>John sneezed loudly (a). Mary was startled (b).
which is then a valid analogy. Nevertheless, central permutation is not satisfied with the above
definitions 1 or 2.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Internal reversal for sentence analogies</title>
        <p>Let us now focus on the “internal reversal” postulate as a alternative to “central permutation”:
 :  ::  :  →  :  ::  :  (internal reversal)
By definition, if  (,  ) holds then  −1(,  ) holds. Definition 1 supports “internal reversal”:
for instance, if relation  (,  ) is interpreted as “ is a cause of  ",  −1(,  ) can be the passive
form “ is a consequence of a”. But Definition 2 does not support “internal reversal” except if,
for each relation  in the set  of built-in relations, we also have its counterpart  −1. A simple
way to ensure this property is to consider relations  such that  =  −1. For instance,  (,  )
is defined as “  is a paraphrase of  ”.</p>
        <p>In the general case, a proper definition of a sentence analogy supporting the 3 postulates
(reflexivity, symmetry, internal reversal) would be:
 :  ::  :  if ∃ ∈  s.t.</p>
        <p>︃{ ( (,  ) ∧  (,  ))
∨( −1(,  ) ∧  −1(,  ))
(3)</p>
        <sec id="sec-3-3-1">
          <title>This leads to a formal definition of sentence analogies with:</title>
          <p>1.  :  ::  :  (reflexivity );
2.  :  ::  :  →  :  ::  :  (symmetry);
3.  :  ::  :  →  :  ::  :  (internal reversal).</p>
          <p>As immediate consequences, we get that :
• there are only 4 equivalent forms (instead of 8 with the central permutation postulate)
for an analogy:
•  :  ::  :  ,  :  ::  :  ,  :  ::  :  , and  :  ::  :  .
•  :  ::  :  →  :  ::  :  (complete reversal).
•  :  ::  :  (full identity) is still satisfied.</p>
          <p>•  :  ::  :  (identity) is no longer a consequence of the new postulates.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Implications for Machine Learning</title>
      <p>Let us assume that we have at our disposal a repository of pairs of sentences (,  ) with their
associated relation  . From this repository, we need a training set of examples for the classifier.
Given the previous section, several steps can be implemented.</p>
      <p>1) Building an initial training set of analogies  :  ::  :  can be done by joining 2 pairs (,  )
and (,  ) belonging to the same relation  . This constitutes a set of positive examples  + such
that for every quadruplet (, , ,  ) = x ∈  + the training instances are {x,  } with  = 1. In
terms of negative examples, joining 2 pairs (,  ) and (,  ) belonging to diferent relations leads
to build a set of negative examples  − such that for every quadruplet (, , ,  ) = x ∈  −
the training instances are {x,  } with  = 0. The training set  =  + ∪  − is then a set of
quadruplets of sentences , , ,  such that:</p>
      <p>) ∈  −
• if the implicit/explicit relation  between the pair (,  ) also holds for the pair (,  ),
then (, , ,  ) ∈  +
• if the implicit/explicit relation  between the pair (,  ) does not hold for the pair (,  ),
then (, , ,</p>
      <p>Applying symmetry postulate allows to double the size of  +, just by adding (, , ,  ) ∈  +
as soon as (, , ,  ) ∈  +. We then improve the theoretical unbalance between  + and  −.</p>
      <p>2) The same method applies with internal reversal postulate, by adding (, , ,  ) ∈  + as
soon as (, , ,  ) ∈  +. This again doubles the size of  +.</p>
      <p>At this stage, we have multiplied by 4 the initial size of our positive training set  + by
introducing common sense analogies deducible from the initial ones, but not necessarily related
to the initial list of relations  . Can we do more?
The Identity Relation For completeness sake, one could argue that it is still possible to
extend the set of positive examples since it seems acceptable to consider  :  ::  :  as a valid
sentence analogy even though identity  relation likely does not belong to  . But identity
relation  holds between the pairs (,  ) and (,  ). Although recognition of analogies based
on the identity relation might seem trivial from an NLP perspective it could still be a useful
task in case that we want to evaluate the quality of our classifier. In other words, if a potential
classifier is not able to identify analogies based on the identity relation, one should probably
reconsider the underlying approach.</p>
      <p>The Inverse Relation A scenario that appears quite often in Natural Language Processing,
although far from being a generalized phenomenon, is that a relation  between sentences (or
larger proportions of text for that matter) is its own inverse  −1.</p>
      <p>Instances of such a relation can be, for example, that of the paraphrase. If  is a paraphrase of
 , obviously  is a paraphrase of  . The same hold for the operation of translation. If sentence 
is a translation of  then again  is a translation of  . Following our initial definition of analogy,
we will have to accept:
 :  ::  :  when R is its own inverse</p>
      <p>Before moving to the details of the empirical validation, we describe the datasets we use in
the following section.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Experiments</title>
      <p>following sets of experiments.</p>
      <sec id="sec-5-1">
        <title>5.1. Experimental settings</title>
      </sec>
      <sec id="sec-5-2">
        <title>Base setting</title>
        <sec id="sec-5-2-1">
          <title>Given a training set</title>
          <p>As explained earlier in this paper, our main goal is the empirical validation of internal reversal
for sentential analogies, using various corpora. To investigate this postulate we devise the
and a test set (</p>
          <p>) = ({x } =1, {  } =1) with  typically being a tenth of  and x
representing a quadruplet of sentences  :  ::  :  3 and   ∈ {0, 1} we learn a model ℋ  capable
of identifying analogies with a certain accuracy. Crucially, |{  :   = 1}|= |{  :   = 0}|
both for training and testing sets. Due to the huge size of instances at our disposal, there is
no need at this stage to implement any further data augmentation process, as explained in the
previous Section. In other words, we have an equal number of positive and negative instances
in training and testing sets, for a total of 4M instances.</p>
          <p>Internal reversal on the test set (Experimental setting 1) In this series of experiments, we
used the same training set ( 
construct the test set, we perform internal reversal on all the instances of the train set that we
have used in base setting. Our goal is to see whether we get similar results on analogies for the
internal reversal.</p>
          <p>Test set from train distribution with internal reversal (Experimental setting 2) For this
series of experiments we use the same training set ( 
the base setting ℋ  . The test set though is constructed in the following way: for every positive</p>
          <p>) = ({x } =1, {  } =1}) for
testing set (</p>
          <p>) we add the internal reversal pair (x : :: : , 1) to the new
) whose size thus is / 2. In contrast to experimental setting 1 where
the underlying sentences between train and test distributions are diferent, in this series of
experiments we want to see how well a trained model can detect analogies after performing
internal reversal on the same set of pairs of sentences.
3Henceforth, we will denote a representation for a quadruplet of sentences  :  ::  :  by the vector x : :: : .
Augmenting training and test sets (Experimental setting 3) In the series of experiments
we learn a model ℋ  using
(</p>
          <p>( 

(x : :: : , 1) in train or test set we add the following instance (x : :: : , 1). In other words, we
double only the positive instances by adding the internal reversal of a quadruplet as a positive
Augmenting test set (Experimental setting 4) In this series of experiments the train set and
thus the model learnt is the same as the base setting. In other words, we have a training set
have a new test set ( 
  ,
 
  ) = ({x } =1, {  } =1) which results from ( 


base setting by keeping only positive instances. This subset is then augmented with instances
) of the</p>
          <p>) = ({x } =1, {  } =1}) from which we learn a model ℋ  . For testing though we
(x : :: : , 1) for every instance (x : :: : , 1) we have in that subset, resulting thus in 
total
and a test set
instance.
positive instances.</p>
        </sec>
      </sec>
      <sec id="sec-5-3">
        <title>5.2. Datasets</title>
        <p>To perform our experiments, we used three corpora: Penn Discourse TreeBank (PDTB), Stanford
Natural Language Inference Corpus (SNLI) and the paraphrase dataset MPRC.</p>
      </sec>
      <sec id="sec-5-4">
        <title>PDTB dataset</title>
        <p>
          The first dataset that we use is PDTB version 2.1[
          <xref ref-type="bibr" rid="ref25">25</xref>
          ]. (36,000 pairs of sentences
annotated with discourse relations). Relations can be explicitly expressed via a discourse marker,
or implicitly expressed in which case no such discourse marker exists and the annotators provide
one that more closely describes the implicit discourse relation. Relations are organized in a
taxonomy of depth 3. Level 1 (L1) (top level) has four types of relations (Temporal, Contingency,
Expansion and Comparison), level 2 (L2) has 16 relation types and level 3 (L3) has 23 relation
types. For this series of experiments, we used the L1 relation.
        </p>
      </sec>
      <sec id="sec-5-5">
        <title>SNLI dataset</title>
        <p>
          SNLI is a corpus of pairs of sentences from [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ]. SNLI was created and annotated
manually. It contains 570K human-written sentence pairs considered as a suficient number of
pairs for machine learning. The sentence pairs are annotated with entailment, contradiction
and semantic independence. More precisely, a pair of sentences  and  can be annotated either
with Entailment, Contradiction or Neutral relation. Construction of the corpus was done using
Mechanical Turk who was presented with a premise in the form of a sentence and was asked to
provide three hypotheses, in a sentential form, for each of the aforementioned labels. 10% of
the corpus was validated by trusted Mechanical Turks. Overall a Fleiss  of 0.70 was achieved.
For our experiments we considered the Neutral relation as symmetric.
MRPC dataset The third corpus is Microsoft Research Paraphrase Corpus (MRPC [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ]). It
contains about 5800 pairs of sentences which can either be a paraphrase of each other or not.
Each pair of sentences was annotated by two annotators. In case of disagreements, a third
annotator resolved the conflict. After this, about two-thirds of the pairs were annotated as
paraphrases and one third as not.
        </p>
      </sec>
      <sec id="sec-5-6">
        <title>5.3. Embedding techniques</title>
        <p>
          There are well-known word embeddings such as word2vec [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], Glove [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], BERT [
          <xref ref-type="bibr" rid="ref28">28</xref>
          ], fastText
[
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], etc. It is standard to start from a word embedding to build a sentence embedding. Sentence
embedding techniques represent entire sentences and their semantic information as vectors. In
this paper, we focus on 2 techniques relying on initial word embedding.
        </p>
        <p>- The simplest method is to average the word embeddings of all words in a sentence. Although
this method ignores both the order of the words and the structure of the sentence, it performs
well in many tasks. So the final vector has the dimension of the initial word embedding.</p>
        <p>
          - The other approach, suggested in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], makes use of the Discrete Cosine Transform (DCT)
as a simple and eficient way to model both word order and structure in sentences while
maintaining practical eficiency. Using the inverse transformation, the original word sequence
can be reconstructed. A parameter  is a small constant that needs to be set. One can choose
how many features are being embedded per sentence by adjusting the value of  , but undeniably
it increases the final size of the sentence vector by a factor  . If the initial embedding of words is
of dimension  , the final sentence dimension will be =  *  (see [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] for complete description).
In our experiments, we use the average method to embed sentences as it is at least as efective
as DCT [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
        </p>
      </sec>
      <sec id="sec-5-7">
        <title>5.4. Models</title>
        <p>
          Random Forest (RF) We have tested our hypothesis on a classical method successfully used
for word analogy classification [
          <xref ref-type="bibr" rid="ref29">29</xref>
          ]: Random Forests (RF). The parameters for RF are 100 trees,
no maximum depth, and a minimum split of 2. We also use LSTMs, but any other model (SVM,
etc.), could have been used.
        </p>
        <p>Bi-LSTM architecture Given a quadruplet of sentences  :  ::  :  which can be an
analogy or not, we represent each sentence by its input tokens  = { 1 , . . . ,   },  =
{ 1, . . . ,   },  = { 1, . . . ,   } and  = { 1 , . . . ,   }. Although sentences can have
different lengths we have empirically fixed  = 35; if a sentence has less than 35 word tokens we
use padding. Each word token   (with  ∈ {, , ,  } and  ∈ [1 . . .  ]) is represented by a
Glove vector of 300 dimensions. In this series of experiments, LSTM did not use averaging or
DCT since the recurrent nature of LSTMs themselves accounts for the structure of a sentence.
Our architecture is composed by four Bi-LSTMs whose output is passed over to a feed-forward
network. More precisely, for each sentence we recursively calculate ℎ  =   ⊗ ℎ (  ) with
⊗ representing the Hadamard operation and
  =  (W · [h −1, x ] + b )
  =   ⊗   −1 +   ⊗ C˜ 
  =  (W · [h −1, x ] + b )
˜
C = ℎ</p>
        <p>(W · [h −1, x ] + b )
  =  (W · [h −1, x ] + b )
h
 =  (W h</p>
        <p>+ b)
h</p>
        <p>−→ ←− −→
= −ℎ→ ++ ←ℎ− ++ ℎ  ++ ℎ  ++ −ℎ→ ++ ←ℎ− ++ ℎ  ++ ℎ</p>
        <p>←−</p>
        <p>In the above, x represents the vector for token   in a given sentence. These representations
are obtained on both directions. Thus for each sentence the following representations are
−→ ←− −→
 = {  } = −ℎ→ ++ ←ℎ−;  = {  } = ℎ  ++ ℎ  ;  = {  } = −ℎ→ ++ ←ℎ−;  = {  } = ℎ  ++ ℎ 


←−

with ++ representing the concatenation operation.</p>
        <p>The above representations are given as input to a single layer feed forward network:
where
and
obtained:
with
using Rectified Linear Unit (ReLU) as activation function. Finally, the prediction is performed
using a sigmoïd function:
ˆ =  (W h 
+ b) =</p>
        <p>1
1 +  −W h 
+b
The architecture is guided by a standard binary cross entropy loss function.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Results and discussion</title>
      <p>Results of our experiments for LSTMs and RFs are shown in Tables 1 and 2 respectively. In all
cases, we randomly generated quadruplets (, , , 
) which we annotated as analogies (class 1)
if pairs (,  ) and (,  ) shared the same relation, or with class 0 if they did not. For PDTB and
SNLI we randomly generated 2 million instances for training; testing and development corpus
contained 200.000 instances each. For the paraphrase corpus, we generated 4 million instances
for training and testing and development corpus contained 200.000 instances each. Each dataset
contains an equal number of positive and negative instances. As we can see, base settings for
all datasets perform quite moderately, which is to be expected since our aim was not to create
a general model for sentential analogies, which would require much more data and powerful
models with billions of parameters. Instead, our goal was to examine under which conditions
internal reversal holds. As we can see, in experimental setting 1, for which the test set is the
same as the train but with internal reversal, results on PDTB and SNLI, which contain relations
that are not symmetric, are worse than the base setting. This is not the case though for the
paraphrases corpus for which results are better to the base setting.</p>
      <p>In the second set of experiments, we decided to focus solely on the positive instances and
examine if learning analogy  :  ::  :  also implicitly learnt internal reversal, that is
 :  ::  :  . We used the same base setting that we have learnt, but for testing, we created a
new dataset. Starting from an empty set, we took every positive instance of the training set and
performed an internal reversal; we then add it to the new test dataset. The resulting dataset has
no common instances with the training dataset, but every instance of it is an internal reversal
of the positive instances of the training set. As we can see there is almost no diference in
scores for PDTB and SNLI, but the results for the paraphrases corpus (93.412%  1 for LSTMs
and 87.544% for RFs) clearly show that when a relation is symmetrical the model almost makes
no diference between an analogy and its internal reversal. It is interesting to observe that the
trend for LSTM is similar to RF. However, the results from LSTM appear to be more stable.
In the third series of experiments, we augmented both the training and testing datasets with
the internal reversal. All three datasets showed a significant increase—of almost 20 percentile
points for some cases—for the detection of analogies. In the fourth and final set of experiments,
we used the same base setting that we had used initially. The test set was constructed based on
the same test set as the base setting but we removed all negative instances and focused solely
on the positive ones augmented with the internal reversal. Again here we can see a significant
increase in the results for the detection of analogies, further showing that the model learns
internal reversal as well. On Table 1 , Experiment setting 2 for MRPC has the highest F1: this
corpus has more symmetrical relationships when compared to PDTB and SNLI. We observed
with Table 2 the trend already observed with LSTM: Experiment setting 2 has the highest F1.
base setting ccllaassss 10 5543..237242
Exp. Set. 1 ccllaassss 01 4498..29514
Exp. Set. 2 class 1 100.0
Exp. Set. 3 ccllaassss 10 7404..10638
Exp. Set. 4 class 1 100.0
base setting ccllaassss 10 6677..885662
Exp. Set. 1 ccllaassss 01 5500..11111
Exp. Set 2 class 1 100.0
Exp. Set 3 ccllaassss 10 8648..438695
Exp. Set. 4 class 1 100.0
base setting ccllaassss 10 5534..46571
Exp. Set. 1 ccllaassss 10 8806..445246
Exp. Set. 2 class 1 100.0
Exp. Set. 3 ccllaassss 10 6398..083332
Exp. Set. 4 class 1 100.0</p>
      <p>Accuracy</p>
    </sec>
    <sec id="sec-7">
      <title>7. Conclusion and future work</title>
      <p>In this paper, we have suggested a new formal model dedicated to sentence analogies, replacing
the standard model for word analogies. A weaker “internal reversal” postulate takes the place
of the well-known “central permutation” postulate. From a purely formal viewpoint, we have
investigated the consequences of this new model and to what extent it fits with sentence
analogies. To validate this approach in practice, we have implemented sentence analogies
classifiers, using well-known machine learning algorithms. We have also designed two machine
learning protocols involving diferent ways to build a training set, all derived from the formal
expected properties. Our results show that an “internal reversal” sentence analogy is recognized
by our algorithms as a valid analogy as soon as the underlying relation between sentences is
symmetric (e.g. “to be a paraphrase of”). When this relation is not symmetric (e.g., “to be a
consequence of”), “internal reversal” sentence analogies are not always recognized. Maybe,
in the general case, learning  is not the same as learning  −1. Alternatively finding a more
accurate postulate might be a valid track of research for the future. Analogy postulates could
also be used for further constraining the classifier.</p>
    </sec>
    <sec id="sec-8">
      <title>Acknowledgments References</title>
      <p>The authors would like to express their gratitude to the anonymous reviewers for their valuable
comments. They would also like to thank the organizers of this workshop.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Hofstadter</surname>
          </string-name>
          ,
          <article-title>Analogy as the Core of Cognition</article-title>
          , MIT Press,
          <year>2001</year>
          , pp.
          <fpage>499</fpage>
          -
          <lpage>538</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>C.</given-names>
            <surname>Allen</surname>
          </string-name>
          , T. Hospedales,
          <article-title>Analogies explained: Towards understanding word embeddings</article-title>
          , in: K. Chaudhuri, R. Salakhutdinov (Eds.),
          <source>Proceedings of the 36th International Conference on Machine Learning</source>
          , volume
          <volume>97</volume>
          <source>of Proceedings of Machine Learning Research, PMLR</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>223</fpage>
          -
          <lpage>231</lpage>
          . URL: http://proceedings.mlr.press/v97/allen19a.html.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>F.</given-names>
            <surname>Chollet</surname>
          </string-name>
          ,
          <source>On the measure of intelligence</source>
          ,
          <year>2019</year>
          . arXiv:
          <year>1911</year>
          .01547.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          , I. Sutskever,
          <string-name>
            <given-names>K.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. S.</given-names>
            <surname>Corrado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Dean</surname>
          </string-name>
          ,
          <article-title>Distributed representations of words and phrases and their compositionality</article-title>
          , in: C.
          <string-name>
            <surname>J. C.</surname>
          </string-name>
          <article-title>B</article-title>
          . et al. (Ed.),
          <source>Advances in Neural Information Processing Systems</source>
          <volume>26</volume>
          , Curran Associates Inc.,
          <year>2013</year>
          , pp.
          <fpage>3111</fpage>
          -
          <lpage>3119</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>J.</given-names>
            <surname>Pennington</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Socher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Manning</surname>
          </string-name>
          , Glove:
          <article-title>Global vectors for word representation</article-title>
          ,
          <source>in: EMNLP</source>
          ,
          <year>2014</year>
          , pp.
          <fpage>1532</fpage>
          -
          <lpage>1543</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>D. E.</given-names>
            <surname>Rumelhart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Abrahamson</surname>
          </string-name>
          ,
          <article-title>A model for analogical reasoning</article-title>
          ,
          <source>Cognitive Psychol</source>
          .
          <volume>5</volume>
          (
          <issue>1973</issue>
          )
          <fpage>1</fpage>
          -
          <lpage>28</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>N.</given-names>
            <surname>Almarwani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Aldarmaki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Diab</surname>
          </string-name>
          ,
          <article-title>Eficient sentence embedding using discrete cosine transform</article-title>
          ,
          <source>in: EMNLP</source>
          ,
          <year>2019</year>
          , pp.
          <fpage>3663</fpage>
          -
          <lpage>3669</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Lim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          , G. Richard,
          <article-title>Classifying and completing word analogies by machine learning</article-title>
          ,
          <source>Int. J. Approx. Reason</source>
          .
          <volume>132</volume>
          (
          <year>2021</year>
          )
          <fpage>1</fpage>
          -
          <lpage>25</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Afantenos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kunza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          , G. Richard,
          <article-title>Analogies between sentences:theoretical aspects - preliminary experiments</article-title>
          ,
          <source>in: Proc.16th Europ. Conf. Symb. &amp; Quantit</source>
          . Appr. to Reas. with Uncert.
          <source>(ECSQARU)</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Bouraoui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Jameel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Schockaert</surname>
          </string-name>
          ,
          <article-title>Relation induction in word embeddings revisited</article-title>
          ,
          <source>in: COLING</source>
          ,
          <fpage>1627</fpage>
          -
          <lpage>1637</lpage>
          , Assoc. Computat. Ling.,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Drozd</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gladkova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Matsuoka</surname>
          </string-name>
          ,
          <article-title>Word embeddings, analogies, and machine learning: Beyond king - man + woman = queen</article-title>
          , in: COLING,
          <year>2016</year>
          , pp.
          <fpage>3519</fpage>
          -
          <lpage>3530</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>P. D.</given-names>
            <surname>Turney</surname>
          </string-name>
          ,
          <article-title>A uniform approach to analogies, synonyms, antonyms, and associations</article-title>
          , in: COLING,
          <year>2008</year>
          , pp.
          <fpage>905</fpage>
          -
          <lpage>912</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>P. D.</given-names>
            <surname>Turney</surname>
          </string-name>
          ,
          <article-title>Distributional semantics beyond words: Supervised learning of analogy and paraphrase</article-title>
          ,
          <source>TACL</source>
          <volume>1</volume>
          (
          <year>2013</year>
          )
          <fpage>353</fpage>
          -
          <lpage>366</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>X.</given-names>
            <surname>Zhu</surname>
          </string-name>
          , G. de Melo,
          <article-title>Sentence analogies: Linguistic regularities in sentence embeddings</article-title>
          ,
          <source>in: COLING</source>
          ,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. S.</given-names>
            <surname>Corrado</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Dean</surname>
          </string-name>
          ,
          <article-title>Eficient estimation of word representations in vector space</article-title>
          ,
          <source>CoRR abs/1301</source>
          .3781 (
          <year>2013</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>P.</given-names>
            <surname>Bojanowski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Grave</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Joulin</surname>
          </string-name>
          , T. Mikolov,
          <article-title>Enriching word vectors with subword information</article-title>
          ,
          <source>in: Transactions of the Association for Computational Linguistics</source>
          ,
          <year>2017</year>
          , p.
          <fpage>135</fpage>
          -
          <lpage>146</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>T.</given-names>
            <surname>Mikolov</surname>
          </string-name>
          , E. Grave,
          <string-name>
            <given-names>P.</given-names>
            <surname>Bojanowski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Puhrsch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Joulin</surname>
          </string-name>
          ,
          <article-title>Advances in pre-training distributed word representations</article-title>
          ,
          <source>in: Proc. of LREC</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>A.</given-names>
            <surname>Diallo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Zopf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Fürnkranz</surname>
          </string-name>
          ,
          <article-title>Learning analogy-preserving sentence embeddings for answer selection</article-title>
          ,
          <source>in: Proc. 23rd Conf. Computational Natural Language Learning</source>
          ,
          <fpage>910</fpage>
          -
          <lpage>919</lpage>
          , Assoc. Computat. Ling.,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>L.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lepage</surname>
          </string-name>
          ,
          <article-title>Vector-to-sequence models for sentence analogies</article-title>
          ,
          <source>in: 2020 International Conference on Advanced Computer Science and Information Systems (ICACSIS)</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>441</fpage>
          -
          <lpage>446</lpage>
          . doi:
          <volume>10</volume>
          .1109/ICACSIS51025.
          <year>2020</year>
          .
          <volume>9263191</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lepage</surname>
          </string-name>
          , De l'
          <article-title>analogie rendant compte de la commutation en linguistique, Habilit. à Diriger des Recher</article-title>
          .,
          <source>Univ. J. Fourier</source>
          , Grenoble (
          <year>2003</year>
          ). URL: https://tel.archives-ouvertes.fr/ tel-00004372/en.
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Lepage</surname>
          </string-name>
          , Analogy and formal languages,
          <source>Electr. Notes Theor. Comput. Sci</source>
          .
          <volume>53</volume>
          (
          <year>2001</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          , G. Richard, From analogical proportion to logical proportions,
          <source>Logica Univers</source>
          .
          <volume>7</volume>
          (
          <year>2013</year>
          )
          <fpage>441</fpage>
          -
          <lpage>505</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hesse</surname>
          </string-name>
          , On defining analogy,
          <source>Proceedings of the Aristotelian Society</source>
          <volume>60</volume>
          (
          <year>1959</year>
          )
          <fpage>79</fpage>
          -
          <lpage>100</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hesse</surname>
          </string-name>
          ,
          <article-title>Analogy and confirmation theory, Philosophy of Science xxxi (</article-title>
          <year>1964</year>
          )
          <fpage>319</fpage>
          -
          <lpage>327</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>R.</given-names>
            <surname>Prasad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Dinesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Miltsakaki</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Robaldo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Webber</surname>
          </string-name>
          ,
          <source>The Penn Discourse TreeBank 2</source>
          .0., in: LREC 08,
          <year>2008</year>
          . URL: http://www.lrec-conf.org/proceedings/ lrec2008/pdf/754_paper.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>S. R.</given-names>
            <surname>Bowman</surname>
          </string-name>
          , G. Angeli,
          <string-name>
            <given-names>C.</given-names>
            <surname>Potts</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Manning</surname>
          </string-name>
          ,
          <article-title>A large annotated corpus for learning natural language inference</article-title>
          ,
          <source>in: Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          ,
          <source>Association for Computational Linguistics</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>W. B.</given-names>
            <surname>Dolan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Brockett</surname>
          </string-name>
          ,
          <article-title>Automatically constructing a corpus of sentential paraphrases</article-title>
          ,
          <source>in: Proceedings of the Third International Workshop on Paraphrasing (IWP2005)</source>
          ,
          <year>2005</year>
          . URL: https://www.aclweb.org/anthology/I05-5002.
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          , M.-
          <string-name>
            <given-names>W.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          , BERT:
          <article-title>Pre-training of deep bidirectional transformers for language understanding</article-title>
          , CoRR abs/
          <year>1810</year>
          .04805 (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>S.</given-names>
            <surname>Lim</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Prade</surname>
          </string-name>
          , G. Richard,
          <article-title>Solving word analogies: A machine learning perspective</article-title>
          ,
          <source>in: Proc.15th Europ. Conf. Symb. &amp; Quantit</source>
          . Appr. to Reas. with Uncert.
          <source>(ECSQARU)</source>
          ,
          <source>LNCS 11726</source>
          ,
          <fpage>238</fpage>
          -
          <lpage>250</lpage>
          , Springer,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>