Patent Representation Learning via Self-supervision
Paper
•
2511.10657
•
Published
PatentMap-V0-Dropout is a patent embedding model trained on abstract section with dropout augmentation. It is part of the PatentMap V0 model collection.
This model expects patent text formatted with special tokens:
Title [SEP] [abstract] Abstract text[section] Section text (no title prefix)Example:
# Abstract with title
text = "Smart thermostat system [SEP] [abstract] A thermostat system comprising..."
# Claim without title
text = "[claim] A method comprising: step 1, step 2..."
from transformers import AutoTokenizer, AutoModel
import torch
# Load model and tokenizer
model_name = "ZoeYou/PatentMap-V0-Dropout"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
# Format patent text
title = "Smart thermostat system"
abstract = "A thermostat system comprising a temperature sensor..."
patent_text = f"{title} [SEP] [abstract] {abstract}"
# Encode and get embeddings
inputs = tokenizer(patent_text, return_tensors="pt", padding=True, truncation=True, max_length=512)
with torch.no_grad():
outputs = model(**inputs)
embeddings = outputs.last_hidden_state[:, 0, :] # CLS token
print(embeddings.shape) # torch.Size([1, 1024])
This model has been evaluated on multiple patent-specific tasks:
For detailed evaluation results, see the PatentMap paper.
This model is designed for:
If you use this model, please cite:
@article{zuo2025patent,
title={Patent Representation Learning via Self-supervision},
author={Zuo, You and Gerdes, Kim and de La Clergerie, Eric Villemonte and Sagot, Beno{\^i}t},
journal={arXiv preprint arXiv:2511.10657},
year={2025}
}
This model is part of the PatentMap V0 collection. For an overview of all models, see PatentMap-V0.
This model is released under CC BY-NC 4.0 license (non-commercial use only).
For questions or issues, please open an issue on the GitHub repository or contact the authors.
Base model
anferico/bert-for-patents