Sync patent drafting benchmark from GitHub 3c1949f

#1
by wei0616 - opened
This view is limited to 50 files because it contains too many changes. See the raw diff here.
Files changed (50) hide show
  1. .gitattributes +15 -0
  2. README.en.md +82 -0
  3. README.md +95 -0
  4. asset/PD-0005_input.docx +0 -0
  5. asset/PD-0012_input.docx +0 -0
  6. asset/PD-0014_input.docx +0 -0
  7. asset/PD-0017_input.docx +0 -0
  8. asset/PD-0019_input.docx +0 -0
  9. asset/PD-0023_input.docx +3 -0
  10. asset/PD-0025_input.docx +3 -0
  11. asset/PD-0028_input.docx +3 -0
  12. asset/PD-0031_input.docx +0 -0
  13. asset/PD-0036_input.docx +0 -0
  14. asset/PD-0048_input.docx +0 -0
  15. asset/PD-0051_input.docx +0 -0
  16. asset/PD-0052_input.docx +0 -0
  17. asset/PD-0059_input.docx +0 -0
  18. asset/PD-0063_input.docx +0 -0
  19. asset/PD-0064_input.docx +0 -0
  20. asset/PD-0072_input.docx +3 -0
  21. asset/PD-0078_input.docx +0 -0
  22. asset/PD-0083_input.docx +0 -0
  23. asset/PD-0092_input.docx +0 -0
  24. asset/PD-0094_input.docx +0 -0
  25. asset/PD-0098_input.docx +0 -0
  26. asset/PD-0102_input.docx +0 -0
  27. asset/PD-0105_input.docx +3 -0
  28. asset/PD-0110_input.docx +3 -0
  29. asset/PD-0114_input.docx +0 -0
  30. asset/PD-0119_input.docx +0 -0
  31. asset/PD-0126_input.docx +3 -0
  32. asset/PD-0127_input.docx +0 -0
  33. asset/PD-0131_input.docx +0 -0
  34. asset/PD-0135_input.docx +0 -0
  35. asset/PD-0138_input.docx +0 -0
  36. asset/PD-0141_input.docx +0 -0
  37. asset/PD-0142_input.docx +3 -0
  38. asset/PD-0145_input.docx +3 -0
  39. asset/PD-0154_input.docx +0 -0
  40. asset/PD-0161_input.docx +0 -0
  41. asset/PD-0165_input.docx +0 -0
  42. asset/PD-0174_input.docx +0 -0
  43. asset/PD-0176_input.docx +0 -0
  44. asset/PD-0179_input.docx +0 -0
  45. asset/PD-0186_input.docx +0 -0
  46. asset/PD-0188_input.docx +0 -0
  47. asset/PD-0198_input.docx +0 -0
  48. asset/PD-0204_input.docx +0 -0
  49. asset/PD-0205_input.docx +3 -0
  50. asset/PD-0227_input.docx +3 -0
.gitattributes CHANGED
@@ -58,3 +58,18 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ asset/PD-0023_input.docx filter=lfs diff=lfs merge=lfs -text
62
+ asset/PD-0025_input.docx filter=lfs diff=lfs merge=lfs -text
63
+ asset/PD-0028_input.docx filter=lfs diff=lfs merge=lfs -text
64
+ asset/PD-0072_input.docx filter=lfs diff=lfs merge=lfs -text
65
+ asset/PD-0105_input.docx filter=lfs diff=lfs merge=lfs -text
66
+ asset/PD-0110_input.docx filter=lfs diff=lfs merge=lfs -text
67
+ asset/PD-0126_input.docx filter=lfs diff=lfs merge=lfs -text
68
+ asset/PD-0142_input.docx filter=lfs diff=lfs merge=lfs -text
69
+ asset/PD-0145_input.docx filter=lfs diff=lfs merge=lfs -text
70
+ asset/PD-0205_input.docx filter=lfs diff=lfs merge=lfs -text
71
+ asset/PD-0227_input.docx filter=lfs diff=lfs merge=lfs -text
72
+ asset/PD-0236_input.docx filter=lfs diff=lfs merge=lfs -text
73
+ asset/PD-0265_input.docx filter=lfs diff=lfs merge=lfs -text
74
+ asset/PD-0272_input.docx filter=lfs diff=lfs merge=lfs -text
75
+ asset/PD-0274_input.docx filter=lfs diff=lfs merge=lfs -text
README.en.md ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # patent-drafting-bench
2
+
3
+ [中文](README.md) | English
4
+
5
+ patent-drafting-bench evaluates the patent drafting capabilities of large language models and AI agents through **60 test tasks**. Each task requires drafting claims, a specification, and necessary drawings from a technical disclosure, following the specified jurisdiction and output language. The final deliverable is a Word (`.docx`) document.
6
+
7
+ The benchmark evaluates whether a model can turn a disclosed technical solution into a complete, well-supported patent application. It covers claim completeness, clarity, scope, and dependent-claim structure; support and sufficiency of disclosure in the specification; and fabrication of technical content. Tasks include general and case-specific rubrics for item-level human review or LLM-as-a-judge evaluation.
8
+
9
+
10
+ ## Directory structure
11
+
12
+ ```text
13
+ patent-drafting-bench/
14
+ ├── README.md
15
+ ├── README.en.md
16
+ ├── data/
17
+ │ └── test.jsonl
18
+ └── asset/
19
+ ├── PD-0005_input.docx
20
+ └── ... (60 technical disclosure documents)
21
+ ```
22
+
23
+ `test.jsonl` is UTF-8 encoded and contains one task per line, with 60 lines in total. `document_fields.input_file` is relative to the **dataset root**, for example `asset/PD-0005_input.docx`, rather than to `data/`. All attachments are included locally; no COS or S3 download is required.
24
+
25
+ ## Dataset size and distribution
26
+
27
+ ### Technical fields
28
+
29
+ Tasks are grouped by the IPC section recorded in their `ipc` field. Each task is counted once.
30
+
31
+ | IPC section | Technical field | Tasks | Share |
32
+ | --- | --- | ---: | ---: |
33
+ | A | Human necessities | 5 | 8.33% |
34
+ | B | Performing operations; transporting | 11 | 18.33% |
35
+ | C | Chemistry; metallurgy | 5 | 8.33% |
36
+ | D | Textiles; paper | 5 | 8.33% |
37
+ | E | Fixed constructions | 4 | 6.67% |
38
+ | F | Mechanical engineering; lighting; heating; weapons; blasting | 5 | 8.33% |
39
+ | G | Physics | 13 | 21.67% |
40
+ | H | Electricity | 12 | 20.00% |
41
+ | **Total** | **8 IPC sections** | **60** | **100%** |
42
+
43
+ Percentages are rounded to two decimal places.
44
+
45
+ ### Jurisdictions and output languages
46
+
47
+ | Target jurisdiction | Tasks | Share |
48
+ | --- | ---: | ---: |
49
+ | China (CN) | 31 | 51.67% |
50
+ | United States (US) | 15 | 25.00% |
51
+ | Europe (EP) | 14 | 23.33% |
52
+ | **Total** | **60** | **100%** |
53
+
54
+ 31 tasks require Chinese (`zh`) output, and 29 require English (`en`) output.
55
+
56
+ ### Disclosures with and without images
57
+
58
+ | Input disclosure type | Tasks | Share |
59
+ | --- | ---: | ---: |
60
+ | With embedded images | 15 | 25.00% |
61
+ | Without embedded images | 45 | 75.00% |
62
+ | **Total** | **60** | **100%** |
63
+
64
+ This count is based on embedded images in the body of each disclosure DOCX. The 15 disclosures with images contain 17 image references in total.
65
+
66
+ All tasks require drawings in the final document when necessary. Image content is available in the original DOCX files.
67
+
68
+ ## Evaluation rubrics
69
+
70
+ Each task includes general and case-specific rubrics. General criteria assess claim eligibility, unity, clarity, completeness, scope, dependent-claim structure, and support in the specification, as well as specification structure, embodiments, sufficiency of disclosure, wording, and technical consistency. Case-specific criteria assess technical features, parameters, embodiments, and subject matter described in the corresponding disclosure.
71
+
72
+ | Rubric category | Total items across all tasks | Items per task |
73
+ | --- | ---: | --- |
74
+ | General criteria | 900 | 15 |
75
+ | Case-specific criteria | 77 | 0–4 |
76
+ | **Total** | **977** | **15–19** |
77
+
78
+ Each criterion includes decision conditions, discrete score levels, and a positive integer weight. Score levels are 0, 0.5, and 1; some criteria use only 0 and 1. Evaluators select the applicable level for each criterion and calculate a score out of 100:
79
+
80
+ **Score = 100 × Σ(weight × level score) ÷ Σ(weights)**
81
+
82
+ The scoring instructions specify evidence requirements and deduction attribution. The same defect is not penalized more than once.
README.md CHANGED
@@ -1,3 +1,98 @@
1
  ---
2
  license: cc-by-nc-4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-4.0
3
+ language:
4
+ - zh
5
+ - en
6
+ tags:
7
+ - patent
8
+ - patent-drafting
9
+ - benchmark
10
+ pretty_name: PatSnap Patent Drafting Bench
11
+ size_categories:
12
+ - n<1K
13
+ configs:
14
+ - config_name: default
15
+ data_files:
16
+ - split: test
17
+ path: data/test.jsonl
18
  ---
19
+
20
+ # patent-drafting-bench
21
+
22
+ 中文 | [English](README.en.md)
23
+
24
+ patent-drafting-bench 是一个评估大模型及智能体专利撰写能力的数据集,包含 **60 个测试任务**。模型需要依据技术交底书,按指定法域和语言撰写权利要求书、说明书及必要附图,最终交付一份 Word(`.docx`)文档。
25
+
26
+ 评测关注模型能否将交底中的技术方案转化为完整、合理且有依据的专利申请文本,包括权利要求的完整性、清楚性、保护范围和从属布局,说明书的支持与公开,以及是否编造技术内容。每个任务包含通用评分标准与案例特异评分标准,可用于逐项人工审阅或 LLM judge 评分。
27
+
28
+
29
+ ## 目录结构
30
+
31
+ ```text
32
+ patent-drafting-bench/
33
+ ├── README.md
34
+ ├── README.en.md
35
+ ├── data/
36
+ │ └── test.jsonl
37
+ └── asset/
38
+ ├── PD-0005_input.docx
39
+ └── ...(共 60 份技术交底书)
40
+ ```
41
+
42
+ `test.jsonl` 使用 UTF-8 编码,每行一个任务,共 60 行。`document_fields.input_file` 是**相对于本数据集根目录**的路径,例如 `asset/PD-0005_input.docx`,不是相对于 `data/` 的路径。
43
+ ## 数据规模与分布
44
+
45
+ ### 技术领域
46
+
47
+ 按每个任务的 `ipc` 字段统计,分类层级为 IPC 部,每个任务计数一次。
48
+
49
+ | IPC 部 | 技术领域 | 任务数 | 占比 |
50
+ | --- | --- | ---: | ---: |
51
+ | A | 人类生活必需 | 5 | 8.33% |
52
+ | B | 作业;运输 | 11 | 18.33% |
53
+ | C | 化学;冶金 | 5 | 8.33% |
54
+ | D | 纺织;造纸 | 5 | 8.33% |
55
+ | E | 固定建筑物 | 4 | 6.67% |
56
+ | F | 机械工程;照明;加热;武器;爆破 | 5 | 8.33% |
57
+ | G | 物理 | 13 | 21.67% |
58
+ | H | 电学 | 12 | 20.00% |
59
+ | **合计** | **8 个 IPC 部** | **60** | **100%** |
60
+
61
+ 百分比保留两位小数。
62
+
63
+ ### 法域与输出语言
64
+
65
+ | 目标法域 | 任务数 | 占比 |
66
+ | --- | ---: | ---: |
67
+ | 中国(CN) | 31 | 51.67% |
68
+ | 美国(US) | 15 | 25.00% |
69
+ | 欧洲(EP) | 14 | 23.33% |
70
+ | **合计** | **60** | **100%** |
71
+
72
+ 要求使用中文(`zh`)输出的任务有 31 个,英文(`en`)输出的任务有 29 个。
73
+
74
+ ### 交底书有图 / 无图
75
+
76
+ | 输入交底书类型 | 任务数 | 占比 |
77
+ | --- | ---: | ---: |
78
+ | 含嵌入图片 | 15 | 25.00% |
79
+ | 不含嵌入图片 | 45 | 75.00% |
80
+ | **合计** | **60** | **100%** |
81
+
82
+ 按交底书 DOCX 正文是否含嵌入图片统计,15 份含图交底书合计包含 17 处图片引用。
83
+
84
+ 所有任务均要求在必要时绘制附图并放入最终文档。图片信息保存在原始 DOCX 中。
85
+
86
+ ## 评分标准
87
+
88
+ 每个任务提供通用评分标准和案例特异评分标准。通用标准评价权利要求的客体、单一性、清楚性、完整性、保护范围、从属布局及说明书支持,以及说明书的结构、实施例、公开充分性、表达和技术一致性。特异标准评价当前交底书中的技术特征、参数、实施方式和保护主题。
89
+
90
+ | 评分标准 | 全部任务的条目总数 | 每个任务的条目数 |
91
+ | --- | ---: | --- |
92
+ | 通用标准 | 900 | 15 |
93
+ | 案例特异标准 | 77 | 0~4 |
94
+ | **合计** | **977** | **15~19** |
95
+
96
+ 每条标准包含判定条件、评分档位和正整数权重。档位分为 0、0.5、1,部分标准采用 0、1 两档。评审者根据产物选择对应档位,按权重计算百分制得分:
97
+
98
+ **得分 = 100 × Σ(权重 × 档位分)÷ Σ(权重)**
asset/PD-0005_input.docx ADDED
Binary file (37.8 kB). View file
 
asset/PD-0012_input.docx ADDED
Binary file (37.9 kB). View file
 
asset/PD-0014_input.docx ADDED
Binary file (38.8 kB). View file
 
asset/PD-0017_input.docx ADDED
Binary file (38.7 kB). View file
 
asset/PD-0019_input.docx ADDED
Binary file (37.7 kB). View file
 
asset/PD-0023_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff416a7d4ebfdef0bd124fd3c89939091f7bf842fa22a305911e34083855c1b9
3
+ size 1290535
asset/PD-0025_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53215f834c767b738f7418051fb29f28738ffa91290273db9bb4509d4a6b8c32
3
+ size 729478
asset/PD-0028_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f6955964b83c8b34153b3a858316fb7f82e5b786959a1cf2e80965b05ef0544
3
+ size 1482299
asset/PD-0031_input.docx ADDED
Binary file (37.7 kB). View file
 
asset/PD-0036_input.docx ADDED
Binary file (37.6 kB). View file
 
asset/PD-0048_input.docx ADDED
Binary file (38.5 kB). View file
 
asset/PD-0051_input.docx ADDED
Binary file (38.2 kB). View file
 
asset/PD-0052_input.docx ADDED
Binary file (37.9 kB). View file
 
asset/PD-0059_input.docx ADDED
Binary file (37.8 kB). View file
 
asset/PD-0063_input.docx ADDED
Binary file (38.4 kB). View file
 
asset/PD-0064_input.docx ADDED
Binary file (37.8 kB). View file
 
asset/PD-0072_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af0545aba2e70cd95b84088b71acf25f4b3c5929b5c6b6631b7ff9aeb9174605
3
+ size 653602
asset/PD-0078_input.docx ADDED
Binary file (37.8 kB). View file
 
asset/PD-0083_input.docx ADDED
Binary file (38.3 kB). View file
 
asset/PD-0092_input.docx ADDED
Binary file (38.3 kB). View file
 
asset/PD-0094_input.docx ADDED
Binary file (38.7 kB). View file
 
asset/PD-0098_input.docx ADDED
Binary file (38.1 kB). View file
 
asset/PD-0102_input.docx ADDED
Binary file (38.3 kB). View file
 
asset/PD-0105_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7aeb0d2e12ad1e2ba3ac17eb9cb1205435d699ea1d5486d3496e08ff1987f15a
3
+ size 1035130
asset/PD-0110_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2bd5a4e3395a665cee8c9d932ff9f116e37af9bfce19ea3993dbc6d1462e7e56
3
+ size 1660108
asset/PD-0114_input.docx ADDED
Binary file (38.5 kB). View file
 
asset/PD-0119_input.docx ADDED
Binary file (37.9 kB). View file
 
asset/PD-0126_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b132d7a8d9b4becd581d3aa12ad9d224ac1056304f78d4d5eca5839349edb50
3
+ size 685830
asset/PD-0127_input.docx ADDED
Binary file (38.1 kB). View file
 
asset/PD-0131_input.docx ADDED
Binary file (38.1 kB). View file
 
asset/PD-0135_input.docx ADDED
Binary file (37.8 kB). View file
 
asset/PD-0138_input.docx ADDED
Binary file (38.6 kB). View file
 
asset/PD-0141_input.docx ADDED
Binary file (37.8 kB). View file
 
asset/PD-0142_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f60a998712964643513d43490e1c72726962d2b53d3147b22b2b101d8cd2b6c
3
+ size 1256163
asset/PD-0145_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:527c38c9f16d0de03cd660ef5f38e3b92cecc64c93c2e03b51a3a9f9be559768
3
+ size 1892515
asset/PD-0154_input.docx ADDED
Binary file (38.1 kB). View file
 
asset/PD-0161_input.docx ADDED
Binary file (38.1 kB). View file
 
asset/PD-0165_input.docx ADDED
Binary file (38.3 kB). View file
 
asset/PD-0174_input.docx ADDED
Binary file (37.9 kB). View file
 
asset/PD-0176_input.docx ADDED
Binary file (38.1 kB). View file
 
asset/PD-0179_input.docx ADDED
Binary file (37.9 kB). View file
 
asset/PD-0186_input.docx ADDED
Binary file (38.4 kB). View file
 
asset/PD-0188_input.docx ADDED
Binary file (38.2 kB). View file
 
asset/PD-0198_input.docx ADDED
Binary file (37.9 kB). View file
 
asset/PD-0204_input.docx ADDED
Binary file (38.6 kB). View file
 
asset/PD-0205_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:74d76ab146e8d5519389eeec3a54b09083e08ca19ce3fbaf826178cfda462312
3
+ size 280338
asset/PD-0227_input.docx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3da28f7ae4e6de72213583d0b2fbf891f167eae5726f2cd4d8afddbbd5a79cd6
3
+ size 335850