Research:Content Translation language imbalances
This page documents a research project in progress.
Information may be incomplete and change as the project progresses.
Please contact the project lead before formally citing or reusing results from this page.
The flow of translations between Wikipedia language editions shows extreme imbalances in favor of one direction of translations versus the other, when examining records produced by the Content Translation tool.
We have begun to explore these translation imbalances and have found that they are probably produced by a combination of technical factors such as software design, and social factors such as perceived completeness and importance.
If these imbalances are undesirable, maybe they can be counteracted by an experimental intervention.
Specific technical terms used by this project:
Content Translation - a MediaWiki extension providing the main user interface for assisted translation between Wikipedia languages. Sometimes this term will also be used to include the server component.
CX service - the backend for Content Translation, a Node.js server which supports section editing, machine translation, and suggestions.
Draft translation - an article in the Content Translation workflow which has some in-progress text but is not yet available to readers.
Language pair - the source and target language of a translation or a suggestion.
Published translation - an article which has been published to the wiki, at the end of the Content Translation workflow.
Source language - the langauge being translated from.
Suggestion - articles recommended for translation, for the chosen language pair.
Target language - the language being translated into.
Universal Language Selector - a MediaWiki extension responsible for showing language pickers, and tracking which languages the user has chosen in the past.
TBD: These need refinement and discussion.
- Is the imbalanced translation flow produced by endogenous translator preferences, or is it a structural artifact?
- When machine translation becomes available for a language pair, does translation volume increase? Does published article quality decrease?
- Is machine translation quality correlated with target language wiki size?
- Are the arguments given for disabling machine translation into English still valid today?
This is a draft outline of work, not a plan yet.
- Passive analysis of Content Translation historical logs
- Done Compare and visualize flows between all languages. What can be observed?
- Look for correlations between translation flow and the relative values for each language in the pair: total articles, active editors, pageviews, ...
- Compare smaller subsets of languages.
- Segment all statistics according to whether the published translation originated in a suggestion, whether machine translation was explicitly used, and whether machine translators are available externally or internally for the language pair.
- Passive analysis of Content Translation source code.
- Done How are suggested language pairs chosen?
- Instrument Content Translation with temporary, additional, structured log events.
- task T241833: Send an event identifying which group of inputs the suggested translation source language came from.
- Interviews with translators
- Learn about how perceived language importance informs choice of languages
- Learn how software design affects choice of languages and workflow
- Experimental intervention
- For example, changing the suggested translation target for a limited number of users to eg. translate away from the current language instead of into it.
Wikimedia Foundation and Wikimedia Germany are providing resources to hire an intern through the Outreachy program, who will help with this research.
2023-03-06 - 2023-04-03 - Done - Outreachy initial contributions period
2023-05-29 - 2023-08-25 - Outreachy internship period
Policy, Ethics and Human Subjects ResearchEdit
We have started to discuss the many questions raised by this project with the Wikimedia Language Engineering team. If we design an experimental intervention, it will be done in collaboration with this team, and the preparation steps may include a human subjects review to be sure we aren't causing harm to Wikimedians. For example, switching default suggested languages arbitrarily might lead to fewer people getting involved with translation or to unsuccessful outcomes after publishing.
Overview of imbalancesEdit
There are imbalances of 100:1 in the ratio of translations made in each direction of a language pair with the Content Translation software. These seem to always flow from a dominant language towards the language with a smaller number of wiki articles. Colonial relationships between languages are reproduced, for example English towards Spanish and Spanish towards Catalán. (TBD: publish raw data links, code, graphs, exceptions)
Data source: https://en.wikipedia.org/w/api.php?action=query&list=contenttranslationstats&format=json
library(circlize) chordDiagram(api.result.translate.json.pivot.selection, directional = 1, direction.type = c("diffHeight", "arrows"), link.arr.type = "big.arrow")
Analysis of suggested translation language algorithmEdit
On a user's first visit to the Translations page after enabling the Content Translation beta feature, they can find suggestions about articles to translate. There are two algorithms at play: one chooses the pair of source and target languages between which to translate, and the other chooses which articles to show for translation. The analysis in this section is focused on the initial default choice of translation languages.
The code responsible for setting the default languages is CXDashboard.findValidDefaultLanguagePair, and the rough outline is that it takes all languages that the user has frequently set in the Universal Language Selector using mw.uls.getFrequentLanguageList, picks the first one, and suggests translating from that language into the current wiki's language. The exact process is more complicated:
TBD: discuss alternatives to this algorithm, such as randomizing all valid language pair permutations, recommending multiple pairs; and instrumenting the algorithm output
The target language strongly defaults to the current wiki language, and then a source language must be chosen which is different than the target. The source language defaults first to the interface language, set in MediaWiki user preferences, or browser preferences and accept headers. Languages explicitly (?) chosen with ULS are also retrieved from localStorage under 'uls-previous-languages'.
TBD: give examples of fallback values
We've applied to mentor an Outreachy project on this topic, intentionally leaving the focus area flexible depending on participant interests. See task T328597 and https://www.outreachy.org/communities/cfp/wikimedia/
This section is very much in-progress, and we'll add more as we learn about it.
- Research:Increasing article coverage
- Graham, Mark; Straumann, Ralph K.; Hogan, Bernie (2015-11-02). "Digital Divisions of Labor and Informational Magnetism: Mapping Participation in Wikipedia". Annals of the Association of American Geographers 105 (6): 1158–1178. ISSN 0004-5608. doi:10.1080/00045608.2015.1072791.
- McDonough Dolmaya, Julie (2017-04-03). "Expanding the sum of all human knowledge: Wikipedia, translation and linguistic justice". The Translator 23 (2): 143–157. ISSN 1355-6509. doi:10.1080/13556509.2017.1321519.
- ↑ Content Translation provides an assisted translation environment with visual editing, intelligent template transformation, and machine translation integration. The project is mature and has been used to create over one million articles.