Tele-LLMs: A Series of Specialized Large Language Models for Telecommunications

Ali Maatouk, Kenny Chirino Ampudia, Rex Ying, Leandros Tassiulas · DOI

Abstract

This paper introduces Tele-LLMs, the first open-source series of Large Language Models (LLMs) specifically optimized for the telecommunications domain. Ranging from 1 billion to 8 billion parameters, these models are developed through a rigorous domain-adaptation framework involving specialized data curation (Tele-Data) and a novel evaluation benchmark (Tele-Eval). Experimental results demonstrate that Tele-LLMs significantly outperform general-purpose models like Llama-3 and GPT-4o on telecom-specific technical tasks while maintaining general reasoning capabilities.

Introduction

While general-purpose LLMs have achieved remarkable success, they often struggle with the specialized requirements of the telecommunications industry. Telecom data is characterized by dense academic literature, complex 3GPP standards, and intricate mathematical notation. General models frequently lack the "domain intuition" necessary to handle specific technical terminology or the unique formatting of protocol specifications. Furthermore, privacy concerns regarding sensitive network data often preclude the use of proprietary models like GPT-4. Tele-LLMs address these challenges by providing specialized, open-source alternatives for tasks such as network modeling, document analysis, and standards-compliant assistant development.

Methodology

The development of Tele-LLMs follows a rigorous four-stage pipeline for domain adaptation:

  1. Data Curation & Cleaning: An automated pipeline utilizing a "teacher" model (Mixtral 8x7B) filters millions of documents for telecom relevance. A key technical contribution is the unification of equations, converting disparate formats from PDFs and Word documents into standardized LaTeX to ensure consistent learning of mathematical relationships.
  2. Continual Pretraining: Rather than training from scratch, existing base models (TinyLlama, Phi-1.5, Gemma, and Llama-3) undergo continual pretraining on the specialized Tele-Data corpus.
  3. Full Fine-Tuning (FFT): The authors found that Parameter-Efficient Fine-Tuning (PEFT) was insufficient for injecting deep domain knowledge. Consequently, they opted for Full Fine-Tuning, updating all model parameters to fully absorb the new technical distribution.
  4. Instruction Tuning: To enhance utility as assistants, the models undergo a final stage of instruction fine-tuning using datasets such as Alpaca and Open-Instruct.
The four-stage pipeline for Tele-LLM development: data curation, evaluation generation, experimental explorations, and model elaboration.

Datasets

The paper introduces two primary resources for the research community:

  • Tele-Data: A 2.7-billion-token corpus curated from four sources: arXiv preprints, 3GPP standards, Wikipedia, and filtered web content.
  • Tele-Eval: A massive evaluation suite comprising 750,000 open-ended question-and-answer pairs. This benchmark avoids the selection bias common in multiple-choice evaluations, providing a more robust measure of semantic understanding.

Key Insights and Results

Training Dynamics

A critical discovery in the training process was the "Two-Epoch" Sweet Spot. The researchers found that training for exactly two epochs is ideal: the first epoch serves as a "warm-up" to the new domain, while the second (utilizing a decaying learning rate) allows for final adjustments. Beyond two epochs, models began to overfit, memorizing training examples rather than learning general concepts. To mitigate catastrophic forgetting of general reasoning, a 5% mix of general-purpose data (SlimPajama) was included during specialized training.

Training and validation loss curves alongside learning rate schedules for Tele-LLM models, illustrating the convergence behavior over the training epochs.

Performance Benchmarks

Tele-LLMs demonstrated an average 25% relative improvement over their respective base models on the Tele-Eval benchmark. In mathematical reasoning (GSM-8K), the Llama-3-8B-Tele model achieved 10% higher accuracy than the base Llama-3, likely due to the high density of equations in the telecom training data. Notably, when fine-tuned for specific downstream tasks like citation recommendation, the 8B Tele-LLM outperformed GPT-4o, demonstrating that targeted fine-tuning allows smaller models to rival frontier models in specialized niches.

Conclusion

Tele-LLMs represent a significant step forward in domain-specific AI for telecommunications. While these models excel at processing text and equations, future work will focus on multimodal capabilities, enabling models to reason directly about raw wireless measurements, signal patterns, and network topology maps.

Summary updated

BibTeX
@misc{maatouk2024tele,
  author = {Ali Maatouk and Kenny Chirino Ampudia and Rex Ying and Leandros Tassiulas},
  title = {{Tele-LLMs: A Series of Specialized Large Language Models for Telecommunications}},
  year = {2024},
  eprint = {2409.05314},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.05314},
}
Figure