Accounting data converter, accounting data conversion method, learning device, learning method, and program
The accounting data conversion system uses machine learning to incorporate user and transaction attributes, enhancing the accuracy of converting transaction data into accounting data by addressing inefficiencies in existing journalizing processes.
Patent Information
- Application Number
- JP2023065035
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-12
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2043-04-12
AI Technical Summary
Existing accounting systems face challenges in accurately converting transaction data into accounting data due to variations in user attributes and transaction details, leading to inefficiencies in journalizing processes.
An accounting data conversion system that utilizes machine learning to generate a learning model incorporating transaction summaries and additional attribute data, such as user-related and transaction-related information, to improve the accuracy of selecting appropriate account items.
Enhances the accuracy of accounting data conversion by considering user-specific and transaction-specific attributes, thereby improving the precision of journalizing transactions.
Smart Images

Figure 2024151575000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an accounting data conversion device, an accounting data conversion method, a learning device, a learning method, and a program. [Background technology]
[0002] Patent Document 1 describes a journal entry rule creation support device that uses transaction data that indicates the contents of a transaction and past journal entry data that includes the account items into which the contents of the transaction are journalized to support the creation of journal entry rules that indicate the correspondence between the contents of a transaction and a specified account item. [Prior art document] [Patent documents] [Patent Document 1] JP 2019-191749 A Summary of the Invention
[0003] According to a first aspect of the present invention, there is provided an accounting data conversion device. The accounting data conversion device may include a transaction data acquisition unit that acquires transaction data including a transaction summary. The accounting data conversion device may include an account selection unit that selects an account item corresponding to the transaction data based on the summary included in the transaction data and at least one of the subject attribute and the transaction attribute of the transaction. The accounting data conversion device may include an accounting data generation unit that generates accounting data corresponding to the transaction data, including the account item selected by the account selection unit.
[0004] The above summary of the invention does not list all of the necessary features of the present invention. Also, subcombinations of these features may also be inventions. [Brief description of the drawings]
[0005] [Figure 1] 1 illustrates a schematic diagram of an example of an accounting management system 10. [Diagram 2] 2 illustrates an example of a functional configuration of the learning device 100. [Diagram 3]1 illustrates an example of a processing flow by the learning device 100. [Figure 4] FIG. 2 is an explanatory diagram for conceptually explaining a learning model 300. [Diagram 5] FIG. 2 is an explanatory diagram for conceptually explaining a learning model 300. [Figure 6] FIG. 1 is an explanatory diagram for conceptually explaining step-by-step learning. [Figure 7] 2 illustrates an example of a functional configuration of an accounting data conversion device 200. [Figure 8] 13 shows an example of a processing flow by the accounting data conversion device 200. [Figure 9] An example of the hardware configuration of a computer 1200 that functions as the learning device 100 or the accounting data conversion device 200 is shown in schematic form. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0006] The present invention will be described below through embodiments of the invention, but the following embodiments do not limit the scope of the invention according to the claims. Furthermore, not all of the combinations of features described in the embodiments are necessarily essential to the solution of the invention.
[0007] FIG. 1 illustrates an example of an accounting management system 10. The accounting management system 10 includes a learning device 100 and an accounting data converting device 200. The learning device 100 and the accounting data converting device 200 may be different devices. The learning device 100 and the accounting data converting device 200 may be realized by a single device. The learning device 100 may be realized by multiple devices. The accounting data converting device 200 may be realized by multiple devices.
[0008] The accounting management system 10 may further include a business service providing device 20. The business service providing device 20 may be a device different from the learning device 100 and the accounting data converting device 200. The business service providing device 20 and the learning device 100 may be realized by a single device. The business service providing device 20 and the accounting data converting device 200 may be realized by a single device. The business service providing device 20, the learning device 100, and the accounting data converting device 200 may be realized by a single device.
[0009] The accounting management system 10 may further include an accounting service providing device 30. The accounting service providing device 30 may be a device different from the learning device 100 and the accounting data converting device 200. The accounting service providing device 30 and the learning device 100 may be realized by a single device. The accounting service providing device 30 and the accounting data converting device 200 may be realized by a single device. The accounting service providing device 30, the learning device 100, and the accounting data converting device 200 may be realized by a single device.
[0010] The learning device 100, the accounting data converting device 200, the business service providing device 20, and the accounting service providing device 30 may be realized by a single device. Here, a case will be mainly given as an example in which the learning device 100, the accounting data converting device 200, the business service providing device 20, and the accounting service providing device 30 are different devices.
[0011] The learning device 100, the accounting data conversion device 200, the business service providing device 20, and the accounting service providing device 30 communicate via a network 50. The network 50 may include a cloud network. The network 50 may include the Internet. The network 50 may include a mobile communication network. The network 50 may include a dedicated network such as a LAN (Local Area Network). The learning device 100 and the accounting data conversion device 200 may communicate directly without going through the network 50.
[0012] The business service providing device 20 manages transaction data of a user 82 who is the subject of a transaction. The user 82 is a business operator. The user 82 may be a sole proprietor or a corporation.
[0013] The transaction data may include a transaction date, a customer, a tax category, an amount, income / expense identification data indicating whether it is income or expenditure, a consumption tax amount, and a summary. If the user 82 is a corporation, the transaction data may include data indicating which department of the corporation the transaction is for.
[0014] The business service providing device 20 may further manage transaction-related data related to the transactions of the user 82. The transaction-related data may include, for example, origin data indicating the origin of the transaction. Examples of the origin of the transaction include a POS (Point Of Sale) system, a financial institution (name, type), a credit card, electronic money, and evidence such as an invoice or a delivery note. The transaction-related data may include, for example, import source data indicating the origin of the transaction. Examples of the import source of the transaction include an import source service, CSV (Comma Separated Values), and an image. Examples of the import source service include an invoice service, Internet banking, and POS. The transaction-related data may include, for example, customer-related data related to the customer. The customer-related data may include the name of the customer, the size of the customer, and the type of business of the customer.
[0015] The business service providing device 20 may further manage user-related data related to the user 82. The user-related data may include data of the user 82 himself. Examples of the data of the user 82 himself include name, type of business, concurrent business information (whether he is also in the real estate business, etc.), company form (stock company, limited liability company, etc.), business form identification data indicating whether he is a sole proprietor or a corporation, if he is a corporation, the size of the corporation (capital, number of employees, number of clients, sales, etc.), whether he is a taxable business, if he is a taxable business, what is the consumption taxation method, whether he is subject to the special exemption for small business owners, whether he uses accounting services, if he uses accounting services, the type of service he uses, the usage status of templates by business type, whether he uses the function of a department that manages accounting data for each department, and the degree of use of the accounting service (number of transactions, period of use, frequency of use, etc.). The user-related data may include data of a group to which the user 82 belongs. Examples of the data of a group to which the user 82 belongs include the name, type of business, and size of the parent company, the name and size of the accounting firm in charge of the user 82, etc.
[0016] The business service providing device 20 may further manage transaction data related to the transaction data of the user 82. The transaction data related data may include the number of transaction data. The transaction data related data may include bias data indicating bias in the transaction data.
[0017] The business service providing device 20 receives transaction data of the user 82, for example, from the communication terminal 80 of the user 82. The business service providing device 20 may receive transaction-related data from the communication terminal 80. The business service providing device 20 may receive user-related data from the communication terminal 80. The business service providing device 20 may communicate with the communication terminal 80 via the network 50. The communication terminal 80 may be any terminal capable of communication. For example, the communication terminal 80 is a mobile phone such as a smartphone, a tablet terminal, a PC (Personal Computer), etc. The business service providing device 20 may obtain the transaction data, transaction-related data, and user-related data of the user 82 from an accounting firm or the like that manages the accounting information of the user 82.
[0018] The business service providing device 20 may provide various data to the learning device 100. The learning device 100 may receive transaction data of the user 82 from the business service providing device 20. The learning device 100 may receive transaction-related data of the user 82 from the business service providing device 20. The learning device 100 may receive user-related data of the user 82 from the business service providing device 20. The learning device 100 may receive transaction-related data of the user 82 from the business service providing device 20. The learning device 100 may obtain the transaction-related data and user-related data of the user 82 from a source other than the business service providing device 20.
[0019] The learning device 100 further acquires accounting data corresponding to the transaction data, which is generated by actually journalizing the transaction data of the user 82. The accounting data includes the account items corresponding to the transactions.
[0020] The learning device 100 generates a learning model for performing accounting entries by executing machine learning using the acquired data. Conventionally, a learning model for inferring an account title corresponding to a transaction from a transaction summary has been generated by adjusting parameters of a natural language processing model such as BERT using transaction summaries and account titles corresponding to the transactions as learning data.
[0021] The learning device 100 of this embodiment generates a learning model that uses machine learning using learning data that includes not only a transaction summary and an account item corresponding to the transaction, but also attribute data, to input a transaction summary and attribute data and output an account item corresponding to the transaction.
[0022] The attribute data includes at least one of a subject attribute of a transaction and a transaction attribute. That is, the attribute data may include a subject attribute, may include a transaction attribute, or may include both a subject attribute and a transaction attribute. The subject attribute may be an attribute indicating the subject of a transaction. The transaction attribute may be an attribute indicating a transaction.
[0023] The subject attributes may include user-related data. The subject attributes may include at least one of a plurality of types of user-related data.
[0024] Even if the contents of the abstract are the same, the account title corresponding to the transaction may differ depending on the user 82. It is considered that what account title is appropriate depends on the subject attributes of the user 82, such as who the user 82 is, the industry of the user 82, whether the user 82 has a second job, if the user 82 has a second job, the type of the second job of the user 82, the company form of the user 82, whether the user 82 is a sole proprietor or a corporation, if the user 82 is a corporation, the size of the corporation, whether the user 82 is a taxable business owner, what the consumption tax method is, whether the user 82 is subject to the special exemption for legally sized businesses, whether the user 82 uses accounting services, the type of services used, the usage status of accounting services, whether the functions of departments are used, the degree of use of accounting services, the name, industry, and size of the parent company of the user 82, the name and size of the accounting firm in charge of the user 82, and the like. Therefore, by adding subject attributes and learning, the accuracy rate of the account title can be improved compared to learning using only abstracts. The correct account title is an appropriate account title for the transaction, and the accuracy rate is the probability of selecting an appropriate account title.
[0025] The transaction attributes may include data of the transaction data other than the summary. The transaction attributes may include at least one of the transaction date, the customer, the tax category, the amount, whether it is income or expenditure, and the amount of consumption tax. The transaction attributes may include transaction related data. The transaction attributes may include at least one of a plurality of types of transaction related data. The transaction attributes may include transaction data related data. The transaction attributes may include at least one of a plurality of types of transaction data related data.
[0026] Even if the contents of the abstract are the same, the corresponding account title may differ depending on the transaction. It is believed that the appropriate account title depends on the transaction attributes, such as the transaction date, the client, the tax category, the amount, whether it is income or expenditure, the amount of consumption tax, the origin of the transaction, the source of the transaction, the name, size, and industry of the client. Therefore, by adding transaction attributes and learning, it is possible to improve the accuracy rate of the account title compared to learning using only the abstract.
[0027] The accounting data converting device 200 receives the learning model generated by the learning device 100 from the learning device 100 and stores it. The accounting data converting device 200 receives transaction data of the user 82 from the business service providing device 20. The accounting data converting device 200 may receive attribute data corresponding to the transaction data from the business service providing device 20. For example, the accounting data converting device 200 receives transaction-related data of the user 82 from the business service providing device 20. For example, the accounting data converting device 200 receives user-related data of the user 82 from the business service providing device 20. For example, the accounting data converting device 200 receives transaction-related data of the user 82 from the business service providing device 20. The accounting data converting device 200 may acquire attribute data from a source other than the business service providing device 20.
[0028] The accounting data conversion device 200 generates accounting data corresponding to the transaction data acquired from the accounting data conversion device 200, using the learning model received from and stored in the learning device 100. The accounting data conversion device 200 may input the summary included in the transaction data and attribute data corresponding to the transaction data into the learning model, select an account item output from the learning model, and generate accounting data including the selected account item. The accounting data conversion device 200 may output the generated accounting data to the accounting service providing device 30.
[0029] The accounting service providing device 30 manages the accounting data obtained from the accounting data conversion device 200. The accounting data conversion device 200 provides accounting services to the user 82 using the user's 82 accounting data.
[0030] 2 illustrates an example of a functional configuration of the learning device 100. The learning device 100 includes a data acquisition unit 102, a learning data storage unit 104, a learning model generation unit 106, and a learning model transmission unit 108.
[0031] The data acquiring unit 102 acquires various data. The data acquiring unit 102 acquires transaction data of the user 82. The data acquiring unit 102 may acquire the transaction data from the business service providing device 20.
[0032] The data acquisition unit 102 acquires transaction-related data of the user 82. The data acquisition unit 102 may acquire the transaction-related data from the business service providing device 20. The data acquisition unit 102 may acquire the transaction-related data from a source other than the business service providing device 20.
[0033] The data acquisition unit 102 acquires user-related data of the user 82. The data acquisition unit 102 may acquire the user-related data from the business service providing device 20. The data acquisition unit 102 may acquire the user-related data from a source other than the business service providing device 20.
[0034] The data acquiring unit 102 acquires the transaction data related data of the user 82. The data acquiring unit 102 may acquire the transaction data related data from the business service providing device 20.
[0035] The data acquiring unit 102 acquires accounting data corresponding to the transaction data, including account items corresponding to the transactions, which is generated by actually journalizing the transaction data of the user 82. The data acquiring unit 102 may acquire the accounting data from the business service providing device 20. The data acquiring unit 102 may also acquire the accounting data from a source other than the business service providing device 20.
[0036] The data acquiring unit 102 stores the learning data generated from the acquired data in the learning data storage unit 104 .
[0037] The learning data includes a summary of the transaction and an account item corresponding to the transaction. The learning data further includes attribute data. The attribute data includes at least one of an attribute of the transaction subject and an attribute of the transaction.
[0038] The learning model generation unit 106 generates a learning model that receives a transaction summary and attribute data as input and outputs an account item corresponding to the transaction through machine learning using the learning data stored in the learning data storage unit 104. That is, the learning model generation unit 106 receives a transaction summary and at least one of the transaction subject attributes and transaction attributes as input and generates a learning model that outputs an account item corresponding to the transaction.
[0039] The learning model generation unit 106 may perform machine learning using a transaction summary and attribute data to which a weight different from that of the summary is applied. The number of dimensions of information that is the subject of natural language processing, such as the summary, and information that is not the subject of natural language processing, such as the attribute data, may differ greatly, but by applying a weight different from that of the summary to the attribute data, it is possible to balance them.
[0040] When applying weights to attribute data, the learning model generation unit 106 may apply different weights to subject attributes and transaction attributes. This makes it possible to execute learning that emphasizes one of the subject attributes and the transaction attributes in comparison with the other, for example.
[0041] The learning model generation unit 106 may apply different weights to each of the multiple types of data included in the attribute data. For example, the learning model generation unit 106 may apply different weights to each of the multiple types of data included in the subject attribute and the multiple types of data included in the transaction attribute. For example, the learning model generation unit 106 multiplies the initial values before learning by different coefficients for each of the multiple types of data included in the subject attribute and the multiple types of data included in the transaction attribute. For example, the learning model generation unit 106 multiplies the weight matrix by different coefficients for each of the multiple types of data included in the subject attribute and the multiple types of data included in the transaction attribute. For example, the learning model generation unit 106 changes the learning rate for each of the multiple types of data included in the subject attribute and the multiple types of data included in the transaction attribute. For example, when changing the multiple types of data included in the subject attribute and the multiple types of data included in the transaction attribute to a one-hot representation, the learning model generation unit 106 multiplies the value when the multiple types of data are changed to a one-hot representation by different coefficients. For example, when changing the multiple types of data included in the subject attribute and the multiple types of data included in the transaction attribute to a one-hot representation, the learning model generation unit 106 executes a process of aligning the number of dimensions when the one-hot representation is used. The possible value patterns of the attribute data are various, for example, there are two values such as sole proprietor or incorporation, and there are also multiple values such as the source of the transaction, and there is a possibility that there will be differences in the ease of learning. By making such an adjustment, the possibility of an unintended difference in the ease of learning can be reduced.
[0042] The learning model generation unit 106 may use the learning data to update the parameters of a pre-stored natural language processing model, thereby generating a learning model that receives transaction summaries and attribute data as inputs and outputs account items. That is, the learning model may be a natural language processing model whose parameters are updated using the learning data. The learning model generation unit 106 may use a natural language processing model such as fastText. The learning model generation unit 106 may input transaction summaries and attribute data into the natural language processing model, select an account item corresponding to the transaction data, compare the learning data with the selection result, and update the parameters of the natural language processing model. The learning model generation unit 106 updates the parameters of the natural language processing model so that the selection result matches the account item included in the learning data.
[0043] The learning model generation unit 106 may execute step-by-step learning, first updating the parameters of the natural language processing model using the transaction summary, and then updating the parameters of the natural language processing model using the attribute data. As a specific example, the learning model generation unit 106 first learns the part of the weight matrix of the input of the natural language processing model that corresponds to the summary, fixes the weights for the words, and learns the part that corresponds to the attribute data. This allows the weight matrix for the summary to be learned preferentially.
[0044] The learning model generation unit 106 may further input debit / credit data indicating whether the account item to be output is a debit account item or a credit account item into the natural language processing model. The debit account item and the credit account item corresponding to the transaction will be different, and by inputting the debit / credit data into the natural language processing model, learning that reflects this difference can be performed, and the accuracy rate of the account items can be improved. The learning model generated by the learning model generation unit 106 may output both the debit account item and the credit account item. In this case, the learning model generation unit 106 may input the debit / credit data indicating both the debit account item and the credit account item into the natural language processing model, or may not input the debit / credit data into the natural language processing model.
[0045] When multiple types of attribute data are input, the learning model generation unit 106 may execute learning that reflects the correlation between the multiple types of attribute data. For example, when the learning model generation unit 106 uses first attribute data and second attribute data, the learning model generation unit 106 executes learning by further using data indicating the correlation between the first attribute data and the second attribute data. As a specific example, for attribute data A representing ON or OFF and attribute data B representing ON or OFF, when only one of attribute data A and attribute data B is ON, C is not the correct answer, but when both are ON or both are OFF, C is the correct answer. In this case, the learning model generation unit 106 inputs data indicating the XOR of attribute data A and attribute data B. This makes it possible to generate a learning model that reflects such a correlation.
[0046] The learning model generation unit 106 may generate multiple types of learning models by inferring an account title for transaction data using each of multiple types of learning models and selecting an account title corresponding to the transaction data from multiple inference results. For example, the learning model generation unit 106 may generate a learning model (sometimes referred to as an abstract learning model) that takes a transaction summary as input and outputs an account title by machine learning using learning data including a transaction summary and an account title, and generate a learning model (sometimes referred to as an attribute learning model) that takes attribute data as input and outputs an account title by machine learning using learning data including attribute data and an account title. The learning model generation unit 106 may generate a learning model (sometimes referred to as a subject attribute learning model) that takes a subject attribute as input and outputs an account title by machine learning using learning data including a subject attribute and an account title, and generate a learning model (sometimes referred to as a transaction attribute learning model) that takes a transaction attribute as input and outputs an account title by machine learning using learning data including a transaction attribute and an account title. The learning model generation unit 106 may generate multiple types of learning models for the attribute data in smaller units.
[0047] The learning model sending unit 108 sends the learning model generated by the learning model generating unit 106 to the accounting data conversion device 200. When an abstract learning model and an attribute learning model are generated by the learning model generating unit 106, the learning model sending unit 108 sends the abstract learning model and the attribute learning model together to the accounting data conversion device 200. When an abstract learning model, a subject attribute learning model, and a transaction attribute learning model are generated by the learning model generating unit 106, the learning model sending unit 108 sends the abstract learning model, the subject attribute learning model, and the transaction attribute learning model together to the accounting data conversion device 200.
[0048] FIG. 3 shows an example of a processing flow by the learning model generation unit 106.
[0049] In step (sometimes abbreviated as S) 102, the learning model generation unit 106 acquires learning data from the learning data storage unit 104. The learning model generation unit 106 acquires learning data to be used for learning from among a large amount of learning data stored in the learning data storage unit 104.
[0050] In S104, the learning model generation unit 106 updates the parameters of the natural language processing model using the learning data acquired in S102. The learning model generation unit 106 inputs the transaction summary and attribute data into the natural language processing model, selects an account item corresponding to the transaction data, compares the learning data with the selection result, and updates the parameters of the natural language processing model. The learning model generation unit 106 updates the parameters of the natural language processing model so that the selection result matches the account item included in the learning data.
[0051] 4 is an explanatory diagram for conceptually explaining the learning model 300. In this example, two pieces of attribute data (attribute data A 304 and attribute data B 306) are illustrated, but the number of pieces of attribute data is not limited to this.
[0052] In this example, the learning model generation unit 106 first converts the summary 302, the attribute data A 304, and the attribute data B 306 into an input layer x310 of one-hot vectors. The learning model generation unit 106 inputs an input weight matrix W in 312 to calculate the intermediate layer y320 (distributed representation of words). The learning model generation unit 106 adds the output weight matrix W out Multiply by 322 to calculate the output layer z330 (probability for each subject).
[0053] In this example, the learning model generation unit 106 adds the attribute data to the input layer x310, but is not limited to this. The learning model generation unit 106 may add the attribute data to the intermediate layer y320. The learning model generation unit 106 may add the subject attribute to the input layer x310 and the transaction attribute to the intermediate layer y320. The learning model generation unit 106 may add the subject attribute to the intermediate layer y320 and the transaction attribute to the input layer x310. The learning model generation unit 106 may select whether to add the attribute data to the input layer x310 or to the intermediate layer y320 for each of multiple types of attribute data. Depending on the type of attribute data, there may be cases where adding the attribute data to the input layer x310 improves the accuracy rate of the account item and cases where adding the attribute data to the intermediate layer y320 improves the accuracy rate of the account item. For each of the multiple types of attribute data, a learning model when added to the input layer x310 and a learning model when added to the intermediate layer y320 are generated, and it is verified which learning model actually has a higher accuracy rate for the account item, thereby determining whether to add each of the multiple types of attribute data to the input layer x310 or the intermediate layer y320. The learning model generation unit 106 may add each of the multiple types of attribute data to the input layer x310 or the intermediate layer y320 according to the determination.
[0054] Fig. 5 is an explanatory diagram for conceptually explaining the learning model 300. The following mainly describes the differences from Fig. 4. In this example, the learning model generation unit 106 applies a weight to the attribute data that is different from that to the summary.
[0055] In the example shown in Figure 5, the weight of the summary is 1, while a weight α is applied to the attribute data. By setting α smaller than 1, the influence of the attribute data can be reduced compared to the summary, and by setting α larger than 1, the influence of the attribute data can be increased compared to the summary.
[0056] The learning model generation unit 106 may apply such weights to both the input layer x 310 and the intermediate layer y 320. The learning model generation unit 106 may apply such weights to only one of the input layer x 310 and the intermediate layer y 320. The learning model generation unit 106 may use different weights for each type of attribute data.
[0057] 6 is a diagram for conceptually explaining step-by-step learning. In the first learning, the learning model generation unit 106 inputs only the summary 302 to the input layer x310 and calculates the weighting matrix W in In the second learning, the learning model generation unit 106 learns the weight matrix W in 314 is fixed, and the weight matrix W corresponding to the attribute data is in In this way, by learning the part corresponding to the summary 302 first, the effect of the summary 302 can be prioritized.
[0058] 7 illustrates an example of the functional configuration of the accounting data conversion device 200. The accounting data conversion device 200 includes a learning model acquisition unit 202, a learning model storage unit 204, a transaction data acquisition unit 206, an attribute data acquisition unit 208, an item selection unit 210, an accounting data generation unit 212, and an accounting data output unit 214.
[0059] The learning model acquisition unit 202 acquires a learning model that takes abstracts and attribute data as input and outputs account items. The learning model acquisition unit 202 may acquire the learning model from the learning device 100. The learning model acquisition unit 202 may acquire the learning model from a source other than the learning device 100. The learning model storage unit 204 stores the learning model acquired by the learning model acquisition unit 202.
[0060] The transaction data acquisition unit 206 acquires transaction data. The transaction data acquisition unit 206 may acquire transaction data from which an account item is to be inferred. The transaction data acquisition unit 206 acquires transaction data, for example, from the business service providing device 20. The transaction data acquisition unit 206 acquires transaction data, for example, from the communication terminal 80.
[0061] The attribute data acquisition unit 208 acquires attribute data corresponding to the transaction data acquired by the transaction data acquisition unit 206. The attribute data acquisition unit 208 may acquire multiple types of attribute data. The attribute data acquisition unit 208 acquires the attribute data, for example, from the business service providing device 20. The attribute data acquisition unit 208 acquires the attribute data, for example, from the communication terminal 80. The attribute data acquisition unit 208 acquires the attribute data from the transaction data acquired by the transaction data acquisition unit 206, for example.
[0062] As a specific example, the attribute data acquisition unit 208 may acquire at least one of the transaction date, customer, tax category, amount, income or expenditure, and consumption tax amount from the transaction data. The attribute data acquisition unit 208 may also acquire transaction-related data from the business service providing device 20 or the communication terminal 80. The attribute data acquisition unit 208 may also acquire source data from the business service providing device 20 or the communication terminal 80. The attribute data acquisition unit 208 may also acquire transaction-related data from the business service providing device 20 or the communication terminal 80. The attribute data acquisition unit 208 may also acquire user-related data from the business service providing device 20 or the communication terminal 80. The attribute data acquisition unit 208 may also acquire transaction data-related data from the business service providing device 20.
[0063] The account selection unit 210 selects an account item corresponding to the transaction indicated by the transaction data acquired by the transaction data acquisition unit 206. The account selection unit 210 may select an account item corresponding to the transaction data based on a summary included in the transaction data acquired by the transaction data acquisition unit 206 and attribute data acquired by the attribute data acquisition unit 208.
[0064] The account selection unit 210 may select an account item using a learning model stored in the learning model storage unit 204. The account selection unit 210 may input the abstract included in the transaction data acquired by the transaction data acquisition unit 206 and the attribute data acquired by the attribute data acquisition unit 208 to the learning model stored in the learning model storage unit 204, and select an account item output from the learning model. The account selection unit 210 may input the abstract included in the transaction data acquired by the transaction data acquisition unit 206 and the attribute data acquired by the attribute data acquisition unit 208 to a learning model generated by machine learning using the abstract, the attribute data, and the account item, and select an account item output from the learning model. The account selection unit 210 may input the abstract, the subject attribute, and the transaction attribute to the learning model. The account selection unit 210 may input the abstract and the subject attribute to the learning model. The account selection unit 210 may input the abstract and the transaction attribute to the learning model.
[0065] The subject selection unit 210 may input designated attribute data from among multiple types of attribute data to the learning model. The subject selection unit 210 may select attribute data to be input to the learning model from multiple types of attribute data, and input the selected attribute data to the learning model. The subject selection unit 210 selects, for example, at least one of the business type of the transaction subject, business form identification data, income / expense identification data, the number of digits of the transaction amount, the origin of the transaction, and the tax classification of the transaction. These data have a relatively large influence on the selection of account subjects, and by using these data, the accuracy rate of the account subjects can be improved.
[0066] When multiple types of attribute data are used, the account selection unit 210 may give some attribute data a higher priority than other attribute data. Examples of attribute data that may be given a higher priority include the business type of the transaction subject, business form identification data, income / expense identification data, the number of digits in the transaction amount, the origin of the transaction, and the tax classification of the transaction. These data have a relatively large influence on the selection of account items, and by giving them a higher priority, the accuracy rate of the account items can be improved.
[0067] The subject selection unit 210 may apply a weight different from that of the abstract to the attribute data and input it to the learning model. The number of dimensions of information that is the subject of natural language processing, such as the abstract, and information that is not the subject of natural language processing, such as the attribute data, may differ greatly, but by applying a weight different from that of the abstract to the attribute data, it is possible to balance them.
[0068] When applying weights to attribute data, the subject selection unit 210 may apply different weights to the subject attributes and the transaction attributes. This makes it possible to perform inference that prioritizes one of the subject attributes and the transaction attributes over the other, for example.
[0069] The item selection unit 210 may apply different weights to each of the multiple types of data included in the attribute data. For example, the item selection unit 210 may apply different weights to each of the multiple types of data included in the subject attribute and the multiple types of data included in the transaction attribute.
[0070] The account selection unit 210 may select an account item corresponding to the transaction data further based on whether to select a debit account item or a credit account item. In this case, the account selection unit 210 may input the debit data to the learning model in addition to the summary and attribute data. The account selection unit 210 may select whether to select a debit account item or a credit account item according to, for example, an instruction from the user 82. The account selection unit 210 may select whether to select a debit account item or a credit account item based on the attribute data acquired by the attribute data acquisition unit 208. For example, the account selection unit 210 selects whether to select a debit account item or a credit account item according to the import source data. As a specific example, when the import source data indicates Internet banking, the account selection unit 210 selects a credit account item in the case of an income transaction, and selects a debit account item in the case of an expenditure transaction. The PL (Profit and Loss statement) item is mainly the subject of inference. Also, for example, when the transaction data indicates POS, the item selection unit 210 selects the debit account item in the case of an income transaction, and selects the credit account item in the case of an expenditure transaction. BS (Balance Sheet) items are mainly inferred.
[0071] When inputting multiple types of attribute data to the learning model, the subject selection unit 210 may input the data in a manner that reflects the correlation between the multiple types of attribute data. For example, for attribute data A representing ON or OFF and attribute data B representing ON or OFF, the subject selection unit 210 inputs data representing the XOR of attribute data A and attribute data B to the learning model.
[0072] When the learning model storage unit 204 stores the abstract learning model and the attribute learning model, the item selection unit 210 may use the abstract learning model and the attribute learning model. For example, the item selection unit 210 inputs the abstract included in the transaction data acquired by the transaction data acquisition unit 206 into the application learning model, inputs the account item output from the abstract learning model and the attribute data acquired by the attribute data acquisition unit 208 into the attribute learning model, and selects an account item corresponding to the transaction data based on the account item output from the attribute learning model. For example, the item selection unit 210 selects an account item with a higher degree of accuracy from among the account items output from the abstract learning model and the account items output from the attribute learning model. For example, the item selection unit 210 may weight the accuracy of the account item output from the abstract learning model and the account item output from the attribute learning model differently, and then select the account item with a higher degree of accuracy. This makes it possible to perform inference that emphasizes either the abstract or the attribute data.
[0073] The accounting data generation unit 212 generates accounting data corresponding to the transaction data acquired by the transaction data acquisition unit 206. The accounting data generation unit 212 generates accounting data including the account item selected by the item selection unit 210.
[0074] The accounting data output unit 214 outputs the accounting data generated by the accounting data generation unit 212. The accounting data output unit 214 may output the accounting data to the accounting service providing device 30. The accounting data output unit 214 may output the accounting data to the communications terminal 80.
[0075] 8 shows an example of the flow of processing by the accounting data conversion device 200. Here, the flow of processing will be described when generating accounting data corresponding to each of a plurality of transaction data.
[0076] In S202, the transaction data acquisition unit 206 acquires transaction data. In S204, the attribute data acquisition unit 208 acquires attribute data corresponding to the transaction data acquired by the transaction data acquisition unit 206 in S202.
[0077] In S206, the item selection unit 210 inputs the summary included in the transaction data acquired by the transaction data acquisition unit 206 in S202 and the attribute data acquired by the attribute data acquisition unit 208 in S204 into the learning model, and selects the account item output from the learning model. In S208, the accounting data generation unit 212 generates accounting data that corresponds to the transaction data acquired by the transaction data acquisition unit 206 in S202 and includes the account item selected by the item selection unit 210 in S208.
[0078] If generation of accounting data for all target transaction data has been completed (YES in S210), proceed to S212, otherwise return to S202 (NO in S210). In S212, the accounting data output unit 214 outputs the generated accounting data to the accounting service providing device 30.
[0079] 9 is a schematic diagram showing an example of a hardware configuration of a computer 1200 functioning as the learning device 100 or the accounting data conversion device 200. A program installed in the computer 1200 can cause the computer 1200 to function as one or more "parts" of the device according to the present embodiment, or cause the computer 1200 to execute operations or one or more "parts" associated with the device according to the present embodiment, and / or cause the computer 1200 to execute a process or a step of the process according to the present embodiment. Such a program may be executed by the CPU 1212 to cause the computer 1200 to execute specific operations associated with some or all of the blocks of the flowcharts and block diagrams described herein.
[0080] The computer 1200 according to this embodiment includes a CPU 1212, a RAM 1214, and a graphics controller 1216, which are connected to each other by a host controller 1210. The computer 1200 also includes input / output units such as a communication interface 1222, a storage device 1224, a DVD drive 1226, and an IC card drive, which are connected to the host controller 1210 via an input / output controller 1220. The DVD drive 1226 may be a DVD-ROM drive, a DVD-RAM drive, or the like. The storage device 1224 may be a hard disk drive, a solid state drive, or the like. The computer 1200 also includes a legacy input / output unit such as a ROM 1230 and a keyboard, which are connected to the input / output controller 1220 via an input / output chip 1240.
[0081] The CPU 1212 operates according to a program stored in the ROM 1230 and the RAM 1214, thereby controlling each unit. The graphic controller 1216 acquires image data generated by the CPU 1212 into a frame buffer or the like provided in the RAM 1214 or into itself, and causes the image data to be displayed on the display device 1218.
[0082] The communication interface 1222 communicates with other electronic devices via a network. The storage device 1224 stores programs and data used by the CPU 1212 in the computer 1200. The DVD drive 1226 reads programs or data from a DVD-ROM 1227 or the like and provides the programs or data to the storage device 1224. The IC card drive reads programs and data from an IC card and / or writes programs and data to an IC card.
[0083] The ROM 1230 stores therein a boot program or the like that is executed by the computer 1200 upon activation, and / or a program that depends on the hardware of the computer 1200. The input / output chip 1240 may also connect various input / output units to the input / output controller 1220 via a USB port, a parallel port, a serial port, a keyboard port, a mouse port, and the like.
[0084] The programs are provided by a computer-readable storage medium such as a DVD-ROM 1227 or an IC card. The programs are read from the computer-readable storage medium, installed in the storage device 1224, the RAM 1214, or the ROM 1230, which are also examples of computer-readable storage media, and executed by the CPU 1212. Information processing described in these programs is read by the computer 1200, and brings about cooperation between the programs and the various types of hardware resources described above. An apparatus or method may be constructed by implementing operations or processing of information according to the use of the computer 1200.
[0085] For example, when communication is performed between the computer 1200 and an external device, the CPU 1212 may execute a communication program loaded in the RAM 1214 and instruct the communication interface 1222 to perform communication processing based on the processing described in the communication program. Under the control of the CPU 1212, the communication interface 1222 reads transmission data stored in a transmission buffer area provided in the RAM 1214, the storage device 1224, the DVD-ROM 1227, or a recording medium such as an IC card, and transmits the read transmission data to a network, or writes reception data received from the network to a reception buffer area or the like provided on the recording medium.
[0086] Furthermore, the CPU 1212 may cause all or a necessary portion of a file or database stored in an external recording medium such as the storage device 1224, the DVD drive 1226 (DVD-ROM 1227), an IC card, etc. to be read into the RAM 1214, and perform various types of processing on the data on the RAM 1214. The CPU 1212 may then write back the processed data to the external recording medium.
[0087] Various types of information, such as various types of programs, data, tables, and databases, may be stored in the recording medium and undergo information processing. The CPU 1212 may perform various types of processing on the data read from the RAM 1214, including various types of operations, information processing, conditional judgment, conditional branching, unconditional branching, information search / replacement, etc., as described throughout this disclosure and specified by the instruction sequence of the program, and write back the results to the RAM 1214. The CPU 1212 may also search for information in a file, database, etc. in the recording medium. For example, when a plurality of entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored in the recording medium, the CPU 1212 may search for an entry whose attribute value of the first attribute matches a specified condition from among the plurality of entries, read the attribute value of the second attribute stored in the entry, and thereby obtain the attribute value of the second attribute associated with the first attribute that satisfies a predetermined condition.
[0088] The above-described programs or software modules may be stored in a computer-readable storage medium on the computer 1200 or in the vicinity of the computer 1200. In addition, a recording medium such as a hard disk or a RAM provided in a server system connected to a dedicated communication network or the Internet can be used as a computer-readable storage medium, thereby providing the programs to the computer 1200 via the network.
[0089] The blocks in the flowcharts and block diagrams in the present embodiment may represent stages of a process in which an operation is performed or "parts" of an apparatus responsible for performing the operation. Particular stages and "parts" may be implemented by dedicated circuitry, programmable circuitry provided with computer-readable instructions stored on a computer-readable storage medium, and / or a processor provided with computer-readable instructions stored on a computer-readable storage medium. The dedicated circuitry may include digital and / or analog hardware circuits, and may include integrated circuits (ICs) and / or discrete circuits. The programmable circuitry may include reconfigurable hardware circuits, such as, for example, field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), and the like, including AND, OR, XOR, NAND, NOR, and other logical operations, flip-flops, registers, and memory elements.
[0090] A computer-readable storage medium may include any tangible device capable of storing instructions that are executed by a suitable device, such that a computer-readable storage medium having instructions stored thereon comprises an article of manufacture that includes instructions that can be executed to create means for performing the operations specified in the flowcharts or block diagrams. Examples of computer-readable storage media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer-readable storage media may include floppy disks, diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), electrically erasable programmable read-only memories (EEPROMs), static random access memories (SRAMs), compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), Blu-ray disks, memory sticks, integrated circuit cards, and the like.
[0091] The computer readable instructions may include either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk®, JAVA®, C++, etc., and conventional procedural programming languages such as the “C” programming language or similar programming languages.
[0092] Computer readable instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, or to a programmable circuit, either locally or over a local area network (LAN), a wide area network (WAN), such as the Internet, etc., to cause the processor of the general purpose computer, special purpose computer, or other programmable data processing apparatus, or to a programmable circuit, to execute the computer readable instructions to generate means for performing the operations specified in the flowcharts or block diagrams. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, etc.
[0093] Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is clear to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the claims that such modifications and improvements can also be included in the technical scope of the present invention.
[0094] It should be noted that the order of execution of each process, such as operations, procedures, steps, and stages, in the devices, systems, programs, and methods shown in the claims, specifications, and drawings is not specifically stated as "before" or "prior to," and that the process may be performed in any order unless the output of a previous process is used in a later process. Even if the operational flow in the claims, specifications, and drawings is described using "first," "next," and the like for convenience, this does not mean that the process must be performed in this order. [Explanation of symbols]
[0095] 10 accounting management system, 20 business service providing device, 30 accounting service providing device, 50 network, 80 communication terminal, 82 user, 100 learning device, 102 data acquisition unit, 104 learning data storage unit, 106 learning model generation unit, 108 learning model transmission unit, 200 accounting data conversion device, 202 learning model acquisition unit, 204 learning model storage unit, 206 transaction data acquisition unit, 208 attribute data acquisition unit, 210 subject selection unit, 212 accounting data generation unit, 214 accounting data output unit, 300 learning model, 310 input layer, 320 intermediate layer, 330 output layer, 1200 computer, 1210 host controller, 1212 CPU, 1214 RAM, 1216 graphic controller, 1218 display device, 1220 input / output controller, 1222 communication interface, 1224 Storage devices, 1226 DVD drives, 1227 DVD-ROMs, 1230 ROMs, 1240 I / O chips
Claims
1. a transaction data acquisition unit that acquires transaction data including a summary of the transaction; an account selection unit that selects an account corresponding to the transaction data based on the summary included in the transaction data and attribute data including at least one of an attribute of the subject of the transaction and an attribute of the transaction; an accounting data generation unit that generates accounting data corresponding to the transaction data, including the account item selected by the account item selection unit; An accounting data conversion device comprising:
2. A learning model storage unit that stores a learning model that receives a transaction summary and attribute data, the learning model having the transaction summary, an account title corresponding to the transaction, and attribute data including at least one of the subject attribute and the transaction attribute of the transaction, as input and outputs the account title corresponding to the transaction. Equipped with The accounting data conversion device of claim 1, wherein the item selection unit inputs the summary and the attribute data contained in the transaction data acquired by the transaction data acquisition unit into the learning model stored in the learning model memory unit, and selects the account item output from the learning model.
3. a learning data storage unit that stores learning data having a summary of a transaction, an account title corresponding to the transaction, and attribute data including at least one of a subject attribute of the transaction and a transaction attribute; a learning model generation unit that receives, as input, a transaction summary and attribute data including at least one of a subject attribute of the transaction and a transaction attribute, based on the learning data stored in the learning data storage unit, and generates the learning model that outputs an account item corresponding to the transaction; Further comprising: The accounting data conversion device according to claim 2 , wherein the learning model storage unit stores the learning model generated by the learning model generation unit.
4. The accounting data conversion device of claim 3, wherein the learning model generation unit generates the learning model by updating parameters of a natural language processing model using summaries of the transactions included in the learning data, and then updating parameters of the natural language processing model using the attribute data included in the learning data.
5. The accounting data conversion device according to claim 2 , wherein the subject selection unit applies a weighting to the attribute data that is different from that to the abstract and inputs the attribute data to the learning model.
6. The accounting data conversion device according to claim 2 , wherein the subject selection unit inputs a plurality of types of the attribute data and correlations between the plurality of types of the attribute data into the learning model.
7. The accounting data conversion device according to claim 1 , wherein the entity attributes include at least one of the business type of the entity of the transaction and business form identification data indicating whether the entity of the transaction is a sole proprietor or a corporation.
8. The accounting data conversion device according to any one of claims 1 to 6, wherein the transaction attributes include at least one of income / expense identification data indicating whether the transaction is income or expenditure, the number of digits in the amount of the transaction, the origin of the transaction, and the tax classification of the transaction.
9. An accounting data conversion device as described in any one of claims 1 to 5, wherein the account selection unit selects the account corresponding to the transaction data further based on whether a debit account item or a credit account item is selected.
10. Computer, a transaction data acquisition unit for acquiring transaction data including a summary of the transaction; an account selection unit that selects an account corresponding to the transaction data based on the summary included in the transaction data and attribute data including at least one of an attribute of the subject of the transaction and an attribute of the transaction; an accounting data generation unit that generates accounting data corresponding to the transaction data, including the account item selected by the account item selection unit; A program to function as a
11. 1. A computer-implemented method for converting accounting data, comprising: A transaction data acquisition stage for acquiring transaction data including a summary of the transaction; an item selection step of selecting an account item corresponding to the transaction data based on the summary included in the transaction data and attribute data including at least one of an attribute of the subject of the transaction and an attribute of the transaction; an accounting data generation step of generating accounting data corresponding to the transaction data, including the account items selected in the item selection step; The accounting data conversion method includes:
12. a learning data storage unit that stores learning data having a summary of a transaction, an account title corresponding to the transaction, and attribute data including at least one of a subject attribute of the transaction and a transaction attribute; a model generation unit that generates a learning model that receives a summary of a transaction and attribute data including at least one of an attribute of a subject of the transaction and an attribute of the transaction based on the learning data stored in the learning data storage unit, and outputs an account item corresponding to the transaction; A learning device comprising:
13. Computer, a learning data storage unit that stores learning data having a summary of a transaction, an account title corresponding to the transaction, and attribute data including at least one of a subject attribute of the transaction and a transaction attribute; and a model generation unit that generates a learning model that receives, as input, a transaction summary and attribute data including at least one of a subject attribute of the transaction and a transaction attribute, based on the learning data stored in the learning data storage unit, and outputs an account item corresponding to the transaction. A program to function as a
14. 1. A computer-implemented method of learning, comprising: a storage step of storing learning data in a learning data storage unit, the learning data including a summary of a transaction, an account title corresponding to the transaction, and attribute data including at least one of an attribute of a subject of the transaction and an attribute of the transaction; a model generation step of generating a learning model that receives a transaction summary and attribute data including at least one of a subject attribute of the transaction and a transaction attribute based on the learning data stored in the learning data storage unit, and outputs an account item corresponding to the transaction; A learning method that provides:
Citation Information
Patent Citations
Accounting processing system, accounting processing method and accounting processing program
JP2018116566A
Journalizing rule creation support device, journalizing rule creation support method, and journalizing rule creation support program
JP2019191749A
Trust business support server, trust business support method, and trust business support program
JP7130293B1
Automatic journalizing device, accounts processing device, accounts processing system, accounts processing method, and accounts processing program
WO2018189825A1
