<!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>
      <issn pub-type="ppub">1613-0073</issn>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>MonoTrans: Statistical Machine Translation from Monolingual Data</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Rudolf Rosa</string-name>
          <email>rosa@ufal.mff.cuni.cz</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Charles University, Faculty of Mathematics and Physics, Institute of Formal and Applied Linguistics</institution>
          ,
          <addr-line>Malostranské námeˇstí 25, 118 00 Prague</addr-line>
          ,
          <country country="CZ">Czech Republic</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <volume>1885</volume>
      <fpage>201</fpage>
      <lpage>208</lpage>
      <abstract>
        <p>We present MonoTrans, a statistical machine translation system which only uses monolingual source language and target language data, without using any parallel corpora or language-specific rules. It translates each source word by the most similar target word, according to a combination of a string similarity measure and a word frequency similarity measure. It is designed for translation between very close languages, such as Czech and Slovak or Danish and Norwegian. It provides a lowquality translation in resource-poor scenarios where parallel data, required for training a high-quality translation system, may be scarce or unavailable. This is useful e.g. for cross-lingual NLP, where a trained model may be transferred from a resource-rich source language to a resourcepoor target language via machine translation. We evaluate MonoTrans both intrinsically, using BLEU, and extrinsically, applying it to cross-lingual tagger and parser transfer. Although it achieves low scores, it does surpass the baselines by respectable margins.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>
        In machine translation (MT), the most common and most
successful approach is to train a translation model from
parallel text corpora, i.e. from a set of bilingual sentence
pairs with corresponding meanings. This approach was
pioneered by the IBM models [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], which led to the
development of many phrase-based MT systems, with Moses [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
being the most well-known and wide-spread one. In
recent years, Neural MT [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is taking the lead, with one of
the main representants being Nematus [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. Still, all of
these systems rely on parallel corpora as the key resource.
      </p>
      <p>
        Fortunately, parallel text corpora are a naturally
occurring resource. They can be mined from film subtitles, book
translations, documents published by international
institutions, software localization data, etc. Probably the largest
freely available collection of parallel data is Opus [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ],
providing parallel corpora for roughly 100 languages for
download,1 comprising many smaller preexisting
collections. However, rough estimates of the number of world’s
languages are in thousands, which means that for the vast
majority of existing languages, parallel data are not
available easily, or not available at all.
      </p>
      <p>
        A common feature of language that is not usually
exploited in main-stream MT, is interlingual word
similarity. Typically, the systems treat the source language words
and the target language words completely independently,
usually by representing each word with a unique
identifier, with source word identifiers and target word
identifiers belonging to different domains. Only in case of
outof-vocabulary source words (OOVs), which are not part
of the available source language vocabulary and therefore
cannot be translated by the system, approaches that do
acknowledge potential interlingual word similarity are
sometimes applied, such as transliteration by a character-based
translation model [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]; although, in most cases, OOVs are
simply left untranslated.2
      </p>
      <p>In our work, we create a data-driven MT system for very
close languages, based on utilizing only monolingual
corpora and a set of heuristics with a high level of language
independence. In this way, we target languages which are
very low on available resources: the only resource we
require for both the source and the target language is a
plaintext monolingual corpus, i.e. any text written in that
language (even a short one). Arguably, this is the lowest
possible requirement to perform any text-based processing of
a language: at least a textual input must be available,
otherwise there is nothing to process. The key assumption
behind our approach is that corresponding words often have
the following two properties:
• They are similar on the character level, i.e. the string
similarity of the source word and the corresponding
target word is often high.
• They appear in the language with a similar frequency,
i.e. the frequency of the source word in a source
language corpus and the frequency of the target word in
a target language corpus is usually similar.</p>
      <p>While these assumptions obviously do not hold in general,
we believe that they are mostly valid in case of very close
languages (such as Czech and Slovak or Danish and
Norwegian, which we use in our evaluation).</p>
      <p>Our general approach to translating a given source
language word is to look through all of the target words
present in our corpus, and to return the most similar one
2This can also be understood as a very rough way of
acknowledging interlingual word similarity, in the sense that it is implicitly assumed
that the unknown source word may happen to be also used in the target
language in an identical form. This assumption may often be true,
especially in case of named entities, which constitute a major share of OOVs.
Still, even in such cases, transliteration or similar transformations may
be necessary to obtain the correct target word form.
as the most probable translation, based on the two
dimensions of similarity noted above and described in detail in
Section 3.</p>
      <p>In practice, an exhaustive search over the full target
vocabulary is not viable. Therefore, we introduce a number
of heuristics to speed up the search, and describe the whole
translation process, in Section 4.</p>
      <p>
        In Section 5.1, we evaluate MonoTrans instrinsically
with BLEU [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. As could be expected, our method
delivers a very low quality translation, far beyond the best
reported translation scores for the evaluated language pairs.
However, our focus is on scenarios where none of the
better-performing approaches are applicable, as neither
parallel data nor a rule-based translation system are
available. In that regard, the only baseline for us is to leave the
text untranslated, which we surpass by large margins.
      </p>
      <p>The quality of MonoTrans translation is too low to be
useful when targeting humans; moreover, for a speaker of
the target language, a similar close language is typically
partially intelligible even without translation. In fact, it
is exactly this partial cross-lingual intelligibility of similar
languages, common with humans but generally
inaccessible to machines, that we want to simulate with
MonoTrans. We focus on the task of cross-lingual transfer of
trained NLP tools, namely part-of-speech (POS) taggers
and dependency parsers, where even a low-quality
translation can provide the tools with a partial understanding
of an unknown language and allow them to be applied to
that language, even if their performance will inevitably be
low. We evaluate MonoTrans extrinsically in this setup in
Section 5.2.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        While being a stranger in data-driven machine translation,
interlingual word similarity has often been utilized in
rulebased MT, in particular when translating between similar
languages. While rule-based MT has generally been
superseded by statistical MT, a number of fully rule-based
or hybrid3 machine translation systems do exist, such as
Apertium [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]; for an overview of MT systems for related
languages, see e.g. [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. Moreover, when focusing on
special classes of words, such as technical terminology,
systematic interlingual word similarity can be exploited even
across very distant languages, such as Czech and English,
as investigated already in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. However, these systems still
require sets of language-specific rules, large bilingual
dictionaries, and/or parallel corpora, to perform the
end-toend translation. To the best of our knowledge, devising a
machine translation system for such a low-resource setting
is rather unique.
      </p>
      <p>
        The somewhat solitary work of Irvine and
CallisonBurch [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] does go extraordinarily far in a similar direction
to ours, estimating the correspondence of words based on
3A hybrid MT system is a system which combines rule-based and
statistical components.
a large number of predictors, including both orographic
similarity and frequency similarity as we do,4 and also
using contextual similarity, temporal similarity, topic
similarity, etc. However, most of these predictors rely on at
least small amounts of bilingual data, in the form of
parallel corpora, bilingual dictionaries, and/or comparable
corpora; some also require other meta data, such as
segmentation of the data into documents, or a time stamp marking
the date of creation of the text. In our work, we omit the
predictors which require such additional data, and focus on
fine-tuning the two most resource-light predictors instead
– the string similarity and the frequency similarity.
      </p>
      <p>
        There is also a handful of older work attempting to
construct a bilingual lexicon and/or to perform machine
translation without parallel corpora, most notably by Koehn and
Knight [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], Persman and Padó [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], Ravi and Knight [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ],
and Vulic´and Moens [
        <xref ref-type="bibr" rid="ref21">21</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>3 Interlingual Word Similarity</title>
      <p>The key component of MonoTrans is a word similarity
measure, composed of a string similarity simstr and a
frequency similarity sim f ; the string similarity is itself
composed of a Jaro-Winkler-based similarity sim jw∗ and a
length-based similarity siml :</p>
      <p>sim(wsrc, wtgt ) = simstr(wsrc, wtgt ) · sim f (wsrc, wtgt )
simstr(wsrc, wtgt ) = sim jw∗(wsrc, wtgt ) · siml (wsrc, wtgt )
(1)
where wsrc and wtgt are the source and target word,
respectively. The following subsections provide detailed
descriptions of each of these components.</p>
      <sec id="sec-3-1">
        <title>3.1 Jaro-Winkler-Based Similarity</title>
        <p>
          Our string similarity measure is based on the
JaroWinkler (JW) similarity [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ], which has an interesting
property of giving more importance to the beginnings of
the strings than to their ends. This nicely suits our setting,
as in flective languages, most of the inflection usually
happens at the end of the word, while the beginning of the
word tends to carry more of the lexical meaning. Thus, we
expect the JW similarity to give more weight to the
similarity of the meanings of the words than to the particular
inflected forms in which they appear. 5
        </p>
        <p>However, JW similarity does not account for a number
phenomena that are common in interlingual word
similarity. We believe the following two to be of the highest
importance:</p>
        <p>4Interestingly, the authors seem to use a measure of frequency
similarity very close to ours, although the provided formula (4) seems to be
inverted by mistake, measuring frequency dissimilarity instead.</p>
        <p>5From another perspective, we could say that JW similarity
implicitly performs a simple soft stemming of its arguments.
simJ(wsrc, wtgt )</p>
        <p>sim0f (wsrc, wtgt ) =
pair of words is often too high. Therefore, we introduce
an additional penalty for words that differ in length:
sim0l (wsrc, wtgt ) =
where len(w) is the length of word w. The length
importance L is used to put less weight on length similarity than
on the other string similarity components; we use L = 0.2.</p>
        <p>The length similarity is computed both on the original
words as well as on their devowelled variants:
siml = sim0l (wsrc, wtgt ) · sim0l (D(wsrc), D(wtgt ))
(6)
3.3</p>
      </sec>
      <sec id="sec-3-2">
        <title>Frequency Similarity</title>
        <p>We expect corresponding words to appear with a similar
frequency in the monolingual corpora. Of course, one of
them may be several times more frequent than the other,
but their frequencies should be similar at least in orders
of magnitude. Thus, we compare the logarithms of the
frequencies to calculate the similarity:
1
1 + |log( fwsrc ) − log( fwtgt )|
• diacritical marks tend to be cross-lingually
inconsistent, and languages are usually intelligible even when
diacritics are stripped from the text,
• consonants tend to carry more meaning than vowels
and tend to be more cross-lingually consistent.</p>
        <p>Therefore, we introduce two preprocessing steps that
can be employed to simplify the word forms before the
computation of the JW similarity: transliteration to ASCII,
and devowelling.</p>
      </sec>
      <sec id="sec-3-3">
        <title>The transliteration to ASCII, provided by the</title>
        <p>unidecode Python module,6 maps all characters into
ASCII, trying to replace each non-ASCII character by one
“near what a human with a US keyboard would choose”.
However, it does not handle non-alphabetic scripts, such as
Chinese or Japanese. We denote transliteration of a word
w by T (w).</p>
        <p>The devowelling strips all vowel characters, i.e. all
characters that, after transliteration to ASCII, belong to the
following group: a, e, i, o, u, y. We denote devowelling of
a word w by D(w).</p>
        <p>The JW-based similarity sim jw∗ is then computed as a
multiplication of several components:
sim jw∗(wsrc, wtgt ) =</p>
        <p>∏
J∈{ jw, jwT, jwD, jwDT }
(2)</p>
        <p>The first component,sim jw, is the JW similarity without
any preprocessing. However, as it is undefined for empty
words (ε), we modify it slightly:
sim jw(wsrc, wtgt ) =
 1+len1(wsrc) if wtgt = ε
 1</p>
        <p>1+len(wtgt )
sim0jw(wsrc, wtgt ) otherwise
if wsrc = ε (3)
where len(w) is the number of characters in word w,
and sim0jw is the Jaro-Winkler similarity provided by the
pyjarowinkler Python module.78</p>
        <p>The following components are the JW similarity of
transliterated words (sim jwT ), the JW similarity of
devowelled words (sim jwD), and the JW similarity of
transliterated and devowelled words (sim jwDT ):
sim jwT (wsrc, wtgt ) = sim jw(T (wsrc), T (wtgt ))
sim jwD(wsrc, wtgt ) = sim jw(D(wsrc), D(wtgt ))
sim jwDT (wsrc, wtgt ) = sim jw(D(T (wsrc)), D(T (wtgt )))
(4)
3.2</p>
      </sec>
      <sec id="sec-3-4">
        <title>Length-Based Similarity</title>
        <p>A target word that is significantly shorter or longer than a
given source word is unlikely to be its translation;
however, we found that the Jaro-Winkler similarity for such a</p>
        <sec id="sec-3-4-1">
          <title>6https://pypi.python.org/pypi/Unidecode</title>
          <p>7https://pypi.python.org/pypi/pyjarowinkler
8Interestingly, the module method get_jaro_distance does not
provide the Jaro-Winkler distance d jw, but the Jaro-Winkler similarity
1 − d jw; i.e., a value of 1 corresponds to identical strings, and the value
of 0 to completely dissimilar strings.</p>
          <p>The occurrence frequencies are computed from the
monolingual corpora:
fwcorpus =
countcorpus(w) + S
sizecorpus
using a smoothing factor S that allows us to output, with a
low probability, even unknown words; we use S = 0.1.</p>
          <p>Such a measure seems to be appropriate for corpora of
similar sizes. However, if one of the corpora is
significantly smaller than the other, the frequencies of words
in the smaller corpus are somewhat boosted due to the
smaller number of word types appearing in the corpus
among which the total mass is distributed. Therefore, we
downscale the frequencies computed on the smaller corpus
by upscaling its size used in (8):
sizeA =
(|A| · q ||BA|| if |A| &lt; |B|
|A|
where |X | denotes the number of words in the corpus X .</p>
          <p>We found that the definition of frequency similarity
in (7) does a good job in removing many bad target
language candidates; usually these are very infrequent words
that are by chance string-wise similar to the source word.
However, we also found that it inappropriately boosts
target words with a low similarity to the source word that
by chance have an extremely similar frequency. Thus, we
need to keep the similarity harsh for low values, but soften
it for high values. Therefore, if the value of sim0f is higher
than a threshold Tf , we push the part of it which is above
(7)
(8)
(9)
the threshold down, by multiplying it by a decay
factor D f :
sim f =</p>
          <p>sim0f
We use Tf = 0.5 and D f = 0.1.
3.4</p>
        </sec>
      </sec>
      <sec id="sec-3-5">
        <title>Discussion</title>
        <p>(Tf + D f · (sim0f − Tf ) if sim0f &gt; Tf
While the similarity measure we use is intended to be
language-independent, we do acknowledge that it was
hand-tuned particularly on the Czech-Slovak language
pair, as the authors have a strong knowledge of both of
these languages, and may not be fully adequate for all
language pairs. In particular, we expect it to work best for
flective languages with a preference for word-final
inflection. For an optimal performance, it should be hand-tuned
or machine-tuned on a more diverse set of languages.</p>
        <p>The transliteration component is useless for languages
that only use ASCII characters. Moreover, due to its
implementation, it cannot handle non-alphabetic languages,
such as Chinese or Japanese.</p>
        <p>Also, we fail to identify systematic differences in the
languages, such as “w” in Polish consistently
corresponding to “v” in Czech or Slovak. We believe that the method
would highly benefit from being able to find such
correspondences automatically in the monolingual data, e.g.
by exploring the distributions of character unigrams or
ngrams, and/or by employing an EM-like approach to find
a likely mapping.</p>
        <p>Finally, the measure completely ignores the fact that
words with similar meanings can be expected to appear in
similar contexts. While reflecting on that fact would most
probably make the computation of the similarity much
more complicated and slower, it could allow the method
to detect even corresponding words that are dissimilar
according to the string similarity measures. A more viable
approach could be to at least account for the fact that a
given target word is likely to appear in similar target
contexts, as mediated e.g. by a language model.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>The Translation System</title>
      <p>The MonoTrans translation system consists of two
components: a training component, and a translation component.</p>
      <p>The training component creates a pair of word
frequency lists, based on source and target monolingual
corpora. Any monolingual corpora can be used for the
training, with larger corpora leading to better results. The
frequency similarity measure works more reliably when the
source and target corpora are of similar sizes, at least in
orders of magnitude. However, if the source language is very
low on available resources, the input text to be translated
can by itself also serve as the only source corpus.</p>
      <p>The translation component then performs a
wordbased 1:1 monotone translation, trying to translate each
source word by the most similar target word from the
target word list, based on the similarity measure described
in the previous section. The translation of each word is
performed independently.
4.1</p>
      <sec id="sec-4-1">
        <title>Computational Efficiency</title>
        <p>In theory, for each input source word, the translation
component could always go through all target words in the
target language word list, measure the similarity of the source
word and each candidate target word, and then emit the
most similar target word as the translation.</p>
        <p>However, this is only feasible in cases where the
target word list is very small, containing hundreds or at most
thousands of words, allowing us to translate each source
word in a matter of seconds at most. Once the target
word list goes into tens of thousands of words and beyond
(which it usually does in our experiments), the translation
times become far too long for an exhaustive search to be
practical.</p>
        <p>Therefore, we introduce a range of heuristics and
technical measures, both lossless and lossy, to sufficiently
speed up the translation process while trying to keep the
translation quality as high as possible. We describe the
most important two of them in the following
subsections; we also use other less interesting measures, such as
caching of method calls.
4.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Word List Partitioning</title>
        <p>The main speedup comes from a hard partitioning of the
word lists, which is the only lossy procedure we employ.
Following our observations in Section 3, we assume that
for a pair of corresponding source and target words:
• the lengths of the devowelled transliterated words
differ by at most 1,
• the first two characters of the devowelled
transliterated words are identical.</p>
        <p>None of these assumptions hold universally, but we
believe that they do hold for a vast majority of words that
can be translated by our system (i.e. words that are
sufficiently similar to their target counterparts). Most
importantly, they let us only go through a tiny part of the target
word list when translating a source word, bringing a key
speedup to the translation system.</p>
        <p>Thus, instead of using a flat word list, the training
component stores each word in a specific partition,
addressed by a compound key, consisting of the first two
transliterated consonants of the word and the length of the
transliterated devowelled word. The translation
component then only traverses three of these partitions,
corresponding to the first two transliterated consonants of the
source word and the length of the transliterated
devowelled source word, increased by +1, 0, and -1.
Even after the partitioning, many of the partitions are too
large to be traversed exhaustively for each matching source
word. We can deal with that issue thanks to the following
two observations:
• word frequency similarity is a powerful component
of our similarity measure,
• words in a language have a Zipf-like distribution,
with a small number of frequent words and a high
number of rare words.</p>
        <p>Therefore, we can achieve a significant speedup by
ordering the words in each partition descendingly by
frequency, and introducing the following early-stopping
criterion: once we reach a target word so infrequent that
its frequency-based similarity to the source word alone is
lower than the total similarity of the most similar target
word found so far, we can stop processing the current
partition, as none of the remaining target words would be able
to surpass the currently best candidate; i.e., we stop once:
fwt0gt &lt; fwsrc ∧ sim f (wsrc, wt0gt ) &lt; sim(wsrc, wt∗gt )
(11)
where wt0gt is the current target word candidate, and wt∗gt is
the best target word found so far.</p>
        <p>As we, by definition, encounter frequent words more
frequently than rare words, this allows us to often skip the
processing of the long tail of infrequent words; it only gets
processed if the source word is a rare one, or if it is not
sufficiently similar to any of the frequent target words.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Evaluation</title>
      <p>In this section, we evaluate MonoTrans both intrinsically
and extrinsically. However, for the real under-resourced
languages with no parallel data and no annotated corpora
available, there is no way for us to perform an automatic
evaluation, and a manual evaluation would be difficult to
obtain for us. Therefore, as is usual in these scenarios, we
simulate the under-resourced setting by evaluating on pairs
of similar but resource-rich languages, allowing us to use
standard automatic evaluation measures. Specifically, we
use the following language groups in our experiments:
• Czech (cs) and Slovak (sk),
• Danish (da), Norwegian (no) and Swedish (sv),
• Catalan (ca) and Spanish (es).</p>
      <p>Please note that we hand-tuned our method partially based
on brief manual inspections of the results on the sk-cs pair.</p>
      <sec id="sec-5-1">
        <title>5.1 Instrinsic Evaluation</title>
        <p>
          We first evaluate the quality of the MonoTrans translation
itself with BLEU [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. We use the OpenSubtitles2016
subcorpus of the Opus collection [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], which contains
translated movie subtitles from the OpenSubtitles website.9 We
        </p>
        <sec id="sec-5-1-1">
          <title>9http://www.opensubtitles.org/</title>
          <p>use the first 10,000 target sentences and the last 10,000
source sentences for training, and then evaluate the
sourceto-target translation quality on the last 10,000 sentences;
i.e. the source side of the evaluation data is used for
training, but the target side, which serves as the reference
translation, is not.</p>
          <p>Table 1 shows the BLEU scores achieved by
MonoTrans, compared to the SrcLex baseline, i.e. to performing
no translation at all; thanks to the high similarity of the
languages, even the baseline achieves a non-trivial
translation score. The BLEU scores are rather low,
reaching 13.4 on average, whereas a state-of-the-art MT
system trained on large amounts of parallel data could easily
reach scores around 30 BLEU points (or probably even
more, provided that the source and target languages are
very similar). However, we can see a large and consistent
improvement over the baseline of 3.4 BLEU points in
average. We also report the relative improvement over the
baseline which, thanks to the very low scores achieved by
the baseline, is very high, reaching up to 90% (for sv-no)
and 43% on average.</p>
          <p>
            Generally, we do not expect very large corpora to be
available for under-resourced languages. Still, to
measure the scaling potential of our method, we also evaluated
MonoTrans trained on significantly larger Czech and
Slovak monolingual corpora. For this experiment, we used
large web corpora, namely CWC for Czech [
            <xref ref-type="bibr" rid="ref16">16</xref>
            ] and
skTenTen for Slovak [
            <xref ref-type="bibr" rid="ref3">3</xref>
            ]. We used the first 100 millions of
words from each of the corpora for training, i.e. roughly
a thousand times larger datasets, and then evaluated the
translation system on the same OpenSubtitles data as in
the previous experiments.
          </p>
          <p>The results in Table 2 show that increasing the data size
improves the translation quality, with the improvement
over the SrcLex baseline being nearly doubled. However,
considering the factor by which we increased the training
data size, we find the improvement to be rather moderate.</p>
          <p>Next, we tried to downscale the training data instead,
training and evaluating the system identically to Table 1
but using only a part of the training data. Table 3 shows
that already with 100 monolingual non-corresponding
sentences for each of the languages, i.e. very modest data,
improvements of over +1 BLEU over the non-translation
baseline can be achieved.</p>
          <p>Finally, in Table 4, we show several examples of the
inputs and outputs of the MonoTrans system, taken from the
evaluation datasets translated by the systems trained on the
large datasets; the “correct” translation is not the reference
translation, but a corrected version of the MonoTrans
output, and errors are highlighted. We can see many correctly
translated words in the outputs, as well as many words
correctly left untranslated. Moreover, many of the errors can
be easily accounted to the word list partitioning that we
employ, making it impossible for MonoTrans to perform
translations such as “len–jen”, “som–jsem”, or “po cˇúvaj–
poslouchej”. This suggests that many of the errors are
actually search errors, not scoring errors, and could be
eliminated if we had a better way of efficiently searching for
candidate target translations.
5.2</p>
        </sec>
      </sec>
      <sec id="sec-5-2">
        <title>Extrinsic Evaluation</title>
        <p>
          We also evaluated MonoTrans extrinsically, in the task
of cross-lingual transfer of trained NLP models across
closely related languages, inspired by the cross-lingual
parsing shared task of the VarDial 2017 workshop [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ].
• Train a lexicalized model on the resulting corpus.
• Apply the model to target language data.
        </p>
        <p>
          Specifically, we employ the Universal Dependencies (UD)
v1.4 treebanks [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] as the annotated data, MonoTrans as
the translation tool, and the UDPipe tagger and parser [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]
as the models to be trained.
        </p>
        <p>The MonoTrans system is trained using the word forms
from the training part of the source treebank and the
development part of the target treebank, and applied to translate
the training part of the source treebank into the target
language. Then, the UDPipe tagger and parser are trained
on the resulting corpus; the tagger is trained to predict the
Universal POS tag (UPOS) based on the word form, and
the parser is trained to predict the labelled dependency tree
based on the word form and the UPOS tag predicted by the
tagger. Finally, both the tagger and the parser are applied
to the development part of the target language treebank,
and evaluated against its gold-standard annotation.</p>
        <p>We report the tagger accuracy in Table 5, and the parser
LAS10 in Table 6. As a baseline, we also include SrcLex,
i.e. using a tagger and parser trained on an untranslated
source treebank, and as an upper bound, we include a
supervised tagger and parser, trained on the training part of
the target treebank; as the languages are very similar, the
baselines are quite strong. This allows us to also compute
the error reduction, i.e. the proportion of the gap between
the baseline and the upper bound filled by our method.</p>
        <p>The taggers reach an average accuracy of 77.8% and the
parsers an average LAS of 47.3%, which is not much in
absolute terms – when large parallel data are available, LAS
scores around 60% can be reached. However, in relative
terms, the scores are rather impressive, obtaining an
average 23% error reduction in both the tagging and the
parsing, and reaching average absolute improvements of +6.3
in tagging accuracy and +8.2 in parsing LAS. Given our
setting, we find the results to be wonderful, provided that
we only used small monolingual corpora to train the MT
system; in fact, in the target language, we only used the
evaluation input data, which is probably the lowest
imaginable data requirement.
6
6.1</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>Further Possible Improvements</title>
      <sec id="sec-6-1">
        <title>Language Model Scoring</title>
        <p>As we mentioned in Section 3.4, a clear shortcoming of
our method is the fact that the translation is performed
in a context-independent way. Employing an n-gram
language model is a standard way of getting better machine
translation outputs, only plaintext target-language data are
needed to create one, and there already exists a plethora
of state-of-the-art ready-to-use language modelling tools.
Therefore, it may seem straightforward to employ a
language model in MonoTrans as well.</p>
        <p>However, there is a range of technical issues that need to
be overcome. If we were able to generate a translation
lexicon, we could then even easily plug it into a full-fledged
MT system, such as Moses, easily combining it with a
language model; however, generating the lexicon would be
computationally prohibitive in our case, for reasons
mentioned in Section 4.1. At best, we could potentially try to
generate a translation lexicon only for the words that
appear in the test data. Moreover, even using a beam search
in MonoTrans decoding is too costly for us, as it prohibits
the employment of the early stopping mechanisms.</p>
        <p>So far, we have only managed to perform a set of
preliminary experiments, adding a simple trigram language
model and using its score as an additional scoring
component; as we found that using the score directly had a too
strong and negative effect on the translations, we weakend
it by taking its fourth root. When evaluated on the large
Czech and Slovak corpora in both directions, we observed
10Labelled Attachment Score, i.e. the number of correctly predicted
labelled dependency relations in the output tree.
only negligible improvements around +0.1 BLEU. We
believe that this is mainly due to the fact that our approach in
these preliminary experiments was too rough and
simplistic, and that with proper tuning and a more sophisticated
implementation, clear improvements may be gained.
Based on inspection of the translation outputs, as well as
from the examples in Table 4, it is clear that the word
list partitioning is way too crude, preventing the system
from generating the correct translation in many cases, even
though its similarity to the source word is sufficiently high.
On the other hand, it is completely impossible for the
system to search through all possible translations, and some
kind of harsh pruning of the search space is vital.</p>
        <p>As a quick remedy, we tried to use the trigram
language model to generate additional translation candidates.
Specifically, for each source word we also investigated N
candidate translations taken from N words that are,
according to the language model, the most likely to follow
the words selected as translations of the previous words.
With N = 20, we observed a promising improvement of
+0.6 BLEU for cs-sk, while the translation times remained
competitive (they doubled). With N = 1000, the
improvement for sk-cs further jumped to +1.3 BLEU; however, at
this point, the translation became about 50 times slower
(taking 10 hours to translate 10,000 sentences), showing
that this approach is somewhat promising in terms of
translation quality but too computationally demanding. For
skcs, negligible or no improvements were observed.</p>
        <p>An interesting possibility of clustering the search space
which was suggested to us is to use a standard clustering
algorithm, such as k-means or hierarchical k-means, with
the word similarity used as the distance of the target words.
This is expected to be permissibly fast to compute as well
as to allow a sufficiently fast search for translation
candidates; however, due to time constraints, we have not been
able to design an experiment to test that.
7</p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>Conclusion</title>
      <p>We presented MonoTrans, a data-driven translation system
trained only on plaintext monolingual corpora, intended
for low-quality machine translation between very similar
languages in a low-resource scenario.</p>
      <p>We showed that even with very small training corpora
available, the system shows respectable performance
according to both intrinsic and extrinsic evaluation,
consistently surpassing the no-translation baseline by large
margins. Moreover, we showed that the system performance
scales with larger training data, even though rather slowly.</p>
      <p>In particular, when evaluated extrinsically as a
component of cross-lingual tagger and parser transfer,
employing MonoTrans leads to high improvements in both
tagging accuracy and parser LAS with respect to the
baselines, achieving an average 23% error reduction in both of
the tasks when supervised models are taken as the upper
bounds.</p>
    </sec>
    <sec id="sec-8">
      <title>Acknowledgments</title>
      <p>This work has been supported by the grant
No. DG16P02B048 of the Ministry of
Culture of the Czech Republic, the grant No.
CZ.02.1.01/0.0/0.0/16_013/0001781 of the Ministry
of Education, Youth and Sports of the Czech Republic,
and the SVV 260 453 grant. This work has been using
language resources and tools developed, stored and
distributed by the LINDAT/CLARIN project of the Ministry
of Education, Youth and Sports of the Czech Republic
(project LM2015071). We would also like to thank the
anonymous reviewers and our colleagues from the ÚFAL
MT group (especially Jindrˇich Libovický) for helpful
comments and suggestions for improvement.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Dzmitry</given-names>
            <surname>Bahdanau</surname>
          </string-name>
          , Kyunghyun Cho, and
          <string-name>
            <surname>Yoshua Bengio.</surname>
          </string-name>
          <article-title>Neural machine translation by jointly learning to align and translate</article-title>
          .
          <source>arXiv preprint arXiv:1409.0473</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Peter</given-names>
            <surname>Brown</surname>
          </string-name>
          , John Cocke,
          <string-name>
            <given-names>S Della</given-names>
            <surname>Pietra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V Della</given-names>
            <surname>Pietra</surname>
          </string-name>
          , Frederick Jelinek, Robert Mercer, and
          <string-name>
            <given-names>Paul</given-names>
            <surname>Roossin</surname>
          </string-name>
          .
          <article-title>A statistical approach to language translation</article-title>
          .
          <source>In COLING</source>
          , pages
          <fpage>71</fpage>
          -
          <lpage>76</lpage>
          . Association for Computational Linguistics,
          <year>1988</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3] Masaryk University NLP Centre. skTenTen,
          <year>2011</year>
          .
          <article-title>LINDAT/CLARIN digital library at the Institute of Formal and Applied Linguistics</article-title>
          , Charles University.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Nadir</given-names>
            <surname>Durrani</surname>
          </string-name>
          , Hassan Sajjad, Hieu Hoang, and
          <string-name>
            <given-names>Philipp</given-names>
            <surname>Koehn</surname>
          </string-name>
          .
          <article-title>Integrating an unsupervised transliteration model into statistical machine translation</article-title>
          .
          <source>In EACL</source>
          , volume
          <volume>14</volume>
          , pages
          <fpage>148</fpage>
          -
          <lpage>153</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Mikel</surname>
            <given-names>L Forcada</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mireia</surname>
          </string-name>
          Ginestí-Rosell, Jacob Nordfalk,
          <string-name>
            <surname>Jim O'Regan</surname>
          </string-name>
          ,
          <string-name>
            <surname>Sergio</surname>
          </string-name>
          Ortiz-Rojas, Juan Antonio PérezOrtiz, Felipe Sánchez-Martínez, Gema Ramírez-Sánchez, and
          <string-name>
            <surname>Francis M Tyers.</surname>
          </string-name>
          <article-title>Apertium: a free/open-source platform for rule-based machine translation</article-title>
          .
          <source>Machine translation</source>
          ,
          <volume>25</volume>
          (
          <issue>2</issue>
          ):
          <fpage>127</fpage>
          -
          <lpage>144</lpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Ann</given-names>
            <surname>Irvine and Chris</surname>
          </string-name>
          Callison-Burch.
          <article-title>End-to-end statistical machine translation with zero or small parallel texts</article-title>
          .
          <source>Journal of Natural Language Engineering</source>
          ,
          <volume>22</volume>
          :
          <fpage>517</fpage>
          -
          <lpage>548</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Zdeneˇk</given-names>
            <surname>Kirschner</surname>
          </string-name>
          .
          <article-title>On a device in dictionary operations in machine translation</article-title>
          .
          <source>In COLING, COLING '82</source>
          , pages
          <fpage>157</fpage>
          -
          <lpage>160</lpage>
          , Czechoslovakia,
          <year>1982</year>
          . Academia Praha.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Philipp</given-names>
            <surname>Koehn</surname>
          </string-name>
          , Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, et al.
          <article-title>Moses: Open source toolkit for statistical machine translation</article-title>
          .
          <source>In ACL</source>
          , pages
          <fpage>177</fpage>
          -
          <lpage>180</lpage>
          . Association for Computational Linguistics,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>Philipp</given-names>
            <surname>Koehn</surname>
          </string-name>
          and
          <string-name>
            <given-names>Kevin</given-names>
            <surname>Knight</surname>
          </string-name>
          .
          <article-title>Learning a translation lexicon from monolingual corpora</article-title>
          .
          <source>In ULA, ULA '02</source>
          , pages
          <fpage>9</fpage>
          -
          <lpage>16</lpage>
          , Stroudsburg, PA, USA,
          <year>2002</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Pierre</given-names>
            <surname>Lison</surname>
          </string-name>
          and
          <string-name>
            <given-names>Jörg</given-names>
            <surname>Tiedemann</surname>
          </string-name>
          . Opensubtitles2016:
          <article-title>Extracting large parallel corpora from movie and tv subtitles</article-title>
          .
          <source>In LREC</source>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>Joakim</given-names>
            <surname>Nivre</surname>
          </string-name>
          et al.
          <source>Universal dependencies 1.4</source>
          ,
          <year>2016</year>
          .
          <article-title>LINDAT/CLARIN digital library at the Institute of Formal and Applied Linguistics</article-title>
          , Charles University.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>Kishore</surname>
            <given-names>Papineni</given-names>
          </string-name>
          , Salim Roukos, Todd Ward, and
          <string-name>
            <surname>Wei-Jing Zhu</surname>
          </string-name>
          .
          <article-title>Bleu: a method for automatic evaluation of machine translation</article-title>
          .
          <source>In ACL</source>
          , pages
          <fpage>311</fpage>
          -
          <lpage>318</lpage>
          . Association for Computational Linguistics,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>Yves</given-names>
            <surname>Peirsman</surname>
          </string-name>
          and
          <string-name>
            <given-names>Sebastian</given-names>
            <surname>Padó</surname>
          </string-name>
          .
          <article-title>Cross-lingual induction of selectional preferences with bilingual vector spaces</article-title>
          .
          <source>In HLT-NAACL, HLT '10</source>
          , pages
          <fpage>921</fpage>
          -
          <lpage>929</lpage>
          , Stroudsburg, PA, USA,
          <year>2010</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>Sujith</given-names>
            <surname>Ravi</surname>
          </string-name>
          and
          <string-name>
            <given-names>Kevin</given-names>
            <surname>Knight</surname>
          </string-name>
          .
          <article-title>Deciphering foreign language</article-title>
          .
          <source>In ACL-HLT, HLT '11</source>
          , pages
          <fpage>12</fpage>
          -
          <lpage>21</lpage>
          , Stroudsburg, PA, USA,
          <year>2011</year>
          .
          <article-title>Association for Computational Linguistics</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <surname>Rico</surname>
            <given-names>Sennrich</given-names>
          </string-name>
          , Orhan Firat, Kyunghyun Cho, Alexandra Birch, Barry Haddow, Julian Hitschler,
          <string-name>
            <surname>Marcin</surname>
            <given-names>JunczysDowmunt</given-names>
          </string-name>
          , Samuel Läubli, Antonio Valerio Miceli Barone,
          <string-name>
            <given-names>Jozef</given-names>
            <surname>Mokry</surname>
          </string-name>
          , et al.
          <article-title>Nematus: A toolkit for neural machine translation</article-title>
          .
          <source>EACL</source>
          <year>2017</year>
          , page
          <volume>65</volume>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>Johanka</given-names>
            <surname>Spoustová</surname>
          </string-name>
          and
          <string-name>
            <given-names>Miroslav</given-names>
            <surname>Spousta</surname>
          </string-name>
          .
          <article-title>A highquality web corpus of Czech</article-title>
          . In Nicoletta Calzolari (Conference Chair), Khalid Choukri, Thierry Declerck,
          <article-title>Mehmet Ug˘ur Dog˘an, Bente Maegaard</article-title>
          , Joseph Mariani, Asuncion Moreno, Jan Odijk, and Stelios Piperidis, editors, LREC, Istanbul, Turkey, may
          <year>2012</year>
          .
          <article-title>European Language Resources Association (ELRA).</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>Milan</surname>
            <given-names>Straka</given-names>
          </string-name>
          , Jan Hajicˇ, and Jana Straková.
          <article-title>UDPipe: trainable pipeline for processing CoNLL-U files performing tokenization, morphological analysis, pos tagging and parsing</article-title>
          .
          <source>In LREC</source>
          , Paris, France, May
          <year>2016</year>
          .
          <article-title>European Language Resources Association (ELRA).</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>Jörg</given-names>
            <surname>Tiedemann</surname>
          </string-name>
          .
          <article-title>Parallel data, tools and interfaces in OPUS</article-title>
          . In LREC, volume
          <year>2012</year>
          , pages
          <fpage>2214</fpage>
          -
          <lpage>2218</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <surname>Jörg</surname>
            <given-names>Tiedemann</given-names>
          </string-name>
          , Željko Agic´, and
          <string-name>
            <given-names>Joakim</given-names>
            <surname>Nivre</surname>
          </string-name>
          .
          <article-title>Treebank translation for cross-lingual parser induction</article-title>
          .
          <source>In CoNLL</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <surname>Jernej</surname>
            <given-names>Vicˇicˇ</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vladislav</surname>
            <given-names>Kubonˇ</given-names>
          </string-name>
          , and Petr Homola.
          <article-title>Cˇ esílko goes open-source</article-title>
          .
          <source>The Prague Bulletin of Mathematical Linguistics</source>
          ,
          <volume>107</volume>
          (
          <issue>1</issue>
          ):
          <fpage>57</fpage>
          -
          <lpage>66</lpage>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>Ivan</given-names>
            <surname>Vulic</surname>
          </string-name>
          and
          <string-name>
            <surname>Marie-Francine Moens</surname>
          </string-name>
          .
          <article-title>A study on bootstrapping bilingual vector spaces from non-parallel data (and nothing else)</article-title>
          .
          <source>In EMNLP</source>
          , pages
          <fpage>1613</fpage>
          -
          <lpage>1624</lpage>
          . ACL,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <surname>William</surname>
            <given-names>E.</given-names>
          </string-name>
          <string-name>
            <surname>Winkler</surname>
          </string-name>
          .
          <article-title>String comparator metrics and enhanced decision rules in the fellegi-sunter model of record linkage</article-title>
          .
          <source>In Proceedings of the Section on Survey Research Methods (American Statistical Association)</source>
          , pages
          <fpage>354</fpage>
          -
          <lpage>359</lpage>
          ,
          <year>1990</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <surname>Marcos</surname>
            <given-names>Zampieri</given-names>
          </string-name>
          , Shervin Malmasi, Nikola Ljubešic´,
          <string-name>
            <surname>Preslav</surname>
            <given-names>Nakov</given-names>
          </string-name>
          , Ahmed Ali, Jörg Tiedemann, Yves Scherrer, and
          <string-name>
            <given-names>Noëmi</given-names>
            <surname>Aepli</surname>
          </string-name>
          .
          <article-title>Findings of the VarDial evaluation campaign 2017</article-title>
          . In VarDial, Valencia, Spain,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>