TensorX
返回文献探索

Paper · arXiv 2402.01093

Specialized Language Models with Cheap Inference from Limited Domain Data

David Grangier, Angelos Katharopoulos, Pierre Ablin, Awni Hannun

47 upvotesFebruary 2, 2024arXiv 预印本
AI 摘要

The study evaluates various machine learning approaches under constrained inference and training budgets, demonstrating that hyper-networks and mixture of experts perform well with large pretraining budgets, while small models trained on importance sampled datasets are better with large specialization budgets.

large language modelspretraining budgetspecialization budgetinference budgetin-domain training setvanilla transformer modelshyper-networksmixture of expertsimportance sampled datasets

Abstract

Large language models have emerged as a versatile tool but are challenging to apply to tasks lacking large inference budgets and large in-domain training sets. This work formalizes these constraints and distinguishes four important variables: the pretraining budget (for training before the target domain is known), the specialization budget (for training after the target domain is known), the inference budget, and the in-domain training set size. Across these settings, we compare different approaches from the machine learning literature. Limited by inference cost, we find better alternatives to the standard practice of training very large vanilla transformer models. In particular, we show that hyper-networks and mixture of experts have better perplexity for large pretraining budgets, while small models trained on importance sampled datasets are attractive for large specialization budgets.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Specialized Language Models with Cheap Inference from Limited Domain Data | TensorX