TL;DR
This paper introduces an economic framework, inspired by production functions, to analyze the trade-offs between using machine-translated (MT) and manually-created data for fine-tuning massively multilingual language models (MMLMs). They find that even with zero-cost MT, some manual data is often optimal for achieving the best performance at the lowest cost, and that manual data is significantly more sample-efficient.
What Problem Does This Paper Address?
Fine-tuning large multilingual models (MMLMs) for specific tasks often requires labeled data in target languages. While zero-shot transfer is a starting point, performance can be inconsistent, especially for low-resource or typologically distant languages. Two common strategies to improve performance are: 1) "translate-train," where existing data from a pivot language is machine-translated to the target language, and 2) few-shot learning, using a small amount of manually labeled target language data.
However, there's a lack of systematic understanding of the cost-performance trade-offs between these two approaches, especially when considering combinations of both. The cost of MT is generally lower per instance than manual labeling, but the amount of data needed to achieve a certain performance level can differ drastically. This paper aims to bridge this gap by modeling these trade-offs using an economic lens.
Methods
The core of the paper is the adaptation of production functions from microeconomics to model the relationship between data inputs (machine-translated data $T$, manual data $M$) and model performance ($\Pi$). They propose an Additive Model with Unequal Elasticities (AMUE) as a functional form for performance: $\Pi = a_{zs} + a_t T^{\alpha_t} + a_m M^{\alpha_m}$. This model allows for different elasticities ($\alpha_t, \alpha_m$) and contributions ($a_t, a_m$) from translated and manual data, respectively, while also accounting for the zero-shot performance ($a_{zs}$).
They define key economic concepts in this context:
- Performance Function ($\Pi$): Maps data inputs to performance.
- Sample Efficiency ($\Psi$): The marginal gain in performance from an additional unit of data (analogous to marginal product).
- Cost Function ($\kappa$): Linear combination of data quantities and their unit costs ($ \kappa = c_t T + c_m M $).
- Isoperf Curves: Contours of constant performance on a $T-M$ diagram.
- Isocost Curves: Contours of constant cost on a $T-M$ diagram.
- Expansion Path: The locus of tangency points between isoperfs and isocosts, representing the cost-minimizing data allocation for increasing performance levels.
They also use Gaussian Process Regression (GPR) as an alternative, data-driven approach to model the performance function, serving as a benchmark for their proposed AMUE model.
Datasets
The primary dataset used for the case study is TyDiQA-GoldP, a question-answering dataset comprising manually labeled data for nine typologically diverse languages. English was used as the pivot language ($P$). Machine-translated data ($T$) was generated using Azure Translator.
Key Insights and Ideas
- Manual Data is Highly Sample-Efficient: The study consistently shows that manual data is significantly more sample-efficient than machine-translated data, often by an order of magnitude or more. This means fewer manual examples are needed to achieve the same performance gain compared to translated examples.
- Optimal Mix: Manual Data is Crucial: Even when machine translation is cheap or free, the optimal strategy for achieving the best performance at the lowest cost often involves including some amount of manually collected data. This is because manual data provides a more efficient way to improve performance.
- Cost Ratio Matters: The relative cost of manual data ($c_m$) versus machine-translated data ($c_t$) heavily influences the optimal allocation. When manual data is much more expensive ($c_t/c_m$ is small), the optimal strategy leans towards using more translated data, but only up to a point.
- Expansion Paths Reveal Allocation Strategies: The "expansion paths" derived from the economic model visually demonstrate how to allocate resources between translated and manual data to achieve higher performance at the minimum cost. These paths can bend towards the $T$ or $M$ axis depending on the relative costs and sample efficiencies.
- Paucity of Pivot Data Increases MT Value: The usefulness of machine-translated data appears to be higher when the amount of available pivot language data is less. This suggests that MT can be more beneficial in scenarios with very limited initial resources.
Key Results
- The AMUE model and GPR both fit the experimental data well, with GPR providing a slightly better fit (RMSE of 2.43 vs. 5.84, r² of 0.98 vs. 0.90).
- For most languages, the estimated parameters show that manual data has a significantly higher contribution to performance ($a_m > a_t$) and sample efficiency ($\alpha_m > \alpha_t$).
- In the case study, even when the cost ratio ($c_t/c_m$) was as low as 0.01, the optimal strategy often involved a mix of manual and translated data. For example, for Swahili with $c_t/c_m = 0.1$, the optimal policy still suggested collecting about thrice as much manual data as translated data.
- For Telugu, the translate-train setup showed poor performance gains, aligning with previous findings, but the AMUE model could still capture these nuances.
Limitations and Future Work
- Single-Pivot, Single-Target: The current framework is limited to a single pivot language and a single target language. Future work could extend this to multiple pivot and target languages, requiring multi-output production functions.
- Technology Independence: The framework doesn't explicitly model different technologies (e.g., different MMLMs, MT systems, or training curricula). Exploring how these choices impact trade-offs is a promising direction.
- Translation Quality: The current model assumes a certain quality of MT output. Investigating the impact of varying translation quality on the cost-performance trade-offs is an important area for future research.
- Predictive Power: The current framework requires data to estimate performance functions. Future work could explore predicting performance trade-offs based on linguistic properties, enabling better planning before data collection.
- Generalizability: The authors believe the performance function approach can be generalized to other NLP problems involving technology, cost, and data trade-offs, opening up a new avenue for studying the "economics of language data."
Summary updated