Approximating Human-Like Few-shot Learning with GPT-based Compression
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2016Matching Networks for One Shot Learningcited by 2,255
30 more
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
- 2015Variational Inference with Normalizing Flowscited by 2,170
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
- 2020Fact or Fiction: Verifying Scientific Claimscited by 554
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
- 2021True Few-Shot Learning with Language Modelscited by 344
- 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
- 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 201
- 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 161
- 2016Towards a Neural Statisticiancited by 121
- 2019Practical Lossless Compression with Latent Variables using Bits Back Codingcited by 86
- 2019Integer Discrete Flows and Lossless Compressioncited by 83
- 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
- 2019Bit-Swap: Recursive Bits-Back Coding for Lossless Compression with Hierarchical Latent Variablescited by 52
- 2022Evaluating Unsupervised Text Classification: Zero-shot and Similarity-based Approachescited by 39
- 2018Low-shot Learning via Covariance-Preserving Adversarial Augmentation Networkscited by 35
- 2017Low-shot learning with large-scale diffusioncited by 33
- 2018DeepZip: Lossless Data Compression using Recurrent Neural Networkscited by 33
- 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
- 2022Few-Shot Non-Parametric Learning with Deep Latent Variable Modelcited by 5
- 2022Fast Lossless Neural Compression with Integer-Only Discrete Flowscited by 4
- 2020Wikipedia Citations: A comprehensive dataset of citations with identifiers extracted from English Wikipediacited by 3
- 2023A Theory of Human-Like Few-Shot Learningcited by 2
Built on by
Citing papers per year: 2024: 6; 2025: 0; 2026: 1.
7 papers.
- 2024MoRAL: MoE Augmented LoRA for LLMs' Lifelong Learningcited by 63
- 2024Lossless data compression by large modelscited by 20
- 2024MQA-KEAL: Multi-hop Question Answering under Knowledge Editing for Arabic Languagecited by 9
- 2024Enhancing Text Authenticity: A Novel Hybrid Approach for AI-Generated Text Detectioncited by 7
- 2024Ranking LLMs by compressioncited by 2
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Modelscited by 2
- 2026In-Context Source and Channel Codingcited by 1
- 2026In-Context Source and Channel Coding15 Jan 2026
- 2024An Enhanced Text Compression Approach Using Transformer-based Language Models15 Dec 2024
- 2024MQA-KEAL: Multi-hop Question Answering under Knowledge Editing for Arabic Language18 Sep 2024
- 2024Lossless data compression by large models24 Jun 2024
- 2024Ranking LLMs by compression20 Jun 2024
- 2024Enhancing Text Authenticity: A Novel Hybrid Approach for AI-Generated Text Detection1 Jun 2024
- 2024MoRAL: MoE Augmented LoRA for LLMs' Lifelong Learning17 Feb 2024