EMNLP Findings2024
Cost-Performance Optimization for Processing Low-Resource Language Tasks Using Commercial LLMs
Arijit Nag, Animesh Mukherjee, Niloy Ganguly, Soumen Chakrabarti
摘要
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 wellknown 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 1 ) 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. Dataset TechniquesAs Bn Bd
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Language Model Tokenizers Introduce Unfairness Between Languages 引用了 MEGA: Multilingual Evaluation of Generative AI
- Language Model Tokenizers Introduce Unfairness Between Languages 引用了 Unsupervised Cross-lingual Representation Learning at Scale
- MEGA: Multilingual Evaluation of Generative AI 引用了 XGLUE: A New Benchmark Datasetfor Cross-lingual Pre-training, Understanding and Generation
- XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languages 引用了 Unsupervised Cross-lingual Representation Learning at Scale
它引用的 Paper11
- Unsupervised Cross-lingual Representation Learning at ScaleAlexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary 等ACL 2020 · 539 次引用
- Language Model Tokenizers Introduce Unfairness Between LanguagesAleksandar Petrov, Emanuele La Malfa, Philip H. S. Torr, Adel BibiNeurIPS 2023 · 301 次引用
- XGLUE: A New Benchmark Datasetfor Cross-lingual Pre-training, Understanding and GenerationYaobo Liang, Nan Duan, Yeyun Gong, Ning Wu 等EMNLP 2020 · 232 次引用
- XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 LanguagesTahmid Hasan, Abhik Bhattacharjee, Md. Saiful Islam, Kazi Samin Mubasshir 等ACL Findings 2021 · 228 次引用
- MEGA: Multilingual Evaluation of Generative AIKabir Ahuja, Harshita Diddee, Rishav Hada, Millicent Ochieng 等EMNLP 2023 · 91 次引用
相关 Paper
- Do All Languages Cost the Same? Tokenization in the Era of Commercial Language ModelsOrevaoghene Ahia, Sachin Kumar, Hila Gonen, Jungo Kasai 等EMNLP 2023 · 24 次引用
- In-context Mixing (ICM): Code-mixed Prompts for Multilingual LLMsBhavani Shankar, Preethi Jyothi, Pushpak BhattacharyyaACL 2024
- CodeMixBench: Evaluating Code-Mixing Capabilities of LLMs Across 18 LanguagesYilun Yang, Yekun ChaiEMNLP 2025 · 1 次引用
- Enhancing Cross-Lingual Transfer through Reversible Transliteration: A Huffman-Based Approach for Low-Resource LanguagesWenhao Zhuang, Yuan Sun, Xiaobing ZhaoACL 2025 · 1 次引用
- Beyond Next Token Prediction: Patch-Level Training for Large Language ModelsChenze Shao, Fandong Meng, Jie ZhouICLR 2025
