blog

not necessarily, the technical ones.


Is Fine-Tuning All We Need in Low-Resource AI?

November 21, 2024
Engraving of a mature tree with a young branch grafted onto its trunk, beside a grafting knife
a small branch, borrowed roots

a graft is a thin shoot bound to a trunk it never grew, drinking through roots that took decades to go down. that is the bargain of fine-tuning: the new branch carries the fruit and does none of the digging. the open question is whether borrowed roots can reach ground they were never grown in.

Back to all posts

Most of the world's languages, and most specialized domains, don't have the big labeled datasets that modern AI was built on. A widely cited study found that the large majority of the world's languages are barely represented in NLP research and data [1]. So in low-resource AI, little data is not an edge case. It is the normal situation.

The usual answer is simple: take a big pre-trained model and fine-tune it. That works well enough that many people stop thinking there. This post is about what happens after that.

Short answer: fine-tuning is the right first step, but it is not all you need. And the better question is not “should I fine-tune?” but “what should I change in the model, and what should I leave alone?”

Why fine-tuning works

Pre-trained models already know a lot about language. BERT showed that you can pre-train once and adapt the same model to many tasks [2]. Part of the reason it needs so little data is that adapting a big model is a smaller job than it looks. Pre-trained models have a very low “intrinsic dimension”: a task can be learned by moving in a tiny slice of the parameters, and larger models need even less [3]. That is why a few hundred examples can still move a model with billions of weights.

It is also cheap now. LoRA freezes the base model and trains small low-rank matrices instead [4]. QLoRA went further and made it possible to fine-tune a 65B-parameter model on a single 48 GB GPU [5].

Where fine-tuning breaks

1. Few examples make training unstable. Fine-tuning BERT with only a small number of examples turns out to be unstable and sensitive to details like optimizer settings and training length, so the same recipe can give very different results on different seeds [6]. In a low-resource setting you cannot just add more data to smooth that out.

2. It can damage what the model already knew. Full fine-tuning can distort the pre-trained features and do worse on data that looks different from your training set. A two-step approach, training the last layer first and then fine-tuning everything, helped [7]. When you have 500 examples from one source, “different from your training set” describes most of the real world.

3. The base model may not know your language. A multilingual model has to share limited capacity across many languages. The XLM-R authors call this the curse of multilinguality: adding languages helps low-resource ones up to a point, then starts to hurt [8]. Multilingual BERT also transfers better between related languages than distant ones [9]. If your language was thin in pre-training, fine-tuning on a small dataset cannot create knowledge that isn't there.

4. Cost and bias. Training large models has a real compute and energy cost [10], and they inherit the biases of their training data [11]. Fine-tuning does not remove either one. It sits on top of them.

What to try besides plain fine-tuning

Keep pre-training on your own text first. A second phase of pre-training on text from your domain or task, even without labels, gave consistent gains before fine-tuning [12]. For a low-resource language, unlabeled text is usually much easier to find than labeled text.

Tune less, not more. Adapters add small modules and keep the rest frozen [13]. MAD-X stacks a language adapter and a task adapter, so you can train the task part in a high-resource language and swap in a language adapter for a new one, including languages the model barely saw [14]. LoRA is the same idea with low-rank updates [4].

Few-shot and fine-tuning are not opposites. Giving a big model examples in the prompt, called in-context learning, became popular with GPT-3 [15]. But T-Few showed that fine-tuning a small number of parameters on a few examples can beat in-context learning with much larger models, at a much lower cost [16].

Make more data, carefully. In back-translation, you take real text in your target language and translate it into another language with a reverse model. Then you use the pairs as new training data. This improved machine translation without any new human labels [17]. Synthetic data is a tool, not a cure, so check samples by hand.

Borrow from a cousin. Train on a related language with more data and transfer [9][14]. For Nepali, Hindi is a natural one to try, since both are written in Devanagari and share a lot of vocabulary.

A practical order

  1. Pick the strongest base model that actually saw your language. Check, don't assume.
  2. If you can find unlabeled text, continue pre-training on it [12].
  3. Fine-tune with LoRA or adapters instead of all the weights [4][13].
  4. Run several seeds and report the mean and the spread, because few-example results swing a lot [6].
  5. Test on data from a different source than your training data [7].
  6. Only then add augmentation or cross-lingual transfer, and measure each one on its own.

So, is fine-tuning all we need?

No, but it is the right place to start. In low-resource AI the data you have is small, so every choice counts: what to freeze, what to tune, and how to check the result honestly. The teams that do well are usually not the ones with the biggest model. They are the ones who know what to leave alone.

References

  1. Joshi, Santy, Budhiraja, Bali, Choudhury. The State and Fate of Linguistic Diversity and Inclusion in the NLP World ACL 2020.
  2. Devlin, Chang, Lee, Toutanova. BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding NAACL 2019.
  3. Aghajanyan, Gupta, Zettlemoyer. Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning ACL 2021.
  4. Hu et al. LoRA: Low-Rank Adaptation of Large Language Models ICLR 2022.
  5. Dettmers, Pagnoni, Holtzman, Zettlemoyer. QLoRA: Efficient Finetuning of Quantized LLMs NeurIPS 2023.
  6. Zhang, Wu, Katiyar, Weinberger, Artzi. Revisiting Few-sample BERT Fine-tuning ICLR 2021.
  7. Kumar, Raghunathan, Jones, Ma, Liang. Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution ICLR 2022.
  8. Conneau et al. Unsupervised Cross-lingual Representation Learning at Scale ACL 2020.
  9. Pires, Schlinger, Garrette. How Multilingual is Multilingual BERT? ACL 2019.
  10. Strubell, Ganesh, McCallum. Energy and Policy Considerations for Deep Learning in NLP ACL 2019.
  11. Bender, Gebru, McMillan-Major, Shmitchell. On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? FAccT 2021.
  12. Gururangan et al. Don't Stop Pretraining: Adapt Language Models to Domains and Tasks ACL 2020.
  13. Houlsby et al. Parameter-Efficient Transfer Learning for NLP ICML 2019.
  14. Pfeiffer, Vulić, Gurevych, Ruder. MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfer EMNLP 2020.
  15. Brown et al. Language Models are Few-Shot Learners NeurIPS 2020.
  16. Liu et al. Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning NeurIPS 2022.
  17. Sennrich, Haddow, Birch. Improving Neural Machine Translation Models with Monolingual Data ACL 2016.

Anmol Guragain © 2026