CLJan 16, 2025

Domain Adaptation of Foundation LLMs for e-Commerce

arXiv:2501.09706v39 citationsh-index: 21ACL
AI Analysis

This work addresses the need for domain-specific foundation models in e-commerce, offering a base for further tuning, but it is incremental as it builds on existing Llama models with domain adaptation.

The authors tackled the problem of adapting foundation large language models (LLMs) to the e-commerce domain by continuously pretraining Llama 3.1 models on 1 trillion tokens of domain-specific data, resulting in e-Llama models (8B and 70B parameters) that maintain general performance while being adapted for e-commerce tasks.

We present the e-Llama models: 8 billion and 70 billion parameter large language models that are adapted towards the e-commerce domain. These models are meant as foundation models with deep knowledge about e-commerce, that form a base for instruction- and fine-tuning. The e-Llama models are obtained by continuously pretraining the Llama 3.1 base models on 1 trillion tokens of domain-specific data. We discuss our approach and motivate our choice of hyperparameters with a series of ablation studies. To quantify how well the models have been adapted to the e-commerce domain, we define and implement a set of multilingual, e-commerce specific evaluation tasks. We show that, when carefully choosing the training setup, the Llama 3.1 models can be adapted towards the new domain without sacrificing significant performance on general domain tasks. We also explore the possibility of merging the adapted model and the base model for a better control of the performance trade-off between domains.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes