Elamur Research

Towards the Classification of the Finnish Internet Parsebank: Detecting Translations and Informality

Paper · 2015 · Veronika Laippala, Jenna Kanerva, Anna Missilä et al.

Summary

A web crawl can collect a great deal of Finnish without telling a reader what kind of Finnish it has found. A corpus search can return informal discussion, writing composed in Finnish, and prose translated into Finnish, all under the same language label. Laippala and colleagues ask whether those distinctions can be recovered automatically from the Finnish Internet Parsebank, a collection containing 3.2 billion tokens and 241 million sentences at the time of the study. They also ask what the features that help make those distinctions can tell linguists about the writing itself.

The authors run separate tests for informal versus standard Finnish, human-translated versus original Finnish, and machine-translated versus original Finnish. Informality is judged sentence by sentence. For translation, each decision uses a segment of five sentences. In each task, the authors compare a baseline that uses the words themselves with representations that set aside word identity and use grammatical information. One such representation tracks sequences of word classes and inflectional properties. Another adds patterns drawn from the grammatical connections between words. For informality, the authors also compare training on manually judged sentences with training on examples whose labels come from the kind of publication they appeared in.

Machine translations were the easiest to distinguish in the experiments. The highest area under the receiver operating characteristic curve, or AUC, was 98.35% on the general machine-translation test, using grammatical features that included syntax. The word-based baseline gave the strongest ranking for human translations on the general test, at 87.19% AUC. On the separate biography test, which held the genre out of training, the best AUC was 86.05%, using word classes and inflection. For informality, the strongest ranking came from the word-based approach trained on manually labeled sentences, at 73.34% AUC. Grammatical features that included syntax ranked highest when training labels came from publication venues.

The comparisons show why the composition of a test set matters. Words helped most for some tests whose material was closer to the training examples. Grammatical patterns performed better on the held-out biographies and helped the machine-translation classifiers find translated segments when the source language was held out. They also made it possible to inspect some of the evidence behind the decisions. Interjections and pronouns featured prominently in the informality analysis, while the human-translation comparison produced grammatical patterns that both agreed with and complicated earlier accounts of translated writing. The experiments establish what the classifiers could distinguish on the study’s samples. The authors leave classification of the entire Parsebank to future work.

Deep dive: Towards the Classification of the Finnish Internet Parsebank: Detecting Translations and Informality

How the Finnish Internet Parsebank study detects informal writing and human and machine translations using words and grammatical patterns. · about 30 minutes to read

The problem and its context

A large collection with limited information about its texts

The usefulness of a corpus depends partly on knowing which texts contributed the examples. When a construction appears frequently in search results, a linguist may want to know whether it is typical of Finnish generally or concentrated in a particular kind of writing. A researcher interested in prose originally composed in Finnish has a reason to identify translations before drawing conclusions about that prose. Someone studying informal usage needs to find the sentences that actually exhibit it. Even in a venue chosen because it tends to contain informal writing, individual sentences can follow standard usage.

The Internet supplies material across many kinds of writing. That breadth comes with relatively little control over which kinds a crawl retrieves. Collecting pages in Finnish addresses the language of the resulting text. It leaves open how a particular passage was produced and how closely its language follows standard conventions. At the scale of the Parsebank, supplying such distinctions by reading the entire collection would call for a different kind of effort from annotating a sample. The authors study whether classifiers trained on samples can provide useful distinctions for corpus searches and applications.

The paper grounds this motivation in work on how corpora are composed and used. It cites earlier corpus research that treats the origin of texts as important to their interpretation. It also points to work on varieties of clinical Finnish as evidence that performance in automatic syntactic analysis can vary across domains. These are related concerns. A researcher can draw an overly broad conclusion from a sample belonging to a particular domain, and a system can behave differently when it encounters writing unlike the examples on which it was developed. The study makes those concerns concrete by identifying particular contrasts within a single language.

The labels under study concern different properties of a passage. Informality concerns the usage visible in the Finnish sentence. Human and machine translation concern the history of the Finnish text. A translated sentence can follow standard Finnish conventions, and a sentence composed in Finnish can be informal. The paper therefore treats each distinction as its own task. This organization lets the authors choose evidence and comparison data suited to the particular question, including the unit of writing over which the classification is made.

What previous work had tried

For human translations, the authors situate their work in research on translationese, the name for recurring linguistic characteristics associated with translated writing. As the paper recounts it, Baker formulated proposals about features that might be shared across translations. This gave corpus researchers hypotheses to investigate. A classifier offers another way to ask whether translated and original texts differ systematically. It can look at combinations of indicators whose joint usefulness would be hard to establish by inspecting a short list of features individually.

The earlier studies surveyed in the paper approached the distinction at several levels. Baroni and Bernardini used monolingual collections and examined features that included lemmas and word-class labels. A lemma groups inflected forms under a common dictionary form. The authors report that this earlier work found that a classifier could be better than human judges at identifying translations. Ilisei and colleagues described an approach intended to work across languages, using indicators such as average sentence length and lexical richness. Popescu tested sequences of characters for English, allowing the sequences to run across sentence boundaries. Avner and colleagues investigated the role of word structure in Hebrew. These studies gave the Finnish work reason to examine both lexical evidence and grammatical properties. Lemmatization

The paper reviews a related line of work on identifying the output of machine translation. Aharoni and colleagues tested function words, grammatical word classes, and a combination of the two. Function words contribute to grammatical organization, so their counts can reveal regularities even when the subject matter changes. Arase and Zhou focused on coherence within a sentence, examining indications that locally plausible phrases fit together poorly. The Finnish study takes up the general detection question while drawing on the full grammatical analyses already available in its corpus. Automatic Detection of Machine Translated Text

The earlier work on informality described in the paper relied more heavily on lexical and surface signals. Lahiri and colleagues studied a formality score based on how frequently different word classes occurred. Mosquera and Moreda used evidence including spelling mistakes, emoticons, and interjections. Linguistic studies had also examined individual signals of this sort. Finnish discussions of everyday language gave Laippala and colleagues a basis for including expressions that are playful or subjective and for treating informality as a property of usage across topics. They also gave the authors reason to expect borderline cases.

The study brings these research strands together around the representation of the text. One question is how far the actual words can take a classifier. Another is whether patterns in word classes, inflection, and syntactic relations can still distinguish the categories when the words are removed. The second question also has a linguistic purpose. A useful word may be tied to a subject or collection. A useful grammatical pattern can suggest a more specific question about how passages in a category are written, provided that its distribution is examined in context.

The method, step by step

From web pages to observable features

The Parsebank began with pages collected by Spiderling, a crawler designed for assembling text corpora. The crawler can restrict collection by language and strip recurring page material such as menus and lists. The output was deduplicated at the page level. A Finnish analysis pipeline described by Haverinen and colleagues then supplied morphological and syntactic analyses. These analyses make it possible to represent a passage in terms of what its words are, what forms they take, and how they relate to one another. This added description is a form of linguistic annotation.

Morphology here means the properties of word forms, including distinctions such as case and number. A grammatical description might identify a form as a pronoun and give its case and number. Part-of-speech tagging supplies the word-class part of that description, such as noun, verb, or interjection. Dependency parsing adds directed connections between words, identifying how a dependent participates in the construction associated with its head. A passage thus has both an original order, which gives sequences of neighboring tokens, and a grammatical structure, which gives connections that can span intervening material.

The authors build their comparisons by choosing different parts of this representation. At one end they use the token identities. At the other they retain grammatical descriptions and relationships while discarding the words themselves. A single classification example is drawn from one sentence for the formality experiment or from five sentences for a translation experiment. The corpus annotation supplies the input to the classifier. The labels that teach it which differences to look for come from the separately assembled datasets.

From Finnish text to scores for each task

The steps in order.

From Finnish text to scores for each taskStep 1: Collect and deduplicate Finnish web pages1. Collect and deduplicate Finnish web pagesStep 2: Analyze word forms and grammatical relations2. Analyze word forms and grammatical relationsStep 3: Assemble labeled examples for each task3. Assemble labeled examples for each taskStep 4: Use sentences or five-sentence segments4. Use sentences or five-sentence segmentsStep 5: Represent examples with words or grammatical features5. Represent examples with words or grammatical featuresStep 6: Train a linear classifier6. Train a linear classifierStep 7: Evaluate scores on held-out material7. Evaluate scores on held-out material

Turning words and grammatical structure into evidence

The simplest representation is a bag of words. It represents an example through its vocabulary and discards the order in which words appear. This gives the authors a baseline for all the tasks. There are good reasons to start there. A word can directly convey an informal style, and preferences for particular words can help distinguish translated prose from original prose. Vocabulary also varies with subject matter, genre, and source collection. A classifier can exploit any of these differences when they happen to align with the class labels in its training data.

The first delexicalized alternative uses word classes and morphological features. Delexicalizing means taking away word identity while retaining a description of the form’s grammatical properties. The authors combine the part-of-speech and morphology tags for each token, then generate unigrams, bigrams, and trigrams of the combined descriptions. These features describe a token by itself or a short sequence of neighboring tokens. Different words can contribute to the same feature if their grammatical descriptions coincide. This gives the classifier access to a local pattern even when the words realizing that pattern are absent from its training examples. Each short sequence is an n-gram.

The authors exclude certain details from the morphological representation. Their preliminary runs indicated that information marking proper nouns, capitalization, and whether the Finnish analyzer recognized a token could be highly predictive. They left those details out because their interest also lay in the linguistic characteristics of the classes. Analyzer recognition, for instance, describes an interaction between a token and the analysis system. Its usefulness could tell the reader that one collection gave the analyzer more unfamiliar forms, while leaving open which underlying differences produced them. Removing the indicator lets the reported experiments concentrate on other grammatical signals. The paper gives its reason for the choice and reports the ensuing runs using the restricted representation.

The second delexicalized alternative adds syntax. To follow the difference, imagine looking for a verb and a noun that participates in its construction. A feature based on neighboring tokens depends on what comes between those words. A feature taken from dependency structure can describe the connection directly. The same kind of connection can then contribute evidence when the words occur at a different distance in another sentence. Linear sequences and connections in a dependency analysis give the classifier different ways to recognize a recurring configuration.

The paper calls the connected pieces of the dependency analysis syntactic n-grams. The Finnish collection used by the authors follows earlier work on English and allows fragments containing from one to four arcs. An arc represents a grammatical connection in the dependency analysis. The full representation can preserve the words associated with a fragment, their parts of speech and morphological descriptions, and their syntactic relationships. The figure in the paper shows these layers together for a syntactic 2-gram. Because the layers can be removed selectively, the same underlying fragment can supply a more abstract feature. In the experiments, the extra syntax features are relation sequences obtained from the delexicalized fragments. They are added to the part-of-speech and morphology features.

Thus the comparison between the grammatical representations asks a specific question. Both can see the kinds of forms that occur and how those forms are ordered over short stretches of text. The expanded representation can also see patterns described by dependency relations. The bag of words is a different source of evidence, since it can distinguish particular words while ignoring how they are connected. Comparing these inputs makes it possible to ask how much of the distinction is available from each representation, using the same general training procedure.

Teaching the classifier what counts as informal

The study uses the standard variety of Finnish as a point of comparison. The authors treat departures from language guidelines, along with lexical and structural usage unusual in the standard variety, as grounds for an informal label. This definition lets an annotator consider how a sentence is worded even when its topic would give little indication of its style. Since formality involves judgment and admits borderline cases, the authors developed the annotation instructions on actual sentences before proceeding to the full sample.

They drew sentences randomly from the Parsebank and allowed annotators to assign standard Finnish, informal Finnish, or a label indicating that the sentence was outside Finnish. In the guideline-development phase, the annotators worked independently on the same material. They then compared decisions, reconciled differences, and revised the instructions in light of the cases that had caused disagreement. This process continued until agreement reached 89% on a batch of 100 sentences. They then proceeded with independent annotation, covering 3300 sentences in total. The reported agreement describes the shared batch used in developing the procedure.

Before making the final splits, the authors removed 218 sentences judged to be outside Finnish and 27 duplicate sentences. They then down-sampled to 3000 sentences. The split was random and stratified, meaning that the balance between informal and standard sentences was kept roughly similar in training, development, and test. This collection constitutes the gold data. The label is attached to the particular sentence on the basis of human judgment. The test portion provides the common evaluation for all the informality runs.

The other source of formality labels is the weak dataset. A weak label here comes from the tendency of a publication venue or collection to contain one kind of language. Newspaper prose and the Europarl material from the Turku Dependency Treebank supplied some of the standard side. Academic writing, biographies, and popular science from the Corpus of Translated Finnish supplied the rest. The informal side drew on popular blogs and discussions from several Finnish websites. Some discussion data had already been collected by a research group, and the authors gathered the remaining forum material for the study.

A forum can contain a sentence that follows standard usage closely. A standard source can contain a sentence with an informal expression. The weak labels carry both a tendency toward the intended class and a set of features characteristic of their venues. The common gold test is essential here. It asks whether a classifier trained using that proxy can rank and identify informality in randomly selected Parsebank sentences judged on their own wording. A classifier trained on the gold split gets a smaller pool of training material whose labels correspond directly to that decision.

Teaching the classifier what counts as translated

For human translation, the authors draw on the Corpus of Translated Finnish, a 10-million-word resource with genre categories based on publisher and reviewer classifications. It contains translations whose source language is English, writing composed in Finnish, and a smaller translated collection covering several other source languages. Data availability led the authors to restrict training translations to those from English. The comparison side comes from the corpus’s material written originally in Finnish.

The separate out-of-domain test uses biographies. It compares biographies translated from English with biographies written originally in Finnish, while the training data exclude biography. This is a test of genre transfer. Both sides of the test belong to the same held-out genre, and the translation side keeps the source language that was available during training. A classifier must therefore use evidence learned from other kinds of texts to make the distinction within biographies. The paper also reports a broader test on a mixture of material. The general condition and the biography condition answer different questions about the usefulness of the features.

For machine translation, most of the source material comes from the WaCky corpora. The authors sample web text from German, French, and English collections, generate Finnish translations with Google Translate, then put the outputs through the Finnish analysis pipeline. The languages were selected for their common use and the availability of data. The general test also contains a sample from the Parsebank in which the authors manually identified machine translations. On the comparison side, the authors use original Finnish material from the Parsebank. The distinction is thus evaluated in Finnish on both sides, even when the translated side began with text in another language.

The paper constructs further machine-translation tests by excluding a source language from training and using translations from it for the test. In one setup, the held-out source is French. In the other, it is German. Both use original Finnish from the Parsebank as the negative class. This tests a different kind of domain change from the biography experiment. The new material is still machine-translated Finnish, but the language from which it was translated changes. The tests can reveal whether signals learned from the available sources also appear when the same translation system processes a source language missing from training.

In both translation experiments, the units compared are segments of five sentences. A segment gives the classifier several sentences from which to gather whatever word or grammatical evidence its representation allows. The number of words listed for a corpus indicates the amount of source material in the split. The evaluation, in contrast, concerns decisions about segments. For formality, both the human decision and the classifier decision concern a sentence, and the split sizes are given in sentences.

Learning and measuring a decision

The learning procedure uses a linear classifier with stochastic gradient descent, implemented in Vowpal Wabbit. A linear classifier assigns weights to features and adds their contributions to obtain a score for an example. During training the labeled examples guide changes to the weights. Stochastic gradient descent makes such changes through successive updates based on training examples. A learning rate governs the size of the updates. The authors chose the learning rate in preliminary experiments and kept it fixed in the reported runs. They say the resulting classifier performed roughly on a par with a linear support vector machine in preliminary work on their data.

The evaluation includes precision, recall, and their harmonic mean. For the formality task, informal sentences are the positive cases. For the translation tasks, translated segments are positive. Precision is the proportion of examples assigned the positive label that actually belong to that class. Recall is the proportion of all actual positive examples that the classifier assigns to it. The harmonic mean gives a combined measure that responds to weaknesses in either quantity.

F₁ = 2 × P × R ÷ (P + R)

F₁ is the balanced F-score, P is precision, and R is recall. The factor 2 gives precision and recall equal standing in the harmonic mean. The multiplication sign combines precision and recall, the division sign divides by their sum, and the parentheses group that sum.

The authors also use AUC, which stands for area under the receiver operating characteristic curve. It describes how well the scores rank examples as the cutoff for predicting the positive label varies. The paper explains it as the probability of correctly ordering a randomly drawn positive and negative example. In this interpretation, the classifier should score an informal sentence above a standard sentence, or a translated segment above an original one. The authors use AUC to compare ranking performance across test sets with different proportions of positive and negative examples. Precision, recall, and F-score describe the reported classification decisions on each set. A classifier can rank examples well while making relatively few positive predictions at the decision cutoff, so the two kinds of measurement are read together.

Experiments and results

Informal versus standard sentences

The gold formality data contain 1917 standard sentences and 1083 informal sentences. The training split has 1500 sentences, of which 543 are informal. The development split contains 500 sentences, including 179 informal examples. The test set has 1000 sentences, with 639 standard and 361 informal. That test set is used for both training conditions. The weak training sources are recorded in words, with 2,416,092 words on the standard side and 236,083 words on the informal side. Those totals describe the collections supplying the labels by venue.

Training on the manually labeled data with the bag of words gave the highest test AUC, 73.34%. It also gave the highest F-score, 49.91. Its precision was 66.67%, and its recall was 39.89%. The latter figure matters for using the classifier to find examples. Under the decision rule behind the reported scores, many of the test sentences that annotators classified as informal would remain outside the retrieved set. The AUC shows that the scores can still be useful for prioritizing sentences for inspection.

Informality detection on the gold test set by training source and AUC

Words give the best ranking after gold training, while adding syntax gives the best ranking after weak training.

Informality detection on the gold test set by training source and AUCWeak training, words: 64.23Weak training, words64.23Weak training, word classes and morphology: 63.25Weak training, word classes andmorphology63.25Weak training, morphology and syntax: 66.22Weak training, morphology and syntax66.22Gold training, words (this paper): 73.34Gold training, words (this paper)73.34Gold training, word classes and morphology: 69.71Gold training, word classes andmorphology69.71Gold training, morphology and syntax: 70.03Gold training, morphology and syntax70.03
The numbers
System or settingAUC %
Weak training, words64.23
Weak training, word classes and morphology63.25
Weak training, morphology and syntax66.22
Gold training, words (this paper)73.34
Gold training, word classes and morphology69.71
Gold training, morphology and syntax70.03

Among the gold-trained runs, the part-of-speech and morphology representation gave the highest recall at 41.27%. It had 59.84% precision and an F-score of 48.85. Adding syntactic relations gave 60.00% precision, 40.72% recall, and an F-score of 48.51. This comparison illustrates the value of reporting both ranking and classification metrics. The gold-trained representation with syntax ranks a random positive-negative pair somewhat better than morphology alone, while morphology alone has the better F-score at the reported cutoff.

Under weak training, the representation that included syntax gave an AUC of 66.22%, precision of 49.86%, recall of 49.31%, and an F-score of 49.58. The weak bag of words had an F-score of 47.43, and the weak representation with morphology alone had 47.41. The highest weak-training recall is also higher than any of the reported gold-training recalls. In the weak run with syntax, that higher recall accompanies lower precision than in the gold runs. The test therefore supports the authors’ claim that labels based on venues can teach a classifier something useful about sentence formality, while the best ranking and the strongest precision come from training on explicit judgments.

The authors connect the strong word-based result under gold training with earlier work emphasizing lexical signs of informality. The structural features also carry information, as their scores show. The reversal between the word-based and syntax-augmented approaches when the training source changes suggests that the choice of representation depends on where the labels come from. The direct comparison is especially informative because the informal examples being scored are the same for all the rows.

Human-translated versus original Finnish

The human-translation experiment evaluates translated passages against writing composed in Finnish. For the broad test, the table lists 1,407,628 test words in the human translation collection and 1,392,472 words in the original Finnish collection. The separate biography evaluation uses 151,517 words in translated biographies and 309,941 words in original Finnish biographies. These are amounts of text used to form examples. The reported scores concern five-sentence segments drawn from that text.

The bag of words leads the broad test on all the reported metrics. It reaches 87.19% AUC, with 75.71% precision, 79.90% recall, and an F-score of 77.75. Adding syntactic evidence to the grammatical representation gives 86.26% AUC and an F-score of 76.57, ahead of the representation using morphology and word classes alone, which yields 84.98% AUC and an F-score of 74.72. The broad evaluation shows that substantial separation of the classes is possible without word identity, even though the lexical evidence gives the strongest result there.

Human translation detection by feature set and AUC on the broad and biography tests

The word-based baseline leads on the broad test, while word classes and morphology lead on held-out biographies.

Human translation detection by feature set and AUC on the broad and biography testsBroad test, words (this paper): 87.19Broad test, words (this paper)87.19Broad test, word classes and morphology: 84.98Broad test, word classes and morphology84.98Broad test, morphology and syntax: 86.26Broad test, morphology and syntax86.26Biographies, words: 81.80Biographies, words81.80Biographies, word classes and morphology: 86.05Biographies, word classes and morphology86.05Biographies, morphology and syntax: 85.00Biographies, morphology and syntax85.00
The numbers
System or settingAUC %
Broad test, words (this paper)87.19
Broad test, word classes and morphology84.98
Broad test, morphology and syntax86.26
Biographies, words81.80
Biographies, word classes and morphology86.05
Biographies, morphology and syntax85.00

The biography test changes the ordering. The word-based approach returns 81.80% AUC and an F-score of 59.99. Using word classes and morphology gives 86.05% AUC, an F-score of 66.39, and recall of 72.84%. The syntax-augmented representation gives 85.00% AUC and an F-score of 65.42. Its recall of 73.15% is the highest for this test. The bag of words has 61.20% precision, the highest in the biography comparison, together with 58.82% recall. The largest gains in the reported classification decisions from using grammar come through identifying a greater share of the translated passages.

The broad and biography results also qualify what it means to carry performance across genres. The strongest AUC on biographies is close to the strongest one in the broad evaluation. The best reported F-score on biographies is lower than the best F-score on the broad set. AUC characterizes the relative ordering of positive and negative examples, while the F-score depends on the decisions made and the examples present in each test. For a corpus user who wants to read the highest-scoring candidates first, the AUC is directly relevant. For a user who takes the predictions as a filter, the precision and recall give more direct information about what the filter includes and misses.

Machine-translated versus original Finnish

In the general machine-translation split, the machine-translated side includes 53,492 training words, 53,490 development words, and 40,856 test words. The corresponding original Parsebank material contains 53,493 training words, 53,492 development words, and 40,640 test words. The machine-translated test set pools output generated from the sampled web corpora with the manually identified Parsebank cases. The held-out French-source set contains 66,441 translated test words, and the held-out German-source set contains 31,559. The reported transfer tests compare these translations with original Finnish sampled from the Parsebank.

The general test gives 98.35% AUC for the representation that includes syntax, 98.06% for the representation using morphology and word classes, and 98.03% for the bag of words. Their F-scores are 92.09, 91.05, and 88.88, respectively. The word-based approach has the highest precision, 99.10%, while the best recall, 86.41%, comes from word classes and morphology. The run that adds syntax has 98.89% precision and 86.17% recall, giving it the strongest combined F-score. The paper’s narrative gives 81.58% for general-test bag-of-words recall, while its results table gives 80.58%. The comparison here uses the table value.

On the held-out French-source test, the syntax-augmented representation reaches 98.17% AUC and an F-score of 91.06. Word classes and morphology give 97.56% AUC and an F-score of 90.05. The bag of words gives 95.37% AUC and an F-score of 79.61. On the held-out German-source test, the corresponding AUC figures are 98.03% with syntax, 97.56% with morphology, and 97.31% with words. The corresponding F-scores are 91.57, 90.05, and 73.28. As in the general test, the syntax-augmented representation has the highest AUC and F-score in each held-out condition.

Machine translation detection recall on the general and held-out source tests

The grammatical representations recover more translated segments in every setting.

Machine translation detection recall on the general and held-out source testsGeneral test, words: 80.58General test, words80.58General test, word classes and morphology (this paper): 86.41General test, word classes andmorphology (this paper)86.41General test, morphology and syntax: 86.17General test, morphology and syntax86.17French held out, words: 66.34French held out, words66.34French held out, word classes and morphology: 82.84French held out, word classes andmorphology82.84French held out, morphology and syntax: 85.37French held out, morphology and syntax85.37German held out, words: 58.54German held out, words58.54German held out, word classes and morphology: 82.84German held out, word classes andmorphology82.84German held out, morphology and syntax: 82.51German held out, morphology and syntax82.51
The numbers
System or settingrecall %
General test, words80.58
General test, word classes and morphology (this paper)86.41
General test, morphology and syntax86.17
French held out, words66.34
French held out, word classes and morphology82.84
French held out, morphology and syntax85.37
German held out, words58.54
German held out, word classes and morphology82.84
German held out, morphology and syntax82.51

The word-based classifier gives very high precision in the held-out tests, with 99.51% for the French-source test and 97.96% for the German-source test. Its reduced recall accounts for much of its weaker F-score in these settings. Even in the German-source test, where the bag of words ranks examples at 97.31% AUC, it retrieves 58.54% of the translated segments at the reported cutoff. These measures describe different aspects of the same run. Its scores generally order pairs well, and a substantial share of actual translations remains below the cutoff.

The authors interpret the strong grammatical-feature results on the held-out tests as evidence that the tested change in source language can be accommodated without collecting training examples from that source. That conclusion is most directly supported for the tested combinations of source languages and the Finnish translations produced for the study. The lexical baseline makes clear why the representation matters to the conclusion. High ranking scores occur there as well, but the classifications reported at the cutoff are less successful at recovering translations when the source changes.

What the ablations show

How much syntax adds depends on the task

The paper’s principal controlled feature comparison is between the representation using part of speech and morphology and the expanded representation that also includes dependency patterns. This comparison isolates the contribution of adding syntax to the grammatical input. The bag-of-words runs provide a broader comparison with using lexical identity. There is no separate result for syntax by itself, so the syntax runs indicate the value of the additional relations alongside the other grammatical information.

The extra relations help consistently on AUC in the machine-translation tests. They also improve the F-score in the general test and in both held-out source tests. The recall comparison is more varied. Word classes and morphology alone retrieve the largest share of translations on the general test and the held-out German-source test. Adding syntax retrieves the largest share on the held-out French-source test. The combined measure favors the syntax representation in all those cases. A reader interested specifically in finding as many translated segments as possible can see why the choice based on recall can differ from the choice based on F-score.

The human-translation comparison shows a different interaction. Adding syntax to morphology and word classes improves AUC and F-score on the broad test. On the biography test, morphology and word classes alone give the highest AUC and F-score. The syntax run’s biography recall is 73.15%, compared with 72.84% without syntax, and its precision is 59.16%, compared with 60.99% without syntax. The syntax run finds a greater share of the translated biographies, while the run with morphology alone gives a more favorable balance of precision and recall. The out-of-genre benefit is therefore evidence for delexicalized grammatical features generally. The results for dependency relations depend on the test used to judge their contribution.

In formality detection, adding dependency features improves the AUC of the grammatical representation under both kinds of training. The stronger case is the comparison under weak training, where adding syntax leads to the highest AUC and the highest F-score among weakly trained runs. Under gold training, it improves AUC over morphology alone while giving a lower F-score at the reported cutoff. As in the translation experiments, the structural addition can improve the ordering of examples without improving every decision measure.

What changes when the examples come from elsewhere

The formality study changes the source of supervision and keeps the test fixed. In one condition, a positive label reflects a judgment about the individual sentence. In the other, it reflects an assumption about the sentence’s source. A bag of words can readily exploit characteristic vocabulary from the weak collections. The results are consistent with some of that vocabulary being less predictive of an annotator’s decision on a randomly sampled Parsebank sentence. The weak training condition also differs in how much and what kind of text it contains, so the experiment tests the practical value of those collections as substitutes for annotated data.

The comparison within biographies changes genre while retaining the task of distinguishing human translations from original Finnish. Because it contains both translated and original biographies, a classifier cannot succeed just by recognizing that an example is a biography. Instead it must identify some difference within that genre and whatever other distinctions are present between the samples. The reversal in the ordering of the feature sets is the clearest evidence in the paper for the benefit of removing word identity under a genre shift. Word classes and inflection provide evidence that survives this particular shift better than the words the classifier learned in the broader training collection.

The machine-translation tests show a related pattern under a change in source language. The grammar-based runs preserve performance especially well on the measures tied to the reported classification decisions. The word-based run can remain a good ranker and still retrieve fewer positives. The controlled comparisons therefore distinguish the available signal from its behavior at a specific cutoff. Since all the held-out translation samples are assembled within the same study procedure, they provide evidence about transfer across the chosen source languages under that procedure.

Which features characterize informal sentences

The authors inspect the strongest grammatical features associated with informal writing and group related patterns. Several high-ranked examples involve interjections. The published list includes an interjection by itself, an interjection followed by punctuation, and a configuration connecting an interjection with the root of the syntactic analysis. The root is the central point in the dependency representation of a sentence. These patterns offer several ways for the classifier to recognize similar usage, from the presence of the word class to its position in the analysis.

Pronouns account for another group. The paper identifies nominative pronouns in the singular and in the plural, as well as a pattern involving a singular nominative pronoun and a singular genitive noun. Nominative and genitive are case categories recorded by the morphological analysis. Because the representation can match different words with the same grammatical tags, such a feature can point to a recurring arrangement of forms without depending on one particular pronoun or noun.

The authors relate the prominence of interjections to the earlier informality literature. Their analysis also provides a way to move from a broad observation such as the association of interjections with informal writing to narrower questions about their local grammatical surroundings. A feature’s rank reflects the role it played in distinguishing the study’s labeled examples. Establishing how widely the pattern occurs, or which uses of it carry the most information about formality, would call for inspecting its occurrences across the corpora.

Which features characterize human translations

The feature analysis of human translations likewise looks for patterns whose contribution can be interpreted linguistically. The authors highlight noun and verb combinations among the important features on the translated side. On the original Finnish side, an example high in the ranking connects a nominative personal pronoun with a finite verb. The paper links the pronoun evidence to earlier work on the greater use of pronouns in original writing, and relates the noun and verb patterns to earlier research on lexical repetition. These are connections between the indicators found by the classifier and hypotheses from translation studies. The same grammatical fragment may have multiple explanations, depending on where and how it occurs.

Examples in the paper make the level of description concrete. A feature for original Finnish can encode a singular nominative pronoun alongside a past-tense verb agreeing with a speaker, as in a short clause about the speaker running. Other examples pair verbs with nouns or pronouns carrying particular cases. On the translation side, the authors give examples with a finite past-tense verb and a conjunction, and others that include nonfinite verb forms. The classifier sees grammatical descriptions of these configurations. The authors use possible word realizations to show what those descriptions can mean in a passage.

Some patterns complicate expectations from earlier work. Among the features for original Finnish are fragments comprising a verb and its arguments that the authors consider possible signs of simple structure. Simplification had been studied as a characteristic of translated writing. Nonfinite forms, which the paper relates to an earlier finding about translations, also occur among important features for both classes here. The feature rankings make these tensions visible and give a researcher particular constructions to investigate. They leave open how much of each pattern comes from the translation process and how much comes from the kinds of writing represented in the samples.

Limitations

Limits identified by the authors

The authors describe informality as a judgment that frequently admits borderline cases. They address this with independently assigned labels, consensus work during guideline development, and refinement of the instructions. The agreement statistic describes one batch on which the team assessed the developing procedure. The test labels are judgments made under that procedure, so their meaning depends on the working definition of informality. In the conclusion, the authors identify genre variation as an area requiring further study, particularly if the aim is to improve the informality classifier and its features.

For human translation, the authors explicitly say that the availability of material shaped the selection. The training examples of human-translated Finnish came from English. The biography evaluation provides a held-out genre while keeping English as the source of the translated examples. It therefore addresses a genre change within that source-language pairing. The broad evaluation contains a mix of material, including translated texts from other sources, but the reported broad scores combine the examples. Source-specific behavior in human translation remains open.

The paper also limits the scope of its linguistic interpretation. The authors examine examples of highly ranked features and connect them to previous proposals about differences between the classes. They set detailed examination of the full feature inventory beyond the scope of the study. They describe classifying the entire Parsebank as future work. The results measured here concern the assembled train and test collections and the sampled Parsebank material used in them.

Limits visible in the design

The formality task identifies a sentence-level property. A blog entry, biography, or discussion thread can shift register from sentence to sentence. A classifier’s accuracy on individual sentences therefore does not directly establish its ability to assign a style label to a whole document. The weak training set brings that distinction into focus. The source venue labels provide information about a collection’s tendency, while the judgments on the test set concern particular sentences. The results measure how well one can use the former to predict the latter. They leave open how patterns learned from weak labels would transfer to different mixes of publication venues.

For translation, the study uses text units with more surrounding material. A five-sentence segment can contain several opportunities for the classifier to recognize evidence of translation. An isolated sentence offers less evidence under the same approach. The higher scores for translation compared with informality combine differences in the linguistic distinctions, the composition of the datasets, the labeling procedures, and the units of prediction. They show how the particular tasks performed as designed. They do not yield a direct measure of which property would be easier to detect under otherwise identical conditions.

The original Finnish samples also have a different origin in the human and machine translation experiments. Human translations are compared with original material from the Corpus of Translated Finnish, with the biography test matching the genre of the two classes. Machine translations are compared with original material sampled from the Parsebank, and most of the positive examples are generated using translations of samples from other web corpora. Such construction makes evaluation possible with substantial quantities of labeled text. It also means a predictive feature can reflect the sampled collections and their genres alongside effects of translation. The machine-translation test that includes manually recognized Parsebank cases reports those cases within an aggregate result. The performance of the classifier on that subset alone remains unspecified.

The source-language experiments for machine translation cover the selected languages and the outputs of Google Translate used in the study. Holding out a language provides a test of transfer to examples from that language. It leaves open how the features would behave with output from a different machine-translation system or texts generated under other conditions. Similarly, the human and machine tests each contrast translation with original writing. The paper does not test a single decision that assigns an unknown segment among original Finnish, human translation, and machine translation. Strong scores for the two binary tasks do not give a score for that joint decision.

There are also limits to how directly the grammar features describe the underlying writing. They are produced by an automatic analysis pipeline. Differences in how reliably it analyzes different kinds of text can affect the observed patterns. The authors reduce one direct route for this by discarding features that explicitly signal whether a token was recognized by the morphological analyzer. The remaining tags and syntactic relations still depend on the pipeline’s analyses. The reported feature comparisons establish that this representation contains usable evidence. They leave its correspondence to independently checked grammatical analyses of the samples unmeasured.

Finally, use as a corpus filter would depend on the precision and recall obtained on the portion of the crawl being searched. AUC compares relative scores and is suited to the paper’s comparisons across differently balanced test sets. It does not supply the precision a user would obtain at a chosen cutoff in a new collection. The large change in recall for the machine-translation bag of words illustrates this distinction within the existing experiments. The feature rankings have a similar scope. They identify associations that helped distinguish selected examples. Claims about universal translationese would require examining the patterns across a wider range of genres and language pairings.

What came after

The paper closes with directions for follow-up. No later study is identified here as having carried out that work. One direction is to apply the classifiers to the whole Finnish Internet Parsebank. An application at that scale would bring the question that motivated the study back into view. The purpose of the labels is to help users restrict searches and select material, so their value would depend on how they behave across the range of writing encountered in the crawl.

The authors also propose taking the strongest grammatical features as starting points for more detailed corpus investigations. Their examples illustrate why that is a separate research step. A ranked interjection pattern can lead to a study of the grammatical settings in which interjections occur in different registers. A ranked verb pattern can lead to a comparison of its uses across translated and original material, with genre taken into account. The classification experiments identify candidate patterns. A study of the sentences and their contexts would establish the scope of the linguistic generalizations those patterns suggest.

A further direction is to extend the feature-based comparison to other genres and characteristics. The study offers a procedure for doing so through the contrast between words and grammatical features, the use of samples labeled for the particular distinction, and evaluation on material that deliberately differs from training. Its biography and source-language experiments show how that last step can change which representation appears strongest. The larger program the authors outline connects those experiments to corpus use by asking where the distinctions hold and which grammatical patterns continue to support them.

Cite

Cite as Veronika Laippala, Jenna Kanerva, Anna Missilä, Sampo Pyysalo, Tapio Salakoski and Filip Ginter. 2015. Towards the Classification of the Finnish Internet Parsebank: Detecting Translations and Informality. Proceedings of the 20th Nordic Conference of Computational Linguistics (NODALIDA 2015).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{laippala2015classification,
  title = {{Towards the Classification of the Finnish Internet Parsebank: Detecting Translations and Informality}},
  author = {Veronika Laippala, Jenna Kanerva, Anna Missilä, Sampo Pyysalo, Tapio Salakoski and Filip Ginter},
  booktitle = {Proceedings of the 20th Nordic Conference of Computational Linguistics (NODALIDA 2015)},
  year = {2015},
  url = {https://aclanthology.org/W15-1815/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/laippala-2015-classification-finnish-internet-parsebank-detecting/