MetricBERT: Text Representation Learning via Self-Supervised Triplet Training

Itzik Malkiel, Dvir Ginzburg, Oren Barkan, Avi Caciularu, Yoni Weill +1 more
8/13/2022
cs.CL
contrastive-ssl

No confident code implementation found for this paper.

Abstract

We present MetricBERT, a BERT-based model that learns to embed text under a well-defined similarity metric while simultaneously adhering to the ``traditional'' masked-language task. We focus on downstream tasks of learning similarities for recommendations where we show that MetricBERT outperforms state-of-the-art alternatives, sometimes by a substantial margin.

Show full abstract

We conduct extensive evaluations of our method and its different variants, showing that our training objective is highly beneficial over a traditional contrastive loss, a standard cosine similarity objective, and six other baselines. As an additional contribution, we publish a dataset of video games descriptions along with a test set of similarity annotations crafted by a domain expert.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{malkiel2022metricbert,
  title  = {MetricBERT: Text Representation Learning via Self-Supervised Triplet Training},
  author = {Itzik Malkiel and Dvir Ginzburg and Oren Barkan and Avi Caciularu and Yoni Weill and Noam Koenigstein},
  year   = {2022},
  eprint = {2208.06610},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.06610v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.06610.svg)](https://codeofpaper.com/paper/2208.06610)

Discussion