← Latest papers
💻 computer science

An Optimized Approach for Handling Limited Vocabulary Constraints and Word Order Divergence in English-Urdu Neural Machine Translation

This study improves English–Urdu neural machine translation by compiling a large-scale parallel corpus and demonstrating that optimizing subword tokenization strategies (specifically Subword-NMT BPE and SentencePiece-BPE) combined with Dynamic Position Encoding effectively addresses vocabulary sparsity and word-order divergence to outperform baseline models.

Original authors: Rabail Asghar, Junaid Akram, Yella Mehroze, Zaheer Ahmad Gondal

Published 2026-11-05 (v2)
📖 5 min read🧠 Deep dive

Original authors: Rabail Asghar, Junaid Akram, Yella Mehroze, Zaheer Ahmad Gondal

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Language is the bridge that connects human experience, yet for billions of people, that bridge is broken by the sheer difficulty of translating between languages that think in fundamentally different ways. In the field of machine translation, computers have become remarkably good at converting text from one language to another, largely by learning from massive collections of existing translations. However, when the languages involved are very different in their structure or when one of them has fewer digital resources available, the computers often stumble. They struggle with words they have never seen before and, more critically, with the fact that languages arrange their sentences in different orders. For instance, English typically places the verb in the middle of a sentence, while Urdu places it at the end. This structural gap creates a specific kind of confusion for automated systems, leading to translations that are grammatically awkward or simply wrong.

A team of researchers at COMSATS University Islamabad and Huazhong University of Science and Technology has tackled these specific hurdles in the translation between English and Urdu. They approached the problem by building a massive, clean library of paired sentences in both languages and then testing different ways to teach the computer how to break down words into smaller, manageable pieces. Their work demonstrates that the way a computer learns to see a word matters just as much as the algorithm it uses to translate it. By carefully adjusting how the system handles word order and vocabulary, they were able to produce significantly smoother and more accurate translations than previous standard methods.

The researchers began by addressing a fundamental issue: the computer's dictionary. In machine translation, if a word appears in the text that the computer has never seen during its training, it cannot translate it. This is a common problem with names, new terms, or rare words. To solve this, the team compiled a vast collection of English and Urdu text from diverse sources, including religious texts, news articles, political speeches, and movie subtitles. They cleaned this data meticulously, removing errors and standardizing how numbers and punctuation appeared, resulting in a final dataset of nearly 5.8 million paired sentences. This is one of the largest and most refined collections of English-Urdu translations ever made available to the public.

With this data in hand, the team tested several different strategies for "tokenization," which is the process of chopping sentences into smaller units that the computer can understand. Instead of treating every word as a single, unbreakable block, modern systems often break words into sub-parts. For example, the word "running" might be split into "run" and "ning." The researchers tried five different methods for doing this, including techniques that learn from the text itself to find the most useful chunks. They found that for translating English into Urdu, a method called Byte-Pair Encoding worked best, allowing the system to handle rare words effectively. Conversely, when translating Urdu into English, a slightly different version of this technique performed better. This discovery highlights that the best way to teach a computer to read one language is not always the same as the best way to teach it to read another.

The second major challenge was the difference in sentence structure. Because English and Urdu arrange their words in different orders, a computer trained to follow English patterns often produces Urdu sentences that sound unnatural, placing the verb in the wrong spot. To fix this, the researchers used a specialized type of computer model that can learn to rearrange the internal logic of a sentence without actually shuffling the words around in the input. They added a specific training step where the model was taught to pay attention to how words in English correspond to words in Urdu, effectively learning the "rules" of the language switch. By fine-tuning the balance between learning the translation itself and learning the correct word order, they found a specific setting that worked perfectly for this language pair.

The results of these adjustments were clear and measurable. The new system, which combined the best word-splitting method with the order-aware model, significantly outperformed the standard baseline models. In the English-to-Urdu direction, the translation quality improved by more than three points on a standard scoring scale, and in the Urdu-to-English direction, it improved by nearly two and a half points. When the researchers looked at specific examples, the difference was visible: the old models often left time phrases like "after several rounds of discussion" at the end of the Urdu sentence, mimicking English grammar. The new model correctly moved these phrases to the beginning, creating sentences that flowed naturally for a native Urdu speaker.

This work does not claim to have solved machine translation entirely, but it offers a concrete path forward for languages that are often left behind. The researchers showed that by paying close attention to how words are broken down and by explicitly teaching the system to respect the unique grammar of the target language, translation quality can be greatly enhanced. Their findings suggest that for linguistically distant pairs like English and Urdu, a one-size-fits-all approach is insufficient. Instead, tailored strategies that address both vocabulary limitations and structural differences are necessary to build systems that truly bridge the gap between speakers of different tongues. The large dataset they created and the methods they tested are now available for other researchers to use, ensuring that this progress can be built upon by the wider scientific community.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →