Nugget: Neural Agglomerative Embeddings of Text

Guanghui Qin, Benjamin Van Durme
2/12/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Embedding text sequences is a widespread requirement in modern language understanding. Existing approaches focus largely on constant-size representations. This is problematic, as the amount of information contained in text often varies with the length of the input. We propose a solution called Nugget, which encodes language into a representation based on a dynamically selected subset of input tokens. These nuggets are learned through tasks like autoencoding and machine translation, and intuitively segment language into meaningful units. We demonstrate Nugget outperforms related approaches in tasks involving semantic comparison. Finally, we illustrate these compact units allow for expanding the contextual window of a language model (LM), suggesting new future LMs that can condition on significantly larger amounts of content.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{qin2026nugget,
  title  = {Nugget: Neural Agglomerative Embeddings of Text},
  author = {Guanghui Qin and Benjamin Van Durme},
  year   = {2026},
  eprint = {2310.01732},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.01732},
  journal = {ICML 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.01732.svg)](https://codeofpaper.com/paper/2310.01732)

Discussion