Supply chain risk identification method, device, electronic device and storage medium

Through big data collection and semantic modeling technology, real-time monitoring of supplier behavior, identification of supply chain risk characteristics, and construction of machine learning models solve the problems of low accuracy and low efficiency of supply chain risk identification in the existing technology, and realize supply chain risk identification. timely and accurate identification and assessment of chain risks.

CN117973872BActive Publication Date: 2024-09-20北京盘拓数据科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410177740.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-08
Publication Date
2024-09-20
Estimated Expiration
2044-02-08

AI Technical Summary

Technical Problem

Existing technologies have low accuracy and efficiency in supply chain risk identification, cannot identify supplier risk information in a timely and efficient manner, and are difficult to adapt to dynamic market environments and complex supply chain structures.

Method used

Using big data collection technology and semantic modeling methods, we use public news and social media data to monitor suppliers' production capacity changes, delayed deliveries, legal disputes, labor relations and other behaviors in real time, identify risk characteristic words, expand information samples, and conduct syntax analysis. Analyze and identify feature words, build feature lexicon, and train machine learning models to identify supply chain risks.

Benefits of technology

It improves the accuracy and efficiency of supply chain risk identification, enables timely and accurate identification of possible supply chain risk points, and enhances the company's adaptability to supply chain risks and the effectiveness of its response strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117973872B
    Figure CN117973872B
Patent Text Reader

Abstract

The present application provides a supply chain risk identification method, device, electronic device and storage medium. The method includes: preliminarily identifying risk categories and determining risk characteristics of risk categories; using initial feature words to search for information and obtain initial information samples; identifying related events in the initial information samples, using events to expand new information samples, and generating information sample sets; performing syntactic analysis and feature word recognition on sample sentences to obtain core feature words and construct a feature word library; selecting a number of core feature words based on the hit probability of the core feature words, and forming a feature word list with the selected core feature words; using the information sample set and the feature word list as training data, using the training data to train the machine learning model, and using the trained machine learning model to identify supply chain risks in public texts. The present application improves the accuracy and efficiency of supply chain risk identification, and can timely and accurately identify possible supply chain risk points.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a supply chain risk identification method, device, electronic device and storage medium. Background Art

[0002] The complexity and information asymmetry of the global supply chain environment are the main challenges facing supply chain management. This complexity and information asymmetry cause supply chain risks to be continuously amplified during the transmission process, which has a significant impact on corporate operations and efficiency. In order to meet these challenges, companies need to be able to identify and evaluate potential risk points in the supply chain in a timely and efficient manner.

[0003] The need for effective supply chain risk management is becoming increasingly urgent, especially in a globalized and networked business environment. We need a method that can use big data collection technology and semantic modeling methods to extract key information from data sources such as public news and social media, and conduct real-time monitoring and feature modeling of suppliers' capacity changes, delayed delivery, legal disputes, labor-management relations, and other behaviors.

[0004] Current supply chain risk identification technologies are mainly based on static models for multi-factor analysis. These methods usually rely on structured data such as internal supply chain data (such as sales data, procurement records, financial data) and external data (such as weather records, natural disaster records). The analysis methods used include traditional methods such as the Delphi method, scenario analysis, fault tree method, and flowchart method.

[0005] Therefore, existing technologies have problems with low accuracy and efficiency in identifying supply chain risks. These methods lack real-time monitoring of enterprise activities, behaviors, and status, and cannot identify supplier risk information in a timely and efficient manner. In addition, existing technologies rely on static data analysis models, which are difficult to adapt to the rapidly changing market environment and complex supply chain structure. Summary of the invention

[0006] In view of this, the embodiments of the present application provide a supply chain risk identification method, device, electronic device and storage medium to solve the problems of low accuracy and efficiency of supply chain risk identification in the prior art and the inability to timely and accurately identify possible supply chain risk points.

[0007] According to a first aspect of an embodiment of the present application, a supply chain risk identification method is provided, comprising: preliminarily identifying risk categories in a supply chain and determining risk characteristics corresponding to the risk categories; determining initial characteristic words related to supply chain risks based on risk characteristics, searching in preset multiple data sources using the initial characteristic words to obtain initial information samples; identifying events related to the initial characteristic words in the initial information samples, expanding the initial characteristic words using the events to obtain new information samples, and generating an information sample set using the initial information samples and the new information samples; performing syntactic analysis on sample sentences in the information sample set, and performing characteristic word identification on the sample sentences after syntactic analysis to obtain core characteristic words related to supply chain risks, and constructing a characteristic word library using the core characteristic words; determining the hit probability corresponding to the core characteristic words, selecting a number of core characteristic words from the characteristic word library according to the hit probability, and forming a characteristic word list with the selected core characteristic words; using the information sample set and the characteristic word list as training data, training a predetermined machine learning model using the training data to obtain a trained machine learning model, and using the trained machine learning model to identify supply chain risks in public texts.

[0008] According to a second aspect of an embodiment of the present application, a supply chain risk identification device is provided, including: a determination module, configured to preliminarily identify risk categories in a supply chain and determine risk characteristics corresponding to the risk categories; a search module, configured to determine initial feature words related to supply chain risks based on risk characteristics, and use the initial feature words to search in a preset plurality of data sources to obtain an initial information sample; an expansion module, configured to identify events related to the initial feature words in the initial information sample, use the events to expand the initial feature words to obtain new information samples, and use the initial information samples and the new information samples to generate an information sample set; an identification module, configured to search the information sample; The method comprises the following steps: performing syntactic analysis on sample sentences in the information sample set, and identifying feature words on the sample sentences after the syntactic analysis to obtain core feature words related to supply chain risks, and constructing a feature word library using the core feature words; a selection module is configured to determine the hit probability corresponding to the core feature words, select a number of core feature words from the feature word library according to the hit probability, and form a feature word list with the selected core feature words; a training module is configured to use the information sample set and the feature word list as training data, train a predetermined machine learning model using the training data, obtain a trained machine learning model, and use the trained machine learning model to identify supply chain risks in public texts.

[0009] According to a third aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the above method are implemented when the processor executes the computer program.

[0010] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0011] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects:

[0012] By preliminarily identifying the risk categories in the supply chain and determining the risk characteristics corresponding to the risk categories; determining the initial feature words related to the supply chain risk based on the risk characteristics, using the initial feature words to search in a preset multiple data sources to obtain an initial information sample; identifying the events related to the initial feature words in the initial information sample, using the events to expand the initial feature words to obtain new information samples, and using the initial information samples and new information samples to generate an information sample set; performing syntactic analysis on the sample sentences in the information sample set, and identifying the feature words of the sample sentences after syntactic analysis to obtain the core feature words related to the supply chain risk, and using the core feature words to build a feature word library; determining the hit probability corresponding to the core feature words, selecting a number of core feature words from the feature word library according to the hit probability, and forming a feature word list with the selected core feature words; using the information sample set and the feature word list as training data, using the training data to train a predetermined machine learning model, obtaining a trained machine learning model, and using the trained machine learning model to identify supply chain risks in public texts. This application improves the accuracy and efficiency of supply chain risk identification, and can timely and accurately identify possible supply chain risk points. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0014] Figure 1 It is a flow chart of a supply chain risk identification method provided in an embodiment of the present application;

[0015] Figure 2 is a schematic diagram of the structure of a supply chain risk identification device provided in an embodiment of the present application;

[0016] Figure 3 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0018] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0019] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below. It should be noted that the modifications of "one" and "multiple" mentioned in this application are illustrative rather than restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".

[0020] The complexity and information asymmetry of the global supply chain environment have led to the continuous amplification of supply chain risk transmission. Using big data collection technology and semantic modeling methods, using data collected from public news and social media, we model the characteristics of suppliers' capacity changes, delayed delivery, legal disputes, labor-capital relations, etc., so as to timely and efficiently discover enterprise-specific behaviors, identify possible supply chain risk points, and provide data support for the next step of supply chain risk assessment.

[0021] At present, supply chain risk identification is generally a multi-factor analysis based on static models. Supply chain risk identification based on big data is to collect structured data such as internal data of the supply chain (such as sales data, procurement records, financial data) and external data (such as weather records, natural disaster records), and use traditional analysis methods such as Delphi method, scenario analysis, fault tree method, flowchart method to identify risks. It lacks timely monitoring of corporate activities, behaviors and status, and cannot identify supplier risk information in a timely and efficient manner.

[0022] Therefore, existing technologies have obvious limitations in supply chain risk identification, which are mainly reflected in the lack of adaptability to dynamic market environments and complex supply chain structures, as well as the low accuracy and efficiency of risk identification. Therefore, it is urgent to develop a new supply chain risk identification method that can make full use of modern big data technology and semantic analysis to improve the accuracy and efficiency of risk identification.

[0023] It should be noted that the supply chain in the embodiment of the present application can be considered as the entire process from the purchase of raw materials to the manufacture of finished products, and then to the delivery of the final product to consumers. This process involves multiple links, including suppliers, manufacturers, warehousing, transportation, distributors and retailers. The purpose of supply chain management is to effectively coordinate these links to meet market demand with the lowest cost, highest efficiency and best quality. In this process, the circulation of information and the management of logistics are crucial to ensure the smooth operation of the entire supply chain.

[0024] Supply chain risk can be considered as any uncertainty or potential negative events that may be encountered during the operation of the supply chain, which may lead to supply chain disruptions, reduced efficiency, increased costs or quality issues. Supply chain risks can come from many aspects, including but not limited to supplier risks (such as supplier bankruptcy or delayed delivery), market risks (such as sudden changes in demand), environmental risks (such as natural disasters), policy and legal risks (such as policy changes or legal disputes), etc. Supply chain risk management refers to the identification, assessment and control of these risks to ensure the stability and efficient operation of the supply chain.

[0025] A supply chain risk identification method and device provided by the present application are described in detail below with reference to the accompanying drawings and specific embodiments.

[0026] Figure 1 Schematic diagram of the supply chain risk identification method provided by the embodiment of the present application. Figure 1 As shown, the supply chain risk identification method may specifically include:

[0027] S101, preliminarily identify the risk categories in the supply chain and determine the risk characteristics corresponding to the risk categories;

[0028] S102, determining initial feature words related to supply chain risks based on risk characteristics, and using the initial feature words to search in a plurality of preset data sources to obtain an initial information sample;

[0029] S103, identifying events related to the initial feature words in the initial information sample, expanding the initial feature words using the events to obtain new information samples, and generating an information sample set using the initial information sample and the new information sample;

[0030] S104, performing syntactic analysis on sample sentences in the information sample set, and identifying characteristic words on the sample sentences after syntactic analysis to obtain core characteristic words related to supply chain risks, and constructing a characteristic word library using the core characteristic words;

[0031] S105, determining the hit probability corresponding to the core feature word, selecting a number of core feature words from the feature word library according to the hit probability, and forming a feature word list with the selected core feature words;

[0032] S106: Use the information sample set and the feature word list as training data, use the training data to train a predetermined machine learning model to obtain a trained machine learning model, and use the trained machine learning model to identify supply chain risks in public texts.

[0033] In some embodiments, risk categories in the supply chain are preliminarily identified, and risk characteristics corresponding to the risk categories are determined, including: preliminarily identifying risk categories existing in the supply chain, analyzing the application scenarios, characteristic meanings and explanatory definitions corresponding to each risk category, and defining the risk characteristics and manifestations corresponding to each risk category based on the analysis results.

[0034] Specifically, first, collect various data related to the supply chain, including but not limited to public news reports, social media posts, industry analysis reports, corporate announcements, etc. Then, use natural language processing technology to analyze the collected data and preliminarily identify possible supply chain risk categories. For example, by analyzing discussions about specific suppliers on social media, you can preliminarily identify risk categories such as labor-management relations issues, supplier financial difficulties, and natural disasters.

[0035] Furthermore, we conduct an in-depth feature analysis for each type of risk. This operation relies on the experience and knowledge of experts, combined with industry standards and historical cases, to define in detail the specific manifestations and characteristics of each type of risk. For example, for labor-management relations issues, we analyze possible manifestations, such as strikes, labor-management negotiations, layoffs, unpaid leave, employee turnover, employee shortages, resignations, etc.

[0036] In one example, for supplier financial distress, risk characteristics may include consecutive losses, rising debt-to-asset ratios, declining credit ratings, etc. In the case of natural disaster risk, risk characteristics may include geographic location, historical disaster records, vulnerability of local infrastructure, etc.

[0037] Furthermore, the characteristic meaning of each risk is explained and defined to ensure clear guidance in subsequent analysis and application. For example, for a strike, the definition may include the length of time workers will stop working, the number of production lines affected, potential delivery delays, etc.

[0038] In practice, this method can be applied in a variety of scenarios. For example, a multinational company may use this method to assess the risks of its suppliers in different countries. By analyzing the collected data, the company can promptly identify labor issues or financial difficulties that a specific supplier may face, so as to take measures in advance to reduce the risk of potential supply chain disruptions.

[0039] Through the method of the above-mentioned embodiment of the present application, this solution provides a more systematic and comprehensive solution for supply chain risk management by combining data analysis and expert knowledge. This solution can effectively understand and analyze the semantic meaning and application scenarios of supply chain risks. This not only helps to identify and predict risks more accurately, but also provides a basis for taking targeted risk management measures. Therefore, this solution not only improves the accuracy of risk identification, but also enhances the adaptability of enterprises to supply chain risks and the effectiveness of response strategies.

[0040] In some embodiments, events related to initial feature words in an initial information sample are identified, and the initial feature words are expanded using the events to obtain new information samples, including: analyzing the initial information sample to identify events related to the initial feature words; performing a secondary search on the data source using keywords corresponding to the events to obtain new information samples; identifying events in the new information sample, and continuing to expand the new information sample, repeating the expansion operation until all new information samples are obtained; wherein the initial information sample contains text sentences with semantic expressions related to the initial feature words.

[0041] Specifically, according to the different types of supply chain risks, determine the key feature words related to them. For example, for labor relations risks, possible keywords include "strike", "layoffs", "labor-management negotiations", etc. Analyze and select the sources of these keywords to ensure that they can accurately reflect the specific risks in the supply chain.

[0042] Furthermore, the identified key feature words are used to search in various data sources, including news websites, social media platforms, corporate announcements, industry reports, etc. Text sentences containing these feature words are collected to ensure that they are related to supply chain risks and have relevant semantic expressions.

[0043] Further, the initially collected information samples are analyzed to identify specific events or situations related to the initial feature words. The keywords corresponding to these identified events are used to conduct a secondary search of the data source to obtain new information samples.

[0044] By repeating the above expansion operations, more detailed and in-depth information samples related to supply chain risks can be iteratively mined and collected. In addition, in practical applications, machine learning algorithms and natural language processing technologies can be used to automate the above processing process to improve collection efficiency and sample relevance.

[0045] Furthermore, the embodiments of the present application can also perform quality control on the collected information samples to evaluate their relevance and accuracy. In addition, data cleaning operations can be added to remove noise data, such as information irrelevant to the risk or false positives. High-quality information samples can also be screened out from the collected samples for subsequent risk analysis and model training.

[0046] Through the above-mentioned method of the embodiment of the present application, it is possible to systematically collect and expand information samples related to supply chain risks, which provides a rich data foundation for subsequent risk analysis and model training. By continuously expanding and deepening the collection of information samples, enterprises can more accurately and quickly identify and respond to potential risks in the supply chain.

[0047] In some embodiments, syntactic analysis is performed on sample sentences in an information sample set, and feature word recognition is performed on the sample sentences after syntactic analysis to obtain core feature words related to supply chain risks, including: preprocessing the information sample set, and using natural language processing technology to perform syntactic analysis on the sample sentences in the preprocessed information sample set; identifying and marking core words or phrases used to characterize supply chain risks in the sample sentences after syntactic analysis, and using the core words or phrases used to characterize supply chain risks as core feature words; wherein each feature word library corresponds to a supply chain risk category.

[0048] Specifically, first, the collected information sample set is preprocessed, for example, data cleaning, removal of irrelevant characters, and standardization of text format to facilitate subsequent analysis. Then, natural language processing technology is used to perform syntactic analysis on each sample sentence, for example, including identification of syntactic elements such as subject-verb-object structure, attributive clauses, and adverbial clauses in the sentence. Through syntactic analysis, the structure and meaning of each sample sentence are deeply understood, ensuring that all sample data formats are consistent to meet the needs of natural language processing technology, so as to more accurately identify the core words or phrases that represent specific risks.

[0049] Furthermore, based on the syntactic analysis, the core words or phrases used to characterize supply chain risks are identified and annotated. These words are directly related to specific supply chain risks. For example, for labor-capital relations risks, possible core phrases include "worker strikes", "wage negotiations", "large-scale layoffs", etc. For another example, if the risk analyzed is related to supply chain disruptions, phrases such as "delayed delivery", "production line stoppage", "logistics bottleneck" and so on may be annotated as key feature words. In actual applications, the annotation process can use automated tools or manual review to accurately annotate these core words or phrases.

[0050] Furthermore, the identified and labeled core feature words are summarized to construct a feature word library for each supply chain risk category. It is necessary to ensure that the structure of each feature word library is clear to facilitate subsequent risk analysis and model training.

[0051] Optionally, the embodiment of the present application can also continuously optimize the accuracy of feature word recognition based on feedback from model training and actual applications, and continuously optimize and update the feature word library based on feedback and data analysis results from actual applications. In addition, the embodiment of the present application can also regularly update the feature word library to adapt to changes in the supply chain environment and emerging risk types.

[0052] It should be noted that, when executing the above steps, various natural language processing algorithms, such as language models based on deep learning, can be used to improve the accuracy of syntactic analysis and the efficiency of feature word recognition. In addition, expert knowledge and industry-specific vocabulary libraries can be combined to further improve the relevance and accuracy of feature word recognition.

[0053] Through the above-mentioned method of the embodiment of the present application, the embodiment of the present application can effectively extract key feature words or phrases from a large amount of information samples, and these words are directly related to specific supply chain risks. The above method is used to extract core feature words related to supply chain risks from a large amount of text data, thereby providing key data for risk identification and assessment, which is essential for establishing an accurate risk prediction model and formulating effective risk management strategies. Through this method, enterprises can more effectively identify and respond to potential supply chain risks, thereby maintaining the stability and efficiency of their operations.

[0054] In some embodiments, determining the hit probability corresponding to the core feature word includes: counting the number of times each core feature word appears in the information sample set, and calculating the ratio between the number of occurrences of each core feature word and the total number of samples in the information sample set based on the number of occurrences corresponding to each core feature word, and using the ratio as the hit probability of the core feature word.

[0055] Specifically, firstly, all the annotated core feature words are extracted from the information sample set, and the number of times each core feature word appears in the information sample set is counted, that is, the number of times each core feature word appears in all information samples is calculated.

[0056] Furthermore, for each core feature word, the hit probability of each feature word or phrase is calculated based on the frequency of occurrence of the core feature word, that is, the proportion of the number of occurrences of the core feature word to the total sample size of the information sample set is calculated, and this proportion is the hit probability of the core feature word. It can be expressed mathematically as: hit probability = (number of occurrences of core feature words / total sample size) × 100%. For example, if the phrase "delayed delivery" appears 100 times in 1,000 samples, then its hit probability is 10%.

[0057] It should be noted that when executing the above steps, a variety of data processing and analysis tools can be combined, such as database management systems, data analysis software, etc. In addition, machine learning algorithms can be used to optimize the selection and screening process of feature words to ensure the accuracy and comprehensiveness of the selected feature words in representing supply chain risks.

[0058] In some embodiments, a number of core feature words are selected from the feature word library according to the hit probability, including: sorting the core feature words from high to low according to the hit probability, and selecting the core feature words in turn according to the sorting results until the proportion of the total sample covered by the selected core feature words exceeds a preset proportion threshold.

[0059] Specifically, all core feature words are sorted from high to low according to their corresponding hit probabilities. Core feature words are selected from the sorted list in sequence until the coverage rate (i.e., cumulative hit probability) of the selected core feature words exceeds the set threshold (e.g., 80%). In other words, core feature words are selected in sequence from high to low according to the hit probability until the total sample volume covered by these selected core feature words exceeds 80%, and then the selection of core feature words is stopped. The core feature words finally selected can represent most of the risk-related information.

[0060] Furthermore, the selected core feature words are summarized into a feature word list, which will serve as the basis for subsequent semantic recognition and model training.

[0061] Optionally, the embodiment of the present application can also periodically evaluate and update the feature word list based on feedback from model training and actual applications to ensure its accuracy and comprehensiveness in representing specific risks. In addition, the coverage threshold can be adjusted in a timely manner according to actual needs and performance evaluation results to optimize the selection of feature words.

[0062] In practical applications, the above core feature word selection process can be performed by automated tools to improve efficiency and accuracy. In addition, the hit probability and coverage of the core feature words can be visualized for easy analysis and interpretation.

[0063] Through the above-mentioned method of the embodiment of the present application, the embodiment of the present application provides important data support for establishing an efficient supply chain risk early warning system by accurately calculating and analyzing the hit probability of core feature words. It can also ensure that the feature word table finally formed has high representativeness and coverage, can effectively capture and represent key information related to supply chain risks, and provides strong data support for accurate identification and assessment of risks.

[0064] In some embodiments, after obtaining the trained machine learning model, the method also includes: inputting a preset validation set into the trained machine learning model to obtain the recognition results output by the trained machine learning model, calculating the recall rate and error rate based on the recognition results and the true labels corresponding to the test samples in the validation set, performing a performance evaluation on the trained machine learning model based on the calculation results of the recall rate and the error rate, and adjusting and optimizing the model based on the results of the performance evaluation; wherein, the machine learning model adopts a natural language processing model.

[0065] Specifically, the embodiments of the present application use previously collected information sample sets and feature word lists as training data. These training data contain key information and semantic expressions related to supply chain risks. According to the needs of supply chain risk identification, select appropriate machine learning or deep learning models, such as decision trees, random forests, neural networks and other models. Optionally, in view of the characteristics of text processing in this solution, models that can process natural language data, such as NLP (natural language processing) models, can be used preferentially.

[0066] Furthermore, the pre-configured machine learning model is initially trained using the training data. In the initial training phase, the machine learning model will learn how to identify and predict supply chain risks based on the vocabulary in the feature vocabulary. Finally, after several rounds of iterative training, the trained machine learning model is obtained.

[0067] Furthermore, a validation set or test set is used to evaluate the performance of the model. A validation set is selected or constructed from the existing data. The validation set is different from the training set but reflects the same type of supply chain risk scenarios. The true label is determined for each sample in the validation set to reflect whether it correctly characterizes the supply chain risk.

[0068] Furthermore, the validation set is input into the trained machine learning model, and the recognition results of the model for the validation set samples are recorded. Based on the recognition results, the recall rate of the model is calculated, that is, the proportion of positive samples correctly recognized by the model to all actual positive samples; at the same time, the error rate of the model is calculated, that is, the proportion of negative samples that are incorrectly recognized as positive by the model to all actual negative samples.

[0069] Furthermore, the performance of the model is analyzed based on the calculation results of the recall rate and error rate. Based on the results of the performance evaluation, the model is adjusted and optimized. For example, it includes but is not limited to the following adjustments: model parameters, adding more training data, or changing the model structure.

[0070] In one example, the parameters of the model, such as the loss function, learning rate, number of layers, number of neurons, etc., are adjusted to improve the model performance. The adjusted model can also be re-evaluated using the validation set to ensure performance improvement. If necessary, the steps of performance analysis and parameter adjustment are repeated until the model performance meets the preset requirements.

[0071] Further, the training iteration process is continued until the recall rate and error rate of the model meet the preset requirements, which can be set based on the accuracy and reliability requirements in actual applications. Once the model performance meets the preset requirements, the model is confirmed as the final model. The goal of the training iteration process is to increase the recall rate of the model while reducing the error rate, ensuring that the model can accurately identify real risks without generating too many false positives.

[0072] In practical applications, when the model reaches a satisfactory performance level, it can be deployed in the actual supply chain risk monitoring and early warning system, that is, the model is ready to be applied to the actual supply chain risk identification scenario, and the trained model is used for actual supply chain risk identification, and early warning is issued based on the supply chain risk identification results.

[0073] It should be noted that when executing the above steps, various machine learning frameworks and natural language processing tools can be used to build and optimize models, such as TensorFlow, PyTorch, etc. In addition, during the model adjustment process, you can consider using techniques such as cross-validation to avoid overfitting and ensure that the model has good generalization ability.

[0074] Through the above-mentioned method of the embodiment of the present application, the embodiment of the present application can construct an efficient and accurate semantic model for identifying and predicting potential risks in the supply chain. And it provides an effective method to evaluate and optimize the machine learning model for supply chain risk identification. Through this method, it can be ensured that the model has high accuracy and efficiency in practical applications, thereby helping enterprises to better manage and deal with various risks in the supply chain. The above method ensures that this solution can effectively cope with the complex and changing supply chain environment and provide enterprises with timely risk warning information.

[0075] According to the technical solution provided in the embodiment of the present application, the embodiment of the present application has at least the following advantages:

[0076] 1) High-quality machine learning model training data

[0077] The data samples collected and annotated by this technical solution are directly applicable to the machine learning system without the need for additional data processing or conversion, which greatly improves the practicality and application scope of the data. Accurate data annotation ensures the efficiency of machine learning model training, allowing the model to learn and adapt to specific supply chain risk scenarios more quickly. High-quality training data provides a solid foundation for building efficient and accurate prediction models, thereby achieving higher accuracy and reliability in supply chain risk identification.

[0078] 2) Improve modeling quality and efficiency

[0079] The statistical data of expression patterns provide a powerful guide for the establishment of learning corpus, making the corpus more in line with actual needs and application scenarios. By evaluating sample sparsity and data sparsity, this technical solution can effectively identify and make up for deficiencies in the data set, and improve the comprehensiveness and representativeness of the data set. The above advantages work together in the entire modeling process, improving the overall quality of the model and ensuring the effectiveness and accuracy of the model in practical applications.

[0080] 3) Ability to timely identify risk points that may cause supply risks

[0081] By monitoring the behavior, activities and status of suppliers in real time, this technical solution can promptly capture potential risk signals, such as emergencies, unstable operations, etc. Early identification of risk points allows enterprises to take preventive measures or response strategies in a timely manner, thereby reducing the impact of potential risks on the supply chain and maintaining the stability and continuity of the supply chain. It provides decision makers with more and more accurate information, supporting them to make more informed decisions, thereby improving the ability of enterprises to deal with supply chain risks.

[0082] Therefore, in summary, the technical solution of this application not only makes significant progress in improving the efficiency and quality of machine learning model training, but also provides strong technical support for enterprises to timely discover and respond to supply chain risks by effectively monitoring and analyzing the behavior, activities and status of suppliers.

[0083] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0084] Figure 2 Schematic diagram of the structure of the supply chain risk identification device provided in the embodiment of the present application. Figure 2 As shown, the supply chain risk identification device includes:

[0085] The determination module 201 is configured to preliminarily identify the risk categories in the supply chain and determine the risk characteristics corresponding to the risk categories;

[0086] A search module 202 is configured to determine initial feature words related to supply chain risks based on risk characteristics, and use the initial feature words to search in a plurality of preset data sources to obtain an initial information sample;

[0087] The expansion module 203 is configured to identify events related to the initial feature words in the initial information sample, expand the initial feature words using the events to obtain new information samples, and generate an information sample set using the initial information sample and the new information sample;

[0088] The identification module 204 is configured to perform syntactic analysis on the sample sentences in the information sample set, and perform feature word recognition on the sample sentences after syntactic analysis to obtain core feature words related to supply chain risks, and construct a feature word library using the core feature words;

[0089] The selection module 205 is configured to determine the hit probability corresponding to the core feature word, select a number of core feature words from the feature word library according to the hit probability, and form a feature word list with the selected core feature words;

[0090] The training module 206 is configured to use the information sample set and the feature word list as training data, use the training data to train a predetermined machine learning model, obtain a trained machine learning model, and use the trained machine learning model to identify supply chain risks in public texts.

[0091] In some embodiments, Figure 2 The determination module 201 preliminarily identifies the risk categories existing in the supply chain, analyzes the application scenarios, characteristic meanings and interpretation definitions corresponding to each risk category, and defines the risk characteristics and manifestations corresponding to each risk category based on the analysis results.

[0092] In some embodiments, Figure 2 The expansion module 203 analyzes the initial information sample to identify events related to the initial feature words; uses the keywords corresponding to the events to perform a secondary search on the data source to obtain new information samples; identifies the events in the new information samples, and continues to expand the new information samples, repeating the expansion operation until all new information samples are obtained; wherein the initial information samples contain text sentences with semantic expressions related to the initial feature words.

[0093] In some embodiments, Figure 2 The recognition module 204 pre-processes the information sample set, and uses natural language processing technology to perform syntactic analysis on sample sentences in the pre-processed information sample set; identifies and annotates the core words or phrases used to characterize supply chain risks in the sample sentences after syntactic analysis, and uses the core words or phrases used to characterize supply chain risks as core feature words; wherein each feature word library corresponds to a supply chain risk category.

[0094] In some embodiments, Figure 2 The selection module 205 counts the number of times each core feature word appears in the information sample set, and calculates the ratio between the number of times each core feature word appears and the total number of samples in the information sample set according to the number of times each core feature word appears, and uses the ratio as the hit probability of the core feature word.

[0095] In some embodiments, Figure 2 The selection module 205 sorts the core feature words from high to low according to the hit probability, and selects the core feature words in sequence according to the sorting results until the proportion of the selected core feature words covering the total sample volume exceeds a preset proportion threshold.

[0096] In some embodiments, Figure 2 After obtaining the trained machine learning model, the evaluation module 207 inputs a preset validation set into the trained machine learning model to obtain the recognition result output by the trained machine learning model, calculates the recall rate and the error rate according to the recognition result and the true label corresponding to the test sample in the validation set, performs performance evaluation on the trained machine learning model according to the calculation results of the recall rate and the error rate, and adjusts and optimizes the model according to the results of the performance evaluation; wherein, the machine learning model adopts a natural language processing model.

[0097] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0098] Figure 3 Schematic diagram of the structure of the electronic device 3 provided in the embodiment of the present application. Figure 3 As shown, the electronic device 3 of this embodiment includes: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and executable on the processor 301. When the processor 301 executes the computer program 303, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 301 executes the computer program 303, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0099] Exemplarily, the computer program 303 may be divided into one or more modules / units, which are stored in the memory 302 and executed by the processor 301 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 303 in the electronic device 3.

[0100] The electronic device 3 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 3 may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of the electronic device 3 and does not constitute a limitation of the electronic device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0101] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0102] The memory 302 may be an internal storage unit of the electronic device 3, for example, a hard disk or memory of the electronic device 3. The memory 302 may also be an external storage device of the electronic device 3, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 3. Further, the memory 302 may also include both an internal storage unit and an external storage device of the electronic device 3. The memory 302 is used to store computer programs and other programs and data required by the electronic device. The memory 302 may also be used to temporarily store data that has been output or is to be output.

[0103] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0104] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0105] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0106] In the embodiments provided in the present application, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0107] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0108] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0109] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.

[0110] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A supply chain risk identification method, characterized in that: include: Conduct preliminary identification of risk categories in the supply chain and determine the risk characteristics corresponding to the risk categories; Determine initial feature words related to supply chain risk based on the risk characteristics, and use the initial feature words to search in a plurality of preset data sources to obtain an initial information sample; Identify events related to the initial feature words in the initial information sample, expand the initial feature words using the events to obtain new information samples, and generate an information sample set using the initial information sample and the new information sample; Performing syntactic analysis on sample sentences in the information sample set, and performing feature word recognition on the sample sentences after syntactic analysis to obtain core feature words related to supply chain risks, and constructing a feature word library using the core feature words; Determine the hit probability corresponding to the core feature word, select a number of core feature words from the feature word library according to the hit probability, and form a feature word list with the selected core feature words; Using the information sample set and the feature word list as training data, training a predetermined machine learning model using the training data to obtain a trained machine learning model, and using the trained machine learning model to identify supply chain risks in public texts; The preliminary identification of risk categories in the supply chain and the determination of risk characteristics corresponding to the risk categories include: Preliminarily identify the risk categories existing in the supply chain, analyze the application scenarios, characteristic meanings and interpretation definitions corresponding to each risk category, and define the risk characteristics and manifestations corresponding to each risk category based on the analysis results; The identifying of events related to the initial feature words in the initial information sample and using the events to expand the initial feature words to obtain a new information sample includes: Analyze the initial information sample to identify events related to the initial feature words; perform a secondary search on the data source using keywords corresponding to the events to obtain new information samples; identify events in the new information samples to expand the new information samples, and repeat the expansion operation; wherein the initial information sample contains text sentences with semantic expressions related to the initial feature words; The determining the hit probability corresponding to the core feature word includes: The number of times each core feature word appears in the information sample set is counted, and based on the number of occurrences corresponding to each core feature word, the ratio between the number of occurrences of each core feature word and the total number of samples in the information sample set is calculated, and the ratio is used as the hit probability of the core feature word.

2. The method according to claim 1, characterized in that The syntactic analysis of the sample sentences in the information sample set and the feature word recognition of the sample sentences after the syntactic analysis to obtain core feature words related to supply chain risks include: The information sample set is preprocessed, and the sample sentences in the preprocessed information sample set are subjected to syntactic analysis using natural language processing technology; the core words or phrases used to characterize supply chain risks in the sample sentences after syntactic analysis are identified and annotated, and the core words or phrases used to characterize supply chain risks are used as core feature words; wherein each of the feature word libraries corresponds to a supply chain risk category.

3. The method according to claim 1, characterized in that The selecting of a plurality of core feature words from the feature word library according to the hit probability includes: The core feature words are sorted from high to low according to the hit probability, and core feature words are selected in sequence according to the sorting result until the proportion of the selected core feature words covering the total sample volume exceeds a preset proportion threshold.

4. The method according to claim 1, characterized in that After obtaining the trained machine learning model, the method further includes: Input a preset validation set into the trained machine learning model to obtain a recognition result output by the trained machine learning model, calculate the recall rate and the error rate based on the recognition result and the true label corresponding to the test sample in the validation set, perform a performance evaluation on the trained machine learning model based on the calculation results of the recall rate and the error rate, and adjust and optimize the model based on the results of the performance evaluation; wherein the machine learning model adopts a natural language processing model.

5. A supply chain risk identification device, characterized in that: include: A determination module configured to preliminarily identify risk categories in the supply chain and determine risk characteristics corresponding to the risk categories; A search module is configured to determine initial feature words related to supply chain risks based on the risk features, and use the initial feature words to search in a plurality of preset data sources to obtain an initial information sample; an expansion module, configured to identify events related to the initial feature words in the initial information sample, expand the initial feature words using the events to obtain new information samples, and generate an information sample set using the initial information sample and the new information sample; an identification module configured to perform syntactic analysis on sample sentences in the information sample set, and perform feature word recognition on the sample sentences after syntactic analysis to obtain core feature words related to supply chain risks, and construct a feature word library using the core feature words; A selection module is configured to determine a hit probability corresponding to the core feature word, select a number of core feature words from the feature word library according to the hit probability, and form a feature word list with the selected core feature words; A training module is configured to use the information sample set and the feature word list as training data, use the training data to train a predetermined machine learning model to obtain a trained machine learning model, and use the trained machine learning model to identify supply chain risks in public texts; The determination module is used to preliminarily identify the risk categories existing in the supply chain, analyze the application scenarios, characteristic meanings and interpretation definitions corresponding to each risk category, and define the risk characteristics and manifestations corresponding to each risk category according to the analysis results; The expansion module is used to analyze the initial information sample to identify events related to the initial feature words; perform a secondary search on the data source using keywords corresponding to the events to obtain new information samples; identify events in the new information sample to expand the new information sample, and repeat the expansion operation; wherein the initial information sample contains text sentences with semantic expressions related to the initial feature words; The selection module is used to count the number of times each core feature word appears in the information sample set, and calculate the ratio between the number of appearances of each core feature word and the total number of samples in the information sample set based on the number of appearances corresponding to each core feature word, and use the ratio as the hit probability of the core feature word.

6. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.