EP4619906A1 - Framework for refining machine learning model from pre-trained base model - Google Patents
Framework for refining machine learning model from pre-trained base modelInfo
- Publication number
- EP4619906A1 EP4619906A1 EP23892324.7A EP23892324A EP4619906A1 EP 4619906 A1 EP4619906 A1 EP 4619906A1 EP 23892324 A EP23892324 A EP 23892324A EP 4619906 A1 EP4619906 A1 EP 4619906A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- model
- access
- training
- books
- requestor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0475—Generative networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/0895—Weakly supervised learning, e.g. semi-supervised or self-supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/09—Supervised learning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/096—Transfer learning
Definitions
- Machine learning is an area of artificial intelligence (Al) where computers have the capability to learn without being explicitly programmed.
- ML techniques including supervised learning techniques, unsupervised learning techniques, and others.
- a supervised learning technique an ML model is created and trained using training data, where the training data includes multiple training examples, each training example including an input and a known output corresponding to the input.
- An input can include one or multiple features.
- the model being trained learns a function that maps the inputs in the training data to their corresponding known outputs. After a model has been adequately trained using the training data, it can then be used for making output predictions for new inputs where the outputs are not known. This is often referred to as the inferencing phase.
- Models trained using supervised learning techniques are typically used to solve two types of tasks: a classification task or a regression task.
- a classification task as a part of the training, a model learns a function that maps an input to an output value, where the output value is from a discrete set of classes (or class labels). Accordingly, in a classification problem, the model learns to map an input to one or more of the classes in a set of discrete classes.
- the model learns a function that maps inputs to continuous output values (e.g., continuous real numbers).
- Typical models are trained for specific use cases. Examples of the use cases include determining (approval or decline) on transaction authorization, flagging fraud transaction, clearing amount and delay prediction, etc.
- the models may use the same information regarding the same transaction, the same user, the same merchant, etc., they are built separately for each use case and are executed separately for each use case. Because each model is developed independently with little reuse across models, the costs are increased and computational resources are not used efficiently.
- Embodiments of the present disclosure provide systems, methods, and apparatuses for addressing the above problems through the generation of a single pre-trained base model that allows knowledge-sharing across different use cases, easy adaptation to new use case(s) with minimal resource engagement, and shorter development and deployment cycle.
- Embodiments of the disclosure can use historical access requests and their outcomes, for a plurality of use cases, to generate base training data, and use base training data to generate a single base model capable of predicting outcomes for the plurality of use cases.
- the base model may be further trained to develop refined model(s) for different use cases or new use cases.
- Some embodiments of the present disclosure include a method performed by one or more processors of a computer system.
- a plurality of historical access requests for one or more resources are received from a plurality of requestors, each historical access request of the plurality of historical access requests including access information about a requestor of the historical access request, an access context, and access outcomes for access states of the historical access request.
- Base training data is generated in a text format using the plurality of historical access requests, the base training data in the text format being arranged in a plurality of requestor books, where each of the plurality of requestor books corresponds to a set of historical access requests associated with an account of a respective requestor of the plurality of requestors and includes a plurality of paragraphs, each of the plurality of paragraphs corresponding to a respective historical access request from the set and including access context and access outcomes for access states associated with the respective historical access request among a plurality of access states.
- a model of a predetermined architecture is trained using the base training data to generate a base model that predicts a part of a paragraph based on other parts of the paragraph.
- Labels for a plurality of group books are obtained, each of the plurality of group books including paragraphs from requestor books associated with a same entity among the plurality of requestor books, the labels indicating a security state of access requests included in the plurality of group books.
- Classification training data is generated using the labels and the plurality of group books.
- refinement training on the base model is performed using the classification training data, to generate a refined model that classifies security states of the plurality of group books, respectively.
- FIG. 1 shows a resource security system for authorizing access to resources, in accordance with some embodiments of the present invention.
- FIG. 2 shows a block diagram of an exemplary model training system, in accordance with some embodiments of the present invention.
- FIG. 3 shows an example of requestor books, in accordance with some embodiments of the present invention.
- FIG. 4 shows an exemplary content of a paragraph, in accordance with some embodiments of the present invention.
- FIG. 5 shows an example of annotated data, according to embodiments of the present invention.
- FIG. 6 shows an example of annotated data, according to embodiments of the present invention.
- FIG. 7 shows an exemplary flowchart of a method, according to embodiments of the present invention.
- FIG. 8 shows an exemplary flowchart of a method, according to embodiments of the present invention.
- FIG. 9 shows an exemplary flowchart of a method, according to embodiments of the present invention.
- FIG. 10 shows an exemplary flowchart of a method, according to embodiments of the present invention.
- FIG. 11 shows a block diagram of an exemplary computer apparatus, in accordance with some embodiments of the present invention.
- the term “resource” generally refers to any asset that may be used or consumed.
- the resource may be an electronic resource (e.g., stored data, received data, a computer account, a network-based account, an email inbox), a physical resource (e.g., a tangible object, a building, a safe, or a physical location), or other electronic communications between computers (e.g., a communication signal corresponding to an account for performing a transaction).
- a physical resource can be a physical object.
- resource provider may refer to an entity that can provide resources such as goods, services, information, and/or access. Examples of a resource provider includes merchants, access devices, secure data access points, etc.
- a “merchant” may typically be an entity that engages in transactions and can sell goods or services, or provide access to goods or services.
- the term “access request” (also referred to as an “authentication request”) generally refers to a request to access a resource.
- the access request may be received from a requesting computer, a user device, or a resource computer, for example.
- the access request may include authentication information (also referred to as authorization information), such as a username, resource identifier (ID), or password.
- the access request may also include and access request parameters, such as an access request identifier, a resource identifier, a timestamp, a date, a device or computer identifier, a geo-location, or any other suitable information.
- a real-time access request occurs when access to a resource is desired at the time the request is made. In such situations, it is desirable to provide a quick determination for whether to provide access to the resource.
- the term “access result” generally refers to an outcome of an access request.
- the access result may be received from a resource computer or an access server.
- the access result may include all of the elements of the access request.
- the access result may include authentication information (also referred to as authorization information), such as a username, resource identifier, or password.
- the access result may also include access request parameters, such as an access request identifier, a resource identifier, a timestamp, a date, a device or computer identifier, a geo-location, or any other suitable information.
- the access result may include an evaluation score, or any suitable means of determination, for whether the access request was accepted (e.g., indicated by a positive evaluation score) or denied (e.g., indicated by a negative evaluation score). For example, if the access result includes a positive evaluation score or determination, the user is granted access to the resource. Similarly, if the access result includes a negative evaluation score or determination, the resource computer denies access to the resource.
- the term “access result values” generally refers to possible outcomes of an access request, e.g., acceptances, rejections, fraud, and review.
- the set of outcomes determine whether or not access to the resource was granted to a user.
- the access result values can be counted to provide a set of counts of access results.
- the access result values can include a count for accepted access results, a count for rejected access results, a count for fraudulent access results, and a count for access results that need to be reviewed.
- the access result values may be included within historical access result data and used by a detector to generate a measure of approval for an access request.
- the term “access rule” may include any procedure or definition used to determine an access rule outcome for an access request based on certain criteria.
- the rule may include one or more rule conditions and an associated rule outcome.
- a “rule condition” may specify a logical expression describing the circumstances under which the outcome is determined for the rule.
- a condition of the access rule may involve authentication information, as well as request parameters. For example, the authentication information can be required to sufficiently correspond to information categorized as legitimate, e.g., based on a match to critical nodes of a data structure and/or to a sufficient number of nodes.
- a condition can require a specific parameter value, a parameter value to be within a certain range, a parameter value being above or below a threshold, or any combination thereof.
- server computer may include a powerful computer or cluster of computers.
- the server computer can be a large mainframe, a minicomputer cluster, or a group of computers functioning as a unit.
- the server computer may be a database server coupled to a web server.
- the server computer may be coupled to a database and may include any hardware, software, other logic, or combination of the preceding for servicing the requests from one or more other computers.
- the term “computer system” may generally refer to a system including one or more server computers coupled to one or more databases.
- memory may refer to any suitable device or devices that may store electronic data.
- a suitable memory may include a non-transitory computer-readable medium that stores instructions that can be executed by a processor to implement a desired method. Examples of memories include one or more memory chips, disk drives, etc. Such memories may operate using any suitable electrical, optical, and/or magnetic mode of operation.
- processor may refer to any suitable data computation device or devices.
- a processor may include one or more microprocessors working together to accomplish a desired function.
- the processor may include a CPU that includes at least one high-speed data processor adequate to execute program components for executing user and/or system generated requests.
- the CPU may be a microprocessor such as AMD’s Athlon, Duron and/or Opteron; IBM and/or Motorola’s PowerPC; IBM’s and Sony’s Cell processor; Intel’s Celeron, Itanium, Pentium, Xenon, and/or XScale; and/or the like processor(s).
- classification may refer to a process by which something (such as a data value, feature vector, etc.) is associated with a particular class of things. For example, an image can be classified as being an image of a dog. “Anomaly detection” can refer to a classification process by which something is classified as being normal or an anomaly. An “anomaly” may refer to something that is unusual, infrequently observed, or undesirable. For example, an anomaly may be a data breach, a compromised account, a fraudulent activity, etc. Classification and anomaly detection can be carried out using a machine learning model.
- classifier typically refers to a machine learning model that produces classifications corresponding to input data.
- a binary classifier produces one of two classifications for an input, such as normal or anomalous (e.g., fraudulent).
- machine learning model may refer to a program, file, method, or process, used to perform some function on data, based on knowledge “learned” during a training phase.
- a machine learning model can be used to classify feature vectors as normal or anomalous.
- supervised learning during a training phase, a machine learning model can learn correlations between features contained in feature vectors and associated labels. After training, the machine learning model can receive unlabeled feature vectors and generate the corresponding labels. For example, during training, a machine learning model can evaluate labeled images of dogs, then after training, the machine learning model can evaluate unlabeled images, in order to determine if those images are of dogs.
- Machine learning models may be defined by “parameter sets,” including “parameters,” which may refer to numerical or other measurable factors that define a system (e.g., the machine learning model) or the condition of its operation.
- training a machine learning model may include identifying the parameter set that results in the best performance by the machine learning model. This can be accomplished using a “loss function,” which may refer to a function that relates a model parameter set to a “loss value” or “error value,” a metric that relates the performance of a machine learning model to its expected or desired performance.
- entities may include things with distinct and independent existence.
- entities may include people, organizations (e.g., partnerships and businesses), computers, and computer networks, among others.
- An entity can communicate or interact with its environment. Further, an entity can operate, interface, or interact with a computer or computer network during the course of its existence.
- the term “authorization request message” may be an electronic message that is sent to request authorization for a transaction.
- the authorization request message can be sent to a payment processing network and/or an issuer of a payment card.
- An authorization request message may comply with ISO 8583, which is a standard for systems that exchange electronic transaction information associated with a payment made by a user using a payment device or payment account. Other standard message formats may include ISO 20022 as well as blockchain message format.
- the authorization request message may include information that can be used to identify an account.
- An authorization request message may also include additional data elements such as one or more of a service code, an expiration date, etc.
- An authorization request message may also include transaction information, such as any information associated with a current transaction, such as the transaction amount, merchant identifier, merchant location, etc., as well as any other information that may be utilized in determining whether to identify and/or authorize a transaction.
- the term “authorization response message” refers to an electronic message reply to an authorization request message.
- the authorization response message can be generated by an issuing financial institution or a payment processing network.
- the authorization response message may include, by way of example only, one or more of the following status indicators: Approval — transaction was approved; Decline — transaction was not approved; or Call Center — response pending more information, merchant must call the toll-free authorization phone number.
- the authorization response message may also include an authorization code, which may be a code that a credit card issuing bank returns in response to an authorization request message in an electronic message (either directly or through the payment processing network) to the merchant computer that indicates approval of the transaction. The code may serve as proof of authorization.
- the term “payment processing network” may include data processing subsystems, networks, and operations used to support and deliver authorization services, exception file services, and clearing and settlement services.
- the payment processing network may use any suitable wired or wireless network, including the Internet.
- the term “acquirer” refers to a business entity (e.g., a commercial bank) that has a business relationship with a particular merchant or other entity. Some entities can perform both issuer and acquirer functions. Some embodiments may encompass such single entity issuer-acquirers.
- authorizing entity refers to an entity that authorizes an access request.
- Examples of an authorizing entity may be an issuer, a governmental agency, a document repository, an access administrator, etc.
- issuer refers to a business entity (e.g., a bank) that maintains an account for a user.
- An issuer may also issue payment credentials stored on a user device, such as a cellular telephone, smart card, tablet, or laptop to the consumer.
- the term “clearing” refers to the settlement of the transaction.
- the merchant collects all the authorization messages that have been processed and approved throughout the day, generates a package, and sends over to acquirer and to the payment processing network.
- a determination is made whether to proceed with the clearing of the transaction. If the clearing is approved, the money is taken out of consumer’s account and sent to the merchant’s account. Accordingly, a clearing message is generated.
- a clearing process is a process of exchanging financial details between an acquirer and an authorizing entity to facilitate posting to a user's payment account and reconciliation of the user's settlement position. For example, the clearing may be approved or declined based on a value of the fraud risk score.
- chargeback refers to a demand by an issuer for a merchant to make good on the loss on a fraudulent or disputed transaction.
- Embodiments can provide a single base model trained and refined for various use cases.
- Embodiments of the disclosure can use historical access requests and their outcomes, for a plurality of use cases, to generate base training data, and use base training data to generate a single base model capable of predicting outcomes for the plurality of use cases.
- the base model may be further trained to develop refined model(s) for different use cases or new use cases.
- the base training data is arranged into a book for each entity, e.g., account, merchant, acquirer, etc.
- the training may involve multiple stages.
- the base model may be trained based on historical access requests (e.g., historical transaction data) that are arranged in books and converted to text, to predict the outcomes for the “primary” use cases including transaction authorization, clearing, refund, chargeback, and fraud.
- the base model trained at the first training stage may be used as an “off-the-shelf’ model for making predictions concerning the outcomes of the life components for one or more access requests for one or more requestors desiring to access one or more resources.
- a second training stage may include training where the base model is extended to be used for other use cases.
- the base model may be trained for predictions regarding an account or a unique ID associated with an entity, e.g., to identify a primary account number (PAN) of the requestor (e.g., a customer), and/or an account of a resource provider (e.g., a merchant), an issuer, an acquirer, etc.
- PAN primary account number
- the enhanced base model is obtained that can be further trained to perform finer specific tasks.
- a third training stage may involve training where the enhanced base model obtained at the second training stage is further trained to obtain a refined model capable of differentiating between fraudulent accounts and honest accounts, or identifying an account that is stolen or being attacked (e.g., compromised by a cyberattack) and an entity that is secure.
- the base model may be further trained at the second training stage, to generate the enhanced base model, for making certain predictions for specific use cases, where it is possible to add any additional new use case models, e.g., sub-models, to the trained enhanced base model, by additionally training the trained enhanced base model using an enhanced base training data corresponding to a new use case.
- the third training stage may be performed to add any additional new use case models, e.g., sub-models, to the trained refined model, by additionally training the trained refined model using classification data corresponding to a new use case.
- adding new cases may be done efficiently and with lower computational resources as compared to the related art where each use case requires training from scratch of a separate model.
- a resource security system may receive requests to access a resource.
- the resource security system may include an access server for determining an outcome for the access request based on access rules. An exemplary resource security system is described in further detail below.
- FIG. 1 shows a resource security system 100 for authorizing access to resources, in accordance with some embodiments.
- the resource security system 100 may be used to provide authorized users (e.g., via authentication) access to a resource while denying access to unauthorized users.
- the resource security system 100 may be used to deny fraudulent access requests that appear to be legitimate access requests of authorized users.
- the resource security system 100 may implement access rules to identify fraudulent access requests based on parameters of the access request. Such parameter may correspond to fields (nodes) of a data structure that is used to distinguish fraudulent access requests from authentic access requests.
- the resource security system 100 includes a resource computer 110.
- the resource computer 110 may control access to a physical resource 118, such as a building or a lockbox, or an electronic resource 116, such as a local computer account, digital files or documents, a network database, an email inbox, a payment account, or a website login.
- the resource computer may be a webserver, an email server, or a server of an account issuer.
- the resource computer 110 may receive an access request from a user 140 via a user device 150 (e.g., a computer or a mobile phone) of the user 140.
- a user device 150 e.g., a computer or a mobile phone
- the resource computer 110 may also receive the access request from the user 140 via a request computer 170 coupled with an access device 160 (e.g., a keypad or a terminal).
- the request computer 170 may be a resource provider.
- the request computer 170 and the resource computer 110 may be the same, wherein the access request from the user 140 is generated directly at the resource computer 110.
- the access device 160 and the user device 150 may include a user input interface such as a keypad, a keyboard, a fingerprint reader, a retina scanner, any other type of biometric reader, a magnetic stripe reader, a chip card reader, a radio frequency identification reader, or a wireless or contactless communication interface, for example.
- the user 140 may input authentication information into the access device 160 or the user device 150 to access the resource. Authentication information may also be provided by the access device 160 and/or the user device 150.
- the authentication information may include, for example, one or more data elements of a username, an account number, a token, a password, a personal identification number, a signature, a digital certificate, an email address, a phone number, a physical address, and a network address.
- the data elements may be labeled as corresponding to a particular field, e.g., that a particular data element is an email address.
- the user device 150 or the request computer 170 may send an access request, including authentication information, to the resource computer 110 along with one or more parameters of the access request.
- the user 140 may enter one or more of an account number, a personal identification number, and password into the access device 160, to request access to a physical resource (e.g., to open a locked security door in order to access a building or a lockbox) and the request computer 170 may generate and send an access request to the resource computer 110 to request access to the resource.
- the user 140 may operate the user device 150 to request that the resource computer 110 provide access to the electronic resource 116 (e.g., a website or a file) that is hosted by the resource computer 110.
- the electronic resource 116 e.g., a website or a file
- the user device 150 may send an access request (e.g., an email) to the resource computer 110 (e.g., an email server) in order to provide data to the electronic resource 116 (e.g., deliver the email to an inbox).
- the user 140 may provide an account number and/or a personal identification number to an access device 160 in order to request access to a resource (e.g., a payment account) for conducting a transaction.
- the resource computer 110 may verify the authentication information of the access request based on information stored at the request computer 170. In other embodiments, the request computer 170 may verify the authentication information of the access request based on information stored at the resource computer 110.
- the resource computer 110 may receive the request substantially in real-time (e.g., account for delays computer processing and electronic communication). Once the access request is received, the resource computer 110 may determine parameters of the access request. In some embodiments, the parameters may be provided by the user device 150 or the request computer 170.
- the parameters may include one or more of: a time that the access request was received, a day of the week that the access request was received, the source-location of the access request, the amount of resources requested, an identifier of the resource being request, an identifier of the user 140, the access device 160, the user device 150, the request computer 170, a location of the user 140, the access device 160, the user device 150, the request computer 170, an indication of when, where, or how the access request is received by the resource computer 110, an indication of when, where, or how the access request is sent by the user 140 or the user device 150, an indication of the requested use of the electronic resource 116 or the physical resource 118, and an indication of the type, status, amount, or form of the resource being requested.
- the request computer 170 or the access server 120 may determine the parameters of the access request.
- the resource computer 110 or the request computer 170 may send the parameters of the access request to the access server 120 in order to determine whether the access request is fraudulent.
- the access server 120 may store one or more access rules 122 for identifying an illegal access request. Each of the access rules 122 may include one or more conditions corresponding to one or more parameters of the access request.
- the access server 120 may determine an access request outcome indicating whether the access request should be accepted (e.g., access to the resource granted), rejected (e.g., access to the resource denied), or reviewed by comparing the access rules 122 to the parameters of the access request as further described below.
- the access server 120 may determine an evaluation score based on outcomes of the access rules. The evaluation score may indicate the risk or likelihood of the access require being fraudulent. If the evaluation score indicates that the access request is likely to be fraudulent, then the access server 120 may reject the access request.
- the access server 120 may send the indication of the access request outcome to the resource computer 110 (e.g., accept, reject, review, accept and review, or reject and review). In some embodiments, the access server 120 may send the evaluation score to the resource computer 110 instead. The resource computer 110 may then grant or deny access to the resource based on the indication of the access request outcome or based on the evaluation score. The resource computer 110 may also initiate a review process for the access request.
- the resource computer 110 may send the indication of the access request outcome to the resource computer 110 (e.g., accept, reject, review, accept and review, or reject and review).
- the access server 120 may send the evaluation score to the resource computer 110 instead.
- the resource computer 110 may then grant or deny access to the resource based on the indication of the access request outcome or based on the evaluation score.
- the resource computer 110 may also initiate a review process for the access request.
- the access server 120 may be remotely accessed by an administrator for configuration.
- the access server 120 may store data in a secure environment and implement user privileges and user role management for accessing different types of stored data.
- user privileges may be set to enable users to perform one or more of the following operations: view logs of received access request, view logs of access request outcomes, enable or disable the execution of the access rules 122, update or modify the access rules 122, change certain access request outcomes. Different privileges may be set for different users.
- the resource computer 110 may store access request information for each access requests that it receives.
- the access request information may include authentication information and/or the parameters of each of the access requests.
- the access request information may also include an indication of the access request outcome for the access request, e.g., whether access request was actually fraudulent or not.
- the resource computer 110 may also store validity information corresponding to each access request.
- the validity information for an access request may be initially based on its access request outcome.
- the validity information may be updated based on whether the access request is reported to be fraudulent.
- the access server 120 or the request computer 170 may store the access request information and the validity information.
- embodiments of the disclosure can use historical access requests and their outcomes, for a plurality of use cases, to generate base training data, and use base training data to generate a single base model capable of predicting outcomes for the plurality of use cases.
- the base model may be further trained to develop refined model(s) for different use cases or new use cases.
- FIG. 2 is a simplified block diagram of a model training system 200 according to certain embodiments.
- the model training system 200 may be implemented using one or more computer systems, each computer system having one or more processors.
- the model training system 200 may include multiple components and subsystems communicatively coupled to each other via one or more communication mechanisms.
- the model training system 200 includes a base training data generation subsystem 210, a base model generation subsystem 212, an enhanced base model generation subsystem 214, and a refined model generation subsystem 218. These subsystems may be implemented as one or more computer systems.
- Model training system 200 shown in FIG. 2 is merely an example and is not intended to unduly limit the scope of embodiments. Many variations, alternatives, and modifications are possible. For example, in some implementations, model training system 200 may have more or fewer subsystems or components than those shown in FIG. 2, may combine two or more subsystems, or may have a different configuration or arrangement of subsystems.
- the model training system 200 and subsystems shown in FIG. 2 may be implemented using one or more computer systems, such as the computer system shown in FIG. 11.
- the model training system 200 also includes a storage subsystem 220 that may store the various data constructs and programs used by the model training system 200.
- the storage subsystem 220 may store historical access requests 222.
- the historical access requests 222 may be stored in other memory storage locations (e.g., different databases) that are accessible to the model training system 200, where these memory storage locations can be local to or remote from the model training system 200.
- the base training data generation subsystem 210 based on the historical access requests 222, the base training data generation subsystem 210 generates a base training data that is used to generate the base model.
- the historical access requests 222 may be historical transaction data collected by a payment processing network over time and made available to the storage subsystem 220 and/or the model training system 200.
- the historical access requests 222 correspond to a plurality of customers, e.g., resource requestors or requestors, and include historical transaction data corresponding to a variety of access requests for a variety of the primary use cases for each of the resource requests.
- the historical transaction data may include sets of access requests from a number of corresponding requestor accounts, e.g., 5 million accounts for one requestor, collected over a time period, e.g., a year. However, this is not intended to be limiting.
- the number of corresponding requestor accounts may be smaller or greater than 5 million accounts for one requestor and may be collected for a time period less or more than a year.
- the primary use cases include access request authorization, clearing, refund, chargeback, and fraud. However, this is not intended to be limiting, and the primary use cases may include fewer or more of the use cases.
- model training system 200 may store data used by the model training system 200 or generated by the model training system 200 as a part of its functioning.
- information identifying various param eter(s), score(s), threshold(s), metric(s), etc. used by or determined by the model training system 200 may be stored in the storage subsystem 220.
- the base training data generation subsystem 210 generates a base training data that is used to generate the base model.
- the base training data generation subsystem 210 receives the historical access requests 222, e.g., tabular data, corresponding to the requestors, and converts the tabular transaction data of the historical access requests 222 into text.
- the base training data generation subsystem 210 provides annotations to the text, and groups the text-based historical access requests by a requestor account.
- One requestor’s account is considered as a requestor book, where the book identifier (ID) is the personal account number (PAN) of the requestor, e.g., the card number. All the historical access requests from the same account are collected and grouped.
- the requestor book is composed of multiple paragraphs. Each access request is a paragraph that represents a term called transaction lifecycle or access request lifecycle. The description of the access request lifecycle in the paragraph starts with an access request context followed by descriptions corresponding to multiple states. The descriptions for each of the states are structured to start with a tag followed by a sentence describing the state outcome.
- the base training data generation subsystem 210 includes an access requests to text converter 224, a sorter 226, and an annotator 228.
- the access requests to text converter 224 receives the historical access requests 222 corresponding to the requestors, and converts the transaction data of the historical access requests 222 into the sentences of the paragraphs in the text format.
- the access requests to text converter 224 extracts information from tabular data corresponding to the historical access requests 222, converts tabular data to plain language, e.g., English, and, by using a template, inserts the converted transaction data into the corresponding fields of the template.
- the sorter 226 sorts the historical access requests by the requestor account so that all of the access requests associated with the same requestor account are arranged as one requestor book. For example, each of the requestor books may have an ID associated with the requestor’s account. Within the book, the access requests are further sorted by a time of event.
- the sorter 226 may be omitted.
- the access requests to text converter 224 may receive the historical access requests 222 as sets of the historical access requests each corresponding to the requestor account, convert the sets of the historical access requests into the paragraphs in the text format, and form the requestor books based on the converted sets of the historical access requests.
- FIG. 3 shows a plurality of requestor books 300 including a first requestor book 301 to an Nth requestor book 302.
- the first requestor book 301 is associated with a PAN of a first requestor and contains text records corresponding to the historical access requests associated the PAN of the first requestor.
- the text records of the first requestor book 301 include a plurality of paragraphs 306, each of the plurality of paragraphs 306 corresponding to a lifecycle of one access request.
- the Nth requestor book 302 is associated with a PAN of an Nth requestor and contains text records corresponding to the historical access requests associated the PAN of the Nth requestor.
- the text records of the Nth requestor book 302 include a plurality of paragraphs 308, each of the plurality of paragraphs 306 corresponding to a lifecycle of one access request.
- Each paragraph of the plurality of paragraphs 306, 308 corresponds to an access request lifecycle and includes a plurality of sentences corresponding to the states of the historical access requests 222.
- FIG. 4 shows an example of description of the states of one of the paragraphs of the requestor book.
- the paragraph 400 may be included in the plurality of paragraphs of one of the plurality of requestor books 300 and corresponds to a lifecycle of one transaction, e.g., a given access request.
- the paragraph 400 includes a plurality of sentences 402, each providing a corresponding description related to an associated access request, e.g., an access request context and/or an outcome or a status of a corresponding state associated with a given access request.
- Examples of the possible states associated with the access request include:
- a first sentence corresponding to access request context 410 may describe an access request context, e.g., a transaction context on the point of sale.
- the first sentence may contain some or all of time, geolocation, amount, terminal type, resource provider ID (e.g., merchant ID), acquirer ID, and issuer ID.
- a second sentence corresponding to an outcome of state 0 (reference numeral 412) may describe an outcome of state 0 associated with the access request. State 0 corresponds to “Authorization Request Response” or “Response.”
- a third sentence corresponding to an outcome of state 1 may describe an outcome of state 1 associated with the access request. State 1 corresponds to “Clearing.”
- a fourth sentence corresponding to an outcome of state 2 may describe an outcome of state 2 associated with the access request. State 2 corresponds to “Refund.”
- a fifth sentence corresponding to an outcome of state 3 may describe an outcome of state 3 associated with the access request. State 3 corresponds to “Chargeback.”
- a sixth sentence corresponding to an outcome of state 4 may describe an outcome of state 4 associated with the access request. State 4 corresponds to “Fraud.”
- the access requests to text converter 224 uses a template to convert the transaction data of the historical access requests 222 into the text sentences.
- the access requests to text converter 224 inserts the transaction data into the fields of the template as shown by characters in bold in FIG. 5.
- the annotator 228 provides annotations to the sentences, e.g., tags or tokens identifying a sentence corresponding to a given state.
- a tag 502 “Context” is provided to a first sentence 504, “The transaction is made 02/04/2022 xx:xx:xx worth $80 USD, type is e-commerce, cross- border, merchant is xyz2635, with acquiring bank Barclay-UK, Issuing bank Chase-USA, local currency Euro, and the credential provided is zip 64398, Expdt 11/25, CW 263.”
- the description in the first sentence provides the context of the access request, e.g., that the transaction is made on this date and at this time, the requested money amount, the type of the transaction (e.g., e-commerce), whether the transaction is domestic or international (e.g., cross-border), the merchant name, the acquiring bank for this merchant, the issuing bank, the type of the local currency, and the requestor’s credentials, e.g., the user- provided zip code, the expiration date, and the CVV of the credit card.
- the type of the transaction e.g., e-commerce
- a tag 510 “Auth Resp” is provided to a second sentence 514, “The transaction is approved with $80 USD in full, with reason issuer-approved.”
- the second sentence 514 corresponds to an outcome of the “Authorization Request Response,” e.g., state 0.
- the issuer receives the authorization request for a resource that is initiated by the requestor, the issuer generates and sends, to the resource provider (e.g., a merchant), the response indicating an issuer determination whether the issuer approves or declines the authorization request.
- the resource provider e.g., a merchant
- the authorization request may be approved or declined based on a value of the fraud risk score.
- a tag 520 “Clearing” is provided to a third sentence 524, “The transaction is cleared on 02/06/2022, worth $82 USD.”
- the third sentence 520 corresponds to an outcome of the state 1. For example, when the transaction is approved, this transaction is later settled.
- the resource provider sends the authorization response regarding an approved transaction to the acquirer and to the issuer.
- a determination is made whether to proceed with the clearing of the transaction. If the clearing is approved, the money is taken out of consumer’s account and sent to the merchant’s account. For example, the clearing may be approved or declined based on a value of the fraud risk score. Accordingly, a clearing message is generated. In an embodiment of FIG.
- the third sentence 524 (e.g., a clearing message) contains an outcome of state 1, e.g., the transaction is cleared two days after the authorization was approved, for the amount of $82. As shown, this amount is different versus the amount that was approved in the authorization stage, e.g., state 0.
- a tag 530 “Refund” is provided to a fourth sentence 534, “The transaction is returned on 02/15/2022, with credit $22 USD.”
- the fourth sentence 534 corresponds to an outcome of the state 2.
- the refund happens when the requestor, e.g., a consumer, returns the purchased item so that the resource provider may provide the credit back to the requestor’s account.
- One of the factors to determine to approve or decline the refund request is a value of the fraud risk score.
- the fourth sentence 534 (e.g., a refund message) contains an outcome of state 2, e.g., the date when the transaction is returned and a value of the return amount.
- a tag 540 “Chargeback” is provided to a fifth sentence 544, “The transaction is chargebacked on 02/25/2022, with credit $60 USD.”
- the fifth sentence 544 corresponds to an outcome of the state 3.
- the chargeback may happen when the issuer decides to charge the money back from the resource provider, to make good on the loss on a fraudulent or disputed transaction, e.g., the issuer finds an abnormality based on a chargeback request of a requestor.
- One of the factors to determine to approve or decline the chargeback request of the requestor is a value of the fraud risk score.
- the fifth sentence 544 (e.g., a chargeback message) contains an outcome of state 3, e.g., the date when the transaction is credited to the requestor’s account and a value of the refund amount.
- a tag 550 “Fraud” is provided to a sixth sentence 554, “The transaction is reported as fraud on 02/26/2022, with amount $60 USD.” As described above, the sixth sentence 554 corresponds to an outcome of the state 4. The fraud detection is applicable to states 0 to 3 and the value of the fraud risk score is used to determine a transaction abnormality. In an embodiment of FIG. 5, the sixth sentence 554 (e.g., a fraud message) contains an outcome of state 4, e.g., the date when the transaction is reported as fraud and a value of the fraudulent amount.
- FIG. 6 depicts a paragraph 600 where some of the states are not present for the request access.
- Contents of a first sentence 604, a second sentence 614, and a third sentence 624 respectively correspond to the first sentence 504, the second sentence 514, and the third sentence 524 described above.
- states 2 to 4 are not present, and, thus, the content which would have corresponded to the fourth sentence 534, the fifth sentence 544, and the sixth sentence 554 of FIG. 5 is not provided in sentences 634. Instead, the annotator 228 inserts a token “not applicable” to signal that there is no corresponding status or activities corresponding to states 2 to 4.
- the model training system 200 is configured to perform multiple-stage training on an input untrained model.
- the model training performed by the model training system 200 includes three training stages that are performed by the base model generation subsystem 212, the enhanced base model generation subsystem 214, and the refined model generation subsystem 218, respectively. Each of these training stages and the functions performed by these subsystems are described below in more detail.
- the base model generation subsystem 212 is configured to perform training corresponding to the first training stage.
- the base model generation subsystem 212 receives, as an input, an untrained model 233 of a desired architecture.
- the base model generation subsystem 212 then performs processing on the untrained model 233 corresponding to the first training stage, which results in the generation of a base model 234 that is output by the base model generation subsystem 212 and is capable of making predictions regarding the lifecycle components of the access request.
- the output base model is then used as an input for the second training stage performed by the enhanced base model generation subsystem 214.
- the base model trained at the first training stage is used as an “off-the-shelf’ model for making predictions concerning the outcomes of the life components for one or more access requests for one or more requestors desiring to access one or more resources.
- the untrained model 233 may be a machine learning model.
- a “machine learning model” can refer to a software module configured to be run on one or more processors to provide a classification or numerical value of a property of one or more samples.
- An example type of model is supervised learning that can be used with embodiments of the present disclosure.
- Example supervised learning models may include different approaches and algorithms including analytical learning, artificial neural network, backpropagation, boosting (meta-algorithm), Bayesian statistics, case-based reasoning, decision tree learning, inductive logic programming, Gaussian process regression, genetic programming, group method of data handling, kernel estimators, learning automata, learning classifier systems, minimum message length (decision trees, decision graphs, etc.), multilinear subspace learning, naive Bayes classifier, maximum entropy classifier, conditional random field, nearest neighbor algorithm, probably approximately correct learning (PAC) learning, ripple down rules, a knowledge acquisition methodology, symbolic machine learning algorithms, subsymbolic machine learning algorithms, minimum complexity machines (MCM), random forests, ensembles of classifiers, ordinal classification, statistical relational learning, or Proaftn, a multicriteria classification algorithm.
- MCM minimum complexity machines
- the model may include linear regression, logistic regression, deep recurrent neural network (e.g., long short term memory, LSTM), hidden Markov model (HMM), linear discriminant analysis (LDA), k-means clustering, density-based spatial clustering of applications with noise (DBSCAN), random forest algorithm, support vector machine (SVM), or any model described herein.
- Supervised learning models can be trained in various ways using various cost/loss functions that define the error from the known label (e.g., least squares and absolute difference from known classification) and various optimization techniques, e.g., using backpropagation, steepest descent, conjugate gradient, and Newton and quasi-Newton techniques.
- the machine learning models could include, but not limited to, convolutional neural network (CNN), linear regression, logistic regression, deep recurrent neural network (e.g., fully-connected recurrent neural network (RNN), Gated Recurrent Unit (GRU), long short-term memory, (LSTM)), transformed-based methods (e.g.
- CNN convolutional neural network
- RNN fully-connected recurrent neural network
- GRU Gated Recurrent Unit
- LSTM long short-term memory
- transformed-based methods e.g.
- XLNet XLNet
- BERT XLM
- RoBERTa Bayes’ classifier
- HMM hidden Markov model
- LDA linear discriminant analysis
- k-means clustering k-means clustering
- DBSCAN density-based spatial clustering of applications with noise
- DBSCAN random forest algorithm
- AdaBoost adaptive boosting
- XGBoost extreme Gradient Boosting
- SVM support vector machine
- composite model comprising one or more models proposed above.
- the architecture of the untrained model 233 may be one of the architectures known to those skilled in the relevant art as being appropriate for the task.
- a transformer based architectures may be used, e.g., for natural language processing (NLP) tasks.
- the transformer model may be used in a Bidirectional Encoder Representations from Transformers (BERT) model, known to those skilled in the relevant art.
- BERT Bidirectional Encoder Representations from Transformers
- the architecture of the untrained model 233 may be a specialized architecture to support the model training according to embodiments.
- the base model generation subsystem 212 includes a base model training subsystem 242 and a base model validation subsystem 244.
- the base model training subsystem 242 receives, as an input, the untrained model 233, and iteratively trains the untrained model 233 using the base training data generated by the base training data generation subsystem 210, to generate one or more base model versions.
- one or more parts of the paragraph are randomly masked, and the model in training predicts the masked parts of the paragraph based on other (not masked) parts of the paragraph.
- the base model generation subsystem 212 may randomly mask one or more lifecycle components, e.g., one or more of sentences 514 to 554 of FIG. 5, and the model in training predicts, e.g., estimates, the description that corresponds to the tag of the masked sentence.
- the goal of the first training stage is to, based on the access request context and/or not masked sentences, predict how the sequence of the states 0 to 4 will develop. For example, as a result of the first stage training, the base model is capable of predicting whether the “Authorization Request Response,” e.g., state 0, will be approved or declined, whether the transaction corresponding to “Authorization Request Response” will be cleared, and whether any of states 2 to 4 will happen.
- the base training data includes training datapoints, each training datapoint including an input and a corresponding output corresponding to the input, where the input corresponds to a paragraph with a masked sentence, and the output is a prediction of the text that is masked, e.g., the prediction of the lifecycle component behind the mask.
- the base model training subsystem 242 may perform training using the untrained model 233 and the base training data, and the base model validation subsystem 244 may perform a validation of the result of the training performed by the base model training subsystem 242 using the base training data and/or additional set of data.
- the base model version that passes the validation phase based on one or more prespecified criteria is output as the base model 234, e.g., a final base model.
- FIG. 7 depicts a flowchart of a method 700 performed by the model training system 200 according to certain embodiments.
- the method 700 may be performed by some or all of the base training data generation subsystem 210 and the base model generation subsystem 212.
- the method 700 may be implemented in software (e.g., code, instructions, program) executed by one or more processing units (e.g., processors, cores) of the respective subsystems, using hardware, or combinations thereof.
- the software may be stored on a non- transitory storage medium (e.g., on a memory device).
- FIG. 7 depicts the various processing operations occurring in a particular sequence or order, this is not intended to be limiting. In certain alternative embodiments, the method 700 may be performed in some different order or some operations may be performed in parallel or omitted.
- the base training data may be obtained.
- the base training data may be generated, using the historical access requests 222, by the base training data generation subsystem 210 to obtain the base model, as described above.
- the untrained model may be trained, as described above, by the base model generation subsystem 212 using the base training data.
- the base model generation subsystem 212 receives, as an input, an untrained model 233 and performs processing on the untrained model 233 corresponding to the first training stage, using the base training data.
- the base model generation subsystem 212 can iteratively train the untrained model 233 using the base training data, where one or more parts of the paragraph can be randomly masked.
- the model being trained can be tasked to predict the masked parts of the paragraph based on other (not masked) parts of the paragraph.
- the base model may be obtained, by the base model generation subsystem 212, as a result of the training performed at the first training stage (operation 704).
- the base model may be used for predicting outcomes of access requests of various requestors requesting an access to one or more resources. For example, the base model is capable of predicting whether the “Authorization Request Response,” e.g., state 0, will be approved or declined, whether the transaction corresponding to “Authorization Request Response” will be cleared, and whether any of states 2 to 4 will happen.
- the enhanced base model generation subsystem 214 is configured to perform training corresponding to the second training stage.
- the second training stage may have one or more training sub-stages to incorporate use cases, where the base model obtained at the first training stage is trained at each training sub-stage with respect to the use case.
- the output of the second training stage is the enhanced base model that learned the overall behaviors of related entities PAN(s), resource provider(s), issuer(s), acquirer(s), etc.
- the base model will learn the corresponding entities and their embedding representations.
- the task is to differentiate between pairs of two books of entities, that is, to predict whether the two books are from same entity or from two different entities. For example, whether two books of PANs are from the same PAN, whether two books of resource providers are from the same resource provider, etc.
- the base training data used at the first training stage can be re-used and reorganized such that paragraphs within a book are always from same entity.
- the labels can be provided to predict whether the two books are from same entity or not.
- the second training stage can involve multiple training sub-stages. For example, the second training stage may be first performed for PANs, and then performed to differentiate resource providers. The second training stage may be then performed again to differentiate issuers and/or acquirers.
- the enhanced base model generation subsystem 214 receives the base model 234 as an input.
- the enhanced base model generation subsystem 214 then performs processing corresponding to the second training stage, which results in the generation of an enhanced base model 250 that is then output by the enhanced base model generation subsystem 214.
- the enhanced base model 250 is used as an input for the third training stage performed by the refined model generation subsystem 218.
- the enhanced base model trained at the second training stage may be used as a model for predicting similarities between entities participating in transactions using a payment processing network.
- the entities may include, without limitation, customers, users, computers, computer networks, issuers, resource providers, acquirers, etc.
- the enhanced base model 250 generated by the enhanced base model generation subsystem 214 may then be further fine-tuned for the specific use cases.
- the model training system 200 may include an enhanced base training data generation subsystem 258.
- the enhanced base training data generation subsystem 258 may generate enhanced base training data for a variety of entity categories, e.g., a resource provider category, a PAN category, an issuer category, etc.
- the enhanced base model generation subsystem 214 uses the enhanced base training data in the training of the base model 234 at the second training stage.
- the enhanced base training data may include group books, where each group book is from the same entity and includes labels to predict if two group books are from the same entity or not. Within a group book, each paragraph is the same as described above with respect to the first training stage. For any group book, the paragraphs are sorted by timestamp of the request context.
- the enhanced base training data generation subsystem 258 generates first enhanced base training data for training the base model 234 to obtain the PAN-based enhanced base model by forming, based on the base training data, groups of the annotated access requests so that the annotated access requests in the same group are associated with the same PAN. Two of the group books are then input to the base model 234 that is tasked to estimate whether two group books are associated with the same PAN. For example, all of the annotated access requests from the same account may be used as an input into the model being trained. As a result of the training performed by the enhanced base model generation subsystem 214, the base model 234 learns consumer behaviors, the account level embeddings, and each individual account’s behavior.
- the enhanced base training data generation subsystem 258 generates second enhanced base training data for training the base model 234 to obtain the resource provider-based enhanced base model by forming, based on the base training data, groups of the annotated access requests so that the annotated access requests in the same group are associated with the same resource provider ID. Two of the group books are then input to the base model 234 that is tasked to estimate whether two group books are associated with the same resource provider. For example, all of the annotated access requests associated with the same resource provider may be used as an input into the model being trained. As a result of the training performed by the enhanced base model generation subsystem 214, the base model 234 learns the individual resource provider’s behavior, embeddings, etc.
- the issuer-based enhanced base model (or other user case specific based enhanced base models) may be obtained by training the base model similarly to the above-described, and, thus, the description below is focused on two examples described above.
- the base model is trained for PANs and then is trained for resource providers.
- the training may be performed in any order, e.g., first for the resource providers and then for the PANs.
- the enhanced base model 250 may include any combination of use cases and new use cases may be added on the on-going basis.
- the enhanced base model generation subsystem 214 includes an enhanced base model generation subsystem 260 and an enhanced base model validation subsystem 262.
- the enhanced base model generation subsystem 260 receives, as an input, the base model 234 and the first enhanced base training data, and iteratively trains the base model 234 using the first enhanced base training data, to generate one or more PAN-based enhanced base model versions.
- the first enhanced base training data may include group books, where each group book is from the same PAN and includes labels to predict if two group books are from the same PAN or not. Within a group book, each paragraph is the same as described above with respect to the first training stage.
- the enhanced base training data generation subsystem 258 may receive a user input through a user interface (UI) subsystem 264 that provides labels for the group books of the first enhanced base training data.
- UI user interface
- the first enhanced base training data includes groups of the annotated access requests, e.g., the group books, where each group book is associated with the same PAN and includes labels to predict if two group books are from the same PAN or not.
- the enhanced base model validation subsystem 262 performs validation on the PAN-based enhanced base model versions.
- the PAN-based enhanced base model version that passes the validation phase based on one or more prespecified criteria is output as the enhanced base model 250.
- the enhanced base model generation subsystem 260 receives, as an input, the base model 234 and the second enhanced base training data, and iteratively trains the base model 234 using the second enhanced base training data, to generate one or more resource provider-based enhanced base model versions.
- the second enhanced base training data may include group books, where each group book is from the same resource provider and includes labels to predict if two group books are from the same resource provider or not. Within a group book, each paragraph is the same as described above with respect to the first training stage.
- the enhanced base training data generation subsystem 258 may receive a user input through the UI subsystem 264 that provides labels for the group books of the second enhanced base training data.
- the second enhanced base training data includes groups of the annotated access requests, e.g., group books, where each group book contains access requests of various requestors and is associated with the same resource provider ID and includes labels to predict if two group books are from the same resource provider or not.
- the enhanced base model validation subsystem 262 performs validation on the resource provider-based enhanced base model versions.
- the resource provider-based enhanced base model version that passes the validation phase based on one or more prespecified criteria is output as the enhanced base model 250.
- the base model can be trained to learn whether group books are from at least one of the same resource provider, the same requestor account, the same issuer, the same acquirer, etc.
- the enhanced base model 250 can be further trained at the third training stage to perform specific tasks.
- the trained enhanced base model 250 may be trained to estimate whether the PAN account of the requestor is breached, whether the resource provider has a data breach, etc.
- FIG. 8 depicts a flowchart of a method 810 performed by the model training system 200 according to certain embodiments.
- the method 810 may be performed by some or all of the base training data generation subsystem 210, the enhanced base training data generation subsystem 258, the base model generation subsystem 212, and the enhanced base model generation subsystem 214.
- the method 810 may be implemented in software (e.g., code, instructions, program) executed by one or more processing units (e.g., processors, cores) of the respective subsystems, using hardware, or combinations thereof.
- the software may be stored on a non- transitory storage medium (e.g., on a memory device). The method presented in FIG.
- FIG. 8 depicts the various processing operations occurring in a particular sequence or order, this is not intended to be limiting. In certain alternative embodiments, the method 810 may be performed in some different order or some operations may be performed in parallel or omitted.
- the enhanced base training data is obtained.
- the enhanced base training data may be obtained by the enhanced base training data generation subsystem 258.
- the enhanced base training data generation subsystem 258 can form, based on the base training data, group books containing the annotated access requests so that the annotated access requests in the same group book are associated with the same entity ID.
- the base model may be trained, by the enhanced base model generation subsystem 214, using the enhanced base training data, e.g., the group books created for a variety of entity categories. For example, two of the group books within the same entity category and each associated with the same entity are provided as an input to the base model 234 tasked to estimate whether two group books are associated with the same entity. As a result of the training performed at 814, the base model 234 learns the individual entity’s behavior, embeddings, etc.
- the enhanced base training data e.g., the group books created for a variety of entity categories. For example, two of the group books within the same entity category and each associated with the same entity are provided as an input to the base model 234 tasked to estimate whether two group books are associated with the same entity.
- the base model 234 learns the individual entity’s behavior, embeddings, etc.
- the enhanced base model may be obtained, by the enhanced base model generation subsystem 214, as a result of the training performed at the second training stage (operation 814).
- the base model is trained to learn whether group books are from the same entity, e.g., from the same resource provider, the same requestor account, the same issuer, the same acquirer, etc.
- the obtained enhanced base model can predict similarities between entities of one or more entity categories.
- operations 812 to 816 may be performed for each sub-stage.
- the enhanced base model 250 can be further trained at the third training stage to obtain individual refined models, each associated with a corresponding entity category and capable of individually performing various specific tasks for that entity category.
- this is not intended to be limiting.
- the enhanced base model 250 can be further trained at the third training stage, to obtain a refined model capable of performing one or more various specific tasks for a plurality of entity categories.
- the refined model generation subsystem 218 is configured to perform training corresponding to the third training stage.
- the refined model generation subsystem 218 receives the enhanced base model 250 as an input.
- the refined model generation subsystem 218 then performs processing corresponding to the third training stage, which results in the generation of one or more refined models 266 that are then output by the refined model generation subsystem 218.
- Each of one or more refined models 266 is used as an input for a model for making predictions regarding, for example, security states of entities, e.g., an account anomaly or a data breach.
- the examples of the refined models 266 output by the refined model generation subsystem 218 include a PAN model (e.g., a first refined model) for predicting anomalies in requestors’ accounts, a resource provider model (e.g., a second refined model) for predicting anomalies in resource providers’ accounts, and an issuer model (e.g., a third refined model), for predicting anomalies in issuers’ accounts.
- a PAN model e.g., a first refined model
- a resource provider model e.g., a second refined model
- an issuer model e.g., a third refined model
- the refined models 266 may be generated as sub-models included in a unified refined model (e.g., “off-the-shelf’ refined model) capable of making a plurality of predictions for the entities participating in financial transactions.
- the model training system 200 may include a refined training data generation subsystem 268.
- the refined training data generation subsystem 268 generates classification training data used by the refined model generation subsystem 218 in the training performed on the enhanced base model 250 at the third training stage.
- the classification training data includes books, where each paragraph of the book is a transaction lifecycle and all paragraphs are from same entity. The labels can be provided that indicate whether the account associated with the entity has anomalies.
- the refined training data generation subsystem 268 obtains first classification training data for training the enhanced base model 250, to obtain the PAN model.
- the first classification training data may include books, each associated with a PAN, where each paragraph of the book is a transaction lifecycle, and all paragraphs of the book are associated with the same PAN. Within the book, the transactions (paragraphs) are sorted by time.
- the first classification training data may further include labels indicating one or more anomalies in one or more PANs, e.g., whether the account is compromised, e.g., hacked or under cyber-attack.
- the PAN model is output that is capable of predicting an anomaly related to one or more PANs, e.g., whether the requestor’s account is breached.
- the refined training data generation subsystem 268 generates second classification training data for training the enhanced base model 250 to obtain the resource provider model.
- the second classification training data may include books, each associated with a resource provider ID and containing all the transactions (in text format) of the given resource provider). Within the book, the transactions (paragraphs) are sorted by time.
- the second classification training data further includes labels indicating whether a particular book (resource provider) is being compromised or not, e.g., whether the account is compromised, e.g., breached, under cyber-attack, bankrupt, etc.
- the resource provider model is output that is capable of predicting an anomaly related to one or more resource providers, e.g., whether the resource provider’s data is breached, whether the resource provider is bankrupt, etc.
- the refined training data generation subsystem 268 may receive labeled training data through the UI subsystem 264, via a user input.
- the issuer model (or other specific use-case refined models) may be obtained by training the enhanced base model 250 similarly to the above-described.
- the specific use-case refined models e.g., sub-models
- the specific use-case refined models may be generated by performing additional training on the trained refined model, to generate the refined model suitable for making predictions corresponding to the third training stage for a variety of use cases.
- the description below is focused on two examples described above - e.g., generation of the PAN model and the resource provider model.
- the refined model generation subsystem 218 includes a refined model generation subsystem 270 and a refined model validation subsystem 272.
- the refined model generation subsystem 270 receives, as an input, the enhanced base model 250, which is obtained by the enhanced base model generation subsystem 214, and the first classification training data, and iteratively trains the enhanced base model 250 using the first classification training data, to generate one or more PAN model versions.
- the first classification training data provides, as an input, a book associated with a PAN, as described above, and the training is performed on the enhanced base model 250 to predict whether the PAN is compromised or not.
- the refined model validation subsystem 272 performs validation on the PAN model versions.
- the PAN model version that passes the validation phase based on one or more prespecified criteria is output as the refined model 266, e.g., the PAN model.
- the refined model generation subsystem 270 receives, as an input, the enhanced base model 250, which is obtained by the enhanced base model generation subsystem 214, and the second classification training data, and iteratively trains the enhanced base model 250 using the second classification training data, to generate one or more resource provider model versions.
- the second classification training data provides, as an input, a book, which contains all the transactions (in text format) of the given resource provider, and a label indicating whether this book (resource provider) is being compromised or not. The training is performed on the enhanced base model 250 to predict the compromised resource providers.
- the refined model validation subsystem 272 performs validation on the resource provider model versions.
- the resource provider model version that passes the validation phase based on one or more prespecified criteria is output as the refined model 266, e.g., the resource provider model.
- the unified refined model may be generated and may be used for making predictions related to anomalies of various transaction-involved entities.
- the unified refined model may be used for making predictions related to the transaction recommendation, e.g., estimating what next transaction will be for a particular requestor.
- FIG. 9 depicts a flowchart of a method 920 performed by the model training system 200 according to certain embodiments.
- the method 920 may be performed by some or all of the base training data generation subsystem 210, the enhanced base training data generation subsystem 258, the refined training data generation subsystem 268, the base model generation subsystem 212, the enhanced base model generation subsystem 214, and the refined model generation subsystem 218.
- the method 920 may be implemented in software (e.g., code, instructions, program) executed by one or more processing units (e.g., processors, cores) of the respective subsystems, using hardware, or combinations thereof.
- the software may be stored on a non- transitory storage medium (e.g., on a memory device).
- FIG. 9 depicts the various processing operations occurring in a particular sequence or order, this is not intended to be limiting. In certain alternative embodiments, the method 920 may be performed in some different order or some operations may be performed in parallel or omitted.
- the classification training data is obtained.
- the classification training data may be obtained by the refined training data generation subsystem 268, for the training performed on the enhanced base model 250 at the third training stage.
- the classification training data may include data for a variety of entity categories that identifies anomalies for one or more IDs associated with one or more entities.
- the enhanced base model 250 may be trained, by the refined model generation subsystem 218, using a set of classification training data corresponding to the entity category, e.g., corresponding to PAN, resource provider, etc.
- one or more refined models may be obtained, by the refined model generation subsystem 218, as a result of the training performed at the third training stage (operation 924), e.g., a specific use-case refined models may be obtained by training the enhanced base model 250 similarly to the above-described.
- one or more refined models may be used for security states predictions for the accounts associated with various entities. Further, in various embodiments, the unified refined model may be used for making predictions related to the transaction recommendation, e.g., estimating what next transaction will be for a particular requestor.
- the base model may be further trained at the second training stage, to generate the enhanced base model with respect to specific use cases, where it is possible to add any additional new use case to the trained enhanced base model, by additionally training the trained enhanced base model using an enhanced base training data corresponding to a new use case.
- the third training stage may be performed to add any additional new use cases to the trained refined model, by additionally training the trained refined model using classification data corresponding to a new use case.
- the operations at the second training stage, to train the base model with respect to the new cases, e.g., to generate the PAN-based enhanced base model and the resource provider-based enhanced base model, may be performed successively or at least partially in parallel.
- the operations at the third training stage, to train the enhanced base model with respect to the new cases, e.g., to generate the PAN model and the resource provider model (or to generate the refined model including the PAN model and the resource provider model) may be performed successively or at least partially in parallel.
- FIG. 10 depicts a flowchart of a method performed by the model training system 200 according to certain embodiments.
- the training performed by the model training system 200 may involve multiple stages.
- the base model may be trained based on historical access requests, to predict the outcomes for the “primary” use cases.
- the second training stage may include training where the base model is extended to be primed, e.g., to obtain the enhanced base model that can be further trained to perform finer specific tasks.
- the third training stage may involve training where the enhanced base model obtained at the second training stage is subjected to the training to obtain the refined model capable of differentiating between fraudulent accounts and honest accounts, or identifying an account that is stolen or being attacked (e.g., compromised by a cyberattack) and an entity that is secure.
- FIG. 10 shows an example of an embodiment where the second training stage and the third training stage are combined.
- a method 1000 may be performed by some or all of the base training data generation subsystem 210, the enhanced base training data generation subsystem 258, the refined training data generation subsystem 268, the base model generation subsystem 212, the enhanced base model generation subsystem 214, and the refined model generation subsystem 218.
- the method 1000 may be implemented in software (e.g., code, instructions, program) executed by one or more processing units (e.g., processors, cores) of the respective subsystems, using hardware, or combinations thereof.
- the software may be stored on a non- transitory storage medium (e.g., on a memory device).
- FIG. 10 depicts the various processing operations occurring in a particular sequence or order, this is not intended to be limiting. In certain alternative embodiments, the method 1000 may be performed in some different order or some operations may be performed in parallel or omitted.
- the plurality of historical access requests for one or more resources may be received from a plurality of requestors, where each historical access request of the plurality of historical access requests includes access information about a requestor of the historical access request, an access context, and access outcomes for access states of the historical access request.
- the base training data in a text format may be generated using the plurality of historical access requests.
- the base training data in the text format is arranged in a plurality of requestor books, where each of the plurality of requestor books corresponds to a set of historical access requests that is associated with an account of a respective requestor of the plurality of requestors, e.g., with a unique ID, such as a PAN of a customer.
- Each of the plurality of requestor books includes a plurality of paragraphs, each corresponding to a respective historical access request from the set and including access context and access outcomes for access states associated with the respective historical access request among a plurality of access states.
- each of the plurality of access states is identified by a tag corresponding to a sentence, where the sentence corresponds to the outcome of that access state.
- the plurality of access states can include an authorization response, a clearing, a refund, a chargeback, and a fraud.
- Information about the plurality of access states of a lifecycle of one access request is included in one paragraph of the requestor book.
- the model of a predetermined architecture is trained using the base training data to generate a base model that predicts a part of a paragraph based on other parts of the paragraph.
- the model of the predetermined architecture is a transformer model.
- the architecture of the model may be other than the transformer.
- the training of the model includes randomly masking one or more sentences or masking one or more parts of one or more sentences. Then, the model in training is tasked to predict sentences or parts of the sentences corresponding to the masked tags, in one or more parts of the paragraph, based on other parts of the paragraph.
- a single base model is obtained that may be trained to predict outcomes for the authorization response, the clearing, the refund, the chargeback, and the fraud. However, this is not limiting and the single base model may be trained to predict outcomes for fewer or more access states.
- labels for a plurality of group books are obtained.
- Each of the plurality of group books includes paragraphs from requestor books associated with a same entity among the plurality of requestor books, where the labels indicate a security state of access requests included in the plurality of group books.
- the group book can have an ID of the entity, e.g., the PAN of the customer, as a group book ID.
- classification training data is generated using the labels and the plurality of group books.
- refinement training on the base model is performed using the classification training data, to generate a refined model that classifies security states of the plurality of group books, respectively.
- the refinement training at operation 1012 can involve some or all of the training described above with respect to the second training stage and the third training stage.
- the refinement training at operation 1012 can include operations 814, 816, 924, and 926 of FIG. 9. However, this is not intended to be limiting.
- at least one of operations 814, 816, and 924 may be omitted or combined with other operations. As a non-limiting example, operation 816 may be omitted, and operations 816 and 924 may be combined.
- the refined model is obtained that is capable of classifying security states of entities associated with the plurality of group books, and/or performing other specific tasks, as described above with regard to the refined model(s) obtained at the third training stage.
- a computer system includes a single computer apparatus, where the subsystems can be the components of the computer apparatus.
- a computer system can include multiple computer apparatuses, each being a subsystem, with internal components.
- a computer system can include desktop and laptop computers, tablets, mobile phones and other mobile devices.
- FIG. 11 The subsystems shown in FIG. 11 are interconnected via a system bus 75. Additional subsystems such as a printer 74, keyboard 78, storage device(s) 79, monitor 76 (e.g., a display screen, such as an LED), which is coupled to display adapter 82, and others are shown. Peripherals and input/output (I/O) devices, which couple to I/O controller 71, can be connected to the computer system by any number of means known in the art such as input/output (I/O) port 77 (e.g., USB, FireWire®). For example, VO port 77 or external interface 81 (e.g.
- Ethernet, Wi-Fi, etc. can be used to connect computer system 10 to a wide area network such as the Internet, a mouse input device, or a scanner.
- the interconnection via system bus 75 allows the central processor 73 to communicate with each subsystem and to control the execution of a plurality of instructions from system memory 72 or the storage device(s) 79 (e.g., a fixed disk, such as a hard drive, or optical disk), as well as the exchange of information between subsystems.
- the system memory 72 and/or the storage device(s) 79 may embody a computer-readable medium.
- Another subsystem is a data collection device 85, such as a camera, microphone, accelerometer, and the like. Any of the data mentioned herein can be output from one component to another component and can be output to the user.
- a computer system can include a plurality of the same components or subsystems, e.g., connected together by external interface 81, by an internal interface, or via removable storage devices that can be connected and removed from one component to another component.
- computer systems, subsystem, or apparatuses can communicate over a network.
- one computer can be considered a client and another computer a server, where each can be part of a same computer system.
- a client and a server can each include multiple systems, subsystems, or components.
- aspects of embodiments can be implemented in the form of control logic using hardware circuitry (e.g. an application specific integrated circuit or field programmable gate array) and/or using computer software with a generally programmable processor in a modular or integrated manner.
- a processor can include a single-core processor, multicore processor on a same integrated chip, or multiple processing units on a single circuit board or networked, as well as dedicated hardware.
- Any of the software components or functions described in this application may be implemented as software code to be executed by a processor using any suitable computer language such as, for example, Java, C, C++, C#, Objective-C, Swift, or scripting language such as Perl or Python using, for example, any related art or object-oriented techniques.
- the software code may be stored as a series of instructions or commands on a computer-readable medium for storage and/or transmission.
- a suitable non-transitory computer-readable medium can include random access memory (RAM), a read only memory (ROM), a magnetic medium such as a hard-drive or a floppy disk, or an optical medium such as a compact disk (CD) or DVD (digital versatile disk) or Blu-ray disk, flash memory, and the like.
- the computer-readable medium may be any combination of such storage or transmission devices.
- Such programs may also be encoded and transmitted using carrier signals adapted for transmission via wired, optical, and/or wireless networks conforming to a variety of protocols, including the Internet.
- a computer-readable medium may be created using a data signal encoded with such programs.
- Computer-readable media encoded with the program code may be packaged with a compatible device or provided separately from other devices (e.g., via Internet download). Any such computer-readable medium may reside on or within a single computer product (e.g. a hard drive, a CD, or an entire computer system), and may be present on or within different computer products within a system or network.
- a computer system may include a monitor, printer, or other suitable display for providing any of the results mentioned herein to a user.
- any of the methods described herein may be totally or partially performed with a computer system including one or more processors, which can be configured to perform the steps.
- embodiments can be directed to computer systems configured to perform the steps of any of the methods described herein, potentially with different components performing a respective step or a respective group of steps.
- steps of methods herein can be performed at a same time or at different times or in a different order. Additionally, portions of these steps may be used with portions of other steps from other methods. Also, all or portions of a step may be optional. Additionally, any of the steps of any of the methods can be performed with modules, units, circuits, or other means of a system for performing these steps.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Molecular Biology (AREA)
- Computational Linguistics (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Mathematical Physics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Storage Device Security (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202263425134P | 2022-11-14 | 2022-11-14 | |
| PCT/US2023/079228 WO2024107587A1 (en) | 2022-11-14 | 2023-11-09 | Framework for refining machine learning model from pre-trained base model |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| EP4619906A1 true EP4619906A1 (en) | 2025-09-24 |
| EP4619906A4 EP4619906A4 (en) | 2026-02-18 |
Family
ID=91085313
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP23892324.7A Pending EP4619906A4 (en) | 2022-11-14 | 2023-11-09 | FRAME FOR REFINING A MACHINE TRAINING MODEL FROM A PRE-HARVED BASE MODEL |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4619906A4 (en) |
| CN (1) | CN120188173A (en) |
| WO (1) | WO2024107587A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20250245677A1 (en) * | 2024-01-29 | 2025-07-31 | Mastercard Technologies Canada ULC | Determining more accurate labels for nodes in a graph |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11568143B2 (en) * | 2019-11-15 | 2023-01-31 | Intuit Inc. | Pre-trained contextual embedding models for named entity recognition and confidence prediction |
| US11030516B1 (en) * | 2020-02-03 | 2021-06-08 | Ex Parte, Inc. | Heirarchical prediction models for unstructured transaction data |
| US20210312451A1 (en) * | 2020-04-01 | 2021-10-07 | Mastercard International Incorporated | Systems and methods for modeling and classification of fraudulent transactions |
| US12299551B2 (en) * | 2020-07-13 | 2025-05-13 | Intuit Inc. | Account prediction using machine learning |
| US11818147B2 (en) * | 2020-11-23 | 2023-11-14 | Fair Isaac Corporation | Overly optimistic data patterns and learned adversarial latent features |
-
2023
- 2023-11-09 EP EP23892324.7A patent/EP4619906A4/en active Pending
- 2023-11-09 CN CN202380078982.3A patent/CN120188173A/en active Pending
- 2023-11-09 WO PCT/US2023/079228 patent/WO2024107587A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| CN120188173A (en) | 2025-06-20 |
| EP4619906A4 (en) | 2026-02-18 |
| WO2024107587A1 (en) | 2024-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12136096B1 (en) | Systems and methods for prioritizing fraud cases using artificial intelligence | |
| US12518284B2 (en) | Machine learning model and narrative generator for prohibited transaction detection and compliance | |
| Nassar et al. | Blockchain for explainable and trustworthy artificial intelligence | |
| US12206675B2 (en) | Pre-authorization access request screening | |
| CN116235183A (en) | Neural Network Architecture for Transactional Data Processing | |
| Arora et al. | Facilitating user authorization from imbalanced data logs of credit cards using artificial intelligence | |
| CN114930301A (en) | Fault prediction in distributed systems | |
| CN115836302A (en) | Automatically adjust rule weights in profiles | |
| US20230169511A1 (en) | Self Learning Machine Learning Transaction Scores Adjustment via Normalization Thereof Accounting for Underlying Transaction Score Bases | |
| US20250259178A1 (en) | Systems and methods for securing transactions using a generative artificial intelligence model | |
| Widder et al. | Identification of suspicious, unknown event patterns in an event cloud | |
| WO2024155676A1 (en) | Data segmentation using clustering and decision tree | |
| WO2022093362A1 (en) | Techniques for redundant access rule management | |
| EP4619906A1 (en) | Framework for refining machine learning model from pre-trained base model | |
| US20240127252A1 (en) | Risk insights utility for traditional finance and decentralized finance | |
| US20250022066A1 (en) | Apparatus and method for determining and recommending transaction protocols | |
| US20230145924A1 (en) | System and method for detecting a fraudulent activity on a digital platform | |
| US20240232655A9 (en) | Predictive machine learning architecture for identifying gaps in network activity | |
| Meltsov et al. | Development of an Intelligent Module for Monitoring and Analysis of Client's Bank Transactions | |
| EP4310755A1 (en) | Self learning machine learning transaction scores adjustment via normalization thereof | |
| US20240177162A1 (en) | Systems and methods for machine learning feature generation | |
| US20260037975A1 (en) | Detecting fraudulent or illicit activity in peer-to-peer transactions using natural language processing | |
| WO2025193855A1 (en) | In-context learning over interactions | |
| Gopinath et al. | Predictive Modeling for Credit Card Fraud Detection using Supervised Algorithms | |
| Pavlova et al. | Intelligent AML systems: using deep learning to detect financial fraud. |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
| 17P | Request for examination filed |
Effective date: 20250616 |
|
| AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC ME MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
| REG | Reference to a national code |
Ref country code: DE Ref legal event code: R079 Free format text: PREVIOUS MAIN CLASS: G06N0020000000 Ipc: G06N0003090000 |
|
| A4 | Supplementary search report drawn up and despatched |
Effective date: 20260120 |
|
| DAV | Request for validation of the european patent (deleted) | ||
| DAX | Request for extension of the european patent (deleted) | ||
| RIC1 | Information provided on ipc code assigned before grant |
Ipc: G06N 3/09 20230101AFI20260114BHEP Ipc: G06N 3/0475 20230101ALI20260114BHEP Ipc: G06N 3/0895 20230101ALI20260114BHEP Ipc: G06N 3/096 20230101ALI20260114BHEP Ipc: G06F 18/214 20230101ALI20260114BHEP |