Reproduce “One Sentence, Two Embeddings: Contrastive Learning of Explicit and Implicit Semantic Representations” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Kohei Oda, Po-Min Chuang, Kiyoaki Shirai, Natthawut Kertkeidkachorn

DualCSE gives sentences separate explicit and implicit representations for literal meaning and figurative or pragmatic implications. It trains them with INLI entailment categories, pulling vectors toward explicit or implied hypotheses and away from contradictions. On RTE, its RoBERTa cross-encoder reaches 73.40% accuracy on implied entailments, versus 69.10% for SimCSE; its four-category average is 80.18% versus 79.40%, with evidence limited to these tasks.

Key insights

  • Explicitly modeling explicit and implicit semantics with separate embeddings provides a more comprehensive and nuanced representation of sentence meaning, overcoming the limitations of single-vector approaches.
  • A contrastive learning framework, when guided by datasets that differentiate between explicit and implied entailment, can effectively disentangle these distinct semantic types.
  • The ability to generate and separately utilize explicit and implicit embeddings allows for greater adaptability and improved performance in downstream NLP tasks requiring different levels of semantic understanding.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.