All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

ReverseEOL: A simple method to improve text embeddings by reversing input text in decoder-only LLMs

By

[Submitted on 4 Jun 2026]

4h ago· 2 min readenInsight

Summary

This paper introduces ReverseEOL (Reverse prompting with Explicit One-word Limitation), a method to improve training-free text embeddings from decoder-only Large Language Models. The key insight is that causal attention in decoder-only LLMs prevents earlier tokens from accessing future context, creating biased representations. ReverseEOL addresses this by augmenting standard forward embeddings with an additional reversed embedding derived from reversed input text. This reversal exposes each token to previously inaccessible context, providing complementary information. Combining forward and reversed embeddings yields richer final representations. Experiments on STS and MTEB benchmarks show significant improvements across diverse LLM architectures and scales.

Key quotes

· 5 pulled
ReverseEOL augments the standard forward embedding with an additional reversed embedding derived from the reversed input text.
Since reversing the input exposes each token to context inaccessible in the original order, the resulting reversed embedding effectively provides complementary information to the original one.
Combining the forward and reversed embeddings yields a richer final representation.
Comprehensive experiments on STS and MTEB benchmarks demonstrate that ReverseEOL significantly improves the performance of existing training-free baselines across a broad range of LLMs with diverse architectures and scales.
Extensive ablations and analyses further confirm the necessity of our reversal mechanism.
Snippet from the RSS feed
Recent advances in Large Language Models (LLMs) have opened new avenues for generating training-free text embeddings. However, the causal attention in decoder-only LLMs prevents earlier tokens from attending to future context, leading to biased contextual

You might also wanna read