mlsanityData to 7 Oct 2026

Cost-Performance Optimization for Processing Low-Resource Language Tasks Using Commercial LLMs

arXiv 2403.05434 ↗First posted 8 Mar 2024cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) exhibit impressive zero/few-shot inference and generation quality for high-resource languages (HRLs). A few of them have been trained on low-resource languages (LRLs) and give decent performance. Owing to the prohibitive costs of training LLMs, they are usually used as a network service, with the client charged by the count of input and output tokens. The number of tokens strongly depends on the script and language, as well as the LLM's subword vocabulary. We show that LRLs are at a pricing disadvantage, because the well-known LLMs produce more tokens for LRLs than HRLs. This is because most currently popular LLMs are optimized for HRL vocabularies. Our objective is to level the playing field: reduce the cost of processing LRLs in contemporary LLMs while ensuring that predictive and generative qualities are not compromised. As means to reduce the number of tokens processed by the LLM, we consider code-mixing, translation, and transliteration of LRLs to HRLs. We perform an extensive study using the IndicXTREME classification and six generative tasks dataset, covering 15 Indic and 3 other languages, while using GPT-4 (one of the costliest LLM services released so far) as a commercial LLM. We observe and analyze interesting patterns involving token count, cost, and quality across a multitude of languages and tasks. We show that choosing the best policy to interact with the LLM can reduce cost by 90% while giving better or comparable performance compared to communicating with the LLM in the original LRL.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 24 of its 28 references that are in the map. First posted on arXiv 8 Mar 2024.

Builds on

24 of 28 references.

References · 24

  1. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  2. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  3. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  4. 2019Language Models as Knowledge Bases?cited by 1,922
  5. 2023A Multitask, Multilingual, Multimodal Evaluation of ChatGPT on Reasoning, Hallucination, and Interactivitycited by 888
  6. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  7. 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
  8. 2022Language Models are Multilingual Chain-of-Thought Reasonerscited by 518
  9. 2020TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languagescited by 486
  10. 2021XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languagescited by 346
  11. 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 344
  12. 2023MEGA: Multilingual Evaluation of Generative AIcited by 291
12 more
  1. 2020XGLUE: A New Benchmark Dataset for Cross-lingual Pre-training, Understanding and Generationcited by 221
  2. 2023Language Model Tokenizers Introduce Unfairness Between Languagescited by 207
  3. 2023Do All Languages Cost the Same? Tokenization in the Era of Commercial Language Modelscited by 186
  4. 2023Is ChatGPT A Good Translator? Yes With GPT-4 As The Enginecited by 172
  5. 2021XTREME-R: Towards More Challenging and Nuanced Multilingual Evaluationcited by 167
  6. 2023Not All Languages Are Created Equal in LLMs: Improving Multilingual Capability by Cross-Lingual-Thought Promptingcited by 163
  7. 2023IndicTrans2: Towards High-Quality and Accessible Machine Translation Models for all 22 Scheduled Indian Languagescited by 149
  8. 2021Samanantar: The Largest Publicly Available Parallel Corpora Collection for 11 Indic Languagescited by 133
  9. 2020IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understandingcited by 108
  10. 2022Towards Leaving No Indic Language Behind: Building Monolingual Corpora, Benchmark and Models for Indic Languagescited by 99
  11. 2021AVocaDo: Strategy for Adapting Vocabulary to Downstream Domaincited by 20
  12. 2023Conic10K: A Challenging Math Problem Understanding and Reasoning Datasetcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 1.

7 papers.