PatenTEB: A Comprehensive Benchmark and Model Family for Patent Text Embedding

Iliass Ayaou, Denis Cavallucci
10/25/2025
cs.CLcs.AIcs.IR

Official code: iliass-y/patenteb (10 stars, last commit 2025-10-30).

Abstract

Patent text embeddings enable prior art search, technology landscaping, and patent analysis, yet existing benchmarks inadequately capture patent-specific challenges. We introduce PatenTEB, a comprehensive benchmark comprising 15 tasks across retrieval, classification, paraphrase, and clustering, with 2.06 million examples. PatenTEB employs domain-stratified splits, domain specific hard negative mining, and systematic coverage of asymmetric fragment-to-document matching scenarios absent from general embedding benchmarks. We develop the patembed model family through multi-task training, spanning 67M to 344M parameters with context lengths up to 4096 tokens. External validation shows strong generalization: patembed-base achieves state-of-the-art on MTEB BigPatentClustering.v2 (0.494 V-measure vs. 0.445 previous best), while patembed-large achieves 0.377 NDCG@100 on DAPFAM. Systematic ablations reveal that multi-task training improves external generalization despite minor benchmark costs, and that domain-pretrained initialization provides consistent advantages across task families. All resources will be made available at https://github.com/iliass-y/patenteb. Keywords: patent retrieval, sentence embeddings, multi-task learning, asymmetric retrieval, benchmark evaluation, contrastive learning.

View on arXivView PDF

Code Implementations(1)

iliass-y/patentebOfficial100%

Summary repo for patenTEB paper ressources

100Oct 28, 202511 months ago

Similar Papers

Cite this paper

@article{ayaou2025patenteb,
  title  = {PatenTEB: A Comprehensive Benchmark and Model Family for Patent Text Embedding},
  author = {Iliass Ayaou and Denis Cavallucci},
  year   = {2025},
  eprint = {2510.22264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.22264v1}
}

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/2510.22264.svg)](https://codeofpaper.com/paper/2510.22264)

Discussion