pith. sign in

arxiv: 2308.06942 · v1 · pith:F3LTVFJPnew · submitted 2023-08-14 · 💻 cs.AI · cs.CL· cs.IT· math.IT

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

classification 💻 cs.AI cs.CLcs.ITmath.IT
keywords compressioninformationlearningtextdistancemodelsachievesapproximate
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. TextEconomizer: Enhancing Lossy Text Compression with Denoising Transformers and Entropy Coding

    cs.CL 2026-06 unverdicted novelty 3.0

    Presents TextEconomizer, a transformer-based encoder-decoder for lossy text compression claiming 5.39x ratio, near-perfect semantic quality via standard metrics, and 153x fewer parameters than comparables.