논문 해설
InstructPatentGPT: Training patent language models to follow instructions with human feedback
InstructPatentGPT: 인간 피드백으로 지시를 따르도록 특허 언어 모델 훈련
- 연구 문제 특허 청구항 생성 모델이 허여 가능성이 높은 방향으로 제어될 수 있는지 검토합니다.
- 연구 방법 PatentGPT-J-6B를 SFT, 보상 모델, PPO의 3단계 RLHF로 학습하며, 보상으로 granted/pre-grant 분류와 청구항 길이·제한 용어 함수를 사용합니다.
- 주요 결과 길이와 제한 용어 보상에서는 생성 청구항의 해당 특성이 변하는 관찰이 보고되고, granted 분류 기준 비율은 실험 4에서 PPO 이후 높아집니다.
특허 청구항 생성에 RLHF를 적용하려는 이유
특허 생성 언어 모델은 청구항을 만들 수 있어도 허여 가능성이 높은 방향으로 제어하기 어렵습니다. 이 논문은 특허 prosecution을 인간 피드백 기반 강화학습 시스템으로 바라보고, 허여(granted)와 출원공개(pre-grant) 같은 상태를 피드백으로 활용할 수 있는지 검토합니다. 연구 범위는 AI 특허 데이터셋의 청구항 1로 제한되며, 기존 특허 데이터에 충분한 인간 피드백이 있는지가 출발점입니다.
3단계 RLHF 파이프라인과 데이터 구성
방법은 SFT, 보상 모델(RM), PPO의 3단계 RLHF 파이프라인을 따릅니다. 기반 모델은 특허 데이터로 사전학습된 PatentGPT-J-6B이며, LoRA 어댑터와 8비트 로딩으로 단일 소비자급 GPU 환경에서 미세조정합니다. 데이터는 AIPD의 AI 구성요소 분류와 PatentsView의 청구항 1 텍스트를 결합해 8개 AIPCO 데이터셋으로 구성되며, 각 데이터셋으로 SFT 모델과 보상 모델을 따로 만듭니다.
보상 모델과 보상 함수의 차이
보상 모델은 granted와 pre-grant를 구분하는 distilbert-base 이진 분류기로, granted에 1, pre-grant에 0을 부여합니다. 반면 실험 1·2·3의 보상은 소스 코드로 정의된 함수입니다. 길이 기반 보상은 max len 안에서 끝 태그가 있을 때만 양의 보상을 주고, 제한 용어 보상은 wherein, where, when, whereby의 개수를 셉니다. 두 종류 모두 스칼라 보상으로 PPO에 전달됩니다.
길이·제한 용어 보상 실험
실험 1은 max len 512와 1024에서 청구항 길이 보상을 적용해 길이가 상한 근처로 이동하는지 확인합니다. 실험 2는 제한 용어 개수를 보상으로 주어 생성문에 제한 용어가 늘어나는지 봅니다. 실험 3은 두 보상을 결합하며, 길이 상한 안에서도 제한 용어가 증가하는 관찰을 보고합니다. 이 실험들은 청구항의 길이와 범위 제어 가능성을 보여 주지만, 생성 품질의 정량 평가는 수행되지 않았습니다.
허여 비율의 변화
실험 4에서는 distilbert 기반 granted/pre-grant 보상 모델을 사용합니다. 각 데이터셋의 처음 1,000행에 대해 정책 모델이 granted로 분류하는 비율을 PPO 이전과 이후로 비교합니다. 예를 들어 AIPCO-NLP는 0.518에서 0.835로 올라갑니다. 다만 이 비율은 보상 모델의 예측에 따른 값이며, 실제 특허 허여 확률이나 실제 심사 결과로 해석되지는 않습니다.
적용 범위와 한계
저자들은 생성 청구항의 품질이 아직 특허청 허여 기준에 못 미치며, 보상 모델이 novelty, non-obviousness, utility를 판단하지 못한다고 봅니다. 실험 4에서 보상 모델 기준 granted 비율이 오른 결과는 실제 허여를 보장하지 않습니다. 또한 긴 생성에서는 품질이 떨어지고, 일부 실험에서는 보상이 붕괴하는 현상이 관찰되었다고 보고합니다.
논문 정보
- 저자
- Jieh-Sheng Lee
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2024년 5월 25일
- 등록일
- 2026년 11월 6일
- 수정일
- 2024년 5월 25일
- 버전
- v1
- arXiv
- 2406.16897
- DOI
- 10.1007/s10506-024-09401-1
- 분류
- cs.CL
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
In this research, patent prosecution is conceptualized as a system of reinforcement learning from human feedback. The objective of the system is to increase the likelihood for a language model to generate patent claims that have a higher chance of being granted. To showcase the controllability of the language model, the system learns from granted patents and pre-grant applications with different rewards. The status of "granted" and "pre-grant" are perceived as labeled human feedback implicitly. In addition, specific to patent drafting, the experiments in this research demonstrate the model's capability to learn from adjusting claim length and inclusion of limiting terms for narrowing claim scope. As proof of concept, the experiments focus on claim ones only and the training data originates from a patent dataset tailored specifically for artificial intelligence. Although the available human feedback in patent prosecution are limited and the quality of generated patent text requires improvement, the experiments following the 3-stage reinforcement learning from human feedback have demonstrated that generative language models are capable of reflecting the human feedback or intent in patent prosecution. To enhance the usability of language models, the implementation in this research utilizes modern techniques that enable execution on a single consumer-grade GPU. The demonstrated proof of concept, which reduces hardware requirements, will prove valuable in the future as more human feedback in patent prosecution become available for broader use, either within patent offices or in the public domain.
원문 인용
Jieh-Sheng Lee (2024). InstructPatentGPT: Training patent language models to follow instructions with human feedback. arXiv:2406.16897v1. https://doi.org/10.1007/s10506-024-09401-1
BibTeX
@article{lee2024instructpatentgpt,
title = {{InstructPatentGPT: Training patent language models to follow instructions with human feedback}},
author = {Jieh-Sheng Lee},
year = {2024},
eprint = {2406.16897},
archivePrefix = {arXiv},
doi = {10.1007/s10506-024-09401-1},
url = {https://arxiv.org/abs/2406.16897v1}
}