A special fund full life cycle penetration type supervision data modeling method
By performing multi-granular semantic annotation on special fund transaction flow data and constructing an initial fund path skeleton diagram, semantic conflict events are identified and the fund path diagram is reconstructed. This solves the problem that existing technologies are difficult to adapt to the dynamic changes in the semantics of fund flow business, and achieves efficient fund flow supervision modeling.
Patent Information
- Application Number
- CN202611475023.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-21
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies are unable to adapt in a timely manner to the dynamic changes in the semantics of fund flow in the full life cycle of special funds supervision, which affects the depth and accuracy of the supervision.
By acquiring special fund transaction flow data and performing multi-granular semantic annotation, an initial fund path skeleton graph is constructed. Semantic conflict events are identified using a preset semantic rule base, and local reconstruction signals are generated. Conflicting accounts and their neighboring nodes are extracted based on semantic offset signals, and a freeze operation is performed. Furthermore, edge weights are re-evaluated through an attention mechanism to generate new path fragments and dynamically update the fund path graph.
It enables real-time response to dynamic changes in the semantics of fund flow business, improves the speed and accuracy of regulatory modeling, and ensures the stability and traceability of historical topology.
Smart Images

Figure CN123160107A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fiscal fund supervision and financial data modeling technology, and in particular to a method for data modeling of full life-cycle penetration supervision of special funds. Background Technology
[0002] In the current field of fiscal fund supervision and financial data modeling, especially in the scenario of full-lifecycle penetrating supervision of special funds, mainstream technical solutions mostly adopt modeling paradigms such as full reconstruction based on transaction graph structures, fixed topology incremental updates, or end-to-end graph neural networks. In such structured fund path modeling solutions, the system periodically summarizes the data of all special fund transaction flows, constructs graph structures, and updates node / edge features to form a top-down fund flow analysis model that highly replicates the real business flow chain. With the advancement of fiscal digital transformation, some advanced solutions have introduced force tag fusion, basic compliance rule verification, and multi-attribute completion of node entities, and have achieved, to a certain extent, the penetrability of fund flows and preliminary anomaly clustering analysis.
[0003] The existing technology still has the following main shortcomings: Some incremental modeling paradigms rely on fixed mappings of established topological levels or account categories, making it difficult to adapt in a timely manner to dynamic changes in the semantics of fund flow business, such as policy implementation stages, fund usage, or compliance status, which significantly affects the depth and accuracy of penetrating supervision. Summary of the Invention
[0004] This application provides a data modeling method for full life-cycle transparent supervision of special funds, aiming to solve the problem mentioned in the background that the existing technology is difficult to adapt to the dynamic changes in the semantics of fund flow business in a timely manner.
[0005] This application provides a data modeling method for full life-cycle, penetrating supervision of special funds, specifically including: S1: Obtain special fund transaction flow data and perform multi-granularity semantic annotation processing on the special fund transaction flow data to generate multi-dimensional semantic annotation transaction flow; S2: Based on the multi-dimensional semantic annotation of the transaction flow, construct an initial fund path skeleton graph with the special fund project as the root node and only retain the backbone edge, and use the initial fund path skeleton graph as a low-complexity initial topology structure; S3: Use a pre-defined semantic rule base to perform matching degree comparison calculation on the low-complexity initial topology structure that comes in in real time, so as to identify semantic conflict events and generate semantic offset signals that trigger local reconstruction. S4: Extract conflicting accounts and their two-hop neighborhood nodes based on the semantic offset signal, and perform a freeze operation on the conflicting accounts and their two-hop neighborhood nodes to generate local subgraph data blocks to be processed; S5: Based on the local subgraph data block, the attention mechanism method is used to estimate the edge weights according to three dimensions: semantic conflict intensity, historical behavior consistency and policy clause rigidity level, so as to generate new path segments; S6: The new path segment is embedded as a semantic patch into the low-complexity initial topology and stored in parallel through versioned path index to obtain a dynamically updated funding path map.
[0006] This application provides a data modeling method for full life-cycle, penetrating supervision of special funds, which has the following beneficial effects: This application utilizes a pre-defined semantic rule base to perform matching degree calculations on the low-complexity initial topology of real-time inflows to identify semantic conflict events and generate semantic offset signals that trigger local reconstruction. Then, based on the generated local subgraph data blocks to be processed, the scope of influence of semantic changes is converged from global full-scale reconstruction modeling to the local neighborhood of conflicting accounts. This effectively overcomes the shortcomings of existing technologies that rely on predetermined topology mapping and cannot adapt to dynamic changes in business semantics such as policy stages or fund usage in a timely manner. Furthermore, based on the local subgraph data blocks, edge weight re-estimation is performed to generate new path segments. These new path segments are embedded as semantic patches into the skeleton graph and dynamically updated to the fund path graph through versioned path index parallel storage. This achieves a leap from periodic reconstruction of the entire graph to semantic conflict-driven local subgraph re-estimation and patch-based embedding, significantly improving the response speed and accuracy of penetrating regulatory modeling under dynamic changes in the semantics of fund flow business, while ensuring the stability and traceability of historical topology structures. Attached Figure Description
[0007] Figure 1 This is the main flowchart of a data modeling method for full life-cycle transparent supervision of special funds.
[0008] Figure 2 This is a sub-flowchart of a data modeling method for full life-cycle penetrating supervision of special funds.
[0009] Figure 3 This is another sub-flowchart of a data modeling method for full life-cycle transparent supervision of special funds. Detailed Implementation
[0010] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0011] The following disclosure provides many different embodiments or examples for implementing different structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. Of course, these are merely examples and are not intended to limit the invention. Furthermore, reference numerals and / or letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0012] like Figure 1 As shown, one embodiment of this application provides a data modeling method for full life-cycle penetrating supervision of special funds, specifically including: S1: Obtain special fund transaction flow data and perform multi-granular semantic annotation processing on the special fund transaction flow data to generate multi-dimensional semantic annotation transaction flow.
[0013] S2: Based on the multi-dimensional semantic annotation of the transaction flow, construct an initial capital path skeleton graph with the special fund project as the root node and only retaining the backbone edge, and use the initial capital path skeleton graph as a low-complexity initial topology structure.
[0014] S3: Use a pre-defined semantic rule base to perform matching degree comparison calculation on the low-complexity initial topology structure that comes in in real time, so as to identify semantic conflict events and generate semantic offset signals that trigger local reconstruction.
[0015] S4: Extract conflicting accounts and their two-hop neighborhood nodes based on the semantic offset signal, and perform a freeze operation on the conflicting accounts and their two-hop neighborhood nodes to generate local subgraph data blocks to be processed.
[0016] S5: Based on the local subgraph data block, the attention mechanism method is used to estimate the edge weights according to three dimensions: semantic conflict intensity, historical behavior consistency and policy clause rigidity level, so as to generate new path segments.
[0017] S6: The new path segment is embedded as a semantic patch into the low-complexity initial topology and stored in parallel through versioned path index to obtain a dynamically updated funding path map.
[0018] Step S1: Obtain special fund transaction flow data and perform multi-granularity semantic annotation processing on the special fund transaction flow data to generate a multi-dimensional semantically annotated transaction flow. Specifically, this includes: S1.1: Perform field standardization and cleaning on the transaction data of special funds to generate a standardized transaction record set containing transaction time, amount, counterparty ID and account hierarchy.
[0019] The system receives raw transaction data for special funds from multi-source heterogeneous systems. This data includes unstructured text summaries, semi-structured XML (Extensible Markup Language) messages, and structured database records. The raw data undergoes unified character set encoding conversion, removing invisible control characters and garbled symbols, and performing standardized mapping from full-width to half-width characters to eliminate format noise caused by differences in data sources. The transaction time field is parsed, recognizing various date formats and timestamp milliseconds, and uniformly converting them to the ISO 8601 (International Organization for Standardization) standard format string. The validity of the time logic is verified, and abnormal records with future times or times earlier than the project initiation time are removed. The transaction amount field is matched using regular expressions, removing thousands separators, currency symbols, and non-numeric characters. The string type is forcibly converted to a high-precision floating-point type, retaining two decimal places to comply with financial accounting standards, and negative amounts are marked as refunds or reversals. The process involves extracting counterparty ID information, de-identifying sensitive information using a hash algorithm, generating fixed-length anonymous identifiers, and establishing a bidirectional mapping index table between the original ID and the anonymous ID to ensure data compliance. Based on a pre-defined fiscal account hierarchy dictionary, prefix matching and regular expression validation are performed on account IDs to identify the account's hierarchical attributes, labeling them as special fiscal accounts, basic unit accounts, special sub-accounts, or personal accounts, and constructing account hierarchy relationship tags. Through the above cleaning and standardization processes, the chaotic raw transaction records are transformed into a standardized transaction record set with a unified structure and clear semantics, providing a high-quality data foundation for subsequent multi-dimensional semantic annotation.
[0020] For example, for a municipal science and technology innovation special fund project, the system accessed a CSV format (a file format that stores tabular data in plain text) transaction file provided by a bank interface, containing 5000 entries. 300 entries with the date format "2023.01.01" were detected and uniformly converted to "2023-01-01T00:00:00+08:00"; 50 entries with the amount field containing the "¥" symbol and commas, such as "¥1,000.00", were found and cleaned to the value 1000.00; 200 personal account IDs were identified and hashed using SHA-256 (a 256-bit secure hash algorithm) to generate a 64-bit hexadecimal anonymous string; and 50 special sub-accounts were identified based on the account prefix "ZC". The final output is a standardized dataset containing 5,000 records. Each record has a unified timestamp, accurate monetary value, anonymized counterparty ID, and clear account-level labels. The data integrity rate is increased to 99.9%, significantly reducing the preprocessing overhead in the subsequent modeling stage.
[0021] S1.2: Based on the standardized transaction record set, time window matching calculation is performed using the policy lifecycle mapping rule base to generate a policy implementation stage label sequence marked with the application period, payment period, or acceptance period.
[0022] The system receives a standardized set of transaction records and extracts the transaction timestamp field of each record, associating it with the special fund project ID. It then calls upon the policy lifecycle mapping rule base, which pre-stores key time node definitions for different special fund projects, including the application deadline, budget approval date, fund disbursement start date, and project acceptance benchmark date. The system compares the transaction timestamp with the time intervals in the rule base to determine the policy implementation stage to which the current transaction occurs. If the transaction time falls before the application deadline, it is marked as the application period; if it falls between the budget approval date and the fund disbursement start date, it is marked as the disbursement period; and if it falls after the project acceptance benchmark date, it is marked as the acceptance period. For transactions within a transitional time window, linear interpolation is used to calculate the probability weight of their belonging to an adjacent stage. A time window matching function is constructed, and the confidence level of a transaction record belonging to a specific policy stage is calculated using the following formula:
[0023] in, For confidence level, For trading hours, For the policy stage, This is the central time point of this phase. The attenuation coefficient is used. The primary label is determined based on the calculated maximum confidence level, and the second-highest confidence level is stored as an auxiliary label in the metadata. All standardized transaction records are traversed to generate a time-series array containing policy implementation stage labels. Through time window matching and confidence level calculation, the standardized transaction records from the previous step are transformed into a policy implementation stage label sequence marked with the application period, disbursement period, or acceptance period. This achieves precise alignment of fund flows with the policy lifecycle, providing temporal context constraints for subsequent use identification.
[0024] S1.3: Based on the policy implementation stage label sequence, keyword extraction and semantic classification methods are used to process the transaction summary information for purpose identification, so as to generate a set of fund purpose labels marked with equipment procurement, personnel labor or infrastructure expenditure.
[0025] Receive the standardized transaction record set with policy implementation stage labels generated by S1.2, and extract the summary text field of each transaction record and the corresponding stage label as input data.
[0026] The transaction summary text is preprocessed by word segmentation. Chinese word segmentation tools are used to remove stop words and retain the parts of speech of nouns and verbs, and a set of candidate keywords is constructed.
[0027] Based on the special fund business dictionary, TF-IDF (a statistical method for assessing the importance of words in a document) is used to calculate the feature weights of candidate keywords under a specific policy implementation stage, and high-discrimination usage indicator words are selected.
[0028] The selected keywords are mapped to a predefined classification system for fund usage, which includes standard categories such as equipment procurement, personnel and labor services, and infrastructure expenditures.
[0029] We construct a semantic classifier based on the BERT model (bidirectional encoder pre-trained language model) to transform transaction summary text into high-dimensional semantic vectors and capture implicit usage information in the context.
[0030] Calculate the cosine similarity between the semantic vector and the prototype vector of each use category to generate a preliminary use probability distribution matrix.
[0031] The policy implementation stage label is introduced as a conditional bias term in the attention mechanism to adjust the prior probability weights of various uses at different stages.
[0032] The category with the highest confidence level is selected as the primary use label. When the highest confidence level is lower than the preset threshold, it is marked as a mixed use or pending manual review.
[0033] The identified fund usage labels are written back to the corresponding transaction records to form an intermediate dataset containing semantic information about the usage.
[0034] By employing a hybrid processing strategy that combines keyword extraction and semantic classification, unstructured transaction summaries are transformed into a structured set of fund usage tags, enabling accurate identification of the intended flow of special funds and providing a semantic foundation for subsequent compliance verification.
[0035] For example, in the transaction record "Payment for XX Company's Engineering Progress Payment" during the payment period of a certain infrastructure project, the keywords "payment," "engineering payment," and "progress payment" are extracted. After TF-IDF weighting, "engineering payment" has the highest weight. The cosine similarity between the BERT model output vector and the prototype vector of "infrastructure expenditure" is 0.92. Because it is in the "payment period," the preference weight for infrastructure expenditure is set to 1.5, and the weight for other uses is set to 0.5. After confidence calculation, the confidence score for infrastructure expenditure is significantly higher than that for other categories, so it is labeled as "infrastructure expenditure." If the transaction summary is "purchase of office computers," although it may be misclassified during the "application period," it can still be accurately classified as "equipment procurement" after stage weight adjustment, effectively improving the accuracy of use identification.
[0036] S1.4: Combine the set of fund usage tags with the preset budget constraint rules, perform compliance logic verification operations to generate a list of compliance status tags marked as within budget, overspending warning, or in the process of changing the use of funds.
[0037] Receive the set of fund usage tags generated by S1.3 and the set of standardized transaction records generated by S1.1 as input data sources for compliance logic verification.
[0038] The system calls upon a pre-defined budget constraint rule library to extract budget item limits, permitted expenditure ranges, and approval status thresholds associated with the current special fund project, and constructs a multi-dimensional compliance verification matrix.
[0039] For each transaction record, retrieve the corresponding budget item subset based on its fund usage tag, and calculate the sum of the cumulative amount already incurred under that item and the current transaction amount.
[0040] The total amount is compared with the budget limit for that item. If the sum exceeds the budget limit, the transaction is marked as an overspending warning; if it does not exceed the limit, the next level of verification is initiated.
[0041] Check whether the counterparty ID is in the whitelist database, and verify the business relevance in conjunction with the fund usage label. If a non-registered supplier or the purpose does not match the account nature is found, mark it as being in the process of changing the purpose approval.
[0042] For transactions that pass the budget limit verification and whose counterparties are compliant, a budget-compliant status label is directly assigned, forming a preliminary compliance determination result.
[0043] By combining the results of the above multiple verifications using logical AND operations, the final compliance status of each transaction is determined, and a list of compliance status labels is generated, including those indicating that the transaction is within budget, is under overspending warning, or is in the process of changing its purpose.
[0044] By performing compliance logic verification operations, the fund usage labels from the previous step are transformed into compliance status indicators with regulatory validity, enabling real-time quantitative assessment of the compliance of special fund flows. This provides a cleaned, high-confidence data foundation for the subsequent construction of a low-complexity initial topology.
[0045] For example, regarding an equipment procurement transaction funded by a special infrastructure fund, the budget constraint rule sets the upper limit for this item at 5 million yuan. The system reads the historical cumulative expenditure of 4.8 million yuan for this item and the current transaction amount of 300,000 yuan. The total is calculated to be 5.1 million yuan, which exceeds the 5 million yuan upper limit, thus triggering an overspending warning. Simultaneously, if the counterparty is not on the registered supplier list, even if the amount does not exceed the limit, it is marked as pending a change of purpose approval. For a compliant procurement of 200,000 yuan, if the cumulative total does not exceed the limit and the counterparty is on the whitelist, it is marked as within budget. Finally, the compliance status label for this transaction is output as "overspending warning," triggering the non-steady-state connection edge filtering mechanism in the subsequent S2 step.
[0046] S1.5: Integrate the policy implementation stage label sequence, fund usage label set, and compliance status label list into a standardized transaction record set to generate a multi-dimensional semantically labeled transaction flow containing multi-dimensional semantic information.
[0047] The system receives a sequence of policy implementation stage tags, a set of fund usage tags, and a list of compliance status tags, using these as multi-dimensional semantic input sources. An index mapping table is established with a standardized transaction record unique identifier as the primary key to ensure accurate alignment between semantic tags and original transaction records. A hash matching algorithm is used to inject policy implementation stage tags into the timestamp field association area of the corresponding transaction record, forming a temporal semantic anchor. Based on the fund usage tag set, a vector space model is used to calculate the cosine similarity between the transaction summary and the preset usage category, and the tag with the highest similarity is appended to the end of the transaction record's feature vector. Combined with the compliance status tag list, Boolean logic checks are performed on each transaction record, and status codes such as "within budget" and "overspending warning" are written into the record's metadata field. A multi-dimensional semantic fusion matrix is constructed, integrating the temporal, usage, and compliance tags into a unified structured semantic vector through weighted concatenation. The fused semantic vector undergoes integrity verification, removing null records with missing key tags, generating a standardized multi-dimensional semantically labeled transaction flow. Through the above multi-source semantic fusion processing, the discrete labels generated in the previous step are transformed into a structured data stream with a complete business context, realizing the transformation of transaction data from simple numerical records to semantic entities rich in policy constraint information, and providing a high-fidelity data foundation for subsequent skeleton graph construction.
[0048] For example, for a specific infrastructure project, the system receives 1000 standardized transaction records. In the policy implementation phase label sequence, records 1-100 are marked as "Application Period," and records 101-500 as "Disbursement Period." In the fund usage label set, transaction summary 205, "Purchasing Cement," is identified as "Infrastructure Expenditure" with a confidence level of 0.95. In the compliance status label list, record 205 is marked as "Within Budget" because the amount does not exceed the budget. The system merges the three labels "Disbursement Period," "Infrastructure Expenditure," and "Within Budget" into this transaction record using the primary key ID=205. In the final multi-dimensional semantically labeled transaction flow, each record contains complete three-dimensional semantic information, ensuring that subsequent modeling can accurately identify the compliance path of the transaction.
[0049] Step S2: Based on the multi-dimensional semantically labeled transaction flow, construct an initial fund path skeleton graph with the special fund project as the root node and only retaining the backbone edges, and use the initial fund path skeleton graph as a low-complexity initial topology structure. Specifically, this includes: S2.1: Extract the root node from the standardized transaction record set in the multi-dimensional semantically labeled transaction flow, and select the unique special fund project entity based on the project application period identifier in the policy implementation stage label sequence to generate the root node object as the starting point of the initial funding path skeleton diagram.
[0050] The system receives a multi-dimensional semantically annotated transaction stream generated by S1 and extracts a standardized set of transaction records containing policy implementation stage tags as the input data source. It iterates through the standardized transaction record set, retrieves the policy implementation stage tag field, and filters out a subset of transaction records with the tag value "application period". It performs project identifier aggregation analysis on the filtered transaction record subset, statistically analyzing the frequency of occurrence of each special fund project number within the application period and the uniqueness of associated accounts. Based on preset sovereignty verification rules, it verifies the uniqueness and legality of frequently occurring project numbers associated with special fiscal accounts, eliminating duplicate or erroneous project entities caused by data noise.
[0051] The unique project number of the special fund project that passes verification is locked, and a root node object in the graph database is instantiated, assigning it a project ID, project name, and initialization timestamp attributes. Through the above root node extraction and verification process, the unstructured transaction flow is transformed into a graph structure root node object with a clear policy starting point, realizing the unique anchoring of the initial topology structure and providing a definite starting reference for subsequent hierarchical anchor matching.
[0052] For example, considering a city's science and technology innovation special fund, the input is a standardized dataset containing 5,000 transaction records. The system retrieves 200 records tagged "Application Period," involving project numbers "KJ2023-001" to "KJ2023-005." Aggregate analysis reveals that "KJ2023-001" appears 180 times during the application period, all associated with the same special fiscal account "FB-001." The frequency of other project numbers is below the threshold or the associated accounts are scattered. The system determines "KJ2023-001" as the only legitimate project entity and generates a root node Node_Root with attributes including {project_id: "KJ2023-001", type: "root", status: "active"}. This operation successfully eliminates four interfering projects, ensuring that subsequent skeleton diagram construction is based on the correct policy source and significantly improving modeling accuracy.
[0053] S2.2: Based on the root node object and the infrastructure expenditure and equipment procurement categories in the fund use label set, perform the main node matching operation using the preset fiscal account hierarchy mapping rules, identify and extract key hierarchical anchor nodes such as fiscal special accounts, implementing unit main accounts and sub-project accounts, so as to generate a candidate node set containing core regulatory entities.
[0054] It receives the root node object and a set of fund usage tags, and retrieves a pre-defined fiscal account hierarchy mapping rule base. This rule base defines the legal account types and their hierarchical constraints corresponding to special funds at different policy stages.
[0055] Entity attribute retrieval is performed on the counterparty IDs in the standardized transaction record set to extract metadata such as account type, bank level, and account function identifier. The extracted metadata is then used for fuzzy matching calculations against account feature templates in the rule base.
[0056] For transaction records marked as infrastructure expenditures, nodes with special fiscal account attributes are selected as primary anchor points based on the hierarchical constraints on project progress payments in the rule base. Simultaneously, sub-accounts under the implementing unit with special accounting functions are identified as secondary anchor points.
[0057] For transaction records marked as equipment procurement, the main account of the implementing unit and the settlement account of the supplier are located according to the government procurement payment chain rules. The legitimacy of the main nodes is confirmed by comparing the account names with the list of contractors in the project approval documents.
[0058] Perform multi-source identity disambiguation processing, merge related accounts opened by the same entity in different banks, and generate a unique principal node identifier. Remove temporary transitional accounts without clear policy correspondence to ensure the purity of the candidate node set.
[0059] A candidate node set is constructed, comprising special fiscal accounts, implementing entity master accounts, and sub-project accounts. Each node is accompanied by its hierarchical weight and corresponding fund usage tag, forming a structured index of regulatory entities.
[0060] Through the above main node matching operation, discrete trading counterparties are transformed into hierarchical anchor nodes with clear policy semantics, realizing semantic mapping from transaction data to regulatory topology nodes, and providing a high-precision node foundation for subsequent backbone edge extraction.
[0061] For example, a certain infrastructure-related special fund project is in its disbursement period, with the fund usage tagged as infrastructure expenditure. The system retrieved three large transfers, with the counterparties being the Municipal Finance Bureau's Treasury Department, a project-specific account at a branch of the Municipal Construction Bank, and a construction engineering company. Based on the hierarchical mapping rules for fiscal accounts, the Municipal Finance Bureau's Treasury Department account was identified as a first-level fiscal special account anchor point, with a matching confidence level of 0.98; the project-specific account at the branch of the Municipal Construction Bank was identified as a second-level sub-project account anchor point because its account name contained project keywords and it was registered in the fiscal system, with a matching confidence level of 0.95; the construction engineering company's account, although the recipient, was marked as a node awaiting verification because it was not on the project contractor whitelist and was not included in the initial candidate node set. The final generated candidate node set included two high-confidence anchor nodes, ensuring the policy compliance of the initial topology.
[0062] S2.3: Based on the compliance status label list of each node in the candidate node set, execute the strong policy constraint relationship verification logic, filter out the non-steady-state connection edges marked with overspending warnings or change of purpose approval, and only retain the backbone edge relationship between fiscal appropriations to the unit's basic account and between the basic account and the special sub-account in the budget status, so as to generate a backbone edge connection set that meets the rigid requirements of the policy.
[0063] For each pair of related accounts in the candidate node set, extract their corresponding compliance status label list and fund flow attributes. Identify the compliance status combination of the two connected nodes. If either node is marked as overspending warning or under approval for change of purpose, the connection edge is determined to be in a non-steady-state risk range. Perform logical elimination operations on connection edges in the non-steady-state risk range to block their propagation path in the initial topology and prevent abnormal states from polluting the backbone structure. Filter the remaining connection edges where the compliance status of all nodes is within the budget, and further verify whether their account hierarchy relationship conforms to the preset rigid mapping rules from the fiscal special account to the unit's basic account, or from the unit's basic account to the special sub-account. For connection edges that conform to the hierarchy mapping rules and have stable states, assign a high-confidence backbone label and include them in the candidate backbone edge set. Through strong policy constraint relationship verification and hierarchy matching filtering, the multi-dimensional semantically labeled transaction flow is transformed into a backbone edge connection set containing only steady-state compliance paths, achieving low complexity and high credibility construction of the initial topology structure.
[0064] For example, the candidate node set includes a special fiscal account A, a basic unit account B, and a sub-project account C. Account B's compliance status label is "overspending warning," while account C is within budget. The system detects that the connection edge from A to B involves an overspending warning node, determines it to be non-steady-state, and removes it. Although the connection edge from B to C involves C (within budget), the source B is non-steady-state, so this edge is also filtered. If there exists another basic unit account D, whose status is within budget, and A to D and D to E (sub-project account, within budget) both conform to hierarchical mapping, then edges AD and DE are retained as backbone edges. The final generated backbone edge connection set only contains AD and DE, effectively isolating the abnormal risk of account B and ensuring that the initial skeleton diagram only reflects the compliant funding path.
[0065] S2.4: Perform topology assembly processing on the root node object, candidate node set and backbone edge connection set, eliminate redundant transaction links and establish a unidirectional directed acyclic graph structure to generate an initial capital path skeleton graph with low complexity initial topology structure.
[0066] The system receives the root node object, candidate node set, and backbone edge connection set as input data for topology assembly. It traverses each directed edge in the backbone edge connection set, extracting the start and end node identifiers to construct an initial adjacency list structure. Based on the initial adjacency list, it performs a depth-first search method, tracing all reachable paths from the root node and recording the node access sequence for each path. It checks for duplicate node identifiers in the path sequence; if found, it identifies a loop or redundant loop. For detected loops, based on the timestamp order of the policy implementation stage labels, it retains the main path edges with earlier timestamps and compliance status within the budget, and cuts the reverse or lateral edges forming the loop. It performs connectivity checks on the cut graph structure to ensure all candidate nodes can be reached from the root node via a unique path. It removes isolated nodes and dangling edges not connected to the root node, purifying the topology. It maps the cleaned nodes and edges to the vertex and edge sets of a directed acyclic graph, assigning each edge an initial penetration confidence value of 1.0. Finally, it generates an initial funding path skeleton graph with a low-complexity initial topology structure. By performing topology assembly and loop pruning, the set of backbone edges from the previous step is transformed into an acyclic directed graph structure, thereby achieving logical closure of the monitoring path and minimizing computational complexity.
[0067] For example, the root node ID of the special fund project is set as P_2023_001, and the candidate nodes include fiscal special account A, unit basic account B, and sub-account C. The backbone edges include A→B, B→C, and C→B. A depth-first search is performed, revealing that the path A→B→C→B involves repeated visits to node B, forming a cycle. The transaction timestamps of edges B→C and C→B are compared, retaining the B→C edge at time T1 and cutting the C→B edge at time T2. After removing isolated nodes, a directed acyclic graph is generated containing nodes {A,B,C} and edges {A→B, B→C}. This structure eliminates 30% of redundant computational paths, significantly improving the efficiency of subsequent semantic matching.
[0068] like Figure 2 As shown, step S3 involves using a preset semantic rule base to perform a matching degree comparison calculation on the low-complexity initial topology structure that flows in in real time, in order to identify semantic conflict events and generate semantic offset signals that trigger local reconstruction. Specifically, this includes: S3.1: Based on the node attributes and edge connections in the low-complexity initial topology, extract the temporal feature vector and semantic label set of the real-time transaction flow to generate dynamic capital flow feature data blocks to be compared.
[0069] It receives a low-complexity initial fund path skeleton diagram and real-time inflow special fund transaction data as the basic input source for dynamic feature extraction.
[0070] The basic fields in the real-time transaction log are parsed to extract the transaction timestamp, transfer amount, payer account ID, and payee account ID, and to build a basic time-series index of transaction behavior.
[0071] Based on the timestamp of the transaction, the relative offset between the current transaction time and the start and end times of each stage in the policy implementation stage label sequence is calculated to generate a time window feature vector that represents the timeliness of capital flow.
[0072] Retrieve node objects in the initial funding path skeleton diagram that match the payer's account ID and the payee's account ID, and extract the node's preset policy compliance attributes and historical behavior baseline data.
[0073] By comparing the real-time transaction summary information with the set of fund usage labels associated with the skeleton graph nodes, the semantic matching score is calculated using the cosine similarity method, and a semantic label feature vector reflecting the consistency of usage is generated.
[0074] The time window feature vector and the semantic label feature vector are concatenated and fused, and the normalized value of the transaction amount is added to construct a dynamic fund flow feature data block containing time series, semantic and amount dimensions.
[0075] Through the above-mentioned multi-source feature extraction and fusion processing methods, discrete transaction flows are transformed into structured dynamic capital flow feature data blocks, realizing high-fidelity digital mapping of real-time capital flows and providing standardized input for subsequent semantic conflict identification.
[0076] For example, for a real-time transaction of 500,000 yuan, the timestamp is extracted as 2023-10-15 14:00:00. The time offset from the "payment period" (2023-10-01 to 2023-10-31) is calculated to be 14 days, and after normalization, the time window feature value is 0.45. Searching the skeleton graph reveals the payer to be the "implementing unit's main account," with the associated purpose tag being "equipment procurement." The transaction summary "Payment to XX Company" is vectorized, and its cosine similarity with the "equipment procurement" tag vector is calculated to be 0.92. The time feature 0.45, semantic similarity 0.92, and normalized amount 0.5 are concatenated to generate a three-dimensional dynamic fund flow feature data block [0.45, 0.92, 0.5]. This data block accurately depicts the current transaction's status in terms of temporal compliance and purpose consistency, significantly improving the feature discrimination of subsequent anomaly detection.
[0077] S3.2: Using the policy implementation stage constraints and fund usage compliance logic defined in the preset semantic rule base, perform multi-dimensional logical mapping verification on the dynamic fund flow feature data block to generate a semantic matching degree score matrix containing violation markers.
[0078] The preset semantic rule base is a pre-built and stored set of rules used for compliance comparison of real-time fund flows. It contains at least two subsets: (1) Policy implementation stage constraint set - a rule that binds the policy implementation stage label with the categories of funds that are allowed at that point in time, and is used to give a whitelist of fund uses under the time window of each stage, such as only allowing equipment procurement and infrastructure expenditures during the disbursement period; (2) Compliance logic set for fund use - used to determine whether the fund use of real-time transactions belongs to the corresponding stage whitelist, calculate the basic violation score when it is determined to be an unauthorized use, apply the penalty coefficient to transactions in non-steady state such as overspending warning or change of use approval, and obtain the local semantic conflict score by weighted summation.
[0079] Receive the dynamic fund flow feature data block generated by S3.1. This data block contains the time-series feature vector and semantic label set of the real-time transaction flow.
[0080] Call the preset semantic rule library, load the policy implementation stage constraint condition set and fund use compliance logic set, and construct a multi-dimensional verification mapping matrix.
[0081] The policy implementation stage labels in the dynamic fund flow feature data block are parsed to extract the whitelist of permitted fund uses corresponding to the current time window.
[0082] By performing a set intersection operation between the fund usage tags of real-time transaction streams and the whitelist of permitted fund usages, unauthorized transaction records can be identified.
[0083] For identified unauthorized transaction records, the semantic distance from the standard compliance path is calculated and used as the basic violation score.
[0084] By combining compliance status labels, check whether the transaction is in a non-steady state range such as overspending warning or change of purpose approval. If it is in a non-steady state range, apply a penalty coefficient.
[0085] A weighted summation method is used to combine the basic violation score and the penalty coefficient to generate a local semantic conflict score for a single transaction record. The formula is as follows:
[0086] in, Scoring for local semantic conflicts, Basic violation score, The penalty coefficient is... and These are the corresponding weighting coefficients.
[0087] Iterate through all transaction records in the dynamic fund flow feature data block and repeat the above verification and calculation process.
[0088] The local semantic conflict scores of each transaction record are mapped to the corresponding edge nodes of the initial funding path skeleton graph.
[0089] Construct a sparse matrix with transaction ID as row index and semantic conflict score as column value to form a semantic matching score matrix containing violation markers.
[0090] By using a multi-dimensional logical mapping verification process, the dynamic fund flow feature data block from the previous step is transformed into a semantic matching degree scoring matrix that quantifies the degree of non-compliance, thereby achieving refined measurement and anomaly location of fund flow compliance.
[0091] S3.3: Based on the low-scoring regions in the semantic matching score matrix, execute the semantic conflict intensity threshold determination method to filter out the set of abnormal transaction nodes that deviate from the preset policy rules, so as to generate a candidate semantic conflict event list.
[0092] Receive the semantic matching score matrix generated by S3.2, which quantifies the degree of deviation between the real-time transaction flow and the preset policy rules.
[0093] Spatial clustering analysis is performed on the scoring matrix to identify low-scoring regions whose scores are significantly lower than the preset compliance threshold, thereby locating clusters of potentially abnormal transaction nodes.
[0094] For each transaction node in a low-scoring region, its corresponding original semantic conflict score is extracted as the basic data source for calculating the conflict intensity.
[0095] A dynamic threshold determination method is introduced to adaptively adjust the alarm boundary value of semantic conflict intensity based on the complexity of the current fund flow and the historical violation rate.
[0096] The original semantic conflict scores of each node are compared with the dynamic alarm boundary values to filter out abnormal transaction nodes that exceed the boundary, forming a preliminary abnormal set.
[0097] Perform deduplication on nodes in the initial anomaly set, merge duplicate conflict records generated by the same account at different time steps, and ensure the uniqueness of events.
[0098] Attach a conflict type code, such as "incompatible purpose", "phase misalignment" or "opponent anomaly", to each selected abnormal node to clarify the nature of the violation.
[0099] Aggregate abnormal nodes with the same conflict type and topological adjacency to construct a candidate semantic conflict event list, which serves as the trigger for local reconstruction.
[0100] By using the above processing method, the scoring matrix from the previous step is transformed into a structured list of candidate semantic conflict events, achieving an efficient conversion from quantitative scoring to qualitative events, and significantly improving the accuracy of anomaly identification and the targeted nature of subsequent processing.
[0101] For example, the initial compliance threshold is set to 0.85. The system detects a transaction of 500,000 yuan with a semantic matching score of 0.62. At this point, the system dynamically adjusts the alarm boundary to 0.75 based on the recent historical behavior consistency index of the account (0.9). Since 0.62 is less than 0.75, the transaction is marked as abnormal. The system further identifies its conflict type as "stage misalignment," i.e., a large-scale equipment purchase occurs during the reporting period. The node is added to the candidate list and associated with three related accounts within two hops upstream and downstream, generating a candidate event object containing four nodes and one core conflict edge for S3.4 to perform confidence-weighted calculation.
[0102] S3.4: For each event in the candidate semantic conflict event list, calculate its time decay factor and historical behavior consistency deviation value to generate a weighted semantic conflict confidence index.
[0103] Obtain the original semantic matching score, occurrence timestamp, and historical transaction behavior sequence of the associated account for each event in the candidate semantic conflict event list.
[0104] Based on the time difference between the current system processing timestamp and the event occurrence timestamp, an exponential decay function model is constructed to calculate the time decay factor.
[0105] The time decay factor is calculated using the following formula:
[0106] in, The time decay factor, The preset decay rate constant, The current system time. The time when the event occurred.
[0107] Extract the distribution vector of historical transaction purpose labels of related accounts within the past preset period as a benchmark behavior pattern.
[0108] Calculate the cosine distance between the current conflict event's funding usage label vector and the historical baseline behavior pattern vector to obtain the historical behavior consistency deviation value.
[0109] The original semantic matching score, time decay factor, and historical behavior consistency deviation value are input into the weighted fusion method.
[0110] Perform linear weighting operations to generate a semantic conflict confidence index that represents the degree of confidence in the conflict.
[0111] By using the weighted calculation method described above, the coarse screening results from the previous step are transformed into a quantitative semantic conflict confidence index, thereby achieving the expected technical effect of accurate classification and noise filtering for dynamic abnormal events.
[0112] S3.5: Based on the judgment result that the semantic conflict confidence index exceeds the preset alarm threshold, encapsulate the conflict account identifier and conflict type code to generate a semantic offset signal that triggers local reconstruction.
[0113] Obtain the weighted semantic conflict confidence index and corresponding candidate semantic conflict event list generated by S3.4. Read the preset dynamic alarm threshold parameter, which is set according to the sensitivity level of special fund supervision. Compare the semantic conflict confidence index of each candidate event with the corresponding dynamic alarm threshold. Filter out the set of abnormal events with confidence indices strictly greater than the dynamic alarm threshold, and remove weakly correlated noise events below the threshold. For each item in the filtered abnormal event set, extract its associated target account unique identifier. Parse the semantic label of the abnormal event and map it to generate standardized conflict type codes, such as 'illegal use' or 'path break'. Encapsulate the target account unique identifier and conflict type code into a structured data object. Attach the current system timestamp as a signal activation marker to generate a semantic offset signal that triggers local reconstruction. Through threshold judgment and feature encapsulation processing, transform the quantitative indicators of the previous step into executable structured control instructions, achieving precise connection from anomaly detection to local reconstruction triggering.
[0114] For example, the dynamic alarm threshold for high-risk funds is set to 0.85, and for medium-risk funds (such as research funding) it is set to 0.70. A transaction's semantic conflict confidence index, calculated by step S3.4, is 0.92. Since 0.92 is greater than 0.85, the event is determined to be a valid anomaly. The target account ID is extracted as 'ACC_2023_XZ_001', its conflict type is parsed as 'non-budgeted expenditure', and its mapping code is 'ERR_BUDGET_01'. A semantic offset signal JSON object is generated: {"account_id": "ACC_2023_XZ_001", "error_code": "ERR_BUDGET_01", "timestamp": 1698720000, "confidence": 0.92}. This signal directly triggers the local subgraph extraction in step S4, avoiding invalid traversal of tens of millions of nodes in the entire graph and significantly improving response speed.
[0115] Step S4: Extract conflicting accounts and their two-hop neighborhood nodes based on the semantic offset signal, and perform a freeze operation on the conflicting accounts and their two-hop neighborhood nodes to generate local subgraph data blocks to be processed. Specifically, this includes: S4.1: The semantic offset signal is parsed and processed to extract the target conflict account identifier and the corresponding conflict timestamp, and to generate conflict event index data containing key positioning information.
[0116] S4.2: Based on the target conflicting account identifier in the conflict event index data, perform a bidirectional breadth-first traversal operation in the low-complexity initial topology to obtain the set of one-hop directly associated accounts and the set of two-hop indirectly associated accounts of the target conflicting account, and generate a candidate node list covering the two-hop neighborhood range.
[0117] Parse the conflict event index data and extract the target conflict account identifier as the starting root node for graph traversal.
[0118] Locate the index of the root node in the adjacency matrix of the low-complexity initial topology and initialize a bidirectional breadth-first search queue.
[0119] Perform a forward traversal operation to retrieve all outgoing edges from the root node and identify the set of directly associated accounts with the direction of fund outflow.
[0120] Perform a backward traversal operation to retrieve all incoming edge connections pointing to the root node, and identify the set of directly associated accounts with the direction of fund inflow.
[0121] Merge forward and backward one-hop neighbor nodes to construct a list of first-order neighbor nodes containing direct trading counterparties, and mark their level depth as 1.
[0122] Using each node in the first-order neighborhood node list as the new traversal center, recursively execute the same bidirectional search logic to obtain its second-hop indirect related accounts.
[0123] Perform path backtracking verification on the obtained two-hop nodes to ensure that there are no more than two edges connecting them to the root node, and remove long-path noise nodes.
[0124] Perform a union operation on the first-order and second-order node sets to generate a list of candidate nodes covering the two-hop neighborhood.
[0125] By using a bidirectional breadth-first traversal approach, the conflict markers from the previous step are transformed into a list of candidate nodes containing local topological structures, thus achieving the expected technical effect of accurately defining the influence range around the abnormal region and compressing the computational boundary.
[0126] For example, for conflicting accounts, the system performs a traversal of an initial topology graph containing 5000 nodes. Setting the maximum search depth to 2, the forward traversal finds 3 direct recipients (depth 1), and the backward traversal finds 2 direct payers (depth 1). The system continues traversing these 5 depth 1 nodes, finding a total of 12 depth 2 nodes. After deduplication and connectivity verification, a candidate node list of 17 nodes is finally generated. This process takes less than 5 milliseconds, significantly improving efficiency compared to a full graph scan, and effectively pinpointing the local propagation path of abnormal fund flows.
[0127] S4.3: Perform deduplication and validity verification on the candidate node list, remove cancelled accounts and irrelevant nodes not within the special fund system, in order to generate a standardized set of locally reconstructed nodes.
[0128] Receive the candidate node list generated by S4.2, which covers a two-hop neighborhood range and includes the target conflicting account and the identifiers of its directly and indirectly associated accounts.
[0129] The candidate node list is deduplicated based on unique account identifiers. A hash set data structure is used to quickly identify and remove duplicate account nodes to ensure the uniqueness of subsequent processing objects and generate a deduplicated initial selection set of nodes.
[0130] The system calls upon the special fund supervision database to query the current status attributes of each account in the deduplicated initial selection set in batches, and obtains metadata information including account existence status, freeze status, and cancellation timestamp.
[0131] The validity is filtered based on the account activity status field, and inactive account nodes marked as "cancelled" or "dormant for more than a preset threshold" are removed to prevent path breakage or computational redundancy caused by the introduction of invalid nodes.
[0132] Load the whitelist rule base of the special fund system. This rule base defines the hierarchical coding prefix and attribution mapping table of special fiscal accounts, implementing unit main accounts and compliant sub-project accounts.
[0133] The unique identifiers of the remaining nodes are matched and verified against the whitelist rule base to identify and remove irrelevant external nodes that do not belong to the special fund supervision system, such as ordinary commercial personal accounts or third-party institutional accounts that are not related to the project.
[0134] Standardize the encoding conversion of the node set that passes the validity check and system attribution check, unify the account ID format and attribute field structure, and eliminate the heterogeneity of multi-source data.
[0135] Through a multi-level screening mechanism of deduplication, state filtering, and system affiliation verification, the original candidate node list is transformed into a standardized set of locally reconstructed nodes with clean structure and clear semantics. This achieves noise cleaning and boundary definition before the construction of local subgraphs, significantly improving the computational efficiency and topological accuracy of subsequent incremental modeling.
[0136] For example, the candidate node list contains 15 account IDs, which are hashed to remove duplicates, leaving 12 unique nodes. A database query reveals that node A is "cancelled," node B is "normal," and node C is a "personal account outside the special fund system." After removing nodes A and C, the remaining 10 nodes all meet the "normal" status and belong to the whitelist of "special sub-accounts" or "implementing unit main accounts." The final output is a set of locally reconstructed nodes containing 10 standardized node IDs, ensuring the purity and compliance of the local subgraph construction in the subsequent S4.4 step and avoiding the waste of unnecessary computing resources.
[0137] S4.4: Based on the set of locally reconstructed nodes, extract the connection edge relationships and attribute information between nodes from the low-complexity initial topology structure, and construct a local subgraph data block to be processed that only contains the topology structure of conflict areas.
[0138] The system receives a standardized set of locally reconstructed nodes as input for constructing the local subgraph data block to be processed. Within the low-complexity initial topology's underlying storage structure, a fast index lookup is performed based on node identifiers to locate all edge records associated with each node in the locally reconstructed node set. Edge records whose start and end points are both within the locally reconstructed node set are selected, excluding external connection edges that cross the set's boundary to ensure the closure and independence of the subgraph topology. Attribute information for each selected edge record is extracted, including transaction amount, transaction timestamp, original confidence score, and semantic label history sequence, forming an edge attribute feature matrix. The node attributes in the locally reconstructed node set are associated and mapped with the selected edge attributes to construct a structured data object containing node vectors and adjacency matrices. This structured data object is serialized and encapsulated to generate the local subgraph data block to be processed, containing only the topology of conflict regions. By using the above processing method, the node set in the previous step is transformed into a local subgraph data block with complete topological relationships and attribute information, which realizes accurate isolation and lightweight extraction of abnormal regions in the high-dimensional global graph. This provides a low-latency, high-cohesion computational context for subsequent parallelized edge weight re-estimation calculations, and significantly reduces memory usage and computational complexity.
[0139] For example, the local reconstruction node set contains 5 nodes: Account A (the source of conflict), Account B, Account C, Account D, and Account E. Searching the graph database for edges between these 5 nodes reveals 4 valid edges: A→B, B→C, C→D, and A→E. Edge B→F is excluded (F is not in the set). The attributes of these 4 edges are extracted: A→B: Amount 1 million, Time t1; B→C: Amount 980,000, Time t2; C→D: Amount 950,000, Time t3; A→E: Amount 20,000, Time t4. A 5x5 sparse adjacency matrix is constructed, with non-zero elements corresponding to the initial weights of the aforementioned 4 edges. Node attributes include account type, registration time, etc. The final generated local subgraph data block size is 2KB, several orders of magnitude smaller than the GB-level data of the full graph, allowing subsequent attention mechanism calculations to be completed in milliseconds.
[0140] S4.5: Perform a state freeze operation on the local subgraph data block to be processed, lock the values of its node attributes and edge weights at the current time step, and generate a frozen local subgraph data block with temporal consistency for subsequent edge weight recalculation.
[0141] The system receives a local subgraph data block to be processed and extracts the attribute state vectors and edge connection weights of all nodes at the current time step. A snapshot identifier corresponding to the current time step is constructed and used as a unique primary key to associate with the metadata layer of the local subgraph data block. Each node object in the local subgraph is traversed, and its dynamic attributes such as account balance, transaction frequency, and compliance tags are read, their values are frozen, and written to read-only storage. For each directed edge in the local subgraph, its current fund flow confidence and semantic association strength are captured, generating an immutable copy of the edge state. A memory locking instruction is executed to prevent any write operations on node attributes or edge weights in the frozen local subgraph data block before the edge weight recalculation in subsequent step S5 is completed. Through the above state freezing process, the dynamic local topology generated in the previous step is transformed into static snapshot data with temporal consistency, ensuring that subsequent attention mechanism calculations are based on a defined baseline state, achieving data stability and causal traceability during model training.
[0142] like Figure 3 As shown, step S5 involves using an attention mechanism to re-estimate edge weights based on three dimensions: semantic conflict strength, historical behavior consistency, and the rigidity level of policy provisions, to generate new path segments. Specifically, this includes: S5.1: Perform feature vector extraction processing on the node pairs and connection relationships in the local subgraph data block to generate a multi-dimensional edge feature set containing semantic conflict intensity feature vector, historical behavior consistency feature vector, and policy clause rigidity level feature vector, providing standardized input data for subsequent weight calculation.
[0143] The system receives a local subgraph data block that has been frozen in step S4. This data block contains conflicting accounts and the node attributes, edge connections, and historical transaction metadata of their two-hop neighborhoods. For each directed edge in the local subgraph, a multi-dimensional feature decoupling and extraction operation is performed to construct a standardized input vector that can characterize the degree of anomaly in fund flows.
[0144] Semantic conflict intensity features are extracted, and multi-dimensional semantic labels in the transaction flow associated with the edge are analyzed. The semantic distance between the real-time transaction label and the benchmark label in the preset policy rule base is calculated. The cosine similarity method is used to quantify the degree of deviation between label vectors, and the semantic distance is mapped to a conflict intensity scalar value in the range of 0 to 1. The higher the value, the greater the risk of violation.
[0145] Extract historical behavioral consistency features and retrieve the statistical distribution of the target account's transaction patterns within a specified time window. Calculate the deviation of the current transaction amount, frequency, and counterparty type from the historical baseline distribution. Use Mahalanobis distance to measure the dispersion of the current behavior in the historical multidimensional feature space, and generate a consistency index reflecting behavioral abruptness.
[0146] The rigidity level characteristics of policy clauses are extracted, and the policy clauses corresponding to the current use of funds are classified into levels according to the special fund management regulations. The policy binding force is divided into three levels: mandatory prohibition, strict approval, and general guidance, and assigned high, medium, and low rigidity coefficients respectively, forming a discrete policy constraint feature vector.
[0147] The extracted semantic conflict intensity scalar, historical behavior consistency index, and policy rigidity coefficient vector are concatenated and normalized. The Z-score (standard score) standardization method is used to eliminate numerical differences between features of different dimensions, constructing a unified multidimensional feature set.
[0148] By using multidimensional feature extraction and standardization, the local topology from the previous step is transformed into a standardized edge feature matrix containing three-dimensional information of semantics, behavior, and policy. This provides interpretable and quantifiable input data for the subsequent weight calculation of the attention mechanism, enabling a precise mapping from raw transaction data to regulatory semantic features.
[0149] For example, for an abnormal transfer edge of a certain infrastructure special fund, its semantic label vector is extracted as [equipment procurement, application period]. The cosine similarity is calculated with the baseline label [infrastructure expenditure, disbursement period], yielding a conflict strength of 0.85. Retrieving the account's transaction data for the past six months, the Mahalanobis distance of the current large transfer is calculated to be 3.2, indicating a significant behavioral deviation. A policy database query determines that "equipment procurement during the application period" falls under the strictly approved category, assigning a rigidity coefficient of 0.7. Z-scores of 0.85, 3.2, and 0.7 are then concatenated to generate the final multi-dimensional edge feature vector [0.92, 0.88, 0.65], which serves as the input to the attention mechanism.
[0150] S5.2: Construct a query matrix, a key matrix, and a value matrix based on the multidimensional edge feature set, and perform a scaling dot product operation to generate an initial attention score matrix, thereby quantifying the original association strength distribution of each edge in the local subgraph in three dimensions.
[0151] S5.3: Apply a soft maximum function to the initial attention score matrix for normalization to generate a standardized attention weight coefficient matrix ranging from zero to one, ensuring that the contribution of each dimension feature to the final path determination has an interpretable probability distribution characteristic.
[0152] S5.4: Perform a weighted summation and aggregation operation on the value matrix using the standardized attention weight coefficient matrix to generate a comprehensive edge embedding vector that integrates semantic conflict strength, historical behavior consistency and policy clause rigidity level information, thereby completing the deep fusion of multi-source heterogeneous features.
[0153] The system receives a standardized attention weight coefficient matrix and a value matrix. The value matrix carries the original feature vector representation of each edge in the local subgraph in three dimensions: semantic conflict intensity, historical behavior consistency, and policy clause rigidity level.
[0154] Matrix multiplication is performed on the value matrix, and the standardized attention weight coefficient matrix is used as a weighting factor to act on each row vector of the value matrix, thereby achieving a linear combination of features in each dimension.
[0155] This operation process ensures that the feature dimension with high attention weights dominates the final embedding vector, while the influence of the low-weight dimension is suppressed, thereby highlighting the feature information that is most discriminative for the current semantic conflict determination.
[0156] The generated composite edge embedding vector is subjected to residual connection processing, which superimposes the basic topological attributes in the original multidimensional edge feature set onto the weighted feature vector to preserve the structural integrity information of the local subgraph.
[0157] Layer normalization is performed on the superimposed vectors to eliminate numerical instability caused by differences in dimensions, ensuring the convergence and robustness of subsequent linear mapping transformations.
[0158] Through the above weighted summation aggregation and normalization processing, the standardized attention weights of the previous step are transformed into a comprehensive edge embedding vector that integrates multi-source heterogeneous information, thereby realizing deep semantic fusion and enhanced expression of local anomaly features of the funding path.
[0159] S5.5: Based on the comprehensive edge embedding vector, the final edge confidence value is output through linear mapping transformation, and the edge confidence value is attached to the corresponding edge of the local subgraph data block as a semantic weight label to generate a new path segment with semantic weight label.
[0160] Receive the comprehensive edge embedding vector generated by S5.4, which integrates semantic conflict, historical consistency, and policy rigidity features. Construct a linear mapping layer, initialize the learnable weight matrix and bias vector, and map the high-dimensional embedding space to a one-dimensional confidence scalar space.
[0161] Matrix multiplication is performed, multiplying the combined edge embedding vector with the weight matrix and superimposing the bias vector to generate the original logits values (the original scores generated by the model's output layer). The Sigmoid activation function is then introduced to perform a non-linear transformation on the logits values, compressing them to the (0,1) interval, and outputting normalized edge confidence values.
[0162] The edge confidence is calculated using the following formula:
[0163] in, This represents the edge confidence score. This is the weight matrix. For transpose, For the combined edge embedding vector, For bias vectors, It is a natural constant.
[0164] The calculated edge confidence values are used as semantic weight labels and appended to the corresponding edge attribute fields in the local subgraph data block. All edges in the local subgraph are traversed to update the weights, generating new path segments with semantic weight labels.
[0165] By using linear mapping and activation function processing, the comprehensive features from the previous step are transformed into interpretable edge confidence indicators, thereby achieving a quantitative representation of the degree of abnormality in fund flows and providing accurate data support for subsequent risk warnings.
[0166] Step S6: The new path fragment is embedded as a semantic patch into the low-complexity initial topology structure and stored in parallel using a versioned path index to obtain a dynamically updated funding path graph. Specifically, this includes: S6.1: Based on the node identification information in the new path segment with semantic weight, perform conflict detection processing on the low-complexity initial topology to locate the access point of the semantic patch to be embedded and generate a local mapping table containing the coordinates of the access point and the connection relationship.
[0167] The system receives new path segments with semantic weights generated by S5 and extracts the unique identifiers of all nodes and their corresponding edge connection data. It then traverses the global node index of the low-complexity initial topology, performing hash matching between the node identifiers in the new path segments and the existing node IDs in the skeleton graph. Isolated nodes present in the new path segments but missing from the initial topology are identified and marked as leaf nodes to be added. Boundary nodes shared by the initial topology in the new path segments are located, and their hierarchical coordinates and parent node references in the original graph are recorded. The topological distance between boundary nodes in the new path segments and internal conflict accounts is calculated to determine the optimal access position of the semantic patch in the backbone graph. A local mapping table containing the global coordinates of the access point, associated edge IDs, and direction attributes is constructed. Through the above node matching and coordinate positioning processing, the abstract new path segments are transformed into a local mapping table with a clear spatial location, achieving precise alignment between the semantic patch and the backbone topology.
[0168] S6.2: Perform boundary alignment operation on the new path segment with semantic weight tag using the local mapping relationship table to eliminate node redundancy between the new path segment and the low-complexity initial topology and generate standardized semantic patch data blocks.
[0169] Obtain the local mapping table generated by S6.1 and the new path segments with semantic weights output by S5 as input data sources for boundary alignment processing. Parse the access point coordinates in the local mapping table and extract the set of anchor node identifiers shared with the low-complexity initial topology in the new path segments. Traverse all nodes in the new path segment, perform hash matching between node identifiers and the shared anchor node identifier set, identify overlapping nodes, and mark them as common boundary nodes. Perform uniqueness checks on non-common boundary nodes, remove duplicate node instances caused by data redundancy, and ensure the atomicity of local subgraph nodes. Based on the connection relationship definitions in the mapping table, reconstruct the directed edge connections between common boundary nodes and internal nodes in the new path segment, correcting the broken chain problem caused by local extraction. Re-associate the corrected topology with the original semantic weights, maintaining the consistency of edge attributes. Generate a standardized semantic patch data block containing a standardized node set, corrected connection relationships, and complete semantic weights. By using boundary alignment and redundancy elimination methods, the local mapping results of the previous step are transformed into standardized semantic patch data blocks with consistent structure and no redundancy, achieving the expected technical effect of seamless connection between the old and new topologies.
[0170] For example, the local mapping table indicates that the access points are account A and account B. The new path fragment contains nodes [A,C,D,B] and edges [A->C, C->D, D->B]. The system identifies A and B as common boundary nodes, and C and D as newly added internal nodes. Verification finds no duplicate nodes. The edge connections are reconstructed to maintain their original state. A standardized semantic patch data block is output, containing nodes {A,B,C,D} and their corresponding edge weights, ensuring the structural consistency of subsequent versioned storage.
[0171] S6.3: Based on the timestamp information and semantic offset signal type in the standardized semantic patch data block, construct a unique version identifier and perform non-overlay splicing processing on the low-complexity initial topology to generate a two-layer overlay graph structure containing the policy compliance backbone path and the abnormal semantic derivative path.
[0172] The system receives standardized semantic patch data blocks and extracts the conflict occurrence timestamps and semantic offset signal type codes contained within them. Based on the extracted timestamps, a high-precision time-series identifier is generated, and a composite version key is constructed by combining it with the semantic offset signal type code. A hash algorithm is used to encrypt the composite key, generating a globally unique version identifier to ensure that abnormal path fragments generated at different times have independent identity indexes.
[0173] Obtain a snapshot of the current state of the low-complexity initial topology and identify the boundary nodes that intersect with the node set in the semantic patch data block. Establish virtual connection interfaces at the boundary nodes to keep the node attributes and edge weights of non-conflict regions in the initial topology completely static, avoiding computational oscillations caused by full graph reconstruction.
[0174] New path segments with semantic weights are connected to the initial topology via a virtual connection interface, performing a non-overlay splicing operation. These new path segments are overlaid as independent layers on the main path, forming a physically isolated but logically connected two-layer graph structure. The policy compliance main path maintains its original topological stability, while abnormal semantically derived paths record their dynamic evolution trajectory.
[0175] By using a non-overlay splicing processing method, the partial reconstruction results of the previous step are transformed into a two-layer overlay graph structure data with version traceability capabilities, achieving a technical balance between the stability of the regulatory backbone and the flexibility of anomaly tracking.
[0176] For example, the timestamp precision is set to milliseconds, and the semantic offset type is "illegal use". A version identifier is generated. A virtual interface is established between the special fiscal account and the implementing unit's main account, retaining the original allocation edge weight of 0.95. A new path fragment is overlaid, and the edge weight for marking abnormal equipment procurement is set to 0.3. The system maintains a main path query response time of less than 5ms, while supporting independent backtracking analysis of abnormal derivative paths, significantly improving the concurrent processing efficiency of the regulatory system.
[0177] S6.4: Based on the path type labels in the double-layer overlay graph structure, establish a multi-level versioned path index to logically isolate and store the policy compliance backbone path and the abnormal semantic derivative path, and generate a dynamically updated funding path graph that supports on-demand switching and calling.
[0178] Obtain a two-layer overlay graph structure containing the policy compliance backbone path and the abnormal semantic derivative path, and extract the version identifier, path type label and timestamp attribute of each path node.
[0179] A hash mapping operation is performed on the extracted path attributes, and a logical partition container at the top-level project dimension is generated using the special fund project number as the first-level index key to achieve physical storage isolation for different special fund projects.
[0180] At the secondary index level, the data stream is separated into compliant main channels and abnormal derivative channels based on path type labels, and B+ tree index structures are constructed for each. The index key of the compliant channel is the node ID, and the index key of the abnormal channel is the semantic offset signal ID.
[0181] For the leaf nodes of the B+ tree in the abnormal derivative channel, version number pointers and time decay factor metadata are embedded to establish a time series-based multi-version concurrency control mechanism to ensure the traceability of historical snapshots.
[0182] The multi-level indexes mentioned above are encapsulated through a joint query interface. When a regulatory query request is received, the system dynamically routes to the corresponding index tree based on the path type parameter in the request, and merges and returns the main topology and associated exception patch fragments.
[0183] By constructing a multi-level versioned path index, the double-layer overlay graph structure generated in the previous step is transformed into structured index data that supports millisecond-level random access. This enables logical isolation and on-demand switching between the policy compliance backbone path and the abnormal semantic derivative path, significantly improving the response speed and data retrieval efficiency of the regulatory system.
[0184] For example, the special fund project number is set as "ZJ2023-001", and the first-level index key hash value is "0x8A3F". The compliance backbone path contains 5 nodes, constructing a B+ tree with a depth of 2. The leaf nodes store the physical addresses of node IDs "Acc_01" to "Acc_05". The anomaly derivative path contains 3 semantic offset events, with version numbers V1.1, V1.2, and V1.3, and embedded time decay factors of 0.95, 0.90, and 0.85, respectively. When the query type is "anomaly tracking", the system directly locates the anomaly channel B+ tree, reads the semantic patch data of version V1.3, and the time taken is less than 5ms, realizing a fast response in high-frequency regulatory scenarios.
[0185] For those skilled in the art, various other corresponding changes and modifications can be made based on the technical solutions and concepts described above, and all such changes and modifications should fall within the protection scope of the claims of this invention.
[0186] Unless otherwise defined, the technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this application pertains. The terms “first,” “second,” “third,” and similar terms used in this patent application specification and claims do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an” or “a” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms “comprising” or “including” and similar terms mean that the elements or objects preceding “comprising” or “including” encompass the elements or objects listed following “comprising” or “including” and their equivalents, and do not exclude other elements or objects. The “multiple” mentioned in the embodiments of this application refers to two or more. A and / or B indicate three possibilities: A; B; and A and B.
[0187] The above description is merely an exemplary embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and such modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A special fund full life cycle penetration type supervision data modeling method, characterized in that, Specifically, it includes: S1: Obtain special fund transaction flow data and perform multi-granularity semantic annotation processing on the special fund transaction flow data to generate multi-dimensional semantic annotation transaction flow; S2: Based on the multi-dimensional semantic annotation of the transaction flow, construct an initial fund path skeleton graph with the special fund project as the root node and only retain the backbone edge, and use the initial fund path skeleton graph as a low-complexity initial topology structure; S3: Use a pre-defined semantic rule base to perform matching degree comparison calculation on the low-complexity initial topology structure that comes in in real time, so as to identify semantic conflict events and generate semantic offset signals that trigger local reconstruction. S4: Extract conflicting accounts and their two-hop neighborhood nodes based on the semantic offset signal, and perform a freeze operation on the conflicting accounts and their two-hop neighborhood nodes to generate local subgraph data blocks to be processed; S5: Based on the local subgraph data block, the attention mechanism method is used to estimate the edge weights according to three dimensions: semantic conflict intensity, historical behavior consistency and policy clause rigidity level, so as to generate new path segments; S6: The new path segment is embedded as a semantic patch into the low-complexity initial topology and stored in parallel through versioned path index to obtain a dynamically updated funding path map.
2. The dedicated funding full life cycle penetration type supervision data modeling method according to claim 1, characterized in that, S1 specifically includes: The transaction data of the special funds is subjected to field standardization and cleaning to generate a standardized transaction record set; Based on the standardized transaction record set, time window matching calculation is performed to generate a policy implementation stage label sequence marked with the application period, payment period, or acceptance period; Based on the policy implementation stage label sequence, keyword extraction and semantic classification methods are used to identify the purpose of transaction summary information, generating a set of fund purpose labels marked with equipment procurement, personnel labor, or infrastructure expenditure; By combining the set of fund usage tags with the preset budget constraint rules, a compliance logic verification operation is performed to generate a list of compliance status tags marked as within budget, overspending warning, or under approval for change of use; The policy implementation stage label sequence, fund usage label set, and compliance status label list are integrated into the standardized transaction record set to generate the multi-dimensional semantically labeled transaction flow.
3. The dedicated funding full life cycle penetration type supervision data modeling method according to claim 2, characterized in that, The transaction data of the special funds is subjected to field standardization and cleaning, including: The system performs unified character set encoding conversion and full-width to half-width mapping on the transaction data of special funds to eliminate format noise; it converts the transaction time to a standard format and verifies the validity of the time logic; it forces the transaction amount to high-precision floating-point numbers and marks negative amounts as refunds or reversals; it hashes and desensitizes the counterparty ID to generate anonymous identifiers and establishes a two-way mapping index table; it performs prefix matching and regular expression verification on the account ID and marks the account hierarchical attributes to construct account hierarchical relationship tags.
4. The dedicated funding full life cycle penetration type supervision data modeling method according to claim 2, characterized in that, Combining the aforementioned set of fund usage tags with preset budget constraint rules, a compliance logic verification operation is performed to generate a list of compliance status tags marked as within budget, overspending warning, or under approval for change of use, including: The system retrieves budget item limits, allowed expenditure ranges, and approval status thresholds from a pre-defined budget constraint rule library to construct a multi-dimensional compliance verification matrix. For each transaction, it retrieves the corresponding budget item subset based on its fund usage tag, compares the sum of the accumulated amount and the current transaction amount with the budget limit for that item, and marks it as an overspending warning if it exceeds the limit. It checks whether the counterparty ID is on the whitelist and whether the purpose matches the account nature; if not, it marks it as a purpose change approval process. Transactions that meet the budget limit and have compliant counterparties are marked as within budget. The system then combines multiple verification results through logic and operations to generate the compliance status tag list.
5. The dedicated funding full life cycle penetration type supervision data modeling method according to claim 2, characterized in that, S2 specifically includes: The standardized transaction record set in the multi-dimensional semantically labeled transaction flow is processed by root node extraction. Based on the application period identifier in the policy implementation stage label sequence, a unique special fund project entity is selected, and a root node object is generated as the starting point of the low-complexity initial topology structure. Based on the root node object and the infrastructure expenditure and equipment procurement categories in the fund use label set, perform the main node matching operation, identify and extract hierarchical anchor nodes, and generate a candidate node set. Based on the compliance status label list of each node in the candidate node set, filter out the unstable connection edges marked with overspending warnings or change of use approval, and generate the backbone edge connection set. Perform topology assembly processing on the root node object, candidate node set, and backbone edge connection set, eliminate redundant transaction links, and establish a unidirectional directed acyclic graph structure to generate the low-complexity initial topology structure.
6. The dedicated funding full life cycle penetration type supervision data modeling method according to claim 5, characterized in that, Based on the compliance status label list of each node in the candidate node set, non-steady-state connection edges marked with overspending warnings or change of use approvals are filtered out, generating a backbone edge connection set, including: Traverse each pair of related accounts in the candidate node set. If any end node is marked as overspending warning or under approval for change of purpose, the connection edge is determined to be in the non-steady-state risk range and is removed. Verify the remaining connection edges that are all within budget and are in compliance status. If the verification is successful, they are included in the main edge connection set.
7. The dedicated funding full life cycle penetration type supervision data modeling method according to claim 5, characterized in that, The topology assembly process, which eliminates redundant transaction links and establishes a unidirectional directed acyclic graph structure, includes: An initial adjacency list is constructed based on the backbone edge connection set. A depth-first search is performed starting from the root node to trace reachable paths. The main path edges within the budget are detected and retained according to the transaction timestamp order. Reverse edges or lateral edges that form loops are cut off. The connectivity of the cut graph structure is checked to remove isolated nodes and dangling edges that are not connected to the root node. The graph is mapped to a vertex set and edge set of a unidirectional directed acyclic graph, and each edge is assigned an initial penetration confidence value of 1.
8. The dedicated funding full life cycle penetration-type supervision data modeling method according to claim 1, characterized in that, S6 specifically includes: Based on the new path segment, conflict detection processing is performed on the low-complexity initial topology to locate the semantic patch access point to be embedded and generate a local mapping table. The local mapping table is used to perform boundary alignment on the new path segment, eliminating node redundancy between the new path segment and the low-complexity initial topology and generating standardized semantic patch data blocks. A dynamically updated funding path graph is constructed based on standardized semantic patch data blocks and a low-complexity initial topology.
9. The dedicated funding full life cycle penetration-type supervision data modeling method according to claim 8, characterized in that, The local mapping table includes access point coordinates and connection relationships.
10. The dedicated funding full life cycle penetration-type supervision data modeling method according to claim 8, characterized in that, The dynamically updated funding path graph is constructed based on standardized semantic patch data blocks and a low-complexity initial topology, including: A unique version identifier is constructed based on the standardized semantic patch data block, and a non-overlay splicing process is performed on the low-complexity initial topology to generate a two-layer overlay graph structure. The two-layer overlay graph structure includes a policy compliance backbone path and an abnormal semantic derivative path. A multi-level versioned path index is established based on the two-layer overlay graph structure. The policy compliance backbone path and the abnormal semantic derivative path are logically isolated and stored, and a dynamically updated funding path graph that supports on-demand switching and calling is generated.
