Triple-Encoders: Representations That Fire Together, Wire Together
Justus-Jonas Erker, Florian Mai, Nils Reimers, Gerasimos Spanakis, Iryna Gurevych
Abstract
Search-based dialog models typically reencode the dialog history at every turn, incurring high cost. Curved Contrastive Learning, a representation learning method that encodes relative distances between utterances into the embedding space via a bi-encoder, has recently shown promising results for dialog modeling at far superior efficiency. While high efficiency is achieved through independently encoding utterances, this ignores the importance of contextualization. To overcome this issue, this study introduces triple-encoders, which efficiently compute distributed utterance mixtures from these independently encoded utterances through a novel hebbian inspired co-occurrence learning objective in a self-organizing manner, without using any weights, i.e., merely through local interactions. Empirically, we find that triple-encoders lead to a substantial improvement over bi-encoders, and even to better zeroshot generalization than single-vector representation models without requiring re-encoding. Our code 1 and model 2 are publicly available.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on7
- ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 citations
- Efficient Document Re-Ranking for Transformers by Precomputing Term RepresentationsSean MacAvaney, Franco Maria Nardini, Raffaele Perego, Nicola Tonellotto et al.SIGIR 2020 · 62 citations
- A Statutory Article Retrieval Dataset in FrenchAntoine Louis, Gerasimos SpanakisACL 2022 · 59 citations
- Modularized Transfomer-based Ranking FrameworkLuyu Gao, Zhuyun Dai, Jamie CallanEMNLP 2020 · 52 citations
- Why LLMs Hallucinate, and How to Get (Evidential) Closure: Perceptual, Intensional, and Extensional Learning for Faithful Natural Language GenerationAdam BouyamournEMNLP 2023 · 9 citations
Related papers
- MuCo: Multi-turn Contrastive Learning for Multimodal Embedding ModelGeonmo Gu, Byeongho Heo, Jaemyung Yu, Jaehui Hwang et al.CVPR 2026 · 2 citations
- CODER: An efficient framework for improving retrieval through COntextual Document Embedding RerankingGeorge Zerveas, Navid Rekabsaz, Daniel Cohen, Carsten EickhoffEMNLP 2022 · 10 citations
- Dial2vec: Self-Guided Contrastive Learning of Unsupervised Dialogue EmbeddingsChe Liu, Rui Wang, Junfeng Jiang, Yongbin Li et al.EMNLP 2022 · 4 citations
- DialogueCSE: Dialogue-based Contrastive Learning of Sentence EmbeddingsChe Liu, Rui Wang, Jinghua Liu, Jian Sun et al.EMNLP 2021 · 27 citations
- Pre-training Intent-Aware Encoders for Zero- and Few-Shot Intent ClassificationMujeen Sung, James Gung, Elman Mansimov, Nikolaos Pappas et al.EMNLP 2023 · 1 citation
