NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond

Jingfeng Yang, Hongye Jin, Ruixiang Tang, Xiaotian Han, Qizhang Feng, Haoming Jiang, Shaochen Zhong, Bing Yin, Xia Ben Hu · DOI

Abstract

The rapid proliferation of Large Language Models (LLMs) since the release of ChatGPT has fundamentally altered the Natural Language Processing (NLP) landscape. Practitioners now face a "paradox of choice" between massive, general-purpose models and smaller, task-specific fine-tuned models. This paper synthesizes findings from hundreds of studies to provide a comprehensive roadmap for navigating this explosion. We present an evolutionary lineage of model architectures and a practical decision-making framework to guide engineers in selecting the optimal tool based on task complexity, data availability, and operational constraints such as cost and latency.

Introduction

Historically, NLP research focused on building specialized models for distinct tasks. However, the emergence of LLMs—defined here as models with over 20 billion parameters used without task-specific tuning—has shifted the paradigm toward multi-purpose systems. While models like GPT-4 offer unprecedented capabilities, they are not always the most efficient or effective choice for every application. Engineers must weigh the benefits of massive scale against the precision and lower operational costs of traditional fine-tuned models like RoBERTa or T5.

The Evolutionary Landscape of LLMs

To understand the current state of the art, it is necessary to trace the architectural lineage of these models. The field has branched into three primary directions: Encoder-only (BERT-style) optimized for understanding, Decoder-only (GPT-style) which dominates modern generative LLMs, and Encoder-Decoder (T5-style) architectures.

The Evolutionary Tree of Large Language Models, tracing the lineage of encoder-only, decoder-only, and encoder-decoder architectures.

This "Evolutionary Tree" highlights the shift toward decoder-only architectures in the most recent and powerful models, such as PaLM, LLaMA, and the GPT-4 series. Understanding these roots helps practitioners identify which model families are best suited for specific downstream tasks.

A Practical Decision Framework

Choosing the right model involves navigating a series of trade-offs. The authors propose a heuristic decision flow to assist practitioners in this process, moving from high-level application goals down to specific data constraints.

A heuristic decision flow for selecting between LLMs and fine-tuned models based on task requirements.

Key considerations in this flow include:

  • Task Complexity: Does the task require "emergent abilities" like multi-step reasoning or complex code generation that only appear at scale?
  • Data Availability: Is there a high-quality annotated dataset available for fine-tuning? If not, the zero-shot or few-shot capabilities of LLMs are often superior.
  • Out-of-Distribution (OOD) Resilience: LLMs generally generalize better to noisy, real-world data compared to specialized models that may overfit to specific training distributions.

Comparative Performance and Insights

The survey reveals several critical insights into model performance across different domains:

  • NLU vs. NLG: While LLMs dominate Natural Language Generation (NLG), smaller fine-tuned models remain highly competitive in Natural Language Understanding (NLU) tasks like sentiment analysis or toxicity detection, provided sufficient data is available.
  • Scaling Laws: Certain skills are only unlocked once a model reaches a specific parameter threshold. These "emergent abilities" cannot be easily replicated in smaller models through distillation.
  • Human Preference: In creative tasks, human evaluators often prefer LLM outputs for their coherence and creativity, even when traditional metrics like ROUGE or BLEU suggest a fine-tuned model is more technically accurate.

Operational Constraints: Cost and Latency

The resource gap between model types is staggering. Training a model like GPT-3 (175B) is estimated to cost approximately $4.6 million, compared to $1.3 million for a T5-11B model. Furthermore, inference latency remains a significant hurdle. Large models like InstructGPT are often too slow for high-speed search indexing without extensive optimization, making smaller models or API-based solutions more attractive for specific latency-sensitive use cases.

Limitations and Future Directions

Despite their power, LLMs face significant challenges including hallucinations, where models generate false information, and inherent societal biases present in training data. Furthermore, the growing trend toward closed-source models (e.g., GPT-4, PaLM) limits the academic community's ability to conduct transparent research. Future work must focus on model alignment, improved evaluation benchmarks for "messy" real-world data, and better methods for predicting performance gains relative to model scaling.

Summary updated

BibTeX
@article{yang2024harnessing,
  author = {Jingfeng Yang and Hongye Jin and Ruixiang Tang and Xiaotian Han and Qizhang Feng and Haoming Jiang and Shaochen Zhong and Bing Yin and Xia Ben Hu},
  title = {{Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond}},
  journal = {ACM Trans. Knowl. Discov. Data},
  year = {2024},
  doi = {10.1145/3649506},
}
Figure