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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on10
- ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei ZahariaSIGIR 2020 · 1,246 citations
- ConveRT: Efficient and Accurate Conversational Representations from TransformersMatthew Henderson, Iñigo Casanueva, Nikola Mrksic, Pei-Hao Su et al.EMNLP Findings 2020 · 179 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
Related papers
- Imagination is All You Need! Curved Contrastive Learning for Abstract Sequence Modeling Utilized on Long Short-Term Dialogue PlanningJustus-Jonas Erker, Stefan Schaffer, Gerasimos SpanakisACL Findings 2023
- 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
