mlsanityData to 14 Oct 2026

Approximating Human-Like Few-shot Learning with GPT-based Compression

arXiv 2308.06942 ↗First posted 14 Aug 2023cs.AI cs.CL cs.ITcited by 7

Not on the map. Why?

Abstract (arXiv)

In this work, we conceptualize the learning process as information compression. We seek to equip generative pre-trained models with human-like learning capabilities that enable data compression during inference. We present a novel approach that utilizes the Generative Pre-trained Transformer (GPT) to approximate Kolmogorov complexity, with the aim of estimating the optimal Information Distance for few-shot learning. We first propose using GPT as a prior for lossless text compression, achieving a noteworthy compression ratio. Experiment with LLAMA2-7B backbone achieves a compression ratio of 15.5 on enwik9. We justify the pre-training objective of GPT models by demonstrating its equivalence to the compression length, and, consequently, its ability to approximate the information distance for texts. Leveraging the approximated information distance, our method allows the direct application of GPT models in quantitative text similarity measurements. Experiment results show that our method overall achieves superior performance compared to embedding and prompt baselines on challenging NLP tasks, including semantic similarity, zero and one-shot text classification, and zero-shot text ranking.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 42 of its 79 references that are in the map. First posted on arXiv 14 Aug 2023.

Builds on

42 of 79 references.

References · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  7. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  8. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  9. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  11. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  12. 2016Matching Networks for One Shot Learningcited by 2,255
30 more
  1. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  2. 2015Variational Inference with Normalizing Flowscited by 2,170
  3. 2019Language Models as Knowledge Bases?cited by 1,936
  4. 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
  5. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  6. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
  7. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  8. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
  9. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  10. 2020Fact or Fiction: Verifying Scientific Claimscited by 554
  11. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
  12. 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
  13. 2021True Few-Shot Learning with Language Modelscited by 344
  14. 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
  15. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 201
  16. 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 161
  17. 2016Towards a Neural Statisticiancited by 121
  18. 2019Practical Lossless Compression with Latent Variables using Bits Back Codingcited by 86
  19. 2019Integer Discrete Flows and Lossless Compressioncited by 83
  20. 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
  21. 2019Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variablescited by 52
  22. 2022Evaluating Unsupervised Text Classification: Zero-shot and Similarity-based Approachescited by 39
  23. 2018Low-shot Learning via Covariance-Preserving Adversarial Augmentation Networkscited by 35
  24. 2017Low-shot learning with large-scale diffusioncited by 33
  25. 2018DeepZip: Lossless Data Compression using Recurrent Neural Networkscited by 33
  26. 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
  27. 2022Few-Shot Non-Parametric Learning with Deep Latent Variable Modelcited by 5
  28. 2022Fast Lossless Neural Compression with Integer-Only Discrete Flowscited by 4
  29. 2020Wikipedia Citations: A comprehensive dataset of citations with identifiers extracted from English Wikipediacited by 3
  30. 2023A Theory of Human-Like Few-Shot Learningcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 0; 2026: 1.

7 papers.