Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

A Comprehensive Overview of Large Language Models

Large language models are surveyed across training, adaptation, compression, and reasoning

  • Problem Full fine-tuning and deployment of LLMs with tens to hundreds of billions of parameters is too costly for many users, since GPT-3 alone needs five 80GB A100 GPUs.
  • Method The authors survey parameter-efficient tuning, quantization and pruning as ways to cut running costs.
  • Results The survey maps the existing LLM literature into one reference that covers background and frontier topics.

Why full fine-tuning and serving get expensive

The efficiency problem starts with model size, because adapting a model of GPT-3's scale by updating every weight is costly. Storing GPT-3 at 175B parameters in FP16 means five 80GB A100 GPUs and 350GB of memory. That gap makes the cost of large models hard to reach for smaller organizations, so cheaper adaptation and serving methods matter.

Tuning a small set of added parameters

The core idea is to keep the pre-trained weights fixed and train only a small added component. Adapter tuning inserts a module that downscales the features, applies a non-linearity and upscales them back inside transformer blocks. LoRA takes a different route: it learns low-rank matrices beside frozen weights, then fuses them with the original weights at inference, so no extra latency is added.

Prompt tuning needs even less, training only 0.001%-3% additional parameters for the cited method. Manual prompts are brittle, since changing one word can drop performance, which is why trainable prompt parameters were introduced.

Compared with full fine-tuning, PEFT does better when data are scarce, roughly matches it at medium data, and does worse when data are plentiful. So the right choice depends on how much labeled data is available for the target task.

Shrinking weights with quantization and pruning

Post-training quantization needs little or no extra training, and it aims to keep performance close to the original. SmoothQuant moves quantization difficulty from activations onto the weights by smoothing activations, which yields INT8 values. OPTQ quantizes a model layer by layer and updates the remaining weights to offset the error it introduces.

Quantization-aware training goes further by fine-tuning the quantized model to recover lost accuracy. QLoRA combines this with LoRA, fine-tuning a 4-bit quantized model through LoRA using a 4-bit normal float.

Wanda prunes weights in each row by importance, and it needs no fine-tuning of the pruned model afterwards. Structured pruning removes groups of parameters, which speeds up inference on hardware. LLM-Pruner, for example, identifies groups of hidden states, removes the less important ones, and then fine-tunes the result with LoRA.

Code generation results from the cited works

Codex generates 100 program versions for each description by repeated sampling. The authors tie this to programming being iterative, since programs are often debugged and updated before they meet the requirements.

AlphaCode ranks in the top 54.3% among over 5000 competitors in simulated Codeforces competitions. Its model family spans 300M to 41B parameters and uses multi-query attention to reduce memory and cache costs.

The fine-tuned StarCoder variant outperforms PaLM, LLaMA and LAMDA on the HumanEval and MBPP benchmarks. StarCoder reaches a context length of 8k by employing Flash attention.

Open problems: cost, hallucination and reasoning

Training LLMs needs large computational resources, which raises production costs and energy use. Gains from extra compute slow down, following a power law of diminishing returns, when model and dataset size are held fixed.

LLMs can produce hallucinations, which are responses that sound plausible but are incorrect or do not match the given information. The paper separates these into input-conflicting, context-conflicting and fact-conflicting hallucinations.

Reasoning and planning remain weak, because LLMs mainly generate text by likelihood and offer no solid guarantees on reasoning.

Paper info

Authors
Humza Naveed, Asad Ullah Khan, Shi Qiu, Muhammad Saqib, Saeed Anwar, Muhammad Usman, Naveed Akhtar, Nick Barnes, Ajmal Mian
Venue
arXiv · Preprint
First published
2023-7-12
Added
2026-11-12
Updated
2024-10-17
Version
v10
arXiv
2307.06435
Category
cs.CL
Original paper terms
CC BY 4.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Humza Naveed, Asad Ullah Khan, Shi Qiu, Muhammad Saqib, Saeed Anwar, Muhammad Usman, Naveed Akhtar, Nick Barnes, Ajmal Mian (2023). A Comprehensive Overview of Large Language Models. arXiv:2307.06435v10. https://arxiv.org/abs/2307.06435v10

BibTeX
@misc{naveed2023comprehensive,
  title = {{A Comprehensive Overview of Large Language Models}},
  author = {Humza Naveed and Asad Ullah Khan and Shi Qiu and Muhammad Saqib and Saeed Anwar and Muhammad Usman and Naveed Akhtar and Nick Barnes and Ajmal Mian},
  year = {2023},
  eprint = {2307.06435},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.06435v10}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up