USPTO AI Patent Dataset (AIPD)
The Artificial Intelligence Patent Dataset (AIPD) is a ready-made labelling of the US patent record, produced by the Office of the Chief Economist at the US Patent and Trademark Office. Rather than full text, it supplies a classification layer. For each of roughly 13.2 million granted patents and pre-grant publications published between 1976 and 2023, machine learning models predict whether the document involves artificial intelligence and, if so, which of eight component technologies it touches (machine learning, natural language processing, computer vision, speech, knowledge processing, AI hardware, evolutionary computation, and planning and control). The 2023 update rebuilt the models using BERT for Patents in place of the earlier Word2Vec embeddings, and the USPTO asks that users cite the accompanying paper.
You download it as flat tables in Stata (.dta) and CSV format from the USPTO Open Data Portal, where links now mint a temporary signed URL, or from the Open Data Portal bulk directory. The main predictions file is under a gigabyte, so the whole thing fits comfortably on a laptop. There is no query API, so you join the predictions to patent numbers yourself.
For RAG and AI work the value is as a filter and an enrichment layer, not a text corpus. Join it to a full-text source such as Google Patents Public Datasets, PatentsView, or the HUPD collection to pull only AI-related documents into an index, or to tag retrieved patents by AI technology when reranking. It is best for building a focused AI prior-art assistant or for studying trends in AI invention.
The licence position is unusually clean. The dataset carries a Creative Commons Public Domain Mark 1.0, so commercial use is permitted with no attribution or share-alike obligation, though a citation is requested as a courtesy. The one caveat is currency, because coverage ends in 2023 and will not reflect recent filings.
Related sources
BIGPATENT
A corpus of 1.3 million US utility patents filed between 1971 and 2018, each paired with its human-written abstract as a gold-standard summary and organised by Cooperative Patent Classification code. A large, clean patent text corpus built for abstractive summarisation and other patent NLP work.
EPO Espacenet & Open Patent Services
Free access to over 140M patent documents from the European Patent Office (EPO). Its Open Patent Services text analysis tools have made patent full texts much easier to reach, though the terms are open access rather than an open reuse licence.
Google Patents Public Datasets
A query-based collection of over 120M patent documents from more than 100 patent offices worldwide, including applications, pre-grant publications, and granted patents. Accessible through Google BigQuery, with hundreds of millions of USPTO events also queryable.
Harvard USPTO Patent Dataset (HUPD)
A large-scale, structured corpus of US patent applications built specifically for machine learning and natural language processing research. It fills the gap left by mainstream patent search tools, which are not designed with the ML and NLP community in mind.