embedding-optimization

Tag

Cards List
#embedding-optimization

Recovering Input Text from Hidden States: Study of Gradient-Based Inversion of Decoder-Only Language Models

arXiv cs.CL · 2026-07-02 Cached

This paper studies the problem of recovering input token sequences from last-layer hidden states of decoder-only language models using continuous embedding-space optimization, revealing that high-frequency function words are the main failure points while content words recover almost perfectly, achieving up to 97.5% exact-match rate.

0 favorites 0 likes
#embedding-optimization

Self-Improving In-Context Learning

arXiv cs.CL · 2026-05-25 Cached

This paper proposes a method to improve in-context learning by optimizing the continuous embeddings of a fixed few-shot prompt at test time, using a self-supervised confidence proxy derived from the model's log-probabilities without requiring fine-tuning or token generation.

0 favorites 0 likes
← Back to home

Submit Feedback