Financial auditing method, device, equipment, medium and product
By using large language models and node-related identifiers in financial auditing to conduct correlation audit comparisons of financial feature data, the problem of insufficient support for the entire business process of financial auditing in existing technology is solved, and audit efficiency and accuracy are significantly improved.
Patent Information
- Application Number
- CN202410675766.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-10
AI Technical Summary
Existing AI technology mainly assists in single business processing links in financial auditing, and has not yet achieved full business process support for financial auditing, resulting in audit efficiency and accuracy still to be improved.
By obtaining the financial data to be audited, extracting features based on preset feature dimensions, adding node-related identifiers to the financial feature data, constructing query statements for the issues to be audited, and inputting them into the large language model to obtain financial audit results, achieving cross-multiple business Correlation audit and comparison of financial characteristic data in each link.
It comprehensively improves the efficiency and accuracy of financial auditing, realizes full-process support for internal auditing of financial statements, and reduces the lengthy process of manual operations and audit clue discovery.
Smart Images

Figure CN118628263A
Abstract
Description
Technical Field
[0001] The present application relates to the field of deep learning technology, and in particular to a financial auditing method, device, equipment, medium and product. Background Art
[0002] With the development of AI (Artificial Intelligence), enterprises are gradually introducing artificial intelligence technology to improve the efficiency and accuracy of financial accounting audits and reduce audit costs.
[0003] However, among the related technologies, AI technology is usually used to assist in processing individual business processing links in financial audits, such as bill audits and contract audits, and has not yet achieved full business process support for financial audits, resulting in the need to improve audit efficiency. Summary of the invention
[0004] The main purpose of this application is to provide a financial audit method, device, equipment, medium and product, aiming to solve the technical problem that the audit efficiency needs to be improved in related technologies.
[0005] To achieve the above objectives, this application provides a financial audit method, including:
[0006] Obtain financial data to be audited;
[0007] According to the preset feature dimensions, feature extraction is performed on the audited financial data to obtain multiple financial feature data;
[0008] For each financial characteristic data, according to the financial file to which the financial characteristic data belongs, a node-related identifier is added to the financial characteristic data to obtain the identified financial characteristic data; wherein the node-related identifier is associated with the financial audit process node to which the financial file belongs;
[0009] Construct the query statement of the audit question based on all the identified financial feature data;
[0010] Input the query statement of the audit question into the financial audit model to obtain the financial audit result; wherein the financial audit model is a large language model.
[0011] In a possible embodiment of the present application, according to the financial file to which the financial characteristic data belongs, a node-related identifier is added to the financial characteristic data to obtain the identified financial characteristic data, including:
[0012] Generate a category identifier according to the file category of the financial file to which the financial characteristic data belongs; and / or extract the file name of the financial file to which the financial characteristic data belongs;
[0013] The category identification and / or the file name are added to the financial characteristic data to construct the identified financial characteristic data.
[0014] In a possible embodiment of the present application, the financial audit process node is any one of a contract management node, a guarantee management node, a fund management node, and an accounting node;
[0015] Among them, the financial documents associated with the contract management node include procurement documents, project documents, and contract documents;
[0016] The financial documents associated with the reimbursement management node include invoices, workload confirmation sheets, and project construction documents;
[0017] Financial documents related to fund management nodes include invoices, payment records, and fund flow documents;
[0018] Financial documents related to accounting nodes include contract documents, value-added tax invoices and work confirmation sheets.
[0019] In a possible embodiment of the present application, a query statement of the audit question is constructed based on all the identified financial feature data, including:
[0020] Construct the query statement for the audit question based on the query statement template of the financial audit model and all the identified financial feature data.
[0021] In a possible embodiment of the present application, feature extraction is performed on the audited financial data according to preset feature dimensions to obtain multiple financial feature data, including:
[0022] Feature extraction is performed on the audited financial data through a preset feature extraction model to obtain financial feature data of each preset feature dimension; the preset feature extraction model includes at least one of a general entity recognition model, a relationship extraction model, an event extraction model, a preset financial entity recognition model, an optical character recognition model and a natural language processing model.
[0023] In a possible embodiment of the present application, a plurality of training samples of annotated financial risk results, a current question query statement template of a large language model, and current model parameters are obtained; wherein the training samples include sample financial feature data of each preset feature dimension, and the value of each sample financial feature data is determined according to the financial data of the enterprise;
[0024] According to the financial file to which the sample financial characteristic data belongs, adding node-related identifiers to the sample financial characteristic data to obtain the identified characteristic data;
[0025] Construct a question query statement based on the current question query statement and all identified feature data;
[0026] Input the query statement into the big language model to obtain the financial audit prediction result output by the big language model;
[0027] According to the difference between the financial audit prediction results and the financial risk results, the current question query statement template and / or the current model parameters are adjusted;
[0028] Return to execute the step of constructing a question query statement according to the current question query statement and the identified feature data until the training is completed to obtain the financial audit model.
[0029] In a second aspect, the present application further provides a financial auditing device, the financial auditing device comprising:
[0030] Data acquisition module, used to obtain financial data to be audited;
[0031] A feature extraction module is used to extract features of the audited financial data according to preset feature dimensions to obtain multiple financial feature data;
[0032] The identification adding module is used to add a node-related identification to each financial characteristic data according to the financial file to which the financial characteristic data belongs, so as to obtain the identified financial characteristic data; wherein the node-related identification is associated with the financial audit process node to which the financial file belongs;
[0033] A statement building module is used to build a query statement for the audit question based on all the identified financial feature data;
[0034] The audit output module is used to input the query statement of the audit problem into the financial audit model to obtain the financial audit result; wherein the financial audit model is a large language model.
[0035] In a third aspect, the present application also provides a financial auditing device, including: a processor, a memory, and a computer program stored in the memory, wherein the computer program implements the financial auditing method of the first aspect when executed by the processor.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the financial audit method of the first aspect.
[0037] In a fifth aspect, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the financial audit method of the first aspect.
[0038] The financial audit method proposed in the embodiment of the present application includes: obtaining financial data to be audited; extracting features of the financial data to be audited according to preset feature dimensions to obtain multiple financial feature data; for each financial feature data, adding node-related identifiers to the financial feature data according to the financial file to which the financial feature data belongs, to obtain identified financial feature data; wherein the node-related identifiers are associated with the financial audit process nodes to which the financial files belong; constructing query statements for issues to be audited according to all identified financial feature data; inputting the query statements for issues to be audited into a financial audit model to obtain financial audit results; wherein the financial audit model is a large language model.
[0039] It can be seen that the embodiment of the present application uses a large language model to perform financial audits, and adds node-related identifiers associated with financial audit process nodes to the financial feature data, and then constructs question query statements based on this, so that the large language model can distinguish different financial audit process nodes from the node-related identifiers in the question query statements, thereby realizing the correlation audit comparison of various types of financial feature data across multiple business links, and comprehensively improving the efficiency and accuracy of audit work. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A schematic diagram of the structure of the financial audit equipment for this application;
[0041] Figure 2 This is a flowchart of the first embodiment of the financial audit method of this application;
[0042] Figure 3 This is a flow chart of the second embodiment of the financial audit method of this application;
[0043] Figure 4 This is a module diagram of the financial audit device for this application.
[0044] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] Internal audit of financial accounting is an internal audit activity conducted by the internal audit department of an enterprise on the financial accounting process and related economic matters, and is an important part of the internal control of an enterprise. As an indispensable task in the daily operation of an enterprise, the internal audit of financial accounting involves very cumbersome and complex economic matters and business processes, with many potential risks and loopholes. The business process of economic matters related to financial accounting includes multiple business links such as procurement, contracts, supply chain, orders and accounting. During the audit, it is necessary to collect and process relevant data from multiple systems including electronic procurement systems, contract systems, accounting systems, supply chain systems and fund management systems to ensure the authenticity, accuracy and compliance of economic matters in financial accounting.
[0047] However, the audit process is lengthy, it is not easy to find audit clues, and there are a lot of manual operations, which are prone to human errors. For example, invoice images and contract photocopies are graphic files, while procurement documents, project plans, workload confirmation sheets, etc. are in word or pdf format. With the development of AI technology, companies are gradually introducing AI technology to improve the efficiency and accuracy of financial accounting audits and reduce audit costs.
[0048] Among the related technologies, the AI technology used in financial reimbursement auditing mainly uses AI technologies such as OCR (Optical Character Recognition) and NLP (Natural Language Processing) to assist the audit work in the corresponding audit links, so as to efficiently discover audit clues. For example, in the "Reimbursement Management" node in the financial reimbursement audit, OCR technology is used to identify and extract text information in the invoice image to achieve automated invoice auditing. For another example, through NLP technology, the contract text is segmented and semantically analyzed, and the similarity between two contracts is calculated, thereby assisting auditors to quickly determine whether there are risks in the contract.
[0049] It can be seen that AI technology is usually used to assist in processing individual business processing links in financial audits, such as bill audits and contract audits, and has not yet achieved full business process support for financial audits. Therefore, the support capacity and efficiency for audit work need to be further improved.
[0050] To this end, the present application provides a solution to train a large language model for financial auditing, and when constructing question query statements based on financial feature data, add node-related identifiers, so that the trained financial audit model can distinguish different financial audit process nodes from the node-related identifiers in the question query statements, thereby enabling the trained financial audit model to realize the correlation audit comparison of various financial feature data across multiple business links, thereby comprehensively improving the efficiency and accuracy of audit work.
[0051] The inventive concept of the present application is further described below in conjunction with some specific embodiments and implementation methods.
[0052] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of the financial auditing equipment involved in the embodiment of the present application.
[0053] like Figure 1 As shown, the financial auditing device may include: a processor 1001, such as a CPU, a user interface 1003, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a voice pickup module, such as a microphone array, etc., and the optional user interface 1003 may also be a display screen (Display), an input unit such as a keyboard (Keyboard), etc. The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0054] It is understandable that the financial audit device may also include a network interface 1004, which may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface). Optionally, the financial audit device may also include an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
[0055] Those skilled in the art will understand that Figure 1 The structure of the financial auditing device shown in the figure does not constitute a limitation on the structure of the financial auditing device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0056] Based on the above structure but not limited to the above structure, the first embodiment of the financial audit method of this application is proposed. Figure 2 , Figure 2 This is a flowchart of the first embodiment of the financial audit method of the present application.
[0057] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown here.
[0058] In this embodiment, the training process of the financial audit model will be described through steps S101-S105:
[0059] Step S101, obtaining a plurality of training samples of annotated financial risk results, a current question query statement template of a large language model, and current model parameters.
[0060] The training samples include sample financial feature data of each preset feature dimension, and the value of each sample financial feature data is determined according to the financial data of the enterprise.
[0061] For example, the execution subject of this embodiment may be an electronic device, a terminal device, or other devices or equipment that can execute the method of this embodiment, and there is no limitation on this. In this embodiment, the execution subject is described as an electronic device.
[0062] The electronic device can download training samples through the network, or can also obtain pre-stored training samples locally. Each training sample includes sample financial feature data of multiple preset feature dimensions. The preset feature dimensions are business data fields required for financial audits, and it can be understood that each preset feature dimension includes at least one sample financial feature data, that is, each field has at least one specific field data.
[0063] Specifically, in a financial audit project, the financial audit process nodes involved in financial reimbursement are analyzed and sorted out, including "contract management", "reimbursement management", "fund management" and "accounting". The processes involved in the contract management node are: first, the procurement information is agreed upon in the procurement document, and then the project document is generated. The project information in the project document relies on the procurement information in the procurement document, and the amount, time node, delivery information and other information are agreed upon in the contract document. Then, from the contract management node, enter the reimbursement management node. The processes involved in the reimbursement management node are: formulate a workload confirmation form based on the contract document, and issue an invoice in combination with project construction documents such as project construction pictures. Then, from the reimbursement management node, enter the fund management node. The financial staff will look at the invoice, the contract document with the seal, the signed reimbursement form, etc. to settle the account, and generate payment records, fund flow sheets and other documents. Finally, enter the accounting node. The accountant will look at the invoice, seal documents, contract documents and other materials to check the relevant information to audit whether the entire process is compliant and whether there are risks.
[0064] According to the above process analysis results, the business data fields involved in each financial audit process node can be obtained, that is, each preset feature dimension.
[0065] The preset feature dimensions involved in this embodiment are shown in Table 1 below:
[0066] Table 1: Preset feature dimensions involved in financial feature data
[0067]
[0068]
[0069] Please refer to Table 1. The "Contract Management Node" in the first column of data refers to the financial audit process node involved, while "Procurement Documents", "Project Documents" and "Contract Documents" are the file types involved in the "Contract Management Node". The "Procurement Project Category and Name, Budget Fund Composition and Contract Price, Procurement Method, Supplier Information, Evaluation Criteria, etc." are the aforementioned financial characteristic data, which are the preset characteristic dimensions involved in the "Procurement Document" file type.
[0070] In addition, please refer to Table 1. The financial documents associated with the reimbursement management node include invoices, workload confirmation forms and project construction documents; the financial documents related to the capital management node include billing statements, payment record files and capital flow files; the financial documents related to the accounting node include contract documents, value-added tax invoices and workload confirmation forms.
[0071] The financial characteristic data of each dimension in Table 1 are obtained based on the financial data of the enterprise. Taking the financial characteristic data involved in the contract document as an example, the contract name, contracting party A, contracting party B, contract amount, contract signing time, contract subject, contract number, etc. can all be extracted based on the actual contract document.
[0072] Each training sample is annotated with financial risk results. Financial audit risks include but are not limited to: missing key elements of the contract, repeated contract signing for the same matter, whether the contract documents meet the requirements of the procurement documents, inconsistency between the terms of income and expenditure and the contract agreement, repeated reimbursement of the same invoice, non-compliant invoices, inconsistency between the payee and the invoice seller, false reimbursement of travel expenses, early payment, untrue reimbursement information, audit points for differences in workload confirmation sheets, and audit points for reimbursement amounts exceeding the contract amount. It is understandable that the financial risk results of a training sample can be one or more of the aforementioned financial audit risks.
[0073] The basis for determining each financial audit risk can be determined according to Table 2 below:
[0074] Table 2: Basis for determining financial audit risk
[0075]
[0076]
[0077]
[0078]
[0079] Step S102: according to the financial file to which the sample financial characteristic data belongs, a node-related identifier is added to the financial characteristic data to obtain the identified characteristic data.
[0080] In order to enable the large language model to realize the financial risk audit of each business node in the whole process, it is necessary to make the large language model understand the business node to which the input financial feature data belongs. Therefore, it is necessary to input more features into the input data of the large language model, so as to strengthen the understanding of the input data of the large language model and find audit clues from each business node. In this step, the added feature is the node-related identifier. According to the audit point judgment basis of each financial risk audit in Table 2, it can be seen that various types of financial risk audits are associated with the financial audit process nodes, so they can be reflected by the node-related identifiers associated with the financial audit process nodes.
[0081] As an embodiment, the node-related identifier is related to the file category and / or file name, whereby the financial audit device generates a category identifier based on the file category of the financial file to which the financial feature data belongs; and / or extracts the file name of the financial file to which the financial feature data belongs, and then adds the category identifier and / or file name to the sample financial feature data to construct the identified feature data.
[0082] For example, for the sample financial characteristic data: Contract Number_No13478, you can add the file name before or after it, so that it can be expressed as: Company Backbone Network Reconstruction Project Construction Contract_Contract Number_No13478. Of course, it can also be expressed as Contract Number_No13478_Company Backbone Network Reconstruction Project Construction Contract.
[0083] Alternatively, 1 can be used to represent a contract document, 2 can be used to represent a project document, 3 can be used to represent an invoice document, and 4 can be used to represent a workload confirmation sheet, etc. Therefore, for the sample financial characteristic data: Contract Number_No13478, a category identifier can be added before or after it, so that the financial characteristic data: Contract Number_No13478 can be represented as: Contract Number_No13478_1. Or 1_Contract Number_No13478.
[0084] Alternatively, for the sample financial characteristic data: Contract Number_No13478, it can also be expressed as: Company Backbone Network Reconstruction Project Construction Contract_Contract Number_No13478_1. Or it can be expressed as: 1_Contract Number_No13478_Company Backbone Network Reconstruction Project Construction Contract.
[0085] Therefore, this embodiment defines a set of encoding methods, using file name_key_value_category to record financial feature data. The file name is the name of the file itself, such as "xxx contract", "xxx invoice", key represents the key content extracted from the file, such as "No13478", "xxx company", "contract amount 1.7 million yuan", and value category represents files from different types, such as "contract file is type 1", "project file is type 2", "invoice file is type 3", "workload confirmation form is type 4", etc. Through this multi-dimensional labeling, more features are added to the model input, which helps to strengthen the model's understanding of the data and find audit clues from multiple process links.
[0086] In this way, the original financial feature data of the training sample is modified into the identified feature data.
[0087] As in one example, for the identified feature data, it can be expressed as:
[0088] Contract: Construction contract for the company's backbone network transformation project_Contract number_No13478_1; Construction contract for the company's backbone network transformation project_Contracting Party A_xxx Co., Ltd._1; Construction contract for the company's backbone network transformation project_Contracting Party B_yyy System Integration Co., Ltd._1; Construction contract for the company's backbone network transformation project_Contracting date_20230101; Construction contract for the company's backbone network transformation project_Contracting amount_1.7 million yuan...;
[0089] Invoice: The financial characteristic data included can be expressed as: Fujian VAT special invoice 0720_invoice code_3500164160_3; Fujian VAT special invoice 0720_invoice number_01708761_3; Fujian VAT special invoice 0720_purchaser taxpayer identification number_9183596988785839460_3; Fujian VAT special invoice 0720_invoice amount_13436 yuan_3; Fujian VAT special invoice 0720_remarks_No13478_3...
[0090] Step S103: construct a question query statement according to the current question query statement and all the identified feature data.
[0091] Step S104: input the question query statement into the large language model to obtain the financial audit prediction result output by the large language model.
[0092] Step S105: adjusting the current question query statement template and / or current model parameters according to the difference between the financial audit prediction result and the financial risk result.
[0093] Return to step S103 until the training is completed to obtain the financial audit model.
[0094] Then, you can build a question query statement based on all the identified feature data and use it as the input of the large language model. The financial risk results corresponding to the identified feature data are used as the answer. The large language model is trained based on this to obtain the required financial audit model.
[0095] It can be understood that the large language model (LLM) is a deep learning model trained based on massive text data or multimodal data such as pictures. It can not only generate natural language text, but also deeply understand the meaning of the text and handle various natural language tasks, such as text summarization, question and answer, translation, etc. The application of large language models is very extensive and can be used in chatbots, question and answer systems, machine translation and other fields. In addition, sentiment analysis and opinion mining, as well as tasks such as language understanding and reasoning can also be performed. In this embodiment, the large language model can be the ChatGLM2 large model.
[0096] Specifically, the query statement template is the questioning method input into the large language model, and the model parameters are the model parameters of the large language model. The training process is to use the labeled and identified feature data to fine-tune the ChatGLM2 large model, mainly changing the questioning method and adjusting the model parameters to make it more suitable for the output of financial reimbursement clues, so that the financial audit model can learn the characteristics of various audit risk points, thereby realizing the audit processing of the full process audit of various complex data.
[0097] In one example, the query statement of the trained large language model can be:
[0098] I would like you to act as a financial accounting auditor. Please judge whether there are any audit issues based on my input.
[0099] xxxxxxxxxx(Example of financial audit risk: 1. For example, in the contract document, the contract name is the company's backbone network transformation project construction contract_1, the contract number is No13478_1, Party A is AA_1, Party B is BB_1, the signing time is July 2023_1, the contract content is blank_1, and the financial audit risk is the lack of key elements of the contract. 2. In the contract document, the contract number is No23719_1, the signing time is June 2023_1, the remarks are 23719_1, and in the invoice document, The payment time is February 2023_3, the remark is 23719_3, and the financial audit risk is to pay the balance in advance. 3. In the contract document, the contract number is No111111_1, the contract terms are that Company A and Company B have reached a friendly cooperative relationship, etc._1, the remark is 111111_1, and in the contract document, the contract number is No222222_1, the contract terms are that Company B and Company C have reached a friendly cooperative relationship, etc._1, the remark is 222222_1, and the financial audit risk is that the contract content is similar).
[0100] And tell me what the financial audit risk details are? The output format is "The financial audit risk is xxx".
[0101] It is not difficult to see that in this embodiment, a large language model is trained to perform financial auditing, and node-related identifiers are added when constructing question query statements based on financial feature data, so that the trained financial audit model can distinguish different financial audit process nodes from the node-related identifiers in the question query statements, thereby enabling the trained financial audit model to realize the correlation audit comparison of various financial feature data across multiple business links, thereby comprehensively improving the efficiency and accuracy of audit work.
[0102] Please refer to 3. Based on the above-mentioned first embodiment, a second embodiment of the present application is proposed.
[0103] In this embodiment, the use process of the financial audit model is described in detail through steps S201-S205:
[0104] Step S201: Obtain financial data to be audited.
[0105] Step S202: extract features from the financial data to be audited according to preset feature dimensions to obtain a plurality of financial feature data.
[0106] In this embodiment, the execution subject may be an electronic device, which is equipped with a trained financial audit model. Alternatively, the trained financial audit model may be configured in the cloud or server, which is equipped with the trained financial audit model to provide corresponding financial audit services, and users may use the financial audit service by accessing the cloud or server.
[0107] For a single use, the user needs to input relevant documents such as project files, contract files, invoice images, workload confirmation sheets, reimbursement sheets, payment records, fund flows, etc. In this embodiment, the financial data to be audited are the aforementioned relevant documents.
[0108] It is understandable that in order to improve audit efficiency, various AI tools can be used to extract features. At this time, when executing step S202, the financial data to be audited is extracted by a preset feature extraction model to obtain financial feature data of each preset feature dimension. The preset feature extraction model includes at least one of a general entity recognition model, a relationship extraction model, an event extraction model, a preset financial entity recognition model, an optical character recognition model, and a natural language processing model.
[0109] Specifically, the financial audit service calls different artificial intelligence models according to the type of input files. For text data, such as contract files and project files, named entity recognition models, event extraction models and rule methods can be called to identify the key information inside and complete the processing from unstructured to structured. For PDF scanned files such as invoices, workload confirmation sheets, bills, payment records and fund flows, OCR recognition technology can be used to extract the key information inside and complete the conversion of structured data. Through the combined use of the above artificial intelligence technologies, a variety of flexible AI recognition and conversion capabilities are realized.
[0110] Specifically, the financial data to be audited can be divided into the following types of data for feature extraction:
[0111] The text data processing flow is as follows:
[0112] 1. Data collection and cleaning: Clean the data, including removing special characters, formatting marks, and non-critical information to reduce noise.
[0113] 2. Identify entities: Use named entity recognition models to identify entities in the text, such as names of people, places, dates, currencies, organizations, etc. Label these entities into corresponding categories, such as names of people, places, dates, etc.
[0114] 3. Relation Extraction: Use a relation extraction model to determine the relationships between entities in the text, such as contract signatories in a contract document or project participants in a project document.
[0115] 4. Event extraction: Use event extraction models to extract key events and actions from the text. For example, identify project milestones, task assignments, schedules, and other information from project documents.
[0116] 5. Financial Specific Entity Identification: Based on specific business needs, define rules and pattern matching rules to capture information that is not suitable for automated extraction. For example, the date format or amount agreement of a specific contract type. Use a specific rule engine to match these rules and extract relevant information.
[0117] 6. Structured data storage: Store the extracted information in a structured form, store it in a database or export it in a specific format for subsequent analysis and retrieval.
[0118] The image data processing flow is as follows:
[0119] 1. Document preparation: Convert the scanned PDF file into an image format (such as JPEG or PNG) using a PDF parsing tool or image processing library.
[0120] 2. Image preprocessing: Preprocess the image to improve the accuracy of OCR (Optical Character Recognition), including removing noise, adjusting image brightness, contrast and clarity, and cropping and rotating the image to ensure the correct text layout.
[0121] 3.OCR recognition: Use the OCR model to extract text information. The OCR model outputs the text information as a text string or data structure for subsequent processing.
[0122] 5. Data cleaning: Clean the extracted text data to remove unnecessary characters, formats, and special symbols.
[0123] 6. Key information extraction: Use natural language processing (NLP) technology or regular expressions to extract the required key information, such as date, amount, invoice number, etc.
[0124] 7. Data Verification and Error Correction: Implement data verification and error correction mechanisms to ensure that the extracted information is accurate.
[0125] 8. Data structured storage: Convert the extracted key information into structured data formats, such as JSON, XML, or database records, for further processing or retrieval.
[0126] Thus, in this embodiment, according to the business requirements of different audit points, various artificial intelligence technologies are comprehensively used, such as named entity recognition models, event extraction models, OCR models, etc. to convert unstructured data into structured data, and then conduct comprehensive audit and comparison audits on multiple types of data, so as to realize the correlation audit and comparison of various complex data across multiple business links.
[0127] It is worth mentioning that it is not the financial audit service that calls various feature extraction models, but the financial audit model, a large language model, that directly calls various feature extraction models.
[0128] Step S203: For each piece of financial characteristic data, according to the financial file to which the financial characteristic data belongs, a node-related identifier is added to the financial characteristic data to obtain the identified financial characteristic data.
[0129] Among them, the node-related identifier is associated with the financial audit process node to which the financial document belongs;
[0130] As an implementation method, the node-related identifier is related to the file category and / or file name. Therefore, when the financial audit device executes step S203, it can first: generate a category identifier based on the file category of the financial file to which the financial feature data belongs; and / or extract the file name of the financial file to which the financial feature data belongs, and then: add the category identifier and / or file name to the financial feature data to construct the identified financial feature data.
[0131] It should be noted that, for the explanation of step S203, please refer to the relevant explanation of step S102 in the first embodiment of the method, which will not be repeated here.
[0132] Step S204: Construct a query statement of the problem to be audited based on all the identified financial characteristic data.
[0133] As an implementation mode, when the financial audit device executes step S204, a query statement for the problem to be audited is constructed according to the query statement template of the financial audit model and all the identified financial characteristic data.
[0134] It should be noted that the explanation of step S204 can be found in the first embodiment of the method and will not be repeated here.
[0135] Step S205: input the query statement of the problem to be audited into the financial audit model to obtain the financial audit result.
[0136] Therefore, when faced with new data, the various structured information output by the previous stage is combined and converted into the input format of the financial audit model according to the current problem query statement template of the financial audit model. The final financial audit risk is obtained through model classification, thereby realizing the audit processing of the full-process audit model of various complex data.
[0137] It is not difficult to see that this embodiment provides a framework for end-to-end multi-model intelligent audit of financial accounting, which realizes the full process support for internal audit work of financial accounting. It not only comprehensively uses a variety of artificial intelligence technologies to unify the management of multiple models, but also designs an identification system to distinguish different processes, realizes the correlation audit comparison of various complex data across multiple business links, and comprehensively improves the efficiency and accuracy of audit work.
[0138] Also, see Figure 4 , the present application also provides a financial auditing device, comprising:
[0139] Data acquisition module, used to obtain financial data to be audited;
[0140] A feature extraction module is used to extract features of the audited financial data according to preset feature dimensions to obtain multiple financial feature data;
[0141] The identification adding module is used to add a node-related identification to each financial characteristic data according to the financial file to which the financial characteristic data belongs, so as to obtain the identified financial characteristic data; wherein the node-related identification is associated with the financial audit process node to which the financial file belongs;
[0142] A statement building module is used to build a query statement for the audit question based on all the identified financial feature data;
[0143] The audit output module is used to input the query statement of the audit problem into the financial audit model to obtain the financial audit result; wherein the financial audit model is a large language model.
[0144] It should be noted that the various implementations of the financial auditing device in this embodiment and the technical effects achieved can refer to the various implementations of the financial auditing method in the aforementioned embodiments, which will not be repeated here.
[0145] In addition, an embodiment of the present application further proposes a computer storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the financial audit method as described above are implemented. Therefore, it will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, program instructions can be deployed to be executed on one computing device, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network.
[0146] In addition, an embodiment of the present application also provides a computer program product, which stores a computer program, and when the computer program is executed by a processor, the steps of the financial audit method as described above are implemented.
[0147] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the above-mentioned program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the above-mentioned storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0148] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.
[0149] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method of each embodiment of the present application.
[0150] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A financial audit method, characterized in that: include: Obtain financial data to be audited; Extracting features of the financial data to be audited according to preset feature dimensions to obtain multiple financial feature data; For each of the financial characteristic data, according to the financial file to which the financial characteristic data belongs, a node-related identifier is added to the financial characteristic data to obtain the identified financial characteristic data; wherein the node-related identifier is associated with the financial audit process node to which the financial file belongs; Constructing a query statement of the audit question based on all the identified financial characteristic data; The query statement of the problem to be audited is input into the financial audit model to obtain the financial audit result; wherein the financial audit model is a large language model.
2. The financial audit method according to claim 1, characterized in that: The step of adding a node-related identifier to the financial characteristic data according to the financial file to which the financial characteristic data belongs to obtain the identified financial characteristic data includes: generating a category identifier according to the file category of the financial file to which the financial characteristic data belongs; and / or extracting the file name of the financial file to which the financial characteristic data belongs; The category identification and / or the file name are added to the financial characteristic data to construct the identified financial characteristic data.
3. The financial audit method according to claim 2, characterized in that: The financial audit process node is any one of a contract management node, a guarantee management node, a fund management node and an accounting node; The financial documents associated with the contract management node include procurement documents, project documents and contract documents; The financial documents associated with the reimbursement management node include invoices, workload confirmation sheets, and project construction documents; The financial files related to the fund management node include billing statements, payment record files, and fund flow files; The financial documents related to the accounting node include contract documents, value-added tax invoices and workload confirmation sheets.
4. The financial audit method according to claim 1, characterized in that: The step of constructing a query statement for the audit question based on all the identified financial feature data includes: According to the question query statement template of the financial audit model and all the identified financial feature data, a query statement for the question to be audited is constructed.
5. The financial audit method according to claim 1, characterized in that: The feature extraction is performed on the financial data to be audited according to the preset feature dimensions to obtain a plurality of financial feature data, including: Feature extraction is performed on the financial data to be audited through a preset feature extraction model to obtain the financial feature data of each preset feature dimension; the preset feature extraction model includes at least one of a general entity recognition model, a relationship extraction model, an event extraction model, a preset financial entity recognition model, an optical character recognition model and a natural language processing model.
6. The financial audit method according to any one of claims 1 to 5, characterized in that: The method further comprises: Acquire a plurality of training samples of annotated financial risk results, a current question query statement template of a large language model, and current model parameters; wherein the training samples include sample financial feature data of each of the preset feature dimensions, and the value of each of the sample financial feature data is determined according to the financial data of the enterprise; According to the financial file to which the sample financial characteristic data belongs, adding a node-related identifier to the sample financial characteristic data to obtain the identified characteristic data; Constructing the question query statement according to the current question query statement and all the identified feature data; Inputting the question query statement into the large language model to obtain the financial audit prediction result output by the large language model; According to the difference between the financial audit prediction result and the financial risk result, adjusting the current question query statement template and / or the current model parameters; Return to the step of constructing the question query statement according to the current question query statement and the identified feature data until the training is completed to obtain a financial audit model.
7. A financial auditing device, characterized in that: The financial auditing device comprises: Data acquisition module, used to obtain financial data to be audited; A feature extraction module, used to extract features of the financial data to be audited according to preset feature dimensions to obtain multiple financial feature data; an identification adding module, for adding a node-related identification to each of the financial characteristic data according to the financial file to which the financial characteristic data belongs, so as to obtain the identified financial characteristic data; wherein the node-related identification is associated with the financial audit process node to which the financial file belongs; A statement construction module, used to construct a query statement of the audit question based on all the identified financial characteristic data; The audit output module is used to input the query statement of the audit problem into the financial audit model to obtain the financial audit result; wherein the financial audit model is a large language model.
8. A financial auditing device, characterized in that: include: A processor, a memory, and a computer program stored in the memory, wherein the computer program, when executed by the processor, implements the financial audit method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the financial audit method according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the financial audit method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Financial auditing method and device, electronic equipment and storage medium
CN119782337A
A financial audit method and device, electronic equipment and storage medium
CN119782337B
Financial data auditing method, device and equipment
CN121120280A
Digitalizing method and system for to-be-audited data
TWI884108B
