When practitioners get stuck on a technical problem during R&D, they usually search for patents that deal with similar problems. Search can only find solutions that someone has already put forward. An approach used in another field may fit your problem, yet it is hard to collect such candidates systematically.
Then, could we train a large language model on “what problem was solved, and how” across hundreds of thousands of patents, and obtain new candidate solutions for a given problem?
Let us read one paper that addresses this question.
- Title: Large Language Model-based R&D Solution Analysis Approach Using Problem-Solution Information of Patents
- Journal: The Journal of Intellectual Property (지식재산연구) 19(3), 155-180
- Year: 2024
- DOI: 10.34122/jip.2024.19.3.8
The method the paper proposes is a procedure that extracts problems and solutions from patent text, trains a language model on them, and analyzes the new solutions the model produces. With this procedure, the authors generate new R&D solutions and present them organized in a technology concept portfolio map. The terms used throughout this article are as follows.
- Problem-Solution information: Information that pairs the problem a patent aims to solve (Problem) with its method of solution (Solution)
- Common Application Form (CAF): A format in which the IP5 countries have internationally unified the items and order of description in application documents, such as the specification and claims
- Existing Solution: A Solution extracted from an actual patent
- Artificial Solution: A Solution newly created by the trained model based on the context of a Problem sentence
- Technology concept: A group of similar technical elements that appeared in the Artificial Solutions
Motivation: Existing Patent Analysis Only Finds Solutions That Already Exist
Why Problem-Solution Information in Patents Matters
The paper regards patents as reliable technical documents in which problems and solutions are systematically written. The authors give the following reasons.
- A patent describes in detail the problem a developed technology tries to solve and how it solves it. It therefore supports the problem-solving process needed for decision-making in many industries and provides new R&D ideas.
- Thanks to the CAF, applicants must write their content under set items such as “background art,” “problem to be solved,” and “means for solving the problem.” “Background art” and “problem to be solved” provide Problem information, and “means for solving the problem” provides Solution information.
- Since 2010, Korea has required applicants to write specifications in a standardized form following the CAF agreed format. The researchers therefore target domestic patents filed in or after 2010 so that they can use CAF item information.
- Large language models have been verified as effective for text summarization and generation and for information retrieval and extraction. They are used in many fields, including summarizing medical records and reviewing construction contracts.
On top of this, the paper adds the perspective of TRIZ (a creative problem-solving methodology developed by Genrich Altshuller). According to TRIZ, many problems can be generalized into common core problems, and solution methods can be generalized as well. This means a given problem has a high chance of having already been solved elsewhere, or of having a solution to a similar problem.
What Prior Research Has Not Covered
Problem-solution-oriented patent analysis has two main streams. The first stream extracts subject-action-object (SAO) structures from patent sentences. For example, Wang et al. found similar patents using SAO structures in patent abstracts, and Kim and Yoon identified patent infringement using SAO structures in claims. Kim et al. derived technology opportunities using the SAOx structure, which adds “for” and “to” phrases.
The second stream uses metadata together with text. Lee et al. (이지호 and four others) extracted problems and solutions from the CAF text of company patents, applied topic modeling, and identified technological competition information among companies. Jeong et al. (정재민 and two others) extracted problem elements from claims, defined technology classification codes as technology elements, and found business opportunities. The gaps the paper points out are as follows.
- Existing research considers only solutions that are already determined for a given problem.
- Research that analyzes the Problem-Solution information of patents with large language models is still lacking.
- Studies that extract text structures such as SAO have been criticized for not considering the characteristics of the items that make up patent text.
Method: Building a Solution Generation Model from 330,000 Problem-Solution Pairs Drawn from 370,000 Patents
The paper describes the method in four steps. Step 1 collects a large number of patents to build a database. Step 2 distinguishes CAF items and extracts Problem-Solution information. Step 3 fine-tunes a large language model on that dataset (fine-tuning means further training an already trained model on material from a specific field) and generates solutions. Step 4 derives technology concepts from the generated solutions and builds a portfolio map with two indicators, “Applicability” and “Novelty.” This article follows the paper’s four steps as they are.
Case and Data
The case is R&D for solving social problems. In its “Comprehensive Plan for Science and Technology-Based Social Problem Solving,” Korea presented 43 social problems, and the researchers selected cybercrime among them as the case. The analysis data comes in two sets.
- Training data: Bibliographic information and full texts of 372,462 domestic patents filed over the three years from 2020 to 2022. All filed patents were collected without restricting the technology field.
- Evaluation data: 212 cybercrime-related domestic patents filed in or after 2010.
The evaluation data was found with a search query. The researchers collected 15 core cybercrime keywords from the Social Problem Solving Platform of the National Science & Technology Information Service. These include hacking, phishing, smishing, personal information, and cyber gambling. They then collected more technology keywords and defined the search query with expert advice. The search targeted the title, abstract, and independent claims of patents.
Step 1: Patent Data Collection and Database Construction
- Input: Domestic patents from an online patent search service (such as Kipris Plus)
- Processing: Select and collect patents based on filing date
- Output: A patent database containing bibliographic information and full texts
The processing sequence is as follows.
- The collection target is set by filing date, not restricted by technology classification code or keyword.
- Only patents filed in or after 2010, when the CAF was applied, are targeted.
- Patent full texts are downloaded and stored in the database.
There is a reason for not restricting the field. The researchers judged that the generation model must learn problems and solutions from many fields in order to offer novel solutions to a given problem. In the case, 372,462 patents filed in 2020-2022 were collected through the Kipris Plus API. The patent full texts were provided in XML format.
Step 2: Building the Problem-Solution Dataset
- Input: Patent full-text XML
- Processing: Extract CAF item text, derive key sentences with a pretrained summarization model
- Output: One Problem-Solution pair per patent
The processing sequence is as follows.
- Parse the XML and gather the text of the ‘background-art’, ‘tech-problem’, and ‘tech-solution’ tags. Patents without these tags are excluded.
- Feed “background art” and “problem to be solved” together into KoBART, a pretrained Korean summarization model, and set the summary as the Problem.
- Feed “means for solving the problem” into KoBART and set the summary as the Solution.
Summarization is used because the original texts are too long and vary greatly in length from patent to patent. KoBART is a model pretrained on more than 40GB of Korean text and can extract the key content of long Korean texts.
The paper presents average text lengths before and after summarization in Table 2. On the Problem side, “background art” averaged 2318.2 and “problem to be solved” averaged 704.9, while the Problem summarized from the two together averaged 391.3. On the Solution side, “means for solving the problem” averaged 4551.2 and became 816.6 on average after summarization.
Let us calculate how much the summaries shortened the originals. Because the Problem was summarized from the two items together, the original length is 2318.2+704.9=3023.1. The summary is 391.3, so it was reduced to 391.3÷3023.1≈13%. For the Solution, 816.6÷4551.2≈18%.
Let us look at one example from the dataset. The Problem of a voice phishing patent (application number 1020200108691) describes a scheme in which financial information such as account numbers is obtained by phone and used for crime. The Solution is a method in which a communication terminal displays a warning notification window and de-identifies account numbers contained in text messages. The dataset built in the case finally contains 332,425 pairs.
Step 3: Language Model Fine-Tuning and Solution Generation
- Input: Problem-Solution dataset of 332,425 pairs
- Processing: Fine-tune KoGPT2, input a Problem to generate an Artificial Solution, evaluate with SSA
- Output: An R&D Solution generation model and Artificial Solutions for cybercrime Problems
The processing sequence is as follows.
- KoGPT2 (the ‘KoGPT2-base-v2’ model and tokenizer), an open-source model pretrained for Korean sentence generation, is used.
- The training data is fed in the order <SOS + Problem + EOS + SOS + Solution + EOS>. SOS is a symbol marking the start of a sentence, and EOS marks the end.
- The model learns to generate the Solution from the point where the Problem ends.
- The Problem of an evaluation patent is input to the trained model to generate an Artificial Solution.
KoGPT2 was chosen for cost reasons. Because hundreds of thousands of pairs are trained on, the researchers used an open-source model for economy. The training settings are as follows.
- Optimizer Adam, learning rate 1e-03
- Both epochs and batch size are 2, because the training data is large
- Equipment: NVIDIA GeForce RTX 4090 GPU, 64GB RAM, Linux
For generating sentences, Top-p sampling was used (a method that restricts next-word candidates to the top p% of cumulative probability and draws randomly within them). When p is small, only high-probability words are chosen and consistent sentences result; when p is large, more words are considered and more diverse sentences result. The researchers set p=0.95 so that solutions considering a wider range of fields would be produced.
The evaluation of generated results also belongs to this step. Generation models are usually evaluated by their overlap with reference sentences, as with BLEU and ROUGE. In problem solving, however, many options besides the existing solution can be considered, so agreement with a reference answer is not appropriate. The researchers therefore used SSA (Sensibleness and Specificity Average), which Google published for evaluating dialogue models.
- Sensibleness: 1 if the sentence produced for the input is reasonable in context, 0 otherwise
- Specificity: 1 if the reasonable sentence is sufficiently specific, 0 otherwise. If Sensibleness is 0, Specificity is also 0
- SSA: The average of Sensibleness and Specificity as scored by evaluators
The scores in the paper’s example are as follows. For the input “I love tennis.”, “That’s nice.” receives (1, 0), “Tomorrow is my birthday.” receives (0, 0), and an answer mentioning Roger Federer receives (1, 1). The calculation below is the author’s own and is not in the paper. Treating the three responses as one set, the Sensibleness average is 2÷3≈0.67 and the Specificity average is 1÷3≈0.33. SSA is (0.67+0.33)÷2=0.50.
Step 4: R&D Solution Analysis and Portfolio Map
- Input: Artificial Solutions and Existing Solutions for cybercrime Problems
- Processing: Noun phrase extraction, embedding, clustering, computing two indicators
- Output: 14 technology concepts and a technology concept portfolio map
The processing sequence is as follows.
- Noun phrases are extracted from the Artificial Solutions by prompt engineering with OpenAI’s GPT API.
- Keywords without technical content are removed.
- The remaining noun phrases are converted into embedding vectors (lists of numbers in which words with similar meanings are placed close together) with the SBERT model ‘ko-sroberta-multitask’.
- Similar noun phrases are grouped by K-means clustering, and technology concept names are assigned by looking at the noun phrases close to each cluster center.
- Applicability and Novelty are computed for each concept, and the map is divided into four regions using the average of each indicator.
The prompt instructs the model to extract science and technology-related nouns and noun phrases. It tells the model to avoid common words such as ‘invention,’ ‘aforementioned,’ and ‘embodiment,’ and it provides the output format and two extraction examples. Clear task instructions and rich examples are prompt strategies verified in prior research.
The two indicators mean the following.
- Applicability: The number of Artificial Solutions in which keywords of the concept actually appeared
- Novelty: The average embedding vector distance (Euclidean distance) between the Artificial Solutions in which the concept’s keywords appeared and the Existing Solutions
There is a reason Applicability is counted by number of solutions rather than number of keywords. Even if keywords are numerous, if they are concentrated in only a few solutions, it is hard to interpret the concept as having a wide range of application. For Novelty, a greater distance is interpreted as meaning that solutions unlike the existing ones were produced. For example, the Applicability of 88 for “control system and device” means that this concept’s keywords appeared in 88 generated solutions.
The four regions of the portfolio map are as follows.
- Innovative approach: Both indicators high. It can be applied right away and is novel relative to existing solutions.
- Efficient enhancement: Only Applicability high. Novelty is low, but it can be applied immediately for efficient improvement.
- Future potential: Only Novelty high. Immediate application is difficult, but its potential can be grown through R&D.
- Limited potential: Both indicators low. Application is difficult at present and it is not novel either.
In the case, 728 nouns and noun phrases were extracted by prompting. Keywords such as ‘disclosure,’ ‘between,’ and ‘aspect’ were removed, leaving 650. The number of clusters was set to 14, the value at which the average cosine similarity between vectors within clusters was lowest.
Results: Two of Every Three Generated Solutions Were Reasonable, and Four Concepts Were Both Applicable and Novel
Are the Generated Solutions Reasonable and Specific?
The researchers derived the Problems and Existing Solutions of the 212 cybercrime patents with KoBART and created Artificial Solutions with the generation model. Domain experts and patent technology experts evaluated them with SSA. The results were Sensibleness of 0.67, Specificity of 0.46, and SSA of 0.57.
The paper defines SSA as the average of Sensibleness and Specificity. Calculating from the two reported values, the author gets (0.67+0.46)÷2≈0.565, which broadly agrees with the paper’s SSA of 0.57. Because Specificity can be given 1 only to reasonable sentences, it cannot be higher than Sensibleness. An example that received 1 on both indicators is a biometric authentication patent (application number 1020140070938). The generated solution proposed a biometric device that detects a magnetic field created by the user.
How Were the 14 Technology Concepts Divided on the Map?
The threshold for dividing the map is the average of each of Applicability and Novelty. According to the paper’s main text, 4 concepts fell in the Innovative approach region, 2 in the Efficient enhancement region, and 3 in the Future potential region. The list of concepts and their main keywords is in the paper’s Table 9, the indicator values for each concept are in Table 10, and the map is in Figure 7.
Let us look at two representative cases to see the difference between regions. “Control system and device” is the concept with the highest Applicability in the Innovative approach region. “Device components” is the concept with the highest Novelty in the same region.
For the remaining 14−4−2−3=5 concepts, the paper’s main text does not state their regions. When the author fits the values in the paper’s Table 10 to the average thresholds, these 5 fall under Limited potential. This classification is the author’s interpretation, not the paper’s.
Applicable and Novel Concepts: Control System and Device, Device Components
The concept with the highest Applicability in the Innovative approach region is “control system and device.” The paper read the following R&D insights from this concept.
- Real-time monitoring of network traffic with control modules
- Intelligent firewalls and access control systems using control information
- Maintaining data integrity and confidentiality
A concrete example is the problem of protecting digital content copyright (application number 1020180066614). The existing solution protected the operating system by restricting external access to code stored in a secure area. The generated solution offered a smart display control system that detects user input on a touch display. The paper read this solution as a security mechanism using real-time user input and interpreted it as able to effectively prevent illegal copying and unauthorized access.
In the author’s view, the generated sentence itself shows no connection to copyright protection. The sentence deals only with touch input, timing data, and display mode. The relevance to the problem was created not by the generated solution but by the paper’s interpretation.
The concept with the highest Novelty in the same region is “device components.” The example problem is a security system that comprehensively monitors container cargo stacked at a port for intrusion, damage, and theft (application number 1020160018484). The existing solution was an information security management system that proceeds in steps from detecting an infringement incident to reporting the result. The generated solution proposed a wireless device for a small vehicle equipped with a moving body. The paper held that, unlike a static procedure, this idea could strengthen the ability to respond to security threats through dynamic monitoring.
In this case too, the generated sentence contains no words about surveillance or security. The sentence only describes the structure of a wireless device with a guide plate. In both cases, human interpretation sits between the fact that Novelty is high and the judgment that the solution is useful for the problem. This point is taken up again later in “Conditions for Application in the Author’s View.”
Concepts for Immediate Improvement and Concepts with Future Potential
The Efficient enhancement region contained “communication devices and transmission-reception systems” and “personal information authentication systems.” Regarding “personal information authentication systems,” user authentication and information security patents have been filed steadily since smartphones became commercially available in the early 2010s. Application numbers 1020100011377 and 1020210118981 are examples. The paper holds that insights for quickly solving problems can be obtained from such concepts.
The Future potential region contained “service information management,” “video and image processing,” and “automation systems.” The paper held that “automation systems” and “video and image processing,” which have high Novelty, are closely related to machine learning and artificial intelligence. The directions include learning abnormal patterns with artificial intelligence to automatically detect new threats, and using it in biometrics and image forensics.
Significance and Limitations
What Changes
- Beyond searching for existing solutions, it presented a method that generates new solutions with a trained language model.
- It built a Problem-Solution training dataset of 330,000 pairs by summarizing the CAF items of domestic patents.
- It evaluated the reasonableness and specificity of generated solutions with SSA instead of agreement with reference answers.
- It grouped generated solutions into technology concepts, quantified applicability and novelty, and visualized them in a portfolio map.
Usefulness for Practitioners
The paper holds that this method widens the range of choices in the problem-solving process. Practitioners can divide the use by region. Efficient enhancement concepts can be used for improvement right now, and Future potential concepts can be kept as medium- to long-term R&D candidates. It is also worth noting that the training environment was an NVIDIA GeForce RTX 4090 GPU with 64GB RAM.
The paper expects that having one’s own generation model will yield insights more efficiently and quickly than existing search. However, this is the authors’ claim. The paper did not run an experiment comparing it with existing search methods, and its evaluation was limited to SSA and concept classification.
Usefulness for Researchers
Researchers can borrow three designs from this paper. First, the method of splitting CAF items into Problem and Solution and summarizing them to make training pairs. Second, the SSA design, in which people score a generation task with no single correct answer using 0 and 1. Third, the method of defining novelty by the embedding distance between generated solutions and existing solutions.
Limitations Stated by the Paper
The paper states three limitations itself.
- KoGPT2 was used in consideration of data size, computing resources, and cost. If resources are ample, recent open-source large language models or the fine-tuning features of language model APIs can be used.
- It could not confirm how much a social problem improved when the generated solutions were actually applied.
- Problem-Solution was derived from text alone. Multimodal research that also uses bibliographic information such as applicants and inventors, and drawing images, remains to be done.
Conditions for Application in the Author’s View
What follows is not content written in the paper but conditions the author adds with practical application in mind.
- Human review must follow. Because the average Specificity is 0.46, it can be interpreted that fewer than half of the solutions were rated specific. Generated results are better treated not as conclusions but as a candidate list for experts to screen.
- The higher the Novelty of a solution, the more its relevance to the problem must be checked separately. Vector distance measures only how different a solution is from existing ones, not whether it fits the problem. In the earlier copyright protection and port security cases too, the relevance was connected by interpretation, not by the generated sentence.
- Applicability values vary with keyword extraction quality. Changing the prompt or the stopword list can change the per-concept counts, so the settings should be recorded.
- The training data is three years of domestic patents. For overseas patents or fields that need a longer period, the data scope should be decided first.
What to Try Right Away
- Pick one technical problem in your own field and collect several dozen related domestic patents filed in or after 2010. For each patent, write “background art” and “problem to be solved” as the Problem and “means for solving the problem” as the Solution, and make a table. This is a step to see for yourself what problem-solution pairs look like before large-scale training.
- Evaluate a few solution candidates produced by a language model against the SSA criteria. Give Sensibleness 1 if reasonable and Specificity 1 if also specific, and calculate the average.
- Extract technical noun phrases from the solution candidates and group similar ones, then tabulate the number of solutions in which each group appeared and its difference from the existing solutions. If you divide the map into four regions using the average of the two values, you can make a portfolio map in the same format as the paper.
Business Intelligence Lab studies methods for using the problems and solutions in patent full texts for R&D decision-making. Related articles will continue on this blog.