Construction method of industry investment attraction large model based on knowledge graph enhancement
By constructing a versioned knowledge graph and training a projection adapter, the problems of multi-source industry data alignment and inconsistent knowledge states were solved, achieving accurate alignment of enterprises and industry links and traceability of analysis results, thereby improving the accuracy and reliability of industrial investment promotion.
Patent Information
- Application Number
- CN202611330889.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
In existing technologies, it is difficult to accurately align multi-source industry data entities, knowledge graphs are difficult to integrate into the semantic space of large models, and the retrieval, generation, and verification knowledge states are inconsistent, leading to problems such as companies with the same name, historically invalid relationships, and source conflicts, which affect the accuracy and reliability of industry investment promotion analysis.
By aligning entities with enterprise registration identifiers and multi-source evidence, a versioned knowledge graph is constructed. The projection adapter is trained using graph-text comparison and entity relationship time reconstruction loss. The graph snapshot is locked on request and constrained evidence subgraph retrieval is performed. The results of industry investment promotion analysis with source and validity time are decoded and reversed.
It achieves alignment of cross-source enterprise entities and industrial links, maintains consistency in knowledge temporality, provides traceable factual evidence, reduces confusion about entities and relationships, and ensures the accuracy and reliability of investment promotion analysis.
Smart Images

Figure CN123159348A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of artificial intelligence and industrial knowledge graph data processing, and in particular to a method for constructing a large-scale model for industrial investment promotion based on knowledge graph enhancement. Background Technology
[0002] With the development of industrial big data platforms and generative artificial intelligence technologies, industrial investment promotion analysis is gradually shifting from manual retrieval and rule-based screening to enterprise identification, industrial chain analysis, and candidate path generation based on pre-trained models. Related systems typically aggregate data on enterprise registration, industrial chains, investment events, patent achievements, supply and demand relationships, policy texts, and regional resources, and provide investment promotion personnel with information analysis results through text retrieval or corpus fine-tuning.
[0003] In existing technologies, the field structure, entity naming, and update time of different data sources lack a unified expression, and companies with the same name, historically invalid relationships, and source conflicts can easily enter the training or retrieval results. Furthermore, general pre-trained models lack structured knowledge such as the upstream and downstream of the industrial chain, enterprise capability boundaries, and policy resource constraints. Even with the introduction of knowledge graphs, the representation of graph entities and relationships is still difficult to stably align with the model's latent space. If different knowledge versions are used for retrieval, generation, and verification, it can also lead to assertions lacking sources, time conflicts, and violations of investment attraction paths.
[0004] Therefore, a method for constructing a large-scale industrial investment attraction model is needed to address the shortcomings of existing technologies. Summary of the Invention
[0005] One objective of this invention is to propose a method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement. Addressing the problems in existing technologies such as difficulty in accurately aligning multi-source industrial data entities, difficulty in integrating graph knowledge into the semantic space of large models, and inconsistencies in the state of retrieved, generated, and verified knowledge, this invention proposes a technical solution that includes: performing cross-source entity alignment using enterprise registration identifiers and multi-source soft evidence; constructing a versioned source knowledge graph with effective and observation times; using graph-text comparison and entity relationship time reconstruction and constraint violation joint training of the projection adapter and parameter fine-tuning layer; locking graph snapshots on request and performing constraint evidence subgraph retrieval; and decoding constraints using the fact allowance set and performing assertion-by-assertion reverse lookup within the same snapshot. This invention achieves the technical effects of reducing entity and relationship confusion, maintaining consistency in investment promotion constraints and knowledge temporality, and providing traceable factual evidence for analysis conclusions.
[0006] This invention provides a method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement, including:
[0007] S1. Acquire multi-source industry data, align entities with enterprise registration identifiers and multi-source evidence, associate effective time, observation time, source and conflict status with graph facts, and construct a versioned knowledge graph;
[0008] S2. Construct samples from source text and graph facts, train the graph to the projection adapter of the latent space of the large language model with graph-text comparison loss, entity-relationship-time reconstruction loss and constraint violation loss, and write the alignment and conflict results back to the versioned knowledge graph to obtain the graph-enhanced industrial investment promotion large model and the versioned knowledge graph after writing back.
[0009] S3. Transform the regional industrial base and investment promotion policies into a constraint set, lock the snapshot of the written-back versioned knowledge graph according to the factual evaluation time point and the observation deadline, and identify the missing links in the industrial chain;
[0010] S4. Based on the constraint set and missing links in the industry chain, perform entity embedding recall and constraint graph search based on the graph snapshot, filter out search results that do not meet the requirements of source, time, constraint or conflict, and form an evidence package containing subgraph representation, source text and fact allowable set composed of evidence subgraph facts;
[0011] S5. Input the evidence package into the graph-enhanced industrial investment promotion model and decode it with the fact allowable set constraint. Generate assertions by reverse lookup in the same graph snapshot. Perform re-search or uncertainty output on the assertions that fail to be verified to obtain the industrial investment promotion analysis results with source and valid time.
[0012] Optionally, S1 includes: mapping enterprise, industry chain, investment event, patent achievement, supply and demand relationship, policy text and regional resource data records of enterprises, industrial chain, investment event, patent achievement, supply and demand relationship and regional resource data into unified entity type, attribute type and relationship type according to a preset field mapping table, saving the source identifier and original text location of each record, and associating the source identifier and original text location with the corresponding graph fact when generating graph facts;
[0013] Records with consistent enterprise registration identifiers are identified as candidates for the same enterprise entity. For the remaining records, similarity in name, address level, personnel and equity overlap, product patent similarity, and relational neighborhood similarity are extracted. Each similarity and its source reliability weight are input into the entity alignment classifier, and the entity matching confidence score is output.
[0014] Entities are merged when the entity matching confidence reaches the preset merging threshold, and conflict records are established when attribute values or relationship values from different sources cannot be true at the same time.
[0015] The effective time refers to the time interval during which the entity attributes or entity relationships described by the graph fact are established in the objective object; the observation time refers to the time when the system obtains the graph fact; and the version identifier of the versioned knowledge graph is jointly determined by the incremental fact submission batch and the observation deadline.
[0016] Optionally, S2 includes: constructing samples by constructing positive samples from source texts and graph facts or graph paths that have the same source support, intersecting valid time intervals, and whose original text locations can correspond;
[0017] Constraint objects, comparison operators, and constraint values are extracted from historical industry investment requests, policy texts, and regional resource data to generate a sample-level constraint set. The constraint types in the sample-level constraint set are then mapped to industry link constraints, technological capability constraints, investment constraints, resource constraints, environmental constraints, regional constraints, or time constraints.
[0018] The following are constructed as difficult negative samples: pairs of enterprise entities with the same name but different enterprise registration identifiers, historical relationships of the same enterprise entity established outside the sample validity period, relationships marked as mutually exclusive by conflict records, and graph paths with similar structures but violating the sample-level constraint set.
[0019] The source identifier, valid time interval, observation time, conflict status, and type of violated constraint are written into the sample record to make the sample correspond to the version of the versioned knowledge graph.
[0020] Further, the training includes: using a graph encoder to encode entities, relations, attributes, effective time and observation time in positive samples and hard negative samples, and obtaining a graph representation with the same dimension as the corresponding source text lexical representation through the projection adapter;
[0021] The graph-text comparison loss is used to bring the graph representation of positive samples closer to the source text representation and separate difficult negative samples. The entity-relationship-time reconstruction loss is used to constrain the graph representation to recover the hidden entity, relationship and time fields. The constraint violation loss is used to increase the discrimination interval between the graph path that violates the constraint and the compliant graph path.
[0022] The projection adapter and parameter fine-tuning layer are jointly updated. The graph representation of the entity pair to be aligned, the features corresponding to the multi-source evidence, and the original entity matching confidence are input into the entity pair alignment head. The calibrated entity merging probability is output. The original entity matching confidence is updated with the entity merging probability. Conflict labels are generated based on the discrimination results of mutual exclusion relationships. The conflict status of the corresponding graph facts is updated with the conflict labels.
[0023] Optionally, S3 includes: extracting the industrial links to be supplemented, target products or technologies, investment scale range, resource demand upper limit, environmental access conditions, permitted geographical scope, factual evaluation time point and observation deadline from the industrial investment promotion request, generating the corresponding constraint objects, comparison operators and constraint values respectively, and ensuring that the constraint set contains at least one constraint;
[0024] Graph facts whose effective time includes the evaluation time of the fact and whose observation time is no later than the observation deadline are included in the graph snapshot, and the source identifier, updated entity matching confidence and conflict status of the same graph fact are retained;
[0025] The missing links in the industrial chain are determined by the difference between the industrial links covered by existing enterprise entities in the region and the necessary industrial links in the preset industrial chain topology, and the relationship type connecting the existing industrial links and the missing links in the industrial chain is used as the target relationship type for constraint graph search.
[0026] Optionally, S4 includes: encoding the missing links in the industrial chain, the target product or technology, and existing enterprise entities in the region into query vectors, and recalling seed entities from the entity embedding index of the graph snapshot;
[0027] Starting from the seed entity, the graph path is expanded according to the target relation type. During each expansion, graph facts that do not meet the constraint values and graph facts whose updated entity matching confidence does not reach the preset alignment threshold are removed. Graph facts with unresolved conflict states are marked with conflict flags and included in the pre-gated candidate fact set. Expansion stops when the preset path length limit is reached or there are no expandable graph facts.
[0028] The graph paths in the pre-gated candidate fact set are merged according to common entities and source text to obtain candidate evidence subgraphs;
[0029] Furthermore, for a candidate evidence subgraph containing at least one graph fact, the constraint coverage rate is the ratio of the number of constraints satisfied by the candidate evidence subgraph to the total number of constraints in the constraint set, the source integrity rate is the ratio of the number of graph facts with source identifiers and accessible original text locations to the total number of graph facts in the candidate evidence subgraph, and the conflict rate is the ratio of the number of graph facts with unresolved conflict states to the total number of graph facts in the candidate evidence subgraph.
[0030] The freshness of each graph fact is obtained by applying a preset time decay function to the time difference between the observation deadline and the observation time of each graph fact. The source reliability weights of each graph fact are normalized and used as the aggregation weights. When the sum of the source reliability weights is greater than zero, the weights are normalized according to the proportion of each source reliability weight to the sum. When the sum is zero, the reciprocal of the number of graph facts is used as the aggregation weight of each graph fact. The freshness of the candidate evidence subgraph is obtained by weighted summation of the freshness of each graph fact.
[0031] The pre-configured thresholds for each indicator are read from the threshold configuration table according to the request type. Candidate evidence subgraphs are retained only when the constraint coverage, source integrity and freshness reach the corresponding lower thresholds and the conflict rate does not exceed the corresponding upper threshold.
[0032] The fact set is indexed by graph fact identifiers. For each relation graph fact record in the retained candidate evidence subgraph, the subject entity identifier, relation type, object entity identifier, valid time interval, source identifier, and graph version identifier are recorded. For each attribute graph fact record, the subject entity identifier, attribute type, attribute value, valid time interval, source identifier, and graph version identifier are recorded.
[0033] When no candidate evidence subgraph is retained, the entity embedding recall and constraint graph search are re-executed while keeping the constraint values unchanged and increasing the upper limit of the number of seed entities and the path length. If no candidate evidence subgraph is retained, an insufficient evidence flag is generated, and the empty subgraph representation, the empty source text set, and the empty fact allow set are combined into an evidence package with the insufficient evidence flag.
[0034] Optionally, S5 includes: Decoding includes: associating the subgraph representation with the corresponding source text according to the graph version identifier and inserting it into the model input sequence; mapping the technical capabilities to capability attribute graph facts or capability relationship graph facts in the fact allowable set; and mapping the investment promotion path to a graph fact sequence that is continuously connected according to adjacent entities-relationships-time.
[0035] When the model generates enterprise entity lexical units, attribute lexical units, relation lexical units, or time lexical units, the subject entity identifier, relation type, or attribute type is determined based on the generated lexical units. Then, according to the graph fact identifier and the subject entity identifier-relation type-object entity identifier structure of the relation graph fact or the subject entity identifier-attribute type-attribute value structure of the attribute graph fact, candidate successor facts corresponding to the generated lexical units are obtained from the fact allowable set.
[0036] The source reliability weights of each graph fact, the number of independent sources supporting the same graph fact, and the conflict status are input into a pre-set confidence mapping table, and the output graph fact confidence scores range from zero to one. For graph facts generated by entity alignment, the updated entity matching confidence scores are used as additional inputs to the confidence mapping table.
[0037] The probabilities of terms that do not belong to the candidate successor facts are masked, and the probabilities of terms that belong to the candidate successor facts are weighted according to the confidence of the graph fact, the reliability of the source, and the freshness, to generate candidate analysis results with graph fact identifiers and source identifiers.
[0038] Furthermore, the reverse lookup generates assertions by breaking down the candidate analysis results into enterprise assertions, capability assertions, relationship assertions, time assertions, and investment promotion path assertions, and identifying assertions that directly determine the selection of target enterprises, regional matching conclusions, or the feasibility of investment promotion paths as key assertions.
[0039] Write the constraints corresponding to the prohibitive conditions, environmental access conditions, regional restrictions and restrictions in the investment promotion policy, as well as the non-relaxable fields specified in the industry investment promotion request, into the "no relaxation" flag.
[0040] For each assertion, retrieve graph facts in the graph snapshot that can support its entity, attribute or relation and validity period, and generate a coverage vector in assertion order to mark whether each assertion has source support, is time compatible, satisfies constraints, and has resolved conflicts.
[0041] When the evidence package has an insufficient evidence flag or the total number of key assertions is zero, the assertion coverage is set to zero and deterministic output is rejected.
[0042] In cases where the aforementioned conditions do not apply, the ratio of the number of key assertions in the coverage vector that have source support, time compatibility, satisfy constraints, and have resolved conflicts to the total number of key assertions is used as the assertion coverage rate, and the assertion coverage threshold is read from the assertion verification threshold configuration table according to the request type of the industry investment promotion request.
[0043] As an anomaly recovery branch, re-search is performed on assertions without source support, graph fact replacement is performed on assertions with time incompatibility or unresolved conflict states that are valid time compatible and without unresolved conflict states, and constraint graph path re-search is performed on investment promotion path assertions that do not meet constraints.
[0044] After the anomaly is recovered, the coverage vector is updated based on the results of re-retrieval, graph fact replacement or constraint graph path re-search, and the assertion coverage rate is recalculated with the updated coverage vector.
[0045] For critical assertions that still lack source support after recovery, are time-incompatible, have unresolved conflict states, or violate constraints marked with the "no relaxation" flag, reject deterministic output;
[0046] For key assertions that do not fall under the aforementioned rejection scenarios and still violate constraints without the aforementioned "not allowed to relax" flag after recovery, output a verification flag and prohibit the output of the corresponding key assertion's deterministic conclusion.
[0047] For non-critical assertions that, after recovery, still do not simultaneously possess source support, time compatibility, satisfy constraints, and have resolved conflicts, output a pending verification flag and prohibit the output of the corresponding non-critical assertion's deterministic conclusion;
[0048] When the recalculated assertion coverage does not reach the assertion coverage threshold, candidate analysis results are prohibited from being used as deterministic output.
[0049] Furthermore, after obtaining the results of the industrial investment promotion analysis, it receives new enterprise registration records, industrial chain change records, investment events, patent achievements, supply and demand relationships, policy events, or regional resource change records, and converts the new records or events into incremental graph facts with valid time, observation time, source identifier, and original text location;
[0050] The affected subgraphs are determined based on the entity identifiers and relationship types involved in the incremental graph facts. Only the affected subgraphs and their entity embedding indexes are reconstructed. The industrial chain topology is updated when the industrial chain change record affects the connection relationship of the industrial links. The constraint index is updated when the regional resource change record affects the resource constraint value. Historical training samples containing affected entities or relationships are added to the training replay batch to update the projection adapter and the parameter efficient fine-tuning layer.
[0051] Generate a new version identifier for the updated knowledge graph, while retaining the graph version identifier and its fact set corresponding to the historical industry investment promotion analysis results.
[0052] The beneficial effects of this invention are:
[0053] 1. By jointly constructing a versioned knowledge graph using enterprise registration identifiers, multi-source soft evidence, and dual-temporal source fields, cross-source enterprise entities, industry links, product technologies, and regional resources can be aligned while retaining their source and historical status, and a traceable data foundation can be provided for conflicting facts and subsequent incremental updates.
[0054] 2. By using positive samples from the same source and time-compatible, difficult negative samples such as those with the same name but different subjects and failed conflict paths, as well as graph-text comparison, entity relationship time reconstruction and constraint violation joint training, the graph representation can be mapped to the latent space of the large model, and the entity merging probability and conflict state continue to participate in the inference evidence gating.
[0055] 3. By using request-level dual-time graph snapshots, constraint subgraph retrieval, four-indicator gating, fact-allowed set decoding, and snapshot-by-snapshot assertion reverse lookup, the generation of enterprises, capabilities, relationships, time, and investment attraction paths is constrained by the source facts. When there is insufficient evidence, unresolved conflicts, or constraint verification failure, the system enters the recovery, pending verification, or rejection deterministic output branches. Attached Figure Description
[0056] The accompanying drawings are provided to further illustrate the invention and form part of the specification. They are used in conjunction with embodiments of the invention to explain the invention and do not constitute a limitation thereof. In the drawings:
[0057] Figure 1 This is a flowchart of the method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement, as described in this invention.
[0058] Figure 2This is a flowchart of assertion-by-assertion reverse lookup and anomaly recovery in S5 of the present invention. Detailed Implementation
[0059] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, illustrating only the basic structure of the invention, and therefore only show the components relevant to the invention.
[0060] refer to Figures 1-2 A method for constructing a large-scale industrial investment attraction model based on knowledge graph enhancement includes:
[0061] S1. Acquire multi-source industry data, align entities with enterprise registration identifiers and multi-source evidence, associate effective time, observation time, source and conflict status with graph facts, and construct a versioned knowledge graph;
[0062] S2. Construct samples from source text and graph facts, train the graph to the projection adapter of the latent space of the large language model with graph-text comparison loss, entity-relationship-time reconstruction loss and constraint violation loss, and write the alignment and conflict results back to the versioned knowledge graph to obtain the graph-enhanced industrial investment promotion large model and the versioned knowledge graph after writing back.
[0063] S3. Transform the regional industrial base and investment promotion policies into a constraint set, lock the snapshot of the written-back versioned knowledge graph according to the factual evaluation time point and the observation deadline, and identify the missing links in the industrial chain;
[0064] S4. Based on the constraint set and missing links in the industry chain, perform entity embedding recall and constraint graph search based on the graph snapshot, filter out search results that do not meet the requirements of source, time, constraint or conflict, and form an evidence package containing subgraph representation, source text and fact allowable set composed of evidence subgraph facts;
[0065] S5. Input the evidence package into the graph-enhanced industrial investment promotion model and decode it with the fact allowable set constraint. Generate assertions by reverse lookup in the same graph snapshot. Perform re-search or uncertainty output on the assertions that fail to be verified to obtain the industrial investment promotion analysis results with source and valid time.
[0066] In this specific embodiment, S1 includes:
[0067] This specific implementation method is executed by a graph construction service deployed on the industry data platform. The service reads incremental records daily from the enterprise registration interface, industry chain directory, investment event database, patent achievement database, supply and demand relationship database, policy document database, and regional resource directory. For each original record, a record identifier consisting of data source code, source record primary key, and collection batch is generated. At the same time, the original page number, paragraph offset, or interface field path is saved as the original text location. When a record lacks source identifier, source record primary key, or original text location, it enters the supplementary entry queue without generating usable graph facts. When a record only lacks enterprise registration identifier but has complete source identifier, source record primary key, original text location, and at least two enterprise identification elements, a temporary enterprise candidate identifier is generated according to the record identifier and enters the subsequent multi-source evidence alignment process. When the identification elements are insufficient, it enters the supplementary entry queue.
[0068] The graph construction service converts the original fields into five types of entities: enterprises, industry links, product technologies, regional resources, and events according to the field mapping table. It converts enterprise names, unified social credit codes, addresses, personnel equity, patent classifications, investment amounts, resource capacity, and policy conditions into corresponding attributes, and converts supply, investment, holding, layout, applicability, and restrictions into relationships. The field mapping table uses the data source code and source field name as a composite key and records the target type, target field, data type, unit, cleaning rules, version number, and effective time. This specific implementation uses mapping table version 2026.08. Fields that are not matched are retained in the extended attributes and marked as mapping pending confirmation.
[0069] For records with consistent enterprise registration identifiers, the service directly writes them into the same enterprise candidate cluster. For records with missing or inconsistent registration identifiers, the service first performs unified character, administrative division suffix, and organizational form suffix cleaning on the enterprise name, encodes the address according to the four levels of province, city, district / county, and street, constructs a set for personnel equity relationships according to personnel identifiers and shareholding ranges, and constructs features for products and patents according to product keywords and IPC group numbers. Then, it extracts a two-hop relationship type histogram from the enterprise relationship neighborhood already written into the graph, forming a five-dimensional evidence vector of name similarity, address level consistency, personnel equity overlap, product patent similarity, and relationship neighborhood similarity. Thus, the entity is aligned with the enterprise registration identifier and multi-source evidence.
[0070] The service multiplies the five-dimensional evidence vector by the reliability of each evidence source and then feeds it into a logistic regression entity alignment classifier, and then... Calculate entity matching confidence, sign Indicates candidate corporate entities With corporate entity candidates The matching confidence is a dimensionless number between zero and one, with the sign... and symbols These represent the first and second candidate enterprise entities to be compared, respectively. Both are integer indices in the current graph version's candidate enterprise set, which contains... When each candidate satisfies ,symbol This represents the total number of candidate enterprises in the current graph version, and is an integer not less than two. Each unordered candidate entity pair is only sorted by... Calculate once, symbol Represents logical functions, symbols This represents the five-dimensional dimensionless weight vector obtained from training on manually verified entity pairs, denoted by [symbol missing]. Represents vector transpose, symbol This represents the five-dimensional dimensionless evidence vector of the candidate entity, weighted by source reliability, with the symbol... This indicates the dimensionless bias of the classifier. Training samples are constructed as positive examples based on enterprise registration identifiers and as difficult negative examples based on enterprises with the same name but different identifiers. The classifier version and training batch are written into the alignment record.
[0071] In this specific implementation, 0.92 is set as the entity merging threshold, and 0.70 is set as the manual review threshold. When the entity matching confidence reaches 0.92, the candidate record is attached to the same standardized enterprise identifier. When it is between 0.70 and 0.92, two entities are maintained and an alignment edge for review is established. When it is below 0.70, independent entities are maintained. When attribute values or relationship values from different sources cannot be true at the same time within the same valid time interval, the service does not cover any source value, but creates a conflict record containing a conflict identifier, a set of conflict fact identifiers, conflict type, discovery batch, and processing status, and writes the unresolved conflict status back to the relevant graph facts.
[0072] Each graph fact uses the following persistent fields: fact identifier, subject entity identifier, predicate type, object entity identifier or attribute value, effective time start point, effective time end point, observation time, source identifier, original text location, entity matching confidence, conflict status, and submission batch. The effective time is taken from the registration effective date, event occurrence date, policy implementation period, or an established interval explicitly stated in the source text. The observation time is taken from the system time when the data platform completes collection and verification. If the source does not provide an end point, the effective time end point is saved as empty and processed as an open interval.
[0073] The source reliability configuration table uses the data source code and fact type as a joint key, storing reliability weights from zero to one, the number of calibrated samples, the reviewing agency, the version number, and the effective range. The service matches the source code weights, calculates five similarities based on the evidence fields, and selects to merge, review, or keep the processing results independent based on the classifier threshold. When the configuration table is not matched, the source reliability weight is reset to zero and automatic merging is prohibited. When the same source submits the same original text location repeatedly, the latest observation record is filtered by the record identifier, so that the acquisition, calculation, and branching of multi-source evidence can be replayed.
[0074] The graph construction service calculates fact summaries based on fact content, effective time interval, and source identifier; matches historical facts according to subject entity identifier and predicate type; selects new observation items for the current batch according to observation time; and writes conflict judgment results into the fact status field. When the source withdraws the original record, the historical facts are not physically deleted, but subsequent facts with withdrawal status and withdrawal observation time are generated. When manual review confirms that two candidate companies are the same, the alignment edges are updated according to the standard company identifier and the original candidate identifier is retained as an alias.
[0075] Before submission, the quality verifier checks the traceability of the source according to the source record identifier, compares the legality of the interval according to the start and end of the effective time, checks the uniqueness of the merged cluster according to the enterprise registration identifier, and checks the relevant graph facts according to the conflict record. If any required field is empty, the end of the effective time is earlier than the start, or the same registration identifier is associated with multiple activity specification entities, the current fact enters the isolation area and is not included in the graph version of this batch. The verification results are saved to the batch quality report for S2 to select training samples.
[0076] The incremental submitter deduplicates facts within the same batch. When the fact content, validity period, and source are consistent, it only updates the last observation time. When the fact content changes, it retains the original fact and creates a new successor fact, forming a version chain through the preceding fact identifier. The version identifier is obtained by concatenating the incremental fact submission batch and the observation deadline to calculate the summary. After successful submission, the versions of the fact table, conflict record table, entity alignment record table, and field mapping table are registered in the graph version directory. If the submission fails, no version identifier is published and the writing of this batch is rolled back.
[0077] The service ultimately outputs a versioned knowledge graph that can be replayed according to the version identifier. The output objects include an entity table, a relation fact table, an attribute fact table, a source index, a conflict record table, an effective time index, an observation time index, and an entity embedding queue to be updated. The version identifier of the published graph is then passed to the sample construction and training process of S2.
[0078] In this specific embodiment, S2 includes:
[0079] The training service reads the graph version identifier published by S1, obtains the source text and original text location from the source index, and obtains entities, relations, attributes, validity time, observation time and conflict status from the fact table. Positive samples are generated based on the conditions that they are supported by the same source, have intersecting validity time intervals, and correspond to the original text location. Each sample record saves the sample identifier, graph version identifier, text fragment, graph fact identifier sequence, graph path, sample validity time interval, observation time, source identifier, conflict status and sample-level constraint set, so that the training results can be traced back to a specific graph version.
[0080] The constraint parser performs slot extraction on historical industry investment requests, policy texts, and regional resource records. It maps the industry links, technical capabilities, investment amounts, resource capacity, emission indicators, regions, and times to industry link constraints, technical capability constraints, investment constraints, resource constraints, environmental constraints, regional constraints, and time constraints, respectively. Each constraint record contains the constraint object, comparison operator, constraint value, unit, whether relaxation is allowed, source identifier, and effective range. When an operator is missing, the default operator is read from the constraint pattern table according to the field type. Numerical constraints that lack units are entered into the verification queue.
[0081] Difficult negative samples consist of four types of objects: enterprise entity pairs with the same name but different enterprise registration identifiers, historical relationships of the same enterprise established outside the sample's valid time, relationships marked as mutually exclusive with conflict records, and graph paths with similar structures but violating the set of sample-level constraints. The training service prioritizes difficult negative samples of the same industry category and with a graph distance of no more than three hops for each positive sample and writes the type of constraint violated in the sample record. When the same graph fact appears in both positive and negative sample candidates, it is judged according to the order of valid time, conflict status, and enterprise registration identifier. Samples that still cannot be judged are removed from the training batch. The training batch builder associates the judged difficult negative sample graphs with the corresponding positive sample texts and records the number of difficult negative samples and the sequence of graph fact identifiers for each positive sample in the batch list.
[0082] The graph encoder employs a two-layer relational graph attention network to encode entity type, relation type, discrete attribute features, effective time binning, and observation time binning into 768-dimensional graph vectors. The projection adapter then... Generate a graph representation with the same dimension as the source text's lexical representation, using symbols. Indicates the first A 4096-dimensional graph representation of a sample, with symbols Indicates the sample index within the batch and takes values from 1 to... ,symbol Represents the batch sample size and is a positive integer, with the sign... This represents the 768-dimensional graph vector output by the graph encoder, with the symbol... This represents a trainable matrix mapped from 768 dimensions to 256 dimensions, with the symbol... This represents a trainable matrix mapped from 256 dimensions to 4096 dimensions, with the symbol... The vector and matrix represent the GELU activation function, where both are dimensionless parameters. The source text representation builder uses the tokenizer registered in the model version to extract the first 512 tokens in the original text order, padding any missing tokens with filler tokens. It then reads the 4096-dimensional token vector from the last hidden layer of the frozen large language model, performs masked mean pooling on the non-filled and non-control tokens, and performs L2 normalization to obtain... When empty text or all words are masked, the corresponding sample is removed. The text representation rule version, word segmenter version, frozen large language model version, hidden layer number, truncation length, and sample text summary are simultaneously written to the batch list and model version. Able to replay deterministically;
[0083] The training batch builder first calculates the L2 norm of the positive sample graph representation, the source text representation, and the hard negative sample graph representation. If the L2 norm of any positive sample graph representation or the source text representation is zero, that positive sample and its associated hard negative samples are removed. If the L2 norm of the hard negative sample graph representation is zero, only that hard negative sample is removed. Only after the removal is completed is the number of valid batch samples determined. And the number of effective hard negative samples for each sample ,like If the value is zero, skip the batch; for valid batches, the training service proceeds as follows: Calculate the image-text contrast loss, sign Represents the dimensionless image-text contrast loss, symbol This represents the number of valid batch samples after removing positive samples with the zero norm, and is a positive integer. The symbol is... Indicates taking 1 to... Image and text sample index, symbols Indicates taking 1 to... Candidate indexes for text, symbols Indicates the relationship with the first The number of difficult negative samples with positive sample associations and norms greater than zero, sign Indicates taking 1 to... Difficult negative sample index, symbol Indicates the first A 4096-dimensional graph representation of a positive sample, with symbols Indicates the first The positive sample associated with the first A 4096-dimensional difficult negative sample graph is represented by the symbol. and symbols They represent the first The and the first A 4096-dimensional dimensionless representation of a source text, symbol This represents the cosine similarity function performed only on two non-zero vectors, with the symbol... Represents the natural logarithm function, symbol Represents the natural exponential function, symbol This represents a dimensionless temperature parameter calibrated by the validation set and taken as 0.07 in this specific implementation. When the value is zero, the summation term for the corresponding difficult negative samples is zero; this loss makes the graph representation of the positive samples close to the graph representation of the positive samples, and separates the graph representation of the difficult negative samples from its associated positive sample text representation through the difficult negative sample term in the denominator.
[0084] The training service randomly occludes 15% of the entity, relation, or time fields in the samples. The reconstruction head outputs the classification probability of the occluded fields, and then... Calculate the entity-relation-time reconstruction loss, sign Represents the dimensionless reconstruction loss, with the symbol... The number of samples in the valid batch whose occlusion location set is not empty and is a positive integer, with the sign... Indicates taking 1 to... Sample index, symbol Indicates the first The set of locations of the obscured fields for each sample, symbol This indicates the number of positions in the set that is greater than zero, denoted by the symbol. Represents a set The occluded location index in the symbol Indicates the first The sample at the th The true category of the obscured location, symbol This indicates the output of the aforementioned projection adapter. Each sample image represents a symbol. Represents the natural logarithm function, symbol This represents the probability of recovering the true class under the given graph representation; the reconstruction head first truncates this probability to a range not less than 10 to the power of -8 and not greater than 1, then substitutes it into the logarithm. Samples with an empty masking set are used to determine this loss. Previously, when all sample masking sets were empty, the reconstruction loss update was skipped.
[0085] For the same investment promotion request, both the compliance graph path and the constraint violation graph path, the training service outputs a dimensionless compliance score from the constraint discrimination head, and then... Calculate the loss due to constraint violation, sign Indicates the loss due to violation of dimensionless constraints, symbolized as follows: Represents the batch sample size and is a positive integer, with the sign... Indicates taking 1 to... Sample index, symbol This function represents the maximum value of the terms within the parentheses. The symbol is... The dimensionless discriminant interval, calibrated by the validation set and set to 0.2 in this specific implementation, is represented by the symbol. Indicates the first The dimensionless compliance score for each compliance path, symbolized by... Indicates the first The dimensionless compliance score for each violation of the constraint graph path is penalized when the compliance graph path score does not exceed the constraint graph path score by at least 0.2.
[0086] The entity pairs are manually reviewed, with the same standardized enterprise identifier as the positive label and different registered identifiers (manually confirmed to be from different enterprises) as the negative label. The entity pair alignment head reads the two-sided graph representation, the S1 five-dimensional multi-source evidence vector, and the original entity matching confidence. The entity merging probability is output, and the dimensionless entity alignment loss is calculated using binary cross-entropy. The conflict resolution head reads the subject, predicate, object, effective time, source reliability, and bilateral graph representation of the two relational facts to be compared. It uses mutually exclusive conclusions from resolved conflict records as positive labels and simultaneously valid conclusions as negative labels, outputs the probability of mutually exclusive relational discrimination, and calculates the dimensionless conflict resolution loss using binary cross-entropy. If the training set is missing a positive or negative label for either head, that head is frozen and the corresponding loss is skipped. The sample identifiers, label sources, and training batches for both heads are written into the model version.
[0087] Overall training objectives are as follows Calculation, symbol Represents the dimensionless total loss, symbol ,symbol ,symbol ,symbol and symbols The following are the losses in order: image-text comparison loss, entity-relationship-time reconstruction loss, constraint violation loss, entity alignment loss, and conflict discrimination loss. The symbols are: ,symbol ,symbol ,symbol and symbols The five loss terms are represented by their dimensionless weights, which in this specific implementation are set to 0.4, 0.2, 0.2, 0.1, and 0.1 respectively, and their sum is one. When any single loss term is skipped due to lack of valid samples, the loss term and gradient term are set to zero, while the remaining terms retain their original weights and are not renormalized. When all five losses are skipped, the entire batch is skipped. During training, the main parameters of the large language model are frozen, and the two-layer relation graph attention encoder, projection adapter, low-rank parameter efficient fine-tuning layer with rank 16, reconstruction head, constraint discriminant head, entity pair alignment head, and conflict discriminant head are jointly updated to verify that the total loss does not decrease for three consecutive rounds as the stopping condition.
[0088] The entity pair alignment head outputs the entity merging probability calibrated by temperature scaling, and the conflict discrimination head outputs the mutual exclusion relationship discrimination probability calibrated by temperature scaling. Both heads determine the calibration temperature on the entity pair verification set and the resolved conflict verification set, respectively, with an expected calibration error not exceeding 0.03. When the entity merging probability reaches 0.92, the alignment record is updated and the standardized enterprise identifier is merged. If the probability is in the range of 0.90 to 0.92, it is written into the manual review queue; if it is below 0.90, it is not automatically merged. When the mutual exclusion relationship discrimination probability reaches 0.85, a conflict label is generated and the conflict status of the corresponding graph fact is updated to unresolved. If the probability is in the range of 0.83 to 0.85, it is written into the manual review queue; if it is below 0.83, a conflict label is not automatically generated. All intervals include the lower endpoint but not the upper endpoint; when the interval equals the automatic processing threshold, an automatic processing branch is executed.
[0089] The training batch builder filters samples according to graph version identifier, groups them according to source identifier to avoid the same source from entering the training set and validation set at the same time, matches hard negative samples according to positive sample identifier, and performs stratified sampling according to constraint type. When there are no hard negative samples of any constraint type in the batch, it is supplemented from the candidate pool of the same graph version. If it still cannot be supplemented, the batch is marked as incomplete category and the constraint violation loss update is skipped. The batch list saves the sampling random seed and sample summary.
[0090] The model validator calculates three losses, entity merging accuracy, conflict recognition recall, and top ten hit rate for image and text retrieval based on the validation set. It validates the input by matching the model version with the training graph version and generates validation branches according to a merging threshold of 0.92 and a conflict threshold of 0.85. If any core metric is lower than the previous released model, the parameters of this model are not released. Within ten minutes, the previous version's relational graph attention encoder, projection adapter, low-rank fine-tuning parameters, task heads, and threshold configurations are loaded from the model directory to restore the service. The restoration period is set to three consecutive validation batches. The restoration state is lifted after all three batches reach the previous version's metrics. The new parameters are written to the candidate model directory only when all metrics reach the threshold.
[0091] After training, the version submitter registers the projection adapter parameters, low-rank fine-tuning parameters, graph encoder parameters, tokenizer version, frozen large language model version, text representation rule version, training graph version identifier, sample batch summary, five loss weights, two calibration thresholds, query field encoding rule version, query projection construction rule version, three query field weights, and the query projection matrix summary constructed accordingly as the model version. The query field encoding rule reuses the aforementioned tokenizer, frozen large language model last hidden layer, 512-term truncation, and masking mean pooling rules to obtain a 4096-dimensional field representation, and then uses the fixed signed hash mapping within the version to represent the first... Each component is accumulated to the number. Bucketing for modulo 768, symbol The 4096-dimensional field represents the component index, numbered from 0 to 4095, starting from zero. The buckets are also numbered from 0 to 767, with the sign determined by a fixed random seed registered in the query field encoding rule version. Finally, L2 normalization is performed to obtain a 768-dimensional field vector, with the zero-norm segment treated as a missing field. The weights of the three query fields are calibrated by the validation set grouped by source on a finite grid with a step size of 0.1, non-negative weights, and a sum of one, using the highest hit rate among the top ten text / image retrieval results. When indicators are the same, a unique combination is selected based on the lexicographical descending order of the target link, missing link, and target product or technology field weights. If the valid request count in the validation set is less than 100, the values fall back to 0.4, 0.3, and 0.3, respectively. The validation set summary, calibration rule version, and fallback are then registered. The withdrawal flag; the query projection construction rule normalizes the weights of the three non-negative query fields to a sum of one, and constructs a fixed matrix of 768 rows and 2304 columns. For each row, selects a column with the same index as the row from the first, second, and third consecutive 768-column blocks, and writes the three normalized weights in sequence. Write zero for the remaining elements. If any weight is missing, negative, or the sum of the three is zero, the model version is not submitted. The version submitter simultaneously writes the entity alignment and conflict results back to the fact table of S1 with a new incremental fact submission batch. The graph-enhanced industrial investment promotion model and the versioned knowledge graph after writing back are only released when the model verification is passed, the query field encoding rule summary and the query projection matrix summary are recalculated to be consistent, and the knowledge graph is successfully written back and submitted. The version identifiers of the two are used as input to S3.
[0092] In this specific embodiment, S3 includes:
[0093] The constraint parsing service receives a specific industry investment request. This specific implementation takes the proposed addition of an energy storage system integration link in a certain region as the overall scenario. It extracts the industry link to be added, target product or technology, investment scale range, resource demand upper limit, environmental access conditions, permitted geographical scope, factual evaluation time point and observation deadline from the request body and structured form. Each item is written as a constraint record containing constraint identifier, constraint object, comparison operator, constraint value, unit, whether relaxation is allowed and source field. After parsing, at least one constraint exists. Otherwise, the request enters the supplementary information state without initiating graph retrieval.
[0094] The constraint pattern table uses the request type and constraint object as a joint key to store allowed data types, comparison operator sets, unit conversion rules, default relaxation attributes, and version numbers. In this specific implementation, investment amounts are uniformly converted to RMB 10,000, resource capacity is uniformly converted to the corresponding physical quantity's business measurement unit, and prohibitive policies, environmental access, and regional restrictions are marked as non-relaxable. The parsing service returns a field error status for requests with inverted upper and lower limits, inconvertible units, or factual evaluation time points later than the observation deadline, to avoid uncertain constraints entering subsequent searches.
[0095] The snapshot service reads the graph version directory written back by S2 and executes two time predicates for each graph fact. That is, the effective time interval includes the fact evaluation time point and the observation time is not later than the observation deadline. Only when both predicates are true is the graph fact included in the graph snapshot. The snapshot record retains the graph fact identifier, subject, predicate, object or attribute value, effective time interval, observation time, source identifier, updated entity matching confidence, conflict state and original graph version identifier. The entity matching confidence is output by the entity alignment head trained by S2 using graph-text comparison, reconstruction and constraint violation loss and calibrated by manual verification set. When there are multiple observation versions of the same graph fact, the latest observation version that is not later than the observation deadline is selected.
[0096] The graph snapshot is jointly solidified using a read-only snapshot identifier, the fact evaluation time point, the observation deadline, and the original graph version identifier. After snapshot construction, an ordered list summary of fact identifiers is calculated and written to the snapshot directory. Subsequent S4 retrieval and S5 reverse lookup must carry this snapshot identifier. When the original graph is still being updated, the solidified snapshot does not absorb newly submitted facts, thus ensuring that the same knowledge state is used from the identification of missing links to the generation of assertion verification. After each snapshot is first solidified, the index building service consumes the entity embedding queue to be updated from S1 and supplements it by reading all active enterprise entities in the snapshot that do not yet have the same version vector. It then uses the relationship graph attention encoder published in S2 to generate an index for each entity. A 768-dimensional vector is generated, and an HNSW index is built in the temporary index directory. After the index is built, it is verified that the ordered list summary of enterprise entity identifiers in the index is consistent with the ordered list summary of enterprise entity identifiers in the snapshot activity. The encoder version, query projection construction rule version, query projection matrix summary, and graph snapshot identifier are all verified to match the model and snapshot directory. Then, the index is published with atomic renaming, and the index readiness flag, index summary, construction time, and compatible version record are written to the snapshot directory. The first version of the index and subsequent snapshot indexes all follow the same process. If the index construction fails, the summary is inconsistent, or the readiness flag is missing, S4 recall is not allowed and the index is returned to an unready state.
[0097] For the investment amount, available factory area, power supply capacity, water consumption limit and emission quota in the regional industrial base, the service uses the measured value or the value approved by the competent authority in the source record as the sampling object, records the original unit, sampling or approval date and source identifier, and converts it to the constraint unit according to the conversion factor in the constraint mode table; when the measured value does not exceed the upper limit constraint or is not lower than the lower limit constraint, the corresponding constraint is marked as satisfied; when the measured value is missing or the unit cannot be converted, the constraint is marked as unknown and not considered satisfied, and the judgment result is written into the regional basic constraint status table.
[0098] The constraint set does not generate a comprehensive score. Each constraint only produces a three-state result of satisfied, unsatisfied, or unknown according to its comparison operator. Among them, unsatisfied and unknown cannot improve the candidate priority. When multiple regional basic records correspond to the same constraint object, the service selects records no later than the observation deadline in descending order of observation time. If the observation time is the same, it selects records in descending order of source reliability weight. If they are still the same, it determines a unique record in ascending order of source identifier. The selected record identifier and sorting criteria are written into the constraint set.
[0099] The industry chain topology uses industry category and topology version as keys. Nodes record industry segment identifiers, product technology tags, and required attributes, while edges record upstream and downstream segments, relationship types, and whether they are required. Services map entities to the covered industry segment set based on the main products, patented technologies, and supply and demand relationships of enterprises within the region of the graph snapshot. Identify missing links in the industrial chain, symbols Represents the set of missing links in the industrial chain, symbol Represents the set of essential industrial links in the selected industrial chain topology, symbolized by... This represents a set of industry segments covered by existing business entities within the region, symbolized by... This represents the set difference operation, i.e., from Deduction from the middle belongs to The elements of all three sets are based on industry segment identifiers;
[0100] The entity coverage determination takes the enterprise's main product label, patent classification label, and supply and demand relationship type as inputs. It matches the necessary attributes of the industry chain topology nodes one by one. The enterprise is included in the coverage set only when at least one main product or patent label is matched and there is a graph fact that matches the industry segment. When multiple enterprises cover the same industry segment, all enterprise identifiers are retained but only one covered segment is counted. When the mapping confidence is lower than 0.85, the mapping is marked as pending verification and is not deducted from the set of necessary industry segments.
[0101] After the set of missing links is formed, the services are sorted from upstream to downstream according to the topological hierarchy. The topological hierarchy and edge weights are read from the current industry chain topological version. The shortest graph distance is calculated based on the minimum number of necessary edges between industry links. When the levels are the same, they are sorted in ascending order according to the shortest graph distance to the links already covered in the region. If the distances are still the same, the order is determined by the ascending order of the industry link identifier. All missing links after sorting are selected as S4 search conditions instead of just the first item. The sorting is only used to determine the search order and does not change the determination of whether missing links exist. The topological version, number of edges, and sorting results are stored in the missing link list.
[0102] For each missing link in the industry chain, the service reads the necessary edges connecting existing industry links to the missing link in the topology, and writes the relationship type, direction, starting industry link, and target industry link of the edge into the target relationship type set. If the missing link set is empty, an industry chain completeness flag is generated. If the request has clearly defined the extended link, the extended link is written into the search target link set, and the corresponding relationship type, direction, starting industry link, and target industry link are generated based on the industry chain topology. If the request does not specify an extended link, the extension target is returned to the supplementary status and S4 and S5 are terminated. If the topology version does not exist, the processing stops and the topology is returned to the configuration pending status. The specified industry chain is not replaced by a general similar industry.
[0103] S3 ultimately outputs a constraint set, a read-only graph snapshot, a set of target links for retrieval, a set of target relationship types, target product or technology fields, and a set of existing enterprise entities within the region. The set of target links for retrieval carries all missing links after sorting when there are missing links, and carries the extended links when the industry chain is complete and the request has specified extended links. The set of existing enterprise entities within the region records the enterprise entity identifier, the industry chain links covered, the mapping confidence level, the graph snapshot identifier, and the selection status for each enterprise, and saves the request identifier, constraint schema table version, industry chain topology version, fact evaluation time point, observation deadline, and snapshot summary in the task directory. S4 reads only these fixed objects with the same field name to perform recall and constraint graph search.
[0104] In this specific embodiment, S4 includes:
[0105] The retrieval service reads the target link set, target relation type set, target product or technology field, existing enterprise entity set within the region, constraint set, and read-only graph snapshot from the S3 output. It first verifies the index readiness flag, index summary, and compatible version record in the snapshot directory. Then, it reads the alignment threshold, seed entity number, path length limit, and retry extension parameters from the threshold configuration table according to the request type and industry category. If any index gate fails, it returns an index not ready state. If any retrieval parameter is missing or exceeds the configuration range, it stops the deterministic retrieval and returns a threshold pending configuration flag. The service uses a two-layer relational graph attention encoder trained by S2 and released with the model version to generate vectors. This encoder takes entity type, relation type, attribute, validity time, and observation time as input and 768-dimensional entity embedding as output, and is jointly trained by the graph-text comparison loss, reconstruction loss, and constraint violation loss of S2. The service sorts the target link set and existing enterprise entity set within the region in ascending order of entity identifier. For each enterprise entity set, the 768-dimensional encoding of each element is masked and pooled. An empty set takes a 768-dimensional zero vector. The target product or technology field is encoded by a field encoder of the same version to obtain a 768-dimensional vector. The three 768-dimensional vectors are then concatenated in a fixed order to form a 2304-dimensional vector. The service reads the query projection construction rule version, the weights of the three query fields, and the query projection matrix summary from the model version. It recalculates the 768-row, 2304-column fixed matrix according to the row-by-row rules registered in S2. After the recalculated summary is consistent, matrix projection and layer normalization are performed to obtain a unique 768-dimensional original query vector. If the summary is inconsistent, a query projection verification failure status is returned. The enterprise entity vectors in the graph snapshot are stored in the HNSW entity embedding index. The index records the entity identifier, vector, graph snapshot identifier, entity matching confidence, encoder version, query projection construction rule version, query projection matrix summary, and update time. Index fragments whose versions or summaries are inconsistent with the model and snapshot catalogs are not eligible for this recall.
[0106] Search services by Calculate the cosine similarity between the query vector and the enterprise entity vector, sign... This represents the dimensionless cosine similarity with values ranging from negative one to one, and the sign is... This represents a 768-dimensional query vector encoded and normalized by the retrieval target process, target technology, and regional enterprise characteristics. The symbol is... This represents a 768-dimensional enterprise entity vector output and normalized by the same version encoder, with the symbol... Represents vector transpose, symbol The two vectors represent the Euclidean L2 norm, and both are dimensionless. When the L2 norm of the original query vector is zero, the recall stops and the query feature is insufficient. When the L2 norm of the original enterprise entity vector is zero, the entity is removed from the recall. Normalization and similarity calculation are only performed when both norms are greater than zero. The encoder calibrates the recall parameters on the S2 validation set using the top ten hit rates of image and text retrieval. The number of seed entities is read from the same threshold configuration record hit in this request. In this specific implementation, this value is 100. The service recalls the corresponding number of entities with the highest similarity. When the similarity is the same, the order is determined by descending the entity matching confidence and then ascending the enterprise registration identifier. The recalled entity identifier and similarity are written into the seed entity table.
[0107] The constraint graph search starts with each seed entity and performs breadth-first expansion according to the target relation type and direction. The path status record includes the current entity, the sequence of used relation types, the sequence of graph fact identifiers, the cumulative source set, the number of unresolved conflicts, and the path length. Each expansion first checks if the graph fact belongs to the current graph snapshot, then reads the corresponding attribute or relation value according to the constraint object and executes the comparison operator in the constraint record. Subsequently, graph facts that do not meet the constraint value or whose updated entity matching confidence is lower than the alignment threshold read in this request are removed. In this specific implementation, the alignment threshold is 0.85. This threshold is calibrated by the S2 entity alignment head on the manual verification set. The entity alignment head takes the two-sided graph representation, multi-source evidence features, and the original matching confidence as input and outputs the calibration merging probability. Unresolved conflict graph facts retain conflict markers and enter the pre-gated candidate fact set instead of being directly used as allowed facts.
[0108] The upper limit of the search path length is read from the same threshold configuration record hit in this request. In this specific implementation, this value is four hops. Entities in the same path must not be repeated. Paths with the same starting entity, ending entity and relation type sequence are retained only for the path with the highest source completeness. When the source completeness is the same, the first path is retained in ascending order of graph fact identifier sequence. When the upper limit of the read path length is reached, there are no graph facts that satisfy the extended predicate, or the corresponding node of the missing link in the industry chain is reached, the path expansion is stopped, and the retained paths are merged into candidate evidence subgraphs based on common entities and source text original location. The subgraph records the node table, edge fact table, attribute fact table, original text fragment table and conflict marker table.
[0109] For containing Candidate evidence subgraphs of the item graph facts, gated according to , and Calculate constraint coverage, source integrity, and conflict rate, using the symbols... Represents the dimensionless constraint coverage from zero to one, with the symbol... This indicates the number of constraints satisfied by the subgraph, denoted by the symbol. This represents the total number of constraints in the constraint set, and is greater than zero. (symbol) The dimensionless source completeness rate between zero and one is represented by the symbol [symbol missing]. Indicates the number of graph facts with source identifiers and accessible original text locations, using the symbol... The dimensionless collision rate between zero and one is represented by the symbol [symbol missing]. The symbol represents the number of graph facts with unresolved conflict states. This represents the total number of graph facts in the candidate evidence subgraph, and is greater than zero.
[0110] The gating controller is based on the observation cutoff time and the first Non-negative days difference of the observation time of the item diagram according to Calculate the freshness of the facts in the graph, and according to... Calculate the freshness of candidate evidence subgraphs, and use the sign. Indicates taking 1 to... Graph fact index, symbols The symbol represents the total number of graphical facts in the candidate evidence subgraph that is greater than zero. Represents the natural exponential function, symbol Indicates the first The dimensionless freshness of the facts in the graph from zero to one, with the symbol... The time difference of observation, expressed in days, is indicated by the symbol. This indicates that the time decay scale, in days, must be read from the threshold configuration table according to the request type and must be greater than zero. If no positive value is read, a threshold pending configuration flag is returned. The dimensionless subgraph freshness, ranging from zero to one, is represented by the symbol [symbol missing]. Indicates the first The dimensionless aggregate weights of the graph facts are given, and the sum of all aggregate weights is one; when the sum of the source reliability weights is greater than zero, the aggregate weights are determined according to their proportion of the sum; when the sum is zero, the aggregate weight of each item is set to the reciprocal of the number of graph facts.
[0111] The threshold configuration table uses request type and industry category as the joint key to store the following parameters: lower limit of constraint coverage, lower limit of source integrity, lower limit of freshness, upper limit of conflict rate, alignment threshold, number of seed entities, upper limit of path length, time decay scale, retry seed multiple, upper limit of retry seed number, number of additional hops for retry, and upper limit of retry path length. It also records the calibration sample set, version number, and effective time. In this specific implementation, 0.80, 0.90, 0.60, and 0.10 are used as the four indicator thresholds for the target enterprise recommendation request; 0.85, 100, and four hops are used as the alignment threshold, number of seed entities, and upper limit of path length; and double, 200, one additional hop, and five hops are used as the parameters for one retry. The candidate evidence subgraph is retained only when the constraint coverage, source integrity, and freshness are not lower than their respective lower limits and the conflict rate is not higher than its upper limit. If the configuration table is not hit or any required value exceeds the limit, the deterministic search stops and a threshold configuration flag is returned.
[0112] The fact allow set is indexed by graph fact identifiers. For both relational and attribute facts, it records the fact content key, subject entity identifier, predicate type, object entity identifier or attribute value and its unit, effective time interval, observation time, graph-by-graph fact freshness, time decay configuration version, deduplicated set of independent source identifiers, number of independent sources, reliability level and reliability weight of each source, reliability level of aggregated sources, reliability weight of aggregated sources, reliability aggregation rule version, original location set, conflict status, entity alignment source flag, updated entity matching confidence, graph version identifier, and fact allow set mode version. The fact content key is generated by concatenating the subject canonical entity identifier, predicate type, object canonical entity identifier or normalized attribute value and unit, and effective time interval. If the same source identifier repeatedly supports the same fact content key, it is counted as only one independent source. For deduplicated independent sources of the same fact content key, the service reads each source in ascending order of source identifier. The reliability weights of the source (from zero to one) are calculated by subtracting the product of each item's reliability weight from one, and then rounded to six decimal places. A unique aggregation source reliability level is then determined based on the non-overlapping weight ranges in the source reliability level configuration table. Aggregation fails if the range is not hit or if any weight is missing or exceeds the limit. The confidence mapping table in S5 only reads the aggregation source reliability level, and the source reliability weights in the terminology weighting only read the aggregation source reliability weights. The number of independent sources remains a separate input. Relational facts and attribute facts use the same field contract. If any required input field is missing or aggregation fails, the confidence of the corresponding graph fact is set to zero, and the process enters an uncertainty branch. S5's allowed terms also read the graph-by-graph fact freshness in the same fact record and verify that the time decay configuration version matches the evidence package. Unresolved conflict facts are retained in the candidate evidence subgraph for interpretation but are not written into the fact allowable set, thus ensuring that subsequent decoding can only be generated along the gated fact structure.
[0113] When no candidate evidence subgraph is retained after the initial gating, the retrieval service keeps all constraint values unchanged and performs a retry based on the same threshold configuration record hit in this request: the number of seed entities is multiplied by the retry seed multiple, but does not exceed the upper limit of the number of retry seeds, and the path length upper limit is increased by the number of hops for retry, but does not exceed the upper limit of the retry path length; in this specific implementation, the number is increased from 100 to 200 and from four hops to five hops, and then the entity embedding recall and constraint graph search are re-executed; if the second one is still empty, an insufficient evidence flag is generated, and the empty subgraph representation, empty source text set, and empty fact allow set are encapsulated into an evidence package, and environmental, regional, time, or other constraints are no longer relaxed;
[0114] S4 encodes the retained candidate evidence subgraphs into subgraph representations, sorts the associated source texts according to the graph fact identifiers, and writes them together with the fact allow set, graph snapshot identifier, threshold configuration table version, retrieval parameters, and insufficient evidence flag into the evidence package. The evidence package summary is passed to S5 along with the object to ensure that the generation and verification read the same batch of evidence.
[0115] In this specific embodiment, S5 includes:
[0116] After generating the service verification evidence package summary and graph snapshot identifier, the subgraph representation and corresponding source text are inserted into the input sequence of the graph enhancement industry investment promotion model according to the graph version identifier. The input sequence consists of request instructions, constraint summary, graph representation placeholders, source text segments, and output format constraints. If the summary is inconsistent with the actual object or the graph snapshot identifier does not match the S3 snapshot directory, the model input is rejected and an evidence package verification failure status is written. Technical capabilities are mapped to capability attribute facts or capability relationship facts in the fact allowable set, and investment promotion paths are mapped to a graph fact sequence that is continuously connected according to adjacent entities, relationships, and effective time. When the evidence package has an insufficient evidence flag, it directly enters the uncertainty output branch without generating a deterministic enterprise recommendation.
[0117] When the model generates enterprise entity tokens, attribute tokens, relation tokens, or time tokens, the constraint decoder parses the subject entity identifier, relation type, or attribute type based on the generated tokens, and queries the allowed set of facts using the subject entity identifier-relation type-object entity identifier structure of relational facts or the subject entity identifier-attribute type-attribute value structure of attribute facts. The candidate successor facts returned by the query constitute the allowed token set at the current decoding position. When the set is empty, the current assertion is stopped and the assertion status is marked as lacking allowed facts.
[0118] The confidence mapping table uses the reliability level of the aggregation source in the S4 fact allowable set, the number of independent sources supporting the same graph fact as buckets, conflict status, and entity alignment source as keys. It stores the graph fact confidence level from zero to one, the labeled sample batch, version number, and effective time. For graph facts generated by entity alignment, the bucket where the updated entity matching confidence level is located is also used as an additional key. The mapping table is composed of manually verified historical graph facts, which are bucketed according to equal frequency and labeled by order-preserving regression. In this specific implementation, aggregation failure or miss keys are mapped to zero confidence and removed from the allowable term set.
[0119] The constraint decoder first sets the probability of terms that do not belong to candidate successor facts to zero, and then... Calculate the weighted probabilities of allowed lexical units and renormalize them within the set of allowed lexical units, notation. Indicates word elements Non-negative weighted probabilities before normalization, sign Represents any allowed word element, symbol The symbol represents the original word probability given by the large model. The symbol represents the confidence level of the corresponding graph fact, ranging from zero to one. This represents a single value between zero and one, indicating the reliability weight of the corresponding fact aggregation source read from the S4 fact set. S4 represents the freshness from zero to one, with the symbol […]. ,symbol and symbols The dimensionless index is defined by the validation set, and in this specific implementation, it is taken as 0.5, 0.3, and 0.2 respectively. The greater the confidence of the graph fact, the reliability of the aggregation source, and the freshness, the greater the weighted probability. Any word whose product is zero does not participate in the sampling.
[0120] The generation service breaks down the completed candidate analysis results into enterprise assertions, capability assertions, relationship assertions, time assertions, and investment promotion path assertions. Each assertion records the assertion identifier, assertion type, text range, set of fact identifiers in the association graph, set of source identifiers, effective time, and graph snapshot identifier. Assertions that directly determine the selection of target enterprises, regional matching conclusions, or the feasibility of investment promotion paths are marked as key assertions. At the same time, prohibitive conditions, environmental access conditions, regional restrictions, and constraints corresponding to fields that cannot be relaxed as requested in investment promotion policies are written into the non-relaxable flag table.
[0121] The validator reverse-searches graph facts supporting entities, attributes or relations and validity periods in the same graph snapshot in the order of assertions, and generates a four-bit coverage vector for each assertion. The four positions represent, in order, that there is accessible source support, that the validity period is compatible with the assertion time, that the constraint is satisfied, and that there are no unresolved conflicts. An assertion is considered covered only when all four bits are true. If the evidence package has an insufficient evidence flag or the number of key assertions is zero, the assertion coverage is set to zero and the deterministic output is rejected.
[0122] When the aforementioned situations do not apply, i.e., the evidence package does not carry an insufficient evidence flag and the number of key assertions is greater than zero, the validator proceeds according to... Calculate assertion coverage, symbol The dimensionless assertion coverage from zero to one is represented by the symbol. This represents the number of key assertions in the covering vector where all four bits are true, and the sign is... This indicates the total number of key assertions and is greater than zero; the assertion verification threshold configuration table stores the assertion coverage threshold, version number, calibration sample set and effective time with the request type as the key. In this specific implementation, the threshold is set to 0.95 for the target enterprise recommendation request. When the number of coverage assertions increases, the assertion coverage rate does not decrease monotonically. When the assertion coverage rate is lower than the threshold, the candidate analysis results are prohibited from being used as deterministic output.
[0123] For assertions without source support, the validator re-executes the S4 search within the same graph snapshot using the enterprise, capability, or relation fields in the assertion. For assertions with temporal incompatibility or unresolved conflict states, the validator selects only alternative graph facts with valid temporal compatibility and resolved conflict states. For investment attraction path assertions that do not satisfy constraints, the validator re-executes the constraint graph path search with the original constraint set. All three types of recovery results must be re-verified within the same graph snapshot, passing the S4 source support, valid time, constraint satisfaction, conflict state, source reliability, and fact gating rules. After passing, the new graph facts and their source texts are merged according to the field contracts of the original fact allowable set, the evidence subgraph is regenerated, the fact allowable set, evidence package summary, assertion association graph fact identifier, and coverage vector are updated, and the assertion coverage is recalculated. If any recovery result fails to pass the gating, fact allowable set, or evidence package summary recalculation, the recovery result is not adopted and enters the uncertainty output. Finally, the updated fact allowable set is archived. The recovery process must not switch graph snapshots or relax constraints with no relaxation flags.
[0124] After the anomaly is recovered, the validator recalculates the assertion coverage. For critical assertions that still lack source support, are time-incompatible, have unresolved conflict states, or violate the allowable slack constraint, the deterministic output is rejected. For critical assertions that do not fall under the aforementioned rejection conditions but still violate the allowable slack constraint, a check mark is output and the deterministic conclusion of the critical assertion is deleted. For non-critical assertions whose coverage vector is still not entirely true, a check mark is also output and the deterministic conclusion of the assertion is prohibited.
[0125] The verification process uses the fact allow set pattern version and the S3 constraint set version as parameter sources. It matches reverse lookup keys from the fact allow set pattern according to the assertion type, filters allowable facts according to graph fact identifiers, evaluates the effective time compatibility of the facts solidified in S3, judges the constraint satisfaction status according to the comparison operators and values in the S3 constraint set, selects the resolved facts according to the conflict status, calculates the number of independent sources according to the source identifier, updates the coverage vector according to the assertion order, matches the threshold from the assertion verification threshold configuration table according to the request type, calculates the assertion coverage rate according to the coverage vector, and selects deterministic output or uncertain output according to the comparison result of assertion coverage rate and threshold. If any configuration object is missing, it enters the uncertain output branch.
[0126] The recovery process involves selecting a new search based on the lack of source support, replacing graph facts based on time incompatibility, filtering conflict-free alternative facts based on unresolved conflicts, re-searching constraint graph paths based on constraint violations, updating the association graph facts based on the recovery results, recalculating the four-dimensional coverage vector based on the updated association facts, filtering rejected objects based on key assertion flags, selecting prohibited branches based on the no-slack flag, and deleting the corresponding deterministic conclusions based on the pending verification status.
[0127] When the candidate successor fact set is empty, stop the current assertion and write a missing evidence flag. When the confidence map is not hit, set the graph fact confidence to zero. When the sum of allowed word weighted probabilities is zero, reject sampling. When key assertion recovery fails, reject deterministic output. When non-key assertion recovery fails, output a verification flag. Only save deterministic results when assertion coverage reaches the threshold. When the model output contains entities or relations outside the fact allowable set, delete the corresponding assertion. After each assertion deletion, deterministic conclusion deletion, or replacement of associated graph facts, the validator first re-marks the key assertions on the finally retained candidate results and counts the total number of key assertions. When the number is zero, set the assertion coverage to zero and reject deterministic output. When the number is greater than zero, recalculate the assertion coverage according to the updated coverage vector and perform threshold comparison. The result assembler only accepts candidate results that pass this post-unified gating.
[0128] The assembler filters target companies based on enterprise assertions, matches technical capabilities based on capability assertions, constructs regional matching chains based on relationship assertions, filters valid conclusions based on time assertions, sorts path nodes based on investment promotion path assertions, matches source records based on graph fact identifiers, updates original text positioning based on source records, compares the applicable period of results based on valid time, deletes definitive wording based on pending verification markers, selects result status based on assertion coverage, updates archive index based on graph version identifiers, and writes the fields filtered by the above rules into the industry investment promotion analysis results.
[0129] If the evidence package digest verification fails, the generation will be terminated; if the graph snapshot identifier is inconsistent, the reverse lookup will be rejected; if the allowed term set is empty, the current assertion will end; if the graph fact confidence is zero, the corresponding term will be blocked; if the source original text is inaccessible, the source support bit will be set to false; if the validity period is incompatible, fact replacement will be initiated; if the non-relaxable constraint is violated, the deterministic output will be rejected; if the assertion coverage is lower than the threshold, it will be converted to an uncertain result.
[0130] When all rejection conditions are not triggered and the recalculated assertion coverage reaches the threshold, the service output industry investment promotion analysis results are generated. The results include target companies or sets of companies, technical capabilities, regional matching conclusions, investment promotion paths, source identifiers for each conclusion, original text location, effective time, graph version identifiers, assertion coverage, and verification markers. The result objects and their fact allowable sets are archived together, enabling the recipient to return to the source text and effective time range according to the graph fact identifiers.
[0131] After the results are archived, the incremental update service receives new enterprise registrations, supply chain changes, investment events, patent achievements, supply and demand relationships, policy events, or regional resource change records. It converts these records into incremental graph facts with valid time, observation time, source identifier, and original text location according to S1 field mapping and time rules. Based on the entity identifiers and relationship types involved, it determines the affected subgraphs from the adjacency index. The service only reconstructs the affected subgraphs and their entity embedding indexes. When supply chain changes affect the connection of links, the corresponding supply chain topology is updated. When regional resource changes affect resource constraint values, the constraint index is updated.
[0132] The incremental update service adds historical training samples containing affected entities or relationships to the training replay batch, uses the same S2 loss and parameter thresholds, freezes the relationship graph attention encoder, query field encoding rules, and their 768-dimensional entity coordinate space, and only updates the projection adapter, parameter-efficient fine-tuning layer, and task heads. It also employs an atomic release mechanism for the knowledge graph and model. If the validation set metrics do not reach the original model version, the model candidate release is revoked. The validated new graph facts are retained in the unreleased submission area with batch identifiers and are prohibited from entering the S3 graph version directory, read-only snapshots, and entity embedding indexes. The online service continues to use the previous released graph version, model version, and its encoder index. New version identifiers are generated for the knowledge graph and model only when the model validation passes and the graph facts are successfully submitted, reusing the original... The graph attention encoder version rebuilds the index only for affected entities and new entities, and records the unique correspondence between the new graph version, new model version, reused encoder version, and query field encoding rule version in the version compatibility table before releasing it simultaneously. If the graph attention encoder needs to be updated during full training, it enters an independent full reconstruction branch, recalculates the entity vectors of all active enterprises in the snapshot using the new encoder, and builds a full HNSW index in a temporary directory. It is only atomically released after the entity identifier summary, encoder version, and recall verification all pass. Before completion, it is forbidden to mix any new or old encoder vectors into the same available index. The historical industry investment promotion analysis results continue to retain the original graph version identifier and the original fact set, ultimately forming a version chain that can replay historical conclusions and use new knowledge to process subsequent requests.
[0133] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.
[0134] This invention combines entity alignment of multi-source industrial facts, dual-temporal source modeling, graph-text semantic alignment training, and request-level evidence constraints into a continuous data processing chain. This enables the identification of missing links in the industrial chain, the screening of target enterprises, the judgment of regional matching, and the generation of investment promotion paths to be linked to specific graph facts and source texts in the locked graph version, thereby providing the analysis results with a factual basis that can be verified.
[0135] This invention changes the processing structure that relies solely on text fine-tuning or non-versioned graph retrieval by incorporating source and dual-temporal conditions into sample pairwise verification, evidence gating, and assertion-by-assertion verification, and by using fact-allowed set-restricted model decoding. Simultaneously, through incremental updates of affected subgraphs, entity embedding indexes, industry chain topology, constraint indexes, and training replay batches, the current knowledge state is updated while retaining historical response graph versions, thereby better maintaining the timeliness and factual consistency of the analysis results.
Claims
1. A method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement, characterized in that: include: S1. Acquire multi-source industry data, align entities with enterprise registration identifiers and multi-source evidence, associate effective time, observation time, source and conflict status with graph facts, and construct a versioned knowledge graph; S2. Construct samples from source text and graph facts, train the graph to the projection adapter of the latent space of the large language model with graph-text comparison loss, entity-relationship-time reconstruction loss and constraint violation loss, and write the alignment and conflict results back to the versioned knowledge graph to obtain the graph-enhanced industrial investment promotion large model and the versioned knowledge graph after writing back; S3. Transform the regional industrial base and investment promotion policies into a set of constraints, lock the snapshot of the written-back versioned knowledge graph according to the factual evaluation time point and the observation deadline, and identify the missing links in the industrial chain; S4. Based on the constraint set and missing links in the industry chain, perform entity embedding recall and constraint graph search based on graph snapshot, filter out search results that do not meet the requirements of source, time, constraint or conflict, and form an evidence package containing subgraph representation, source text and fact allowable set composed of evidence subgraph facts; S5. Input the evidence package into the graph-enhanced industrial investment promotion model and decode it with the fact allowable set constraint. Generate assertions by reverse lookup in the same graph snapshot. Perform re-search or uncertainty output on the assertions that fail to be verified to obtain the industrial investment promotion analysis results with source and effective time.
2. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 1, characterized in that, S1 includes: According to a preset field mapping table, enterprise, industry chain, investment event, patent achievement, supply and demand relationship, policy text, and regional resource data are mapped to enterprise, industry link, product technology, regional resource and event records into unified entity type, attribute type and relationship type. The source identifier and original text location of each record are saved, and the source identifier and original text location are associated with the corresponding graph fact when generating graph facts. Records with the same enterprise registration identifier are identified as candidates for the same enterprise entity, and name similarity, address level consistency, personnel equity overlap, product patent similarity and relationship neighborhood similarity are extracted for the remaining records. Each similarity and its source reliability weight are input into the entity alignment classifier, and the entity matching confidence is output. When the entity matching confidence reaches the preset merging threshold, the entities are merged. When attribute values or relationship values from different sources cannot be true at the same time, conflict records are established. The effective time represents the time interval in which the entity attribute or entity relationship described by the graph fact is true in the objective object. The observation time represents the time when the system obtains the graph fact. The version identifier of the versioned knowledge graph is determined by the incremental fact submission batch and the observation deadline.
3. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 2, characterized in that, Step S2 involves constructing samples as follows: Positive samples are constructed from source texts and graph facts or graph paths that share the same source support, intersect within valid time intervals, and whose original text locations correspond to each other; constraint objects, comparison operators, and constraint values are extracted from historical industry investment requests, policy texts, and regional resource data to generate a sample-level constraint set, and the constraint types in the sample-level constraint set are mapped to industry link constraints, technological capability constraints, investment constraints, resource constraints, environmental constraints, regional constraints, or time constraints; difficult negative samples are constructed from enterprise entity pairs with the same name but different enterprise registration identifiers, historical relationships established by the same enterprise entity outside the sample's valid time, relationships marked as mutually exclusive by conflict records, and graph paths with similar structures but violating the sample-level constraint set; and source identifiers, valid time intervals, observation times, conflict states, and violated constraint types are written into the sample records to ensure that the samples correspond to the version of the versioned knowledge graph.
4. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 3, characterized in that, The training in step S2 includes: using a graph encoder to encode entities, relations, attributes, effective time, and observation time in positive samples and difficult negative samples, and obtaining a graph representation with the same dimension as the corresponding source text lexical representation through the projection adapter; using the graph-text comparison loss to bring the graph representation of positive samples closer to the source text representation and separate difficult negative samples; using the entity-relation-time reconstruction loss to constrain the graph representation to recover the obscured entity, relation, and time fields; using the constraint violation loss to increase the discrimination interval between the constraint-violation graph path and the compliant graph path; jointly updating the projection adapter and the parameter efficient fine-tuning layer, inputting the graph representation of the entity pair to be aligned, the features corresponding to the multi-source evidence, and the original entity matching confidence into the entity pair alignment head, outputting the calibrated entity merging probability, updating the original entity matching confidence with the entity merging probability, and generating conflict labels based on the discrimination results of mutual exclusion relations, and updating the conflict state of the corresponding graph facts with the conflict labels.
5. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 4, characterized in that, S3 includes: extracting the industry segments to be supplemented, target products or technologies, investment scale range, resource demand ceiling, environmental access conditions, permitted geographical scope, fact evaluation time point, and observation deadline from the industry investment promotion request; generating corresponding constraint objects, comparison operators, and constraint values, and ensuring that the constraint set contains at least one constraint; including graph facts whose effective time includes the fact evaluation time point and whose observation time is no later than the observation deadline into the graph snapshot, and retaining the source identifier, updated entity matching confidence, and conflict status of the same graph fact; determining the missing links in the industrial chain based on the difference between the industry segments covered by existing enterprise entities in the region and the necessary industry segments in the preset industrial chain topology, and using the relationship type connecting the existing industry segments and the missing links in the industrial chain as the target relationship type for constraint graph search.
6. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 5, characterized in that, S4 includes: The missing links in the industrial chain, target products or technologies, and existing enterprise entities within the region are encoded into query vectors. Seed entities are retrieved from the entity embedding index of the graph snapshot. Starting from the seed entities, the graph path is expanded according to the target relationship type. During each expansion, graph facts that do not meet the constraint values and graph facts whose updated entity matching confidence does not reach the preset alignment threshold are removed. Graph facts with unresolved conflict states retain conflict markers and are included in the pre-gated candidate fact set. Expansion stops when the preset path length limit is reached or no expandable graph facts exist. The graph paths in the pre-gated candidate fact set are merged according to common entities and source text to obtain candidate evidence subgraphs.
7. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 6, characterized in that, For a candidate evidence subgraph containing at least one graph fact, the constraint coverage rate is the ratio of the number of constraints satisfied by the candidate evidence subgraph to the total number of constraints in the constraint set; the source integrity rate is the ratio of the number of graph facts with source identifiers and accessible original text locations to the total number of graph facts in the candidate evidence subgraph; and the conflict rate is the ratio of the number of graph facts with unresolved conflict states to the total number of graph facts in the candidate evidence subgraph. The freshness of each graph fact is obtained by applying a preset time decay function to the time difference between the observation deadline and the observation time of each graph fact. The source reliability weights of each graph fact are normalized and used as the aggregation weights. Specifically, when the sum of the source reliability weights is greater than zero, normalization is performed according to the proportion of each source reliability weight to the sum. When the sum is zero, the reciprocal of the number of graph facts is used as the aggregation weight for each graph fact. The freshness of each graph fact is obtained by weighted summation. The pre-configured thresholds for each indicator are read from the threshold configuration table according to the request type. Candidate evidence subgraphs are retained only when the constraint coverage, source integrity rate, and freshness reach their respective lower thresholds and the conflict rate does not exceed their respective upper thresholds. The facts allow... The set uses graph fact identifiers as indexes to record the subject entity identifier, relation type, object entity identifier, valid time interval, source identifier, and graph version identifier for each relation graph fact record in the retained candidate evidence subgraphs, and the subject entity identifier, attribute type, attribute value, valid time interval, source identifier, and graph version identifier for each attribute graph fact record. When there are no retained candidate evidence subgraphs, the number of seed entities and the upper limit of path length are increased while keeping the constraint values unchanged, and entity embedding recall and constraint graph search are re-executed. If there are still no retained candidate evidence subgraphs, an insufficient evidence flag is generated, and the empty subgraph representation, empty source text set, and empty fact allowable set are combined to form an evidence package with the insufficient evidence flag.
8. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 7, characterized in that, Decoding in step S5 includes: associating the subgraph representation with the corresponding source text according to the graph version identifier and inserting it into the model input sequence; mapping technical capabilities to capability attribute graph facts or capability relationship graph facts in the fact allowable set; and mapping the investment promotion path to a graph fact sequence that is continuously connected according to adjacent entities-relationships-time; when the model generates enterprise entity words, attribute words, relationship words, or time words, determining the subject entity identifier, relationship type, or attribute type according to the generated words, and following the graph fact identifier and the subject entity identifier-relationship type-object entity identifier structure of the relationship graph fact or the subject entity identifier-attribute type-attribute structure of the attribute graph fact. The system uses a value structure to obtain candidate successor facts corresponding to the generated lexical units from the fact set. It inputs the source reliability weights, the number of independent sources supporting the same graph fact, and the conflict status of each graph fact into a pre-set confidence mapping table, outputting a graph fact confidence score ranging from zero to one. For graph facts generated by entity alignment, the updated entity matching confidence score is used as an additional input to the confidence mapping table. Lexical probabilities that do not belong to the candidate successor facts are masked, and lexical probabilities that belong to the candidate successor facts are weighted according to the graph fact confidence score, source reliability weights, and freshness, generating candidate analysis results with graph fact identifiers and source identifiers.
9. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 8, characterized in that, Step S5 involves generating assertions by reverse lookup, which includes: breaking down the candidate analysis results into firm assertions, capability assertions, relationship assertions, time assertions, and investment attraction path assertions; identifying assertions that directly determine the selection of target firms, regional matching conclusions, or the feasibility of investment attraction paths as key assertions; adding prohibitive conditions, environmental access conditions, regional restrictions, and non-relaxable fields specified in industry investment attraction requests to the "no relaxation" flag; and retrieving graph facts from the graph snapshot that support the entity, attribute, or relationship and the effective time for each assertion, and then processing these facts according to the assertion. Sequentially generate coverage vectors to mark whether each assertion has source support, time compatibility, constraint satisfaction, and conflict resolution; when the evidence package has an insufficient evidence flag or the total number of key assertions is zero, set the assertion coverage rate to zero and reject deterministic output; when the above situations do not apply, use the ratio of the number of key assertions with source support, time compatibility, constraint satisfaction, and conflict resolution in the coverage vector to the total number of key assertions as the assertion coverage rate, and read the assertion coverage threshold from the assertion verification threshold configuration table according to the request type of the industry investment promotion request; As an anomaly recovery branch, assertions without source support are re-searched; assertions with temporal incompatibility or unresolved conflict states are replaced with graph facts that are temporally compatible and without unresolved conflict states; and investment promotion path assertions that do not meet constraints are re-searched for constraint graph paths. After anomaly recovery, the coverage vector is updated based on the results of re-search, graph fact replacement, or constraint graph path re-search, and the assertion coverage rate is recalculated with the updated coverage vector. For key assertions that still lack source support, are temporally incompatible, have unresolved conflict states, or violate constraints marked with the "no relaxation" flag after recovery, deterministic output is rejected. For key assertions that do not fall under the aforementioned rejection conditions and still violate constraints without the "no relaxation" flag after recovery, a verification mark is output and the output of the corresponding key assertion's deterministic conclusion is prohibited. For non-key assertions that still do not simultaneously have source support, are temporally compatible, meet constraints, and have resolved conflicts after recovery, a verification mark is output and the output of the corresponding non-key assertion's deterministic conclusion is prohibited. When the recalculated assertion coverage rate does not reach the assertion coverage threshold, candidate analysis results are prohibited from being used as deterministic output.
10. The method for constructing a large-scale industrial investment promotion model based on knowledge graph enhancement according to claim 9, characterized in that, After obtaining the industry investment promotion analysis results, the system receives new enterprise registration records, industrial chain change records, investment events, patent achievements, supply and demand relationships, policy events, or regional resource change records. It converts these new records or events into incremental graph facts with valid time, observation time, source identifier, and original text location. Based on the entity identifiers and relationship types involved in the incremental graph facts, it determines the affected subgraphs, reconstructs only the affected subgraphs and their entity embedding indexes, updates the industrial chain topology when industrial chain change records affect the connection relationships of industrial links, and updates the constraint index when regional resource change records affect resource constraint values. It also adds historical training samples containing affected entities or relationships to the training replay batch to update the projection adapter and the parameter efficient fine-tuning layer. Generate a new version identifier for the updated knowledge graph, while retaining the graph version identifier and its fact set corresponding to the historical industry investment promotion analysis results.
