Metraipolis › archive › dc_17ba86045284

Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMs — arXiv:2609.32684

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.32684
License (as archived)
CC0-1.0
Archived
2026-10-07T21:52:18.855Z
SHA-256 of the archived text
ee57f797bb80ea9a62f779c540e82584a366ac4a3ae70ed510e3d4ef425b6a60
Stable URL of this page
https://metraipolis.com/documento/dc_17ba86045284

How to cite

Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMs — arXiv:2609.32684 — arXiv (en), https://arxiv.org/abs/2609.32684 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_17ba86045284 (Metraipolis archive dc_17ba86045284, sha256 ee57f797bb80ea9a62f779c540e82584a366ac4a3ae70ed510e3d4ef425b6a60)
BibTeX
@misc{dc17ba86045284,
  title = {Focusing Condition: Inference-Time Self-Contrastive Steering Elicits Better Conditional Text Embeddings in LLMs — arXiv:2609.32684},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.32684},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_17ba86045284; sha256 ee57f797bb80ea9a62f779c540e82584a366ac4a3ae70ed510e3d4ef425b6a60},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.32684. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Extracting conditional text embeddings from large language models (LLMs) is a promising paradigm, as it requires neither additional data nor fine-tuning. Existing methods incorporate conditions into prompts to guide LLMs to focus on specific aspects and elicit conditional text embeddings. However, relying solely on prompts often fails to produce high-quality conditional text embeddings, as they remain entangled with general text embeddings, ultimately degrading their quality. To this end, we propose an inference-time, plug-and-play Self-Contrastive Steering (SCS) method that constructs unconditional general text embeddings and uses them to refine conditional text embeddings, making them more focused on the target condition. Specifically, we modify the attention mask and positional encodings to mask the condition, thereby obtaining unconditional text embeddings and intervening in the multi-head self-attention computation process. Notably, our method is highly efficient, requiring only a single additional multi-head self-attention computation at inference time. Extensive experiments on clustering, Semantic Textual Similarity, and triplet alignment datasets demonstrate that our method can seamlessly improve the performance of existing prompt-based methods across different LLMs in a training-free and plug-and-play manner. Our code will be released at this https URL

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2609.32684 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T21:27:08.461Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).