Elamur Research

Benchmarking the Performance of Pre-trained LLMs across Urdu NLP Tasks

Paper · 2025 · Munief Hassan Tahir, Sana Shams, Layba Fiaz et al.

Summary

A system that performs well in English may give a plausible answer in Urdu and still miss what an Urdu application needs. It might assign a news article to a topic outside the allowed categories, add commentary to a translation, or omit words from a transcript. The authors test how well pretrained large language models handle these demands. Their benchmark covers 17 Urdu tasks and uses 22 publicly available evaluation datasets, including corpora that supply 13.8 hours of speech. For text, the researchers give each system instructions and prepare its replies for scoring. For speech, they run pretrained versions of Whisper. Neither procedure involves training the evaluated system on the task at hand.

Published task-specific benchmarks lead on most of the evaluations. The clearest exceptions come from news categorization and extractive text summarization. On the COUNTER test set, GPT-3.5 reaches 0.87 macro-F1, a measure that gives each category equal weight, against the published 0.70. On CORPURES, Llama 3.1 reaches an average ROUGE-2 F1 of 0.62, which measures overlap between adjacent word pairs in the output and reference summaries. The published comparison score is 0.57. GPT-3.5 and Llama 3.1 are frequently the strongest pretrained text systems, but their strengths differ by task. Both fall short of the published scores on the English-to-Urdu translation tests.

Whisper shows a consistent ordering across read and broadcast speech. The large variant makes fewer word errors than the medium and small versions, while the published Urdu speech systems retain the lead. On read speech, Whisper Large scores 23.51 word error rate, compared with 16.94 for the published system. Its score on broadcast speech is 27.97, against a published 18.59. The benchmark therefore distinguishes improvement within a family of pretrained systems from the performance already demonstrated by an Urdu system for a particular use.

The authors also find that errors arise at the point where a free-form reply has to become a label or a piece of text that can be scored. Some replies contain a usable answer with extra material. Others choose a category the dataset never offered. The results measure pretrained systems as used with tested prompts and output cleanup. Llama 3.1’s improvement over Llama 2 is consistent with the authors’ explanation that broader multilingual pretraining helps, but the comparison changes several things together and cannot isolate the effect of Urdu training data.

Deep dive: Benchmarking the Performance of Pre-trained LLMs across Urdu NLP Tasks

This benchmark tests how well pretrained systems handle Urdu text and speech without task-specific training and where specialized systems still lead. · about 33 minutes to read

The problem and its context

What support for Urdu needs to mean

A system can appear to support Urdu because it responds in the language. An application requires a more specific demonstration. A news classifier must use the categories by which articles are filed. A grammar tool must return the distinctions recognized by its tagset. A transcript must preserve the words people said, and a summary must retain the information that makes a document useful to a reader. Each application gives a different meaning to successful Urdu processing. The paper puts these demands alongside one another so that evidence from one kind of task cannot stand in for evidence from the rest.

The work concerns natural language processing, the design and evaluation of computational systems that operate on language. The authors describe a shift away from building a separate pipeline for every language and task. A multilingual pretrained system offers the possibility of using shared capabilities across applications, with instructions defining what to do at the time of use. The paper places that possibility in the context of foundation models and the Transformer and attention architecture. Its question is practical. Given systems trained elsewhere, which of the jobs already studied in Urdu can they perform at a competitive level? The architectural and foundation-model background comes from Attention Is All You Need and On the Opportunities and Risks of Foundation Models.

That question matters for low-resource languages because multilingual coverage does not specify how much exposure a system had to any one language. The authors describe Urdu as having limited representation in the pretraining of the systems they examine. A system could consequently be familiar with the general idea of identifying a person’s name or translating a sentence while having less experience with the Urdu words, constructions, and written forms it must interpret. Its performance also depends on whether it can apply the distinctions made by a specific Urdu dataset. Those are separate requirements even when they show up in the same test result.

The authors see a related problem in evaluation and benchmarks. A multilingual benchmark can cover multiple languages while offering limited linguistic variety. It can also report differences among general-purpose systems without placing the scores beside the strongest published results for the same tasks. In that case, a reader learns which tested system did better and still has little basis for deciding whether either one reaches the performance of a system developed for the application. This paper makes the published Urdu scores part of the comparison.

The choice has consequences for what the benchmark asks. A task-specific system has been developed with a particular objective in view. A general-purpose system asked to perform the same job from instructions makes a different offer. It may be useful across applications and may require less work to get an initial result. The benchmark asks how competitive that initial route can be after the researchers have worked out how to prompt the system and recover its answers. In this setting, the use of an existing published score gives the reader a practical reference point.

Earlier evaluations described by the authors

The paper describes earlier studies that asked narrower questions of general-purpose systems. Work on recommendation compared systems across different recommendation tasks. Work on commonsense questions drew on multiple datasets to test how well the systems answered questions in different domains. The authors also discuss human assessment of zero-shot summarization, where the comparison considered differences in pretraining, prompts, and system scale. These studies provide precedents for testing across several conditions while keeping a recognizable task at the center of the evaluation. The paper’s examples include QMSum and ChatGPT Is a Knowledgeable but Inexperienced Solver.

Earlier work also evaluated machine translation across multiple language pairs and translation directions. The direction matters because translating into a language requires generating convincing text in it, while translating out of it presents a different demand. Including low-resource pairs brought multilingual GPT performance into view, but the Urdu study asks a narrower question about English-to-Urdu output on designated test material. It can therefore use a published score tied to the same translation material as an anchor. The earlier translation evaluation the authors discuss is How Good Are GPT Models at Machine Translation?.

Other projects took a broader view. HELM evaluated an array of openly available, limited-access, and closed systems on English tasks. MEGA compared generative systems with state-of-the-art results across languages and tasks. The study the authors discuss under the title Beyond the Imitation Game added a wide range of tasks and included non-English low-resource languages. For the Urdu paper, these efforts establish ways to compare multiple systems and ways to organize a broad evaluation. The authors’ concern is that breadth across languages still leaves room for an evaluation centered on the range of tasks available in one language. MEGA and Beyond the Imitation Game

The closest procedural precedent the paper identifies is LAraBench, an evaluation of Arabic. The Urdu researchers follow its recommended organization and instruction patterns when preparing prompts. Urdu’s existing datasets supply the tasks, the accepted categories, and the published comparison scores. For instance, a template may establish that the reply should be a label, but the Urdu corpus determines whether the label represents a news topic, an emotion, or a threat. Keeping those parts distinct allows the authors to borrow an evaluation procedure while using standards already defined for each Urdu application.

Why the tasks need different evidence

The choice to cover both text and spoken language makes the benchmark broader than a comparison of chat responses. The text tests include selecting a category for an article, assigning a tag to a word, selecting material for a summary, and composing new text. The speech tests ask a recognizer to convert audio into written Urdu. In a classification test the permitted answers can be listed in advance. For a translation or a transcript, the system has to produce a sequence whose quality depends on the words it includes and how it arranges them.

Even tasks that share a subject can make distinct demands. Urdu news articles can be grouped by topic or judged against a dataset’s real and fake labels. A system can work well for the first task by recognizing the subject matter and still struggle with the second. Likewise, deciding whether abusive language appears and deciding whether a message is threatening are separate problems in the datasets used here. The study keeps the original task definitions so a reader can trace a result to the particular distinction the system had to make.

The paper’s baseline strategy follows from this diversity. A single generic comparison system would have to cover all the tasks and would give up the evidence accumulated for each one. The authors instead use the strongest results reported by the relevant earlier studies. Throughout the paper, “state of the art,” or SOTA, refers to these task-specific published comparators. The term identifies the role of a score in the study. Each such score belongs to a dataset and a metric, so it is possible for one general-purpose system to lead on one task and remain well behind the published comparator on another.

The method, step by step

Start from the test data and its expected answer

The researchers first choose an existing Urdu dataset and establish what counts as a prediction. The prediction may be an article label, a tag for a word, several emotions, an Urdu translation, or a transcript. Each dataset provides a test partition or evaluation material with a reference against which to score the system. The authors keep the metric used by the corresponding published comparison. The method therefore proceeds from a dataset’s definition of the problem to an instruction the system can follow.

Consider an article in the COUNTER corpus. The experiment already has a list of acceptable topics and a reference category for the article. The researchers express the choice in a prompt, run a pretrained text system, and interpret the reply according to the convention in that prompt. A separate scoring step compares the resulting class with the reference. For an audio recording, the same overall logic applies with different inputs and outputs. A pretrained recognizer receives the recording, its transcript is prepared for comparison, and the score reflects differences from the reference transcript.

How the authors benchmark pretrained systems on Urdu tasks

The steps in order.

How the authors benchmark pretrained systems on Urdu tasksStep 1: Select an Urdu test set and published comparator1. Select an Urdu test set and published comparatorStep 2: Identify the expected answer and matching metric2. Identify the expected answer and matching metricStep 3: Test task instructions on sample text inputs3. Test task instructions on sample text inputsStep 4: Run pretrained text systems or speech recognizers4. Run pretrained text systems or speech recognizersStep 5: Normalize predictions for comparison with references5. Normalize predictions for comparison with referencesStep 6: Score outputs against the published benchmark6. Score outputs against the published benchmark

The sample testing applies to prompt design for the text experiments. The speech branch uses pretrained Whisper weights to transcribe the evaluation recordings. The shared features of the branches are the choice of reference, the use of an existing pretrained system, and a scoring procedure that corresponds to the published task result.

Choose systems that can be run

For text, the authors consider accessibility, compute requirements, prior performance, and language coverage. GPT-3.5-turbo is the closed system in the comparison. Its performance on English tasks is a reason for including it, and the authors use the OpenAI API to obtain its replies. Their comparison with more expensive or less accessible closed systems is limited by budget and by concerns about Urdu representation in pretraining. They discuss GPT-4 as a more capable system in their account of the selection, with GPT-3.5 offering a more affordable experimental option. GPT-4 Technical Report

The two Bloomz variants let the authors compare sizes within a multilingual instruction-trained family. Bloomz is a version of BLOOM adapted through multitask prompting, a form of fine-tuning that uses instruction-framed tasks during training. This training took place before the Urdu benchmark. The authors use the available 3B and 7.1B releases because they could run them with the resources on hand. The multilingual corpus underlying BLOOM is ROOTS. Crosslingual Generalization through Multitask Finetuning and The BigScience ROOTS Corpus

The Llama pair is a comparison across releases. The earlier system is Llama 2-7B-Chat, and the later one is Llama 3.1-8B. The paper reports that Llama 2 was trained on 2 trillion tokens, with 89.70% of the content in English. It describes Llama 3.1 as trained on over 15 trillion tokens. Tokens are the units into which text is divided for processing. These reported totals describe the scale of the respective training runs. They give context for the comparison while leaving the amount and composition of Urdu exposure less clear. Tokenization and Llama 2

Ministral 8B adds a system trained on a mixture of multilingual material and code. According to the paper, it can consider up to 128k of input in a single interaction, which is the upper limit of its context window. It uses interleaved sliding-window attention. The relevant idea for the benchmark is that the design aims to handle extended inputs while limiting memory use. The authors chose it partly for this inference profile and the possibility of adapting it later. Its inclusion also adds a comparison with a different training and architectural design from those of the Llama and Bloomz families.

Speech is handled by Whisper Small, Medium, and Large. The paper describes Whisper’s prior training as drawing on 680,000 hours of supervised multilingual and multitask recordings collected from the web, of which 104 hours were Urdu. The benchmark uses the pretrained versions directly. The variants differ in the number of processing layers, the size of their internal representations, and their parameter counts. The paper reports 244 million parameters for Small, 769 million for Medium, and 1550 million for Large. The counts describe the number of learned values in each system. Robust Speech Recognition via Large-Scale Weak Supervision

The paper also records where inference, the running of a trained system on an input, took place. Bloomz ran on Google Colab with a 16GB GPU. The Llama variants and Ministral ran locally on parallel A100 GPUs with a combined capacity of 80GB. The API experiments for GPT-3.5 were conducted from Colab, and the Whisper experiments used RTX3060 GPUs with a combined capacity of 24GB. These settings explain which releases were feasible to include. The results compare the quality of predictions instead of the efficiency of the hardware arrangements.

Put the task and response format into the prompt

“Zero-shot” in the text benchmark means that the system receives an instruction describing the task and an input to classify, tag, summarize, or translate. It receives no solved examples in the prompt and undergoes no additional task training in this study. The instruction may still be quite detailed. It can list category names, assign a number to each answer, or explain how to distinguish a proper name from an ordinary word. The authors try prompts on a few samples per task and adjust them for each system. Zero-shot inference thus coexists with deliberate prompt development.

For named entity recognition, the appendix shows how much the instructions can differ while aiming at the same benchmark task. The system labels a word as referring to a person, an organization, or a location, or assigns it to the remaining category. One GPT-3.5 instruction specifies that a product or brand does not count as an organization under this scheme. It also distinguishes generic references to places from named locations. The Llama 3.1 prompt gives the permitted categories more directly. The benchmark therefore compares systems with instructions selected to work with each of them.

News categorization illustrates a different choice. The categories include national and foreign news alongside sports, showbiz, and business. GPT-3.5 is asked to return the category name, while some other systems are asked to return its numerical code. The coding is an output convention. The underlying decision still concerns the topic of the article. Intent detection uses a comparable strategy for the purpose of a web query. The instruction distinguishes a request for information from a query aimed at navigating somewhere or carrying out an action, then asks the system to identify that purpose in a format the evaluator can interpret.

For tasks with similar names, the instruction has to make the accepted categories especially clear. In the prompts associated with CLE-Hatespeech, systems distinguish hate speech from other material. The appendix uses different numerical conventions for this distinction across systems. Other ISE-Hate instructions list sectarian, interfaith, and ethnic categories along with a residual class. The appendix and results use the names “detection” and “categorization” inconsistently for the ISE-Hate entries. The safest way to follow the benchmark is to keep the reported rows distinct and to describe the actual answer choices wherever the prompts make them clear.

The emotion tasks also show why the output contract matters. The instructions for multi-label emotion detection usually allow several choices for the same text. A result can therefore contain multiple emotions that need to be recognized separately when it is scored. On the single-label Urdu Nastalique Emotions Dataset, the expected response is one category. That change affects both what the instruction must ask the system to do and what the evaluator considers a valid answer. The appendix even shows a prompt under the multi-label heading that asks Ministral for one emotion, a difference that matters when interpreting comparisons under that heading.

For part-of-speech tagging, the prompt presents the tagset itself. The task assigns a grammatical label to a word, with the CLE scheme distinguishing such categories as common nouns, proper nouns, main verbs, and types of auxiliaries. The prompts give the codes for these distinctions and ask for one tag corresponding to the input word. A system has to identify the grammatical category and express it using the codes of this particular scheme. Familiarity with grammatical terms alone would leave that second requirement unmet.

Handle longer answers and speech separately

Extractive summarization uses an instruction that can be treated as a series of selection decisions. The candidate is a sentence or passage from the source, and the reply indicates whether to retain it in the summary. The resulting summary draws its wording from the document. For the meeting corpus, the authors use abstractive summarization. The prompt asks for a new Urdu summary of meeting material. The response has to select important information and formulate it as a coherent condensed text. The paper scores the resulting summaries against examples from each corpus using the overlap measure associated with that benchmark.

The translation prompts specify that the input is English and the output should be in Urdu. Some include a further instruction to return the translated text alone. This helps because an introductory phrase or an explanatory aside would become part of the candidate translation if left in place. The authors use the Quran and Bible test portions of an English–Urdu parallel corpus. Each input has corresponding Urdu reference material. This is an evaluation in a single translation direction on religious text, with separate scores for the two test portions.

Speech recognition has a different input and does not depend on the set of category prompts in the appendix. The authors run Whisper on read and broadcast recordings and compare the resulting text with reference transcripts. The read material and broadcast material are kept separate through scoring. This allows a reader to compare the Whisper variants with one another on each speech domain and then check the result against the domain’s published Urdu benchmark.

Convert replies into predictions

After inference, the authors process replies to get them into the form the reference data expects. Case normalization can make a capitalized class name comparable with the same name in lower-case. When a prompt asks for a numeric code, a response that gives the code followed by the class name can sometimes be reduced to the code. A label followed by an explanation may likewise contain enough information to recover the intended prediction. The paper reports removing notes and explanations in this way, including for the CLE hate speech task.

Other replies present a substantive problem. An article label such as “politics” or “entertainment” is outside the COUNTER options listed in the prompt. A reader may understand why a system chose such a word, but there is no exact corresponding reference class under that name. The article could belong to more than one allowed topic depending on the corpus’s distinctions. The authors identify these out-of-scope labels as errors, along with extra or missing tokens in replies. They report that Llama 2 needed the most output processing among the tested systems.

The procedure therefore gives the evaluator an answer after several operations. The pretrained system interprets the input and the instruction, produces a reply, and the evaluation converts the reply into the expected output representation. A classification score belongs to that full procedure. The paper uses this arrangement to evaluate systems in formats close to those required by the existing datasets. As discussed below, the reported scores combine performance on the linguistic decision with performance on the output convention.

Use the metric that belongs to each benchmark

For most classification and detection tasks, the paper uses macro-F1. For a given class, precision asks how many items assigned to the class actually belong there, while recall asks how many of the reference items in that class were found. F1 combines precision and recall so that a class needs both for a strong score. Macro-F1 averages the class scores with equal weight. A classifier that mostly handles a frequent category well can still receive a low macro-F1 if it has trouble with the other labels. For part-of-speech tagging, the paper reports accuracy, the share of tags that match the reference tags.

The summarization rows specify different ROUGE measures. ROUGE measures overlap between the generated summary and the reference. The CORPURES row reports average ROUGE-2 F1, which uses adjacent pairs of words and combines how much of the candidate and reference overlap. The CLE Meeting Corpus row is labeled average ROUGE-1, using single-word overlap. The paper describes the translation metric as BLEU score with BLEU 1 in its metric list. That setting considers single-word matches when evaluating candidate translations against the references. For speech, word error rate measures the substitutions, missing words, and added words needed to align a transcription with its reference, in relation to the reference length. Lower error rates indicate closer matches.

The comparison tables also show a signed delta. The convention evident in the headline examples can be written as follows.

Δ = S − L

Δ is the signed gap printed for the benchmark row. S is the published state-of-the-art score, and L is the best score from the evaluated pretrained systems for that row. The equals sign expresses the definition, and the minus sign indicates subtraction. Both scores use the same dataset and metric within the row. A negative delta can indicate that the pretrained system wins on a metric where higher is better. With word error rate, a negative delta indicates that the published system has the lower error. Some printed text deltas do not align with their row scores, so the result comparisons below use the scores themselves.

Experiments and results

The tests behind the comparisons

The benchmark reports 17 tasks across 22 datasets. The displayed evaluations include repeat uses of a corpus and multiple tests of a task. ISE-Hate appears in separate rows for hate speech detection and categorization. The Quran and Bible translation portions also have separate rows. Read speech and broadcast speech receive their own results. As a result, a claim about a particular row should identify the task and dataset together. Counts of task types and counts of reported test conditions describe different things.

The test material varies greatly in size. The data table gives 360 test items for COUNTER news categorization and 850 for UWQ-22 intent detection. CORPURES has 311 test items, whereas the meeting summarization test has 10. The English-to-Urdu tests contain 200 Quran and 257 Bible samples. The part-of-speech test is listed with 22,522 items. These counts matter because each score describes the set on which it was computed. In particular, the meeting score has much narrower coverage in test items than the corpus names alone might suggest.

The speech comparison uses 9.5 hours of read material from the Urdu Speech Corpus and 4.3 hours from the Urdu Broadcast Corpus. The read material comes from 62 speakers, with balance across gender and recording channels according to the paper. The broadcast material contains speech from 25 speakers. It combines recordings from broadcast channels and YouTube across genres such as entertainment, current affairs, and health and science. The corpora therefore differ in several ways, including how the speech was produced and the variety of its sources.

The published task comparators come from several kinds of systems. The paper names capsule neural networks, support vector machines, random forests, and decision trees among the examples. Other earlier work uses convolutional networks, multilingual transformers such as m-BERT, and boosting frameworks. The authors take the reported comparator for each task from its respective study and use the associated metric. The benchmark’s SOTA column is consequently a collection of task results. A row for translation and a row for threat detection can have strong comparators without implying that the same system produced both.

News categorization and extraction are the clearest wins

The COUNTER article test gives GPT-3.5 one of the study’s two headline wins over a published comparator. Its macro-F1 is 0.87 against the earlier score of 0.70. Ministral 8B and Llama 3.1 follow at 0.67 and 0.64. The two Bloomz variants score 0.58 and 0.48, and the Llama 2 result is 0.13. A single dataset thus contains a strong result from one prompted system and a weak one from another. The outcome depends on which system is asked to carry out the apparently straightforward instruction to assign a news topic.

COUNTER news categorization test macro-F1

GPT-3.5 leads the evaluated systems and exceeds the published comparator.

COUNTER news categorization test macro-F1GPT-3.5 (this paper): 0.87GPT-3.5 (this paper)0.87Published state of the art: 0.70Published state of the art0.70Ministral 8B: 0.67Ministral 8B0.67Llama 3.1: 0.64Llama 3.10.64Bloomz 3B: 0.58Bloomz 3B0.58Bloomz 7B1: 0.48Bloomz 7B10.48Llama 2: 0.13Llama 20.13
The numbers
System or settingMacro-F1
GPT-3.5 (this paper)0.87
Published state of the art0.70
Ministral 8B0.67
Llama 3.10.64
Bloomz 3B0.58
Bloomz 7B10.48
Llama 20.13

The other headline win is on CORPURES extractive summarization. Llama 3.1 reaches 0.62 on average ROUGE-2 F1, and the published score is 0.57. Llama 2 also clears the published score in the table, at 0.59. Bloomz 7B1 scores 0.55 and GPT-3.5 scores 0.54. The system that leads on COUNTER falls behind both Llama releases on extraction. That reversal is informative because the extraction prompt is itself framed as a decision about whether to retain material. Success at following one instruction to select from a fixed set does not establish how well a system will make those decisions in a summary.

CORPURES extractive summarization test average ROUGE-2 F1

Llama 3.1 leads on summary overlap, with Llama 2 also above the published comparator.

CORPURES extractive summarization test average ROUGE-2 F1Llama 3.1 (this paper): 0.62Llama 3.1 (this paper)0.62Llama 2: 0.59Llama 20.59Published state of the art: 0.57Published state of the art0.57Bloomz 7B1: 0.55Bloomz 7B10.55GPT-3.5: 0.54GPT-3.50.54Ministral 8B: 0.52Ministral 8B0.52Bloomz 3B: 0.46Bloomz 3B0.46
The numbers
System or settingAverage ROUGE-2 F1
Llama 3.1 (this paper)0.62
Llama 20.59
Published state of the art0.57
Bloomz 7B10.55
GPT-3.50.54
Ministral 8B0.52
Bloomz 3B0.46

Abstractive summarization gives a different result. On the CLE Meeting Corpus, the table reports average ROUGE-1 of 0.24 for Llama 3.1 and 0.22 for GPT-3.5. The published score is 0.31. Llama 2, which does well on the extraction test, records 0.006 for this meeting task. This comparison changes the corpus, the metric, and the form of the output. It shows that the CORPURES win does not extend to the paper’s test of generated meeting summaries. The scores cannot identify which of those changes accounts for the different ranking.

Tagging and intent detection favor the published systems

On MK-PUCIT named entity recognition, GPT-3.5 has the highest result among the pretrained systems at 0.55 macro-F1. Llama 3.1 follows at 0.41, with the published comparator at 0.77. This is a task where the instructions can provide concrete guidance about names, organizations, and locations, yet the system still has to recognize what the words refer to and apply those categories consistently across the test set. A usable label format is only part of that work.

Intent detection has a different internal ranking. Llama 3.1 obtains 0.42 macro-F1 on UWQ-22, Ministral 8B obtains 0.34, and GPT-3.5 obtains 0.30. The published score is 0.90. The task offers a short list of answers, but the score depends on interpreting terse web queries and assigning the intended function. Together with the much stronger COUNTER result from GPT-3.5, this shows how much two classification results can differ even when both protocols specify the legal answers in advance.

Part-of-speech tagging is scored with accuracy on the CLE Urdu Tagset test. GPT-3.5 leads the pretrained systems at 0.49 and Llama 3.1 follows at 0.31. The published system reaches 0.96. The prompt provides the inventory of tags, including fine distinctions among grammatical categories. The scores indicate that supplying the tag list gives the system a way to express its decisions, while the decisions and valid use of the tagset remain difficult under this protocol. Accuracy combines correct decisions across the test material into a single number, so the result does not identify which grammatical distinctions account for most of the errors.

Detection performance depends on the corpus and the label

The evaluations of harmful content and misinformation are text classification tasks with several different objectives. On the ISE-Hate row reported as hate speech detection, GPT-3.5 reaches 0.72 macro-F1 and Llama 3.1 reaches 0.70. The published score is 0.83. On CLE-Hatespeech, Llama 3.1 leads the prompted systems at 0.72, followed by GPT-3.5 at 0.67. The earlier published result there is 0.98. The same raw score of 0.72 consequently has a different standing against the comparator in each dataset. The separate ISE-Hate categorization row is weaker for the prompted systems. GPT-3.5 leads it at 0.40, against a published 0.83.

In the Urdu abusive and threatening language experiments, the task split changes which pretrained system does best. On HASOC Task A, abusive language detection, Bloomz 3B reaches 0.51 macro-F1 and Llama 3.1 reaches 0.50. The comparator is 0.88. On HASOC Task B, threat detection, GPT-3.5 leads at 0.49, followed by Ministral 8B at 0.46, against a published 0.54. The authors identify 0.05 as the reported threat detection gap between GPT-3.5 and the published score. The earlier work provides the two kinds of Urdu labels and the respective comparison results. Abusive and threatening language detection in Urdu

On ProSOUL propaganda detection, Llama 3.1 obtains 0.66 macro-F1 and Ministral 8B obtains 0.53. GPT-3.5 records 0.31, while the published score is 0.83. On the fake news test, Llama 3.1 again leads the prompted systems at 0.72, with Ministral 8B at 0.57 and the published result at 0.93. These are two examples where a good relative position among the pretrained systems coexists with a substantial gap to the specialized comparator. The fake news score describes agreement with the dataset’s labels when classifying its inputs. The study does not run a separate test of whether the systems could verify the articles’ claims from evidence.

Cyberbullying identification calls for a more detailed output than a simple yes or no. The prompts ask the systems to choose from categories that include insults, threats, and name-calling, with a category for messages outside the listed forms. Llama 3.1 leads the prompted systems on the cyberbullying corpus at 0.22 macro-F1, and GPT-3.5 scores 0.19. The published comparison stands at 0.84. The low leading score shows how poorly the benchmark protocol captures the corpus’s distinctions in aggregate. The paper does not provide a breakdown that assigns the gap to particular categories or to formatting failures alone.

Sentiment and emotion produce different leaders

For sentiment and emotion, the benchmark includes both the polarity of an opinion and the emotion expressed in a text. On the sentiment dataset from Muhammad and Burney, GPT-3.5 leads the prompted systems at 0.62 macro-F1, with Llama 3.1 at 0.44. The published result is 0.88. On the political sentiment corpus, the order changes. Llama 3.1 reaches 0.37, GPT-3.5 scores 0.31, and the published result is 0.70. The prompt for the political material includes distinctions in the strength of sentiment. These tests place different demands on a system even though both report macro-F1.

On EmoThreat Task A, where text can have multiple emotion labels, Llama 3.1 reaches 0.40 macro-F1 and Ministral 8B reaches 0.29. The published score is 0.68. The table gives no numerical score for Llama 2 on this test. A separate task uses the Urdu Nastalique Emotions Dataset and expects one emotion. There, Ministral 8B leads the prompted systems with 0.41, ahead of GPT-3.5 at 0.32 and Llama 3.1 at 0.24. The published score is 0.87. This is a clear instance where the best choice within the tested general-purpose systems depends on the exact emotion task.

Translation remains well below the comparison scores

The translation tests compare English-to-Urdu outputs against references from the religious parallel corpus. On the Quran test portion, GPT-3.5 leads the prompted systems with BLEU 3.75. Llama 3.1 scores 3.44, and the published comparator is 13.24. The paper prints 2.49e-78 for Llama 2, effectively negligible on the displayed scale. The authors connect very small scores of this kind to missing or effectively invisible bars in the results figure. An extremely small value indicates negligible performance by this metric while leaving the cause open.

Llama 3.1 leads the prompted systems on the Bible portion with BLEU 6.43. GPT-3.5 follows at 5.96, and the published score is 13.99. The test reports 1.31e-78 for Ministral 8B. The change in leader across the portions matters because the same direction and broad genre still allow appreciable variation by dataset. The comparison also puts the detection results for Ministral in perspective. Good performance relative to some peer systems on a detection task offers limited evidence about its ability to generate a translation under the tested conditions.

Whisper improves with size on both speech tests

Word error rate makes the speech comparison easy to read within each domain. On the read speech corpus, Whisper Small scores 36.90, Medium scores 27.88, and Large scores 23.51. The published Urdu recognizer achieves 16.94. The progression across Whisper variants is consistent with the authors’ expectation that the larger variant can provide a stronger transcription. The published result still gives a separate point of reference for what an Urdu system on this material can achieve.

Urdu Speech Corpus read speech test word error rate

Whisper Large has the lowest error among Whisper variants, while the published Urdu recognizer has the lowest error overall.

Urdu Speech Corpus read speech test word error rateWhisper Small: 36.90Whisper Small36.90Whisper Medium: 27.88Whisper Medium27.88Whisper Large (this paper): 23.51Whisper Large (this paper)23.51Published state of the art: 16.94Published state of the art16.94
The numbers
System or settingWord error rate
Whisper Small36.90
Whisper Medium27.88
Whisper Large (this paper)23.51
Published state of the art16.94

The broadcast corpus gives the same ordering. Whisper Small records 42.57 word error rate, Medium 35.57, and Large 27.97. The published comparator reaches 18.59. For Whisper Large, the paper prints signed deltas of -6.57 on read speech and -9.38 on broadcast speech. Both indicate a disadvantage for Whisper under a metric where lower is better. Broadcast speech also gives higher error values than read speech for each of the three Whisper variants. The study observes this pattern across the chosen corpora, whose recording sources and speech genres differ.

Across the text benchmark, the most dependable way to identify a winner is to look up the task and metric together. The results discussion gives inconsistent counts of the tasks led by Llama 3.1 and the tasks on which it beats GPT-3.5. Some printed text deltas also diverge from the comparison implied by the scores in the same row. The individual scores support the main result without relying on those totals or deltas. GPT-3.5 and Llama 3.1 each lead on several text tasks, news categorization and extractive summarization are the headline exceptions to the published systems’ lead, and the speech comparators outperform every Whisper variant tested.

What the ablations show

The paper reports no formal ablation that removes or varies one component while keeping the rest fixed. It does offer comparisons within system families, comparisons across related Urdu tasks, and an inspection of replies that were difficult to score. These analyses are useful for different questions. The within-family comparisons show what happened when the authors substituted an available release. The task comparisons show where that change helped. The inspection of replies identifies failures that aggregate metrics alone cannot explain.

The two text families show different patterns

The Bloomz comparison is the closest text comparison of size variants from the same family. On COUNTER, Bloomz 3B scores 0.58 macro-F1 and Bloomz 7B1 scores 0.48. On CORPURES, the direction reverses, with 0.46 for the smaller variant and 0.55 for the larger variant on average ROUGE-2 F1. The larger version also leads its smaller counterpart on the Quran translation test, while the smaller version performs better on threat detection. The authors take the mixed directions as evidence that moving to the larger Bloomz variant brings no consistent performance improvement for the tasks studied. The comparison describes predictive quality. The paper does not present a resource-normalized test or a statistical significance analysis for the size change.

The comparison across Llama releases gives a clearer pattern of improvement. On UWQ-22 intent detection, Llama 2 scores 0.07 macro-F1 and Llama 3.1 reaches 0.42. On the fake news test, their macro-F1 scores are 0.47 and 0.72. On the Bible test, the BLEU scores are 0.097 and 6.43. There is also improvement on the CORPURES extraction test, where the earlier release already performs well. The general direction supports the paper’s argument that a newer release can be a materially better choice for Urdu even when the two evaluated versions are relatively close in advertised size.

The authors attribute this pattern partly to broader non-English coverage and a larger body of pretraining material. That explanation fits the paper’s description of the releases and the improvement across several kinds of task. The comparison also changes the release’s design, training, and prompt configuration. Without a matched run that changes the Urdu or multilingual training material alone, the benchmark cannot estimate the effect of that part of the training. It demonstrates a gain from using the later system in these evaluations.

Ministral 8B provides another example of why an explanation needs to be kept separate from a measured result. The paper associates its strength on detection tasks with sliding-window attention and the ability to use longer context economically. The reported results show that it can do better than GPT-3.5 on selected detection tasks and lead the tested systems on single-label emotion classification. Establishing the proposed mechanism would require evidence from the same system under different context conditions, from comparable inputs of different lengths, or from an attention comparison. The experiment scores the complete release without making those comparisons.

The speech comparison shows a steadier size ordering

Whisper Small, Medium, and Large are evaluated on the same recordings within each speech domain. Their ordering by word error rate is the same on read and broadcast material. Because the metric, reference transcripts, and recording set are shared within each comparison, the evidence for preferring the large variant on these corpora is more direct than an aggregate comparison across heterogeneous text tasks. The larger variant produces fewer word errors in each speech evaluation.

The authors also observe that the published systems trained with more Urdu speech outperform Whisper. This comparison puts two sources of an advantage side by side. A larger pretrained recognizer performs better within the Whisper family. A recognizer built with more substantial Urdu data achieves lower error than any tested Whisper variant. The paper attributes the specialized systems’ advantage partly to their Urdu training material. Their score also reflects the rest of their training and design, so the experiments cannot assign a portion of that advantage specifically to the amount of Urdu data.

Reply analysis locates a source of classification errors

The authors identify two recurring kinds of mismatch between replies and references. Some replies include extra text or omit tokens needed for the expected answer. Others give a label outside the set authorized by the dataset. These failures have different implications. A reply containing a valid category followed by commentary can be recoverable by extracting the category. A plausible label outside the permitted inventory can convey part of the input’s meaning while failing to express the required decision.

The news example makes the distinction concrete. Returning a permitted topic with a change in capitalization is largely a matter of presentation. Assigning an article to politics when the allowed topics distinguish national and foreign coverage leaves a decision to be made. The ambiguity is in how the generated label corresponds to the dataset’s classes. Normalization can address the first case. The second reveals a problem with controlling which choices the system considers or with how the system interprets the available choices.

The paper associates these problems with lower F1 and reports that Llama 2 required the most processing. It gives examples rather than frequencies for different error types. Nor does it score the same replies before and after each cleanup operation. The analysis establishes that formatting and label scope are real sources of failure in the pipeline. The available evidence does not show how much of a particular gap would disappear if a system always returned a valid label, or how much would remain because it chose the wrong valid label.

Limitations

Limits stated by the authors

The authors restrict the study to systems they were able to access and run. They name Bloomz-170B and Llama 3.1 405B as larger variants left out because of compute and hardware limits. Budget and concern about Urdu coverage also constrained the choice of closed systems. The benchmark therefore describes the tested releases. It leaves open whether larger variants in the same families, or other closed systems, would reach higher Urdu scores. The different patterns in Bloomz and Whisper also make it difficult to infer an answer from the available size comparisons alone.

The authors also limit their conclusions to the zero-shot setting they evaluated. In this study, that setting includes prompts developed on a few samples and output processing to match the benchmark. Fine-tuning on a labeled Urdu task or adapting a system to a particular domain could change its performance and its reliability in returning valid outputs. The paper proposes adapting Llama 3.1 to strengthen its Urdu support and pursuing domain-specific fine-tuning. It also describes a public Urdu leaderboard and broader benchmark coverage as future work. Those are plans beyond the results reported here.

A further limit raised by the authors is the incomplete analysis of pretraining material. They discuss broad language coverage, token totals, and the amount of Urdu speech reported for Whisper. They do not extensively assess which Urdu varieties, genres, or styles the training material represents, or the quality of that material. This matters for the suggested explanation of Llama 3.1’s improvement. A system that has seen more multilingual text may perform better for several reasons, and the paper cannot distinguish exposure to relevant Urdu material from the effects of other changes in training.

Limits visible in the benchmark design

The published comparison scores are measurements from earlier studies. Keeping the same metric and test target gives a useful reference, but the experiment does not rerun every specialized system under one common inference and preprocessing implementation. The comparison answers whether prompted systems reach the performance reported for the task. It does not hold architecture, access to training data, or the amount of engineering fixed. The result that specialized systems typically lead should be understood in that practical sense.

The prompts also make the systems less directly comparable as mechanisms. GPT-3.5 can be asked to use a category name where another system is asked for a code. The CLE hate speech prompts change the code associated with the same decision across systems. The multi-label emotion appendix includes a Ministral instruction that calls for one emotion. These differences are visible even though the experiments aim at a shared task. They leave room for part of the variation to come from the way a system was asked to respond. The paper describes sample-based prompt selection but gives no separate estimate of sensitivity to alternative wordings or scores under a single common prompt.

Similar limits apply to post-processing. Recovering a category from a case variant or a longer answer is reasonable when its intended meaning is clear. The examples in the paper explain the need for cleanup, but the results do not quantify how different recovery rules affect the rankings. There are also no separate rates for replies that were invalid on arrival, replies that became valid after cleanup, and valid replies that were semantically wrong. A low end score can therefore reflect several kinds of failure whose proportions are unknown.

The benchmark has limited coverage within some domains. The translation scores come from Quran and Bible material in the English-to-Urdu direction. They describe the tested releases on those sources. Other translation directions and everyday Urdu genres remain outside the experiment. The meeting summarization test contains 10 items, leaving a narrow basis for generalizing across meetings. ROUGE also describes overlap with reference wording. The paper supplies no separate human assessment of how well the meeting summaries preserve decisions or whether a translation that scores poorly remains intelligible and faithful.

The read and broadcast corpora differ in speakers, recording sources, and speech material. A consistent deterioration on the broadcast set supports a corpus-level observation about the difficulty of that test for Whisper. It does not isolate any one source of the difference, such as recording conditions or the character of the speech. Word error rate also combines insertions, substitutions, and deletions into one score. The results give the overall ordering under that measure without showing which kind of error changes most with size.

The reporting has a few inconsistencies that affect how finely the results can be interpreted. The text table identifies different ROUGE settings for extractive and abstractive summarization, whereas the discussion of the figure groups summarization under ROUGE-2. The paper gives differing counts for text-task leadership, and some reported deltas are hard to reconcile with the printed scores. The ISE-Hate appendix headings and the answer choices under them also leave uncertainty about how to map the prompts to both reported rows. Using the metric and score written in each result row preserves the clearest available comparisons, while the exact aggregate counts and the ISE-Hate prompt mapping warrant caution.

Finally, the harmful-content tasks assess agreement with the individual corpora’s annotations. Macro-F1 gives all classes equal weight in the aggregate, but the paper does not report performance across demographic groups or show how false positives and false negatives would play out in deployment. The misinformation test likewise scores predictions against labels in its dataset. These evaluations indicate how the systems perform on the specified Urdu recognition problems. They leave broader questions about fairness, evidence checking, and the consequences of errors open.

What came after

Framing Political Bias in Multilingual LLMs Across Pakistani Languages cites the Urdu benchmark and addresses political bias across Pakistani languages. Its title identifies a shift in the evaluation question. Tahir and colleagues measure how well pretrained systems carry out defined Urdu tasks, including sentiment analysis on political material. The later study concerns political framing and makes the comparison across languages part of its subject. Agreement with a political sentiment label and the way a system frames a political issue are distinct properties, so the earlier scores offer context for the later question without answering it.

The citation establishes a connection between the studies. It leaves open whether the later authors reused any of the Urdu corpora, tested the same releases, or adopted the prompt and scoring procedures. The continuity that can be established is the focus on empirical evaluation in specific languages and domains. The Urdu benchmark gives task-level evidence for one language, while the later work takes up a question about political bias across Pakistani languages.

Cite

Cite as Munief Hassan Tahir, Sana Shams, Layba Fiaz, Farah Adeeba and Sarmad Hussain. 2025. Benchmarking the Performance of Pre-trained LLMs across Urdu NLP Tasks. Proceedings of the First Workshop on Challenges in Processing South Asian Languages (CHiPSAL 2025).

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

@inproceedings{tahir2025benchmarking,
  title = {{Benchmarking the Performance of Pre-trained LLMs across Urdu NLP Tasks}},
  author = {Munief Hassan Tahir, Sana Shams, Layba Fiaz, Farah Adeeba and Sarmad Hussain},
  booktitle = {Proceedings of the First Workshop on Challenges in Processing South Asian Languages (CHiPSAL 2025)},
  year = {2025},
  url = {https://aclanthology.org/2025.chipsal-1.3/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/tahir-2025-benchmarking-performance-pre-trained-llms/