mlsanityData to 14 Oct 2026

Rep2Text: Decoding Full Text from a Single LLM Token Representation

arXiv 2511.06571 ↗First posted 9 Nov 2025cs.CL cs.AI cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

Large language models (LLMs) have achieved remarkable progress across diverse tasks, yet their internal mechanisms remain largely opaque. In this work, we investigate a fundamental question: to what extent can the original input text be recovered from a single last-token representation in an LLM? To this end, we propose Rep2Text, a novel framework for decoding text from last-token representations. Rep2Text employs a trainable adapter that maps a target model's last-token representation into the token embedding space of a decoding language model, which then autoregressively reconstructs the input text. Experiments across various model combinations (Llama-3.1-8B, Gemma-7B, Mistral-7B-v0.1, Llama-3.2-3B, etc.) show that, on average, roughly half of the tokens in 16-token sequences can be recovered from this compressed representation while preserving strong semantic coherence. Further analysis reveals a clear information bottleneck effect: as sequence length increases, token-level recovery declines, while semantic information remains relatively well preserved. We also find that scaling effects are less pronounced in inversion tasks. Finally, our framework demonstrates robust generalization to out-of-distribution clinical data.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 21 of its 32 references that are in the map. First posted on arXiv 9 Nov 2025.

Builds on

21 of 32 references.

References · 21

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2023Visual Instruction Tuningcited by 7,869
  4. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  5. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  6. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  7. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  8. 2024The Platonic Representation Hypothesiscited by 382
  9. 2023Language Models Represent Space and Timecited by 316
  10. 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 235
  11. 2020Information Leakage in Embedding Modelscited by 203
  12. 2023Text Embeddings Reveal (Almost) As Much As Textcited by 192
9 more
  1. 2023Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentencecited by 81
  2. 2025A Survey on Sparse Autoencoders: Interpreting the Internal Mechanisms of Large Language Modelscited by 76
  3. 2024SelfIE: Self-Interpretation of Large Language Model Embeddingscited by 67
  4. 2024LatentQA: Teaching LLMs to Decode Activations Into Natural Languagecited by 51
  5. 2024Transferable Embedding Inversion Attack: Uncovering Privacy Risks in Text Embeddings without Model Queriescited by 25
  6. 2023Localizing Lying in Llama: Understanding Instructed Dishonesty on True-False Questions Through Prompting, Probing, and Patchingcited by 24
  7. 2025Depth Gives a False Sense of Privacy: LLM Internal States Inversioncited by 17
  8. 2024InversionView: A General-Purpose Method for Reading Information from Neural Activationscited by 7
  9. 2025InverseScope: Scalable Activation Inversion for Interpreting Large Language Modelscited by 2

Built on by

Cited by year (2026 to 14 Oct)

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

7 papers.