Research map / Large language models / Language, safety and interpretability
Look Both Ways and No Sink: Converting LLMs into Text Encoders without Training
Ziyong Lin, Haoyi Wu, Shu Wang, Kewei Tu, Zilong Zheng, Zixia Jia
Tsinghua University · BIGAI · ShanghaiTech University · Shanghai Engineering Research Center of Intelligent Vision and Imaging · University of California, Los Angeles
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add MASK0&BIDIR conversion | NV-Embed-V2 · CoNLL 2003 NER | F1: 70.7 -> 85.9 | Improved |
| add MASK0&BIDIR conversion | NV-Embed-V2 · MTEB (15 tasks) | average score: 74.7 -> 75.8 | Improved |
| add MASK0&BIDIR conversion | GTE-Qwen2-7B · CoNLL 2003 NER | F1: 71.5 -> 80.2 | Improved |
| mask first token in bidirectional layers (MASK0-BIDIR) instead of plain bidirectional (INPLACE-BIDIR) (ablation) | E5-mistral · MTEB / CoNLL averaged | AVG: 72.9 -> 78.2 | Improved |
| add bidirectional layers on top of nosink layers (MASK0&BIDIR vs MASK0-BIDIR) (ablation) | E5-mistral · MTEB / CoNLL averaged | AVG: 78.2 -> 79.6 | Improved |
| convert forward layers to backward rather than bidirectional when k is small (ablation) | TinyLlama-1.1B · CoNLL 2003 NER and MTEB | performance | Improved |
| convert too many layers (k large) to backward or bidirectional (ablation) | TinyLlama-1.1B · CoNLL 2003 NER and MTEB | performance | Hurt |
| add extra converted layers (EXTRA / EXTEND architectures) (ablation) | TinyLlama-1.1B · MTEB | performance | No clear effect |
| mask the first token in all layers (MASK0-ALL) (ablation) | TinyLlama-1.1B · CoNLL / MTEB | performance | No clear effect |
| MASK0-BIDIR on other decoders | GPT-2, Mistral-1.1B, Olmo-1B, Phi-3.5-mini · CoNLL 2003 NER | F1 | Improved |
| add MASK0&BIDIR conversion | Finma-7B · Finance NER | F1: 67.8 -> 89.5 | Improved |
| add MASK0&BIDIR conversion | LLama-Lawyer · Law tasks | average: 74.8 -> 78.1 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- NV-Embed-V2 — NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (ICLR 2025) · better on 4 of 4 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in LLM pruning and scaling data
Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?
- Experiments are small and larger models or corpora are untested. · 34 papers state it
- The method adds training or compute overhead over the baseline. · 20 papers state it
- Most evaluation uses English or a few high-resource languages. · 13 papers state it
Closest papers by meaning
- A Comprehensive Study of Decoder-Only LLMs for Text-to-Image Generation (CVPR 2025 · similarity 0.90)
- Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models (NeurIPS 2024 · similarity 0.89)
- Frozen Transformers in Language Models Are Effective Visual Encoder Layers (ICLR 2024 · similarity 0.88)
- Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibration (ICML 2024 · similarity 0.88)
- When Attention Sink Emerges in Language Models: An Empirical View (ICLR 2025 · similarity 0.87)
- On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMs (NeurIPS 2026 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.