US20030014377A1 - Forming a signature of parameters extracted from information - Google Patents

Forming a signature of parameters extracted from information Download PDF

Info

Publication number
US20030014377A1
US20030014377A1 US10/183,606 US18360602A US2003014377A1 US 20030014377 A1 US20030014377 A1 US 20030014377A1 US 18360602 A US18360602 A US 18360602A US 2003014377 A1 US2003014377 A1 US 2003014377A1
Authority
US
United States
Prior art keywords
signature
neural network
data
profile
distinct
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.)
Abandoned
Application number
US10/183,606
Inventor
Paul Barson
Phillip Hobson
Simon Field
Peter Hamer
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US10/183,606 priority Critical patent/US20030014377A1/en
Publication of US20030014377A1 publication Critical patent/US20030014377A1/en
Assigned to GATX EUROPEAN TECHNOLOGY VENTURES reassignment GATX EUROPEAN TECHNOLOGY VENTURES SECURITY AGREEMENT Assignors: CEREBRUS SOLUTIONS LIMITED
Priority to US11/949,567 priority patent/US20080288427A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/47Fraud detection or prevention means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/53Centralised arrangements for recording incoming messages, i.e. mailbox systems
    • H04M3/533Voice mail systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/01Details of billing arrangements
    • H04M2215/0148Fraud detection or prevention means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/36Statistical metering, e.g. recording occasions when traffic exceeds capacity of trunks

Definitions

  • This invention relates to methods of storing information relating to the transmission of messages, to methods of deriving output data from information relating to the transmission of messages to corresponding systems, and to software in computer readable form for such systems and methods.
  • Anomalies are any irregular or unexpected patterns within a data set.
  • the detection of anomalies is required in many situations in which large amounts of time-variant data are available. For example, detection of telecommunications fraud, detection of credit card fraud, encryption key management systems and early problem identification.
  • One problem is that known anomaly detectors and methods of anomaly detection are designed for used with only one such situation. They cannot easily be used in other situations. Each anomaly detection situation involves a specific type of data and specific sources and formats for that data. An anomaly detector designed for one situation works specifically for a certain type, source and format of data and it is difficult to adapt the anomaly detector for use in another situation. Known methods of adapting an anomaly detector for used in a new situation have involved carrying out this adaptation manually. This is a lengthy and expensive task requiring specialist knowledge not only of the technology involved in the anomaly detector but also of the application domains involved. The risk of errors being made is also high.
  • Another problem is that a particular method of anomaly detection is often most suitable for one particular situation. This means that transfer of a particular anomaly detector to a new situation may not be appropriate unless core elements of the anomaly detector method and/or apparatus are adapted. This is particularly time consuming and expensive particularly as the development of a new anomaly detector from scratch may often be necessary.
  • Telecommunications fraud is a multi-billion dollar problem around the world. Anticipated losses are in excess of $1 billion a year in the mobile market alone. For example, the Cellular Telecoms Industry Association estimate that in 1996 the cost to US carriers of mobile phone fraud alone is $1.6 million per day, projected to rise to $2.5 million per day by 1997. This makes telephone fraud an expensive operating cost for every telephone service provider in the world. Because the telecommunications market is expanding rapidly the problem of telephone fraud is set to become larger.
  • the size of the problem area is vast, due to the number of users on a network, and the number of calls made.
  • Another method of detecting telecommunications fraud involves using neural network technology.
  • One problem with the use of neural networks to detect anomalies in a data set lies in pre-processing the information to input to the neural network.
  • the input information needs to be represented in a way which captures the essential features of the information and emphasises these in a manner suitable for use by the neural network itself.
  • the neural network needs to detect fraud efficiently without wasting time maintaining and processing redundant information or simply detecting “noise” in the data.
  • the neural network needs enough information to be able to detect many different types of fraud including types of fraud which may evolve in the future.
  • the neural network should be provided with information in a way that it is able to allow for legitimate changes in behaviour and not identify these as potential frauds.
  • a particular problem for any known method of detecting fraud is that both static classification and temporal prediction are required. That is, anomalous use has to be classified as such, but only in relation to an emerging temporal pattern. Over a period of time an individual phone will generate a macroscopic pattern of use, in which, for example, intercontinental calls may be rare; however within this overall pattern there will inevitably be violations—on a particular day the phone may be used for several intercontinental calls. A pattern of behaviour may only be anomalous relative to the historical pattern of behaviour.
  • Another problem is that a particular type of information to be analysed by a neural network is often in a variety of formats. For example, information about individual telephone calls is typically contained in call detail records. The content and format of call detail records differs for different telecommunications systems and this makes it difficult for such information to be input directly to a neural network based system.
  • a further problem is that once information has been provided for input to a neural network based system it is often not suitable for other purposes. For example, when a neural network system is being used to detect fraudsters much information about the behaviour of customers is prepared for input to the system. This information could also be used for marketing purposes to develop a much more detailed understanding of customer behaviour. However, this is often not easy to effect because of the format of the data.
  • One problem with known methods of fraud detection is that they are often unable to cope adequately with natural changes in the input data. For example, a customer's telephone call behaviour may change legitimately over time; the customer may travel abroad and make more long distance calls. This should not be detected as an anomaly and be classified as a potential fraud. Because the telecommunications market size is increasing, this is a particular problem for fraud detection in telecommunications.
  • Known methods of anomaly or fraud detection which have used neural networks involve first training the neural network with a training data set. Once the training phase is over the neural network is used to process telecoms data in order to identify fraud candidates. As the behaviour of customers evolves, new data input to the neural network may be widely different from the original training data set. In these circumstances the neural network may identify legitimate new patterns in the data as anomalies. Similarly, real cases of fraud may go unidentified. In this situation it is necessary to retrain the neural network using an updated training data set which is updated to reflect new features of the data.
  • Another problem is that the performance of the neural network system needs to be monitored in order to determine when the system is “under performing”. This can be a difficult and lengthy task which takes up valuable time.
  • Another problem is that the process of retraining is itself a lengthy and computationally expensive process. Whilst retraining is in progress it is not possible to use the neural network system to detect anomalies. This means that telecoms fraud may go undetected during the retraining phase. Also, the retraining process may take up valuable processing resources which are required for other tasks. This is especially important in the field of telecommunications where it may be required to site the neural network system at a busy switch or node in the telecommuncations network.
  • a further problem is that intervention and input from the user is typically required during the retraining process. This can be inconvenient when it is necessary to retrain quickly and also requires a trained user to be available.
  • a method of storing information relating to the transmission of messages by an entity over a given time period comprising the step of
  • creating a signature comprising a plurality of parameters related to the transmission of messages over that time period wherein the parameters comprise at least one parameter related to the transmission of messages over a portion of the period and also related to the position of the portion in the period, to enable output data to be derived from the stored information.
  • This provides the advantage that information about both a macroscopic pattern of behaviour over the whole time period and a microscopic pattern of behaviour over part of the time period can be stored. Lengthy processing times for signature creation and storage are avoided and redundant information is kept to a minimum.
  • anomalies in the stored data can more easily be detected in relation to an emerging temporal pattern.
  • a further advantage is that the stored data is available for other purposes, for example marketing, forecasting and other types of planning.
  • the signature is created in one of a plurality of predetermined possible formats.
  • This provides the advantage that the stored signatures are suitable for a variety of purposes.
  • the signature can be provided as inputs to a number of different neural network instantiations.
  • the signature is processed using a predictive model such as a neural network, which is dynamically configured according to the format of the signature.
  • a predictive model such as a neural network, which is dynamically configured according to the format of the signature.
  • the said configuration step further comprises adjusting the topology of the neural network.
  • the neural network topology can easily be adapted to best suit different situations in which the method is used.
  • the neural network topology is adapted to provided the best anomaly detection ability.
  • a method of deriving output data from information relating to the transmission of messages by an entity over time comprising the steps of:
  • said step of updating the first signature by a weighted averaging with the second signature further comprises the steps of:
  • the method comprises the steps of:
  • (v) automatically retraining the neural network using the set of training data.
  • This provides the advantage that it is not necessary for the user to make a decision about when to retrain. This removes the need for an expert user to be available to maintain the system while it is in use. Also, the retraining process itself is automatic so that valuable operator time is not wasted in performing a manual retrain.
  • a further advantage, is that by making retraining automatic it is ensured that the outputs of the neural network are as accurate as possible.
  • the method comprises the steps of:
  • the method comprises the steps of:
  • the second neural network may be retrained using separate processing resources from those used by the first neural network. For example, it is possible to train the second neural network at a quiet node in a communications network whilst the first neural network processes data at a busy node.
  • the neural network is implemented using an object oriented programming language the objects can be converted into a form that can be stored, using a persistance mechanism. Once converted into data structure format the data structure can be moved between processors which may be nodes in a communications network for example. This provides the advantage that the neural network can be moved to a quiet node to be trained. Also in the event of a system crash or other such event, a stored version of the neural network can be retained and then recreated into object form when the system is up and running again. According to other aspects of the invention, there are provided corresponding systems.
  • FIG. 1 is a general schematic diagram of an arrangement for the detection of anomalies in data relating to the transmission of messages in a communications network.
  • FIG. 2 is a general schematic diagram indicating how the anomaly detection engine is used with other components to create an anomaly detection application.
  • FIG. 3 shows the main components of an anomaly detection engine (ADE) and the flow of information between these components.
  • AD anomaly detection engine
  • FIG. 4 shows the main components of the engine administrator and the flow of information between these components.
  • FIG. 5 is a general schematic diagram of an arrangement for the detection of anomalies in data relating to the transmission of messages in a communications network.
  • FIG. 6 is a general schematic diagram indicating how signatures are created.
  • FIG. 7 is a general schematic diagram indicating the process of profile decay.
  • FIG. 8 is a general schematic diagram indicating the process of profile decay.
  • FIG. 9 is a general schematic diagram indicating the process whereby each new type of call detail record inherits from a base class.
  • FIG. 10 shows an example of a call detail record specification.
  • FIG. 11 shows an example of a target call detail record format.
  • FIG. 12 shows an example of a profile/signature.
  • FIG. 13 is a general schematic diagram indicating the different time periods used in calculating the day/night period.
  • FIG. 14 is a general schematic diagram of an arrangement for the detection of anomalies in data relating to the transmission of messages in a communications network.
  • FIG. 15 is a flow diagram indicating how previously-validated candidates are retained.
  • FIG. 16 is a flow diagram indicating how automatic retraining using a daughter neural network takes place.
  • FIG. 17 shows an example display screen provided by the GUI (Graphical User Interface).
  • FIG. 18 shows another example display screen provided by the GUI.
  • CDR Call detail record
  • CDR interpreter this examines CDRs and extracts those fields necessary for anomaly detection.
  • Detection poll period this is a time interval during which information is collected for input to the anomaly detector.
  • Profile/signature this is a set of information summarising and describing the behaviour of an individual customer or account number over a given time period.
  • Anomaly this is any irregular or unexpected pattern within a data set.
  • FCAPS Application Frameworks systems for fault management, configuration management, accounting management, performance management and security management in a communications network.
  • Topology of a neural network this is the number of units in the neural network, how they are arranged and how they are connected.
  • Kernel this is the part of the anomaly detector which detects anomalies and performs many other functions.
  • GUI Graphical user interface
  • FIG. 1 shows schematically how an anomaly detector 1 can be used to receive information 2 about the transmission of messages in a communications network 3 and provide reports 4 about potential anomalies in the input data.
  • the particular instantiation of the anomaly detector 1 is created using a generic anomaly detection engine (ADE) as shown in FIG. 2.
  • ADE generic anomaly detection engine
  • FIG. 2 shows the anomaly detection engine 20 which contains neural network components 21 .
  • the neural network components 21 learn patterns in the input information 2 and detect differences in these patterns—the anomaly candidates.
  • the ADE 20 also comprises many other components for example, an engine administrator which is also referred to as an ADE manager.
  • the ADE 20 is used in conjunction with application specific software 22 .
  • This is software which performs any data transformations that are needed in order to convert the network data 2 to be analysed into a format that the ADE 20 can use.
  • the application specific software 20 also includes software to perform a validation of the anomaly candidates detected and also any software to convert the ADE's results into actions to be performed. If the ADE is embedded in a network manager 23 then the application specific software 22 includes interface software to allow the ADE to be embedded in this way.
  • the ADE Before the ADE can be used it must be instantiated and integrated into the user's environment.
  • an ADE component 20 in conjunction with application specific software 22 a particular instantiation of an anomaly detector 1 is created. This process of creating a particular anomaly detector is referred to as instantiation.
  • the ADE is integrated into the user's environment. For example, a graphical user interface (GUI) 7 is added to the ADE to create a stand-alone application such as that shown in FIG. 1.
  • GUI graphical user interface
  • the ADE is integrated into existing software such as a network manager 23 , which communicates directly with the ADE.
  • the instantiated anomaly detector can be used by only one element in a communications network 3 or alternatively it may be used by different network elements. For example, by embedding an ADE in an FCAPS application framework an anomaly detector suitable for use by different communications network elements is obtained.
  • the ADE contains neural network components 21 which learn the data patterns or behaviour and detect the differences in the behaviour—the anomalies. For a particular anomaly detection situation a particular neural network topology will be most suitable. Also, the neural network needs to be trained in order to have a set of weights that enable anomalies in the input data to be detected. If the ADE is simply reused in a new situation the topology and weights of the neural network components 21 may not be appropriate for the new situation. In order to get round this problem when an ADE is instantiated to form a particular anomaly detector the topology of the neural network components 21 can be automatically adjusted. The neural network components 21 can then be trained or retrained to achieve a desired set of weights.
  • the ADE can be applied “cross-product” and “cross-data layer”.
  • Cross-product means that the ADE can be applied to more than one type of communications network product.
  • Cross-data layer means that the ADE can be applied to data gathered from the various layers of the communications network.
  • the ADE receives input information 2 about the transmission of messages in a communications network 3 .
  • This information 2 is in the form of call detail records (CDR's) and is processed by the ADE to form profiles (also referred to as signatures).
  • a profile is a set of information summarising and describing the behaviour of an individual customer or account number over a given time period.
  • Historic and recent profiles are formed where an historic profile relates to the behaviour of an individual customer over a certain period of time and a recent profile relates to the behaviour over a shorter and more recent period of time.
  • the historic profiles are assumed to represent non-anomalous behaviour.
  • the neural network components 21 Before anomaly detection can take place the neural network components 21 must be trained.
  • the neural network components comprise a multi-layer perceptron neural network.
  • This neural network is trained using a supervised training method. This involves inputting a training data set to the neural network so that the neural network is able to build up an internal representation of any patterns inherent in the data.
  • the training data set contains profiles and information about whether these profiles are anomalous or not. This allows that neural network to learn the typical and exceptional behaviour profiles that occur in the network data and to classify them accordingly.
  • Once the neural network has been trained it is validated to check that the training has been successful. This is done by presenting a new set of profiles, that are known to be anomalous or not, to the trained neural network. The outputs of the neural network are then compared with the expected outputs.
  • the successfully validated neural network can then be used to detect anomalies.
  • New communications network data is presented to the ADE which uses the new data to form recent profiles.
  • the neural network compares the recent profiles with the historical profiles in order to detect anomalies. If there is a difference between the recent and historical profiles then the neural network can indicate whether this is due to anomalous behaviour by the system or whether it is simply due to an acceptable change in the behaviour profile. If a pattern of data that has never been encountered before is presented to the neural network then the neural network produces a best-guess result.
  • FIG. 3 shows the main components of the ADE and also the flow of information between these components.
  • the main components comprise:
  • the ADE comprises all components inside the boundary 30 in FIG. 3.
  • the area outside the boundary 30 refers to the particular instantiation of the ADE in application specific software.
  • Data about the transmission of messages in a communications network that has been pre-processed into a specific format 36 is input to the profile generator 31 .
  • the profile generator 31 forms historic and recent profiles or signatures 37 , 38 of the input information 36 . If necessary the historic profiles are updated with information from the recent profiles using the profile decay process 32 .
  • Information about whether anomaly candidates produced by the anomaly detector are really anomalies or not 39 can be input to the ADE and used to update the profiles and for other purposes. These processes are described further below.
  • the recent profile 37 and the historic profile 38 are input to the data transformer 33 which transforms them into a format required by the detector 5 .
  • a recent profile and a historic profile pair may be concatenated, or the difference between the two profiles may be calculated. Other transformations are also possible.
  • the transformed data 40 is used by the engine administrator 34 and the detector 35 .
  • engine administrator also referred to as an ADE manager, is responsible for the following tasks:
  • the engine administrator 34 comprises a data manager 41 ; a training/retraining processor 42 ; an evaluator 43 ; and a processor for creating a neural network 44 .
  • the data manager 41 maintains two data sets: an evaluation data set 45 , and an example data set 46 which is also referred to as a training data set.
  • the data manager receives inputs of detection data 40 and validated results 48 .
  • the validated results comprise information about whether anomaly candidates identified by the neural network 47 are real anomalies or not.
  • These validated results 48 are also referred to as “profile identification and category” information; they are used to update the example data 46 , the evaluation data 45 and for other purposes as described below.
  • the evaluation data set 45 is created by splitting the detection data set 40 into two parts; an evaluation data set 45 and an example or training set 46 . Both these sets of data contain profiles and information about whether each profile in the set is anomalous or not.
  • the example or training data set 46 is used to train the neural network 47 using the training processor 42 .
  • Adding new examples of anomalous behaviour 48 to this data set enables the detection to be updated with new information. This aids the general performance of the ADE; examples from false positive identifications can be added to the example data set to reduce the probability that the false identification recurs. Adding results from positive identifications reinforces the ability of the neural network 47 to make similar positive identifications.
  • the training process enables the ADE to learn, or relearn, a particular task.
  • a representative data set 46 needs to be presented during training.
  • This training data set 46 should include examples of anomalous events as well as non-anomalous events and preferably in a proportion that is representative of the data set to be analysed by the ADE.
  • the neural network 47 is trained using a learning algorithm. Many different learning algorithms can be used and in a preferred example a non-parameterised learning rule, the known scaled conjugate gradient algorithm, is used.
  • Condition parameters 49 are input to the training/retraining process 42 . These parameters can be input by the user or may be predefined.
  • Retraining can be carried out automatically without intervention by the user as described below. This is done by using specially adapted application specific software.
  • the process of retraining can involve the creation of a second neural network that has the same topology as the original neural network 47 and retaining the second network. This is described in detail below.
  • a validation process 43 is used to determine the performance that the ADE has for the particular task.
  • the performance of the ADE is determined by presenting the evaluation data set 45 to the neural network 47 using the performance evaluator 43 .
  • the evaluation data set 45 contains profiles and information about whether these profiles are anomalous or not.
  • the profiles are presented to the neural network 47 and the anomaly candidates produced by the neural network 47 are compared with the expected outputs by the performance evaluator 43 .
  • the performance evaluator 43 then calculates a value 50 which indicates the level of similarity between the actual and expected outputs of the neural network. This value 50 is then provided to application specific software 51 .
  • the neural network creation process 44 creates a neural network of a given internal architecture.
  • the creation process 44 creates a multi-layer perceptron (MLP) that is either fully connected or not fully connected.
  • MLP multi-layer perceptron
  • the MLP can be created with different numbers of input, output and hidden units. The number of hidden layers can also be varied. It is not essential that the creation process create a multi-layer perceptron type neural network. Other types of neural network such as a self-organising map could be created and used to detect anomalies.
  • the neural network 47 is simply presented with the new detection data 40 .
  • the detector 35 receives the detection data 40 and using the trained and validated neural network 47 carries out the detection process to produce potential anomaly candidates 41 .
  • the neural network classifies each recent profile either as an anomaly or not and the neural network 47 also gives an associated confidence value for each classification.
  • Anomaly threshold parameters 52 are input to the detector 35 from application specific software. These parameters 52 are used to filter the potential anomaly candidates 41 to remove the majority of false positive identifications. For example, all anomaly candidates with a very low confidence rating could be filtered out.
  • the ADE is a library of software components which can be used to detect anomalies in data about the transmission of messages in a communications network.
  • the components need to be tailored for each specific application and once instantiated form an engine which can then be integrated into a software system.
  • the ADE has an application programming interface (API).
  • API application programming interface
  • the application specific software 22 communicates with the ADE via this API.
  • API Application Programming Interface
  • the API enables 8 different method calls to be made on the ADE from the application specific software 22 . That is 8 different instructions can be given to the ADE including:
  • This instruction requires that information about the location of an anomaly detector creation specification and a training data set is supplied when the instruction is made. This information is supplied by the application specific software 22 , for example, it may be input by the user through a GUI.
  • an anomaly detector is created which includes a neural network based on the creation specification and the training data set.
  • the anomaly detector creation specification contains information about the minimum size for the training data set as well as other information as described below.
  • This instruction causes the training/retraining process 42 to train or retrain the neural network using the training data set and any retraining data that is available.
  • the classification error is a value which indicates the proportion of inputs that were misclassified by the neural network during an evaluation of the performance of the neural network.
  • This instruction requires that information about the location of a detection data set 40 is provided to the ADE.
  • the detector 35 in the ADE performs a detection using the supplied detection data set. This is the normal mode of operation for the engine.
  • a series of real presentations are supplied, which the neural network attempts to classify as being anomalies or not.
  • the ADE returns a data set to the application specific software 22 . This is a list showing which category (anomaly or not) the ADE classified each input into together with a confidence rating for each classification.
  • This instruction requires that information about the location of a data set containing validated results 48 , 39 is provided with the instruction.
  • a retraining data set is created or updated within the ADE using the new information.
  • information about the location and existence of the retaining data set is returned to the application specific software.
  • This instruction requires that information about the location of the presentation data set to be provided when the instruction is given.
  • the historic profiles are updated using information from the recent profiles using the profile decay process 32 .
  • the updating process is completed information about the location of the updated presentation data set is returned to the application specific software 22 . It is also possible for the recent profiles to be updated with current information as described below.
  • the API (and the ADE) is created using an object oriented programming language such as C++.
  • An object referred to as an ApplicationBridge object is provided which makes available each of the 8 methods or instructions described above.
  • Each of the 8 methods has an associated valid “return event” method.
  • the user In order to add further capabilities required by a specific application the user must create further software which inherits from the ApplicationBridge object and overloads the return event methods It is not essential however for the API and indeed the ADE software to be created using an object oriented programming language. Other programming languages could be used.
  • the anomaly detector creation specification is an object created using an object oriented programming language. It is used by the ADE to instantiate all the C++ objects.
  • the three parameters are:
  • an update factor this specifies the update factor that is to be used in the algorithm for updating profiles as described below.
  • a retrain factor this is a threshold which must be met before retaining takes place. For example, it can be the proportion of retraining data to original training data required in order to make it worthwhile retraining.
  • a minimum training data parameter this is a threshold which must be met before training occurs. It reflects the confidence in the training data and the neural network's ability to train on a restricted data set. This value is the minimum amount of original training data required before the neural network will be trained.
  • the neural network creation specification contains information about the location of two other specifications, the layered network specification and the network trainer specification.
  • the neural network creation specification is formed using an object oriented programming language and is linked to the anomaly detector creation specification object, a layered network specification object and a network trainer specification.
  • the layered network specification and the network trainer specification should be created before the neural network creation specification.
  • a list of weights can also be given. This is a list of values for each of the weights between the connections in the neural network. If the specification is for a trained neural network then a list of weights must be given. If the specification is for an untrained neural network then no weights are necessary.
  • the number of input units is determined with reference to the number of attributes of the input data that are deemed significant.
  • the number of units in the hidden layer can be determined either empirically or by statistical analysis using known methods.
  • the number of units in the output layer depends on the number of classifications the user requires for the particular task. It is also possible to specify whether the neural network should have a fully-connected architecture or a partially connected architecture. If a partially connected architecture is selected the specific connections are specified in the list of weights.
  • target error this is a threshold error value which must be achieved before training stops. If the target error is set to 0 then the threshold is ignored.
  • the target error is specified as the sum of squared errors over the training set. That is, the training set is presented to the neural network and the output values are subtracted from the expected output values to give a set of errors. The sum of the squares of these errors is then calculated.
  • number of training cycles this specifies the number of training cycles that will be performed. If this value is set to zero the neural network is retrained. That is, the weights are not randomised before training begins.
  • random_seed this seeds the random number generator that is used to initialise the weights and choose the validation set. When this value is set to ⁇ 1 the random number generator is seeded using a value derived from the system clock. This maximises the unpredictability of the generated numbers and is the usual value for this parameter. When this value is set to a positive number this value is used as the seed. This option is intended for purposes such as regression testing and debugging where the same sequence of pseudo-random numbers may be required every time.
  • max_number_of_steps this parameter specifies the maximum number of steps that the trainer can take. If this parameter is set to zero then this test is ignored. This is the usual value for this parameter. A non zero value indicates the number of steps at which to stop a training cycle if it has not stopped previously for some other reason.
  • fractional_tolerance this value indicates a threshold for the amount of improvement that should occur as a result of one training step. When the threshold is reached training stops. A zero value indicates that training should stop when a step produces an effect that is small compared with the accuracy of the floating-point calculations. A non zero value indicates that training should stop when the relative improvement as a result of a step is below the value given. For example, values in the range 10-2 to 10-6 are suggested.
  • the ADE is generic in nature and requires an additional layer of instantiation software (or application specific software 22 ) to provides further functionality.
  • the instantiation software may provide a GUI, data pre/post processing and interfaces to the external world.
  • the application specific software must allow the user to give any of the 8 API method instructions or calls to the ADE.
  • the parameters required by each method call must also be provided in the correct format. For example, historic and recent profiles must be of a specified format, as must any specifications and data sets.
  • the instantiated ADE is ready to detect fraudulent telephone accounts.
  • the application specific software should also be arranged to allow the other instructions or method calls (add knowledge; retrain; switch; delete) to be sent to the ADE.
  • the ADE is formed using an object oriented programming language.
  • a call is made on an anomaly detector creation specification object constructor. This causes the anomaly detector creation specification to be created.
  • the parameters should be calculated prior to the creation of the anomaly detector and inserted into the anomaly detector creation specification.
  • the optimum set of parameter values should be used in order to obtain the best detection results.
  • the number of output units for the neural network is determined according to the type of data being analysed. For fraud detection two output units can be used, one for fraud and one for non-fraud.
  • the analysis of raw network data is required to help in the definition of the key attribute/fields and values that are needed for the anomaly detector specification.
  • the anomaly detector objects are created by giving an instruction to start the CreateAnomalyDetector method and supplying information about the location of the anomaly detector specification and training data set.
  • the CDR data must be transformed in order to produce the training, validation and detection data sets.
  • One approach for doing this involves:
  • window size refers to the time period over which the profiles represent telephone call behaviour. For example, for a 3 month supply of CDR data, the historical window size could be 5 days and the recent window size could be 0.5 days.
  • the window sizes are deemed correct and are used for profiles in all data sets.
  • the creation of a historic profile for a new customer account needs to be done at the instantiation layer (application specific software).
  • the historic profile should be a direct copy of the recent profile with a label to indicate that it is a new customer account.
  • data for a profile needs to be consecutive, i.e. if it is determined that a recent profile required 5 hours of data, then 5 consecutive hours need to be used for the recent profile, not just any 5 hours. This means that gaps in the CDR data may cause problems. However, this depends on the relative size of the “gap” For example, if there is a one hour gap in a months worth of data then there is unlikely to be a problem.
  • the window sizes for the historic and recent profiles must be for consecutive time periods. For example, the historic time period may be from 1 January to 31 January whilst the recent profile window is from 31 January to 5 February.
  • This process involves cyclically adjusting the weights stored on the connections between units in the neural network, until sufficient training has been performed. This is done by sending an instruction to the ADE to start the TrainAD method.
  • the ADE Once the ADE has been instantiated or tailored for a specific application it is integrated into the system software. To do this integration code is used to bridge from the tailored ADE to the system software. This integration code is application specific. Many different possible forms for the integration code are possible. The integration code should take account of the following issues:
  • the integration software must manage the ADE.
  • the functions which must be performed are:
  • the integration code can have the following functionality:
  • ADE event based it may easily be converted into call-return form by writing a small amount of interface code.
  • the anomaly detector specification will need to be accessible by the user at some point after start-up in the following situations: system crash, process killed and needs to be re-started.
  • the integration software is responsible for:
  • Assessing the raw communications network data This can either be a manual or automatic process of obtaining account details from the appropriate communications network.
  • an anomaly detector is formed using an ADE together with application specific software which makes it possible for automatic retraining of the neural network components to take place.
  • the particular instantiation of the ADE is referred to as a kernel within the anomaly detector.
  • the major components of the kernel with respect to the fraud detector application domain, are set out in Appendix A below.
  • FIG. 14 shows schematically how the anomaly detector 201 can be used to receive information 202 about the transmission of messages in a communications network 203 and provide reports 204 about potential anomalies in the input data.
  • Validated results 205 can be provided to the anomaly detector 201 so that the performance of the anomaly detector can be evaluated.
  • the anomaly detector 201 identifies potential fraud and non-fraud candidates. Further information 205 about whether these candidates have been correctly identified as frauds or non-frauds is then obtained for example from the user, and input to the anomaly detector. This information is used to evaluate the performance of the anomaly detector. This provides the advantage that a measure of the detector's performance can be obtained easily.
  • action can be taken to improve the performance as long as certain other criteria are also met.
  • This action involves retraining a neural network 261 which forms part of an anomaly detector kernel 206 . Once the performance drops below a specified limit, retraining can be initiated automatically without any intervention from the user.
  • the anomaly detector 201 also has the ability to create a daughter neural network of the same topology as the parent. This daughter can then be retrained whilst the parent is still in use. Once the daughter is retrained it can then be used in place of the parent, if the performance of the daughter is satisfactory. This is illustrated in FIG. 16.
  • the validation data 205 It is not essential for the validation data 205 to be provided by a user via a user interface.
  • the validation data could be obtained automatically and input to the system directly.
  • the neural network could be used for processing data for another purpose.
  • the user is able to change the following settings during operation of the anomaly detector:
  • the evaluation interval i.e. the number of sets of validated results that must be supplied to the anomaly detector before retraining can be initiated automatically
  • the performance threshold i.e. the threshold below which performance of the anomaly detector must fall before automatic retraining is initiated. This step of changing the configuration information is optional.
  • the kernel identifies via the system clock that a detection poll period has been reached. If the kernel is busy when a poll detection period is reached then when it becomes available it will get the current time. If this time is less than the clock interval (plus some overhead time) then the detection is serviced else the poll detection has been missed and the kernel sends a message back to the graphical user interface (GUI) to indicate that a poll detection has been missed.
  • GUI graphical user interface
  • the kernel sends information to the GUI to indicate that the kernel cannot accept any further commands until the detection has been completed.
  • the kernel accepts input information that is input to the anomaly detector.
  • This input information is initially in the form of call detail records for those customers who have made calls during the poll period. These call details records are pre-processed before being input to the kernel.
  • the kernel also performs any further processing of the input information before this is provided as input to the neural network within the kernel.
  • the neural network then performs the anomaly detection and outputs a set of results to the kernel.
  • the kernel then stores these results in a file and sends information to the GUI indicating that the detection is complete.
  • the GUI When the GUI receives information from the kernel indicating that a new detection results file has been created it indicates this to the user. This is done by highlighting a reload button on a display screen. By activating this button, for example by clicking it with a mouse, the user can display the results file on the screen.
  • FIG. 17 shows an example of such a display. The user can manipulate the way in which the results are displayed using the user interface. The user is also able to generate a graph displaying the results information as shown in FIG. 18 and independently to change the viewing criteria for this graph without affecting the table of results.
  • the user When viewing the detection results on the table view as shown in FIG. 17, the user is able to indicate if individual responses were correct or incorrect.
  • the table 240 shown in FIG. 17 has one row 241 for each customer account number. In the various columns of the table 242 the following information is provided:
  • the validity column 243 displays information that the user has input about the account number concerned. This information can be added to the kernel's knowledge base. The user is able to select individual accounts and validate the anomaly detector's response. When the user has added validation information for a number of accounts this can be added to the engine's knowledge base. This is done by activating the “add knowledge” button 244 on the user interface as shown in FIG. 17. When the user activates this button the GUI sends information to the kernel about the set of validated fraud candidates for all those accounts which have been validated and all other non-fraudulent accounts. This is called an add knowledge event.
  • Actions 1, 2 and 3 above must be performed whereas actions 4 and 5 are conditional.
  • GUI When an add knowledge event has been initiated, the GUI needs to maintain a list of all accounts which have been validated and the condition associated with that account, for example, whether a fraud was correctly identified as such. If subsequent detection take place before the kernel initiates automatic retraining then the GUI can display to the user what that account has been previously validated to.
  • the kernel adds all the validated fraud candidates to the anomaly detector's knowledge base.
  • the kernel also increments the number of add knowledge events which have been performed.
  • the kernel updates the historical profile for those accounts which are validated as correct non-fraud candidates and those which are validated as incorrect fraud candidates.
  • the kernel also updates the historical profiles for the other non-fraud candidates.
  • the kernel matches the recent profiles with the customer's historical profile and then provides this information to another process which updates the historical profiles with the corresponding recent profiles.
  • the updated historical profiles are then stored by the kernel.
  • the kernel performs an evaluation of the performance of the anomaly detector. If a performance evaluation is carried out then the counter for the number of add knowledge events is reset. The performance evaluation comprises carrying out a comparison of the candidates and any corresponding validation results.
  • the kernel initiates retraining of the neural network.
  • the kernel will not respond to any events that are sent until retraining is complete. No intervention by the user is required during retraining.
  • the kernel informs the GUI when retraining is complete and which of the operations listed as 1 above have been performed so that the GUI can update its representations respectively. If an evaluation has taken place then the new performance evaluation result is sent to the GUI. If the neural network has been retrained, information about this is sent back to the GUI.
  • the daughter neural network is evaluated by the kernel. If the performance of the daughter is better than the parent then the kernel indicates to the GUI that a new neural network is available. The GUI asks the user if this new neural network should be used. The user's response is sent to the kernel and if affirmative, the kernel replaces the parent neural network with the daughter neural network.
  • the anomaly detector and the neural network are implemented using an object oriented programming language, or a non-introspective programming language.
  • the anomaly detector is implemented using at least one instantiated object.
  • persistence mechanisms are used. Such mechanisms are described in appendix B below.
  • the objects or groups of linked objects are converted into data structures using the persistence mechanisms in order that they can be stored or retained.
  • the data structures can then be passed between processors. For example, these may be different nodes on a communications network.
  • This provides various advantages. For example, a daughter neural network, once created, can be stored as a data structure and moved to a quiet node in the communications network before being retrained. Also the neural network part of the anomaly detector can be moved to a particular node in the communications network whilst the other parts of the anomaly detector such as the GUI are held on a different (and perhaps quieter) node.
  • the anomaly detector discussed in the example above may also contain application specific software for storage of information relating to the transmission of messages in a communications network.
  • application specific software for storage of information relating to the transmission of messages in a communications network.
  • FIG. 5 shows schematically how the anomaly detector 101 can be used to receive information 102 about the transmission of messages in a communications network 103 and provide reports 104 about potential anomalies in the input data.
  • the information 102 can be in the form of call detail records (CDRs).
  • CDRs call detail records
  • call detail records are obtained for telephone calls made during that time.
  • the anomaly detector collects the individual CDR's for each customer and generates a signature for each customer. This is shown in FIG. 6.
  • a set of CDR's for an individual customer is obtained 110 .
  • Each CDR comprises several attributes or fields 112 such as the billing account number; the telephone number associated with the account, the called telephone number, the date and time of completion of the call etc.
  • a signature 111 is created for that customer using information from the fields or attributes 112 .
  • Each signature 111 comprises several parameters 113 that are related to the fields or attributes 112 from the individual set of CDRs for the customer.
  • a parameter might be the percentage of local calls made during the time period.
  • At least one parameter is related to the transmission of messages over a portion of the period and information relating to the position of the portion in the period. For example, such a parameter might be the percentage of local calls made between 8 am and 8 p.m. on the third day of the time period.
  • the current historic signature 130 is updated with the current recent signature 131 to form an updated historic signature 132 .
  • a new recent signature 133 can then be obtained.
  • the current historic signature 130 is combined with the current recent signature 131 using a weighted averaging procedure to form the updated historic signature 132 .
  • the arrow 134 in FIG. 7 indicates time and the information emanating from the communications network over time is illustrated by 135 .
  • a third dynamic signature is used.
  • the third signature is dynamic because it can be taken over a variable time period as long as this is shorter than the time period for recent signatures.
  • the dynamic third signature can then be used to update the recent signature before the anomaly detection takes place. This has the advantage that all available data is used in the anomaly detection process.
  • a signature which can also be referred to as a profile contains a statistical representation for each customer over a period of time.
  • a profile as shown in FIG. 12 comprises the following major components:
  • [0284] of the 21 items 14 represent the distribution of calls either for day time use or night time, for each day of the week.
  • a specification is built of the position of the important data and the format in which that data is stored within the CDR.
  • An example of a CDR specification is shown in FIG. 10.
  • the CDRs are then converted into the desired format using information from the CDR specification.
  • An example of a desired or target call detail record format is shown in FIG. 11.
  • the desired CDR format is as shown in FIG. 11 and the profile has a basic structure as shown in FIG. 12. As previously described this contains 7 items for the basic structure 181 and 21 additional fields 182 which represent day-of-week and time-of-day information. Additional items can be added to this basic structure. Also, the 21 items 182 used within the profile shown in FIG. 12 can be expanded to model the time of day-of-week more closely. There is no restriction on the size of the profile which can be generated but the profile size must remain consistent within a particular instantiation of the system.
  • a night period is defined to include calls made between 7 pm one evening to 7 am the following day. Because a night period can therefore include calls made on separate days it is necessary to analyse which hour of the day the call is made and see which particular period a call should be classified in. Potentially, calls made over one day can fall into 3 different periods ( 91 , 92 and 93 ) as shown in FIG. 13. The day of the week and the hour that the call was made are obtained. Then the number of calls made in the relevant period is divided by the number of calls made over the whole week to give the percentage of calls made in that period.
  • T is the target profile or signature, which in this case is the historic profile.
  • S is the source profile which in this case is the recent profile.
  • window size refers to the length of the time period to which the signature relates.
  • the source window size may be 1 hour and the target window size 10 hours.
  • the update factor is calculated by dividing the source window size by the target window size. If the source window size is 1 hour and the target window size 10 hours then the update factor is 0.1. If no source or recent profile exists a new recent profile is created. If the number of attributes in a profile is 4 then example source and target profiles might be: S[1,2,3,4] and T[5,6,7,8].
  • This updating process can also be used for updating a recent profile with a dynamic profile. In both cases, once the updating process has been completed, the more recent profile is removed.
  • a recent profile can be updated with a third signature or poll profile in the same way as for an historic and recent profile.
  • a different updating algorithm can be used for the poll to recent update.
  • one possible preferred update rule for poll to recent updating is given below:
  • p is the window size for the poll profile or third signature
  • P is the polled actual total (i.e. rate per r) . . . or average (i.e. rate per q);
  • R is the recent average (normalised to rate per q).
  • a wide range of applications are within the scope of the invention. For example, detecting telecommunications fraud; detecting credit card fraud; early detection of faults in a communications network and encryption key management.
  • the invention applies to any situation in which anomalies need to be detected in a large amount of time variant data.
  • a wide range of other applications are within the scope of the invention. These include situations in which information about both a macroscopic pattern of behaviour and a microscopic pattern of behaviour must be stored. For example, in the area of banking, the detection of credit card fraud involves the storage of information about macroscopic and microscopic patterns of credit card use. Other areas include computer network security, trends analysis and many other fields.
  • a wide range of other applications which involve the use of a neural network are within the scope of the invention.
  • the neural networks can be used for detecting credit card fraud and in this situation the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • the ability to automatically retrain and monitor the performance of the neural network is vital.
  • This appendix details the major software components within the fraud detector application domain including analysis and design details required.
  • a representation of a client of a fraud detector This controls the fraud detection and performance evaluation requests of the application.
  • the set of recent profiles is sent to construct poll to recent profile decay, object 20.
  • a handle needs to be kept on both the presentation data set, object 17, and poll to recent profile decay, object 20.
  • this object will send a KernelCreated event back to the GUI terminator.
  • the client Upon receiving an UpdateDetectionStartDate event from the GUI terminator the client will modify the detection_start attribute of the Fraud Detector Specification object (28) with the new date. The client will then stop and update the poll clock mechanism with the new detection time and restart the poll clock mechanism.
  • the client Upon receiving a SwitchEngine event from the GUI terminator the client will interrogate the event parameter to establish if a switch is required. If a switch is required then a request will be made to the ADE to switch to a new anomaly detector. If a switch is not required then no request is made of the ADE. On completion of the switch process the client will send a SwitchComplete event to the GUI terminator.
  • the bridge will create fraud detector specification object on CreateFraudKernel.
  • the bridge will create fraud candidate date set object hierarchy on
  • Retraining can follow a retraining without a SwitchEngine event being received.
  • the event contains the updated profiles.
  • the update historic profiles request then needs to persist all the updated historical profiles. This data set can then be removed.
  • the performance evaluation request sends an APP4TrainAD event to the ADE.
  • the ADE Upon completion the ADE generates an APP12AnomalyDetectorTrained with the a new performance from the ADE.
  • the operation enumeration type object attribute of the add knowledge request needs to be set to either “PerformanceEvaluation” or “Retraining” to indicate which operation has been performed.
  • the resultant fraud candidates are contained in the associated candidate data set.
  • CDR to profile tranform, object 13, returns a list of poll detection profiles, object 4.
  • the ADE Once the ADE has completed the detection event the ADE generates an APP10DetectionComplete.
  • the fraud candidate, object 11 is populated with candidate presentations, object 6, matching with the associated recent profile, object 4.
  • the fraud candidate, object 11, persistence mechanism to write the results to a file needs to added to the top of the file and maintained to be sent back to the client, object 27.
  • poll_profile CreatePollProfile(cdr)
  • poll_profile AccumulatePollProfile(cdr)
  • account_no cdr.account_no
  • T i ′ (T i ⁇ UpdateFactor))+( S i ⁇ UpdateFactor)
  • UpdateFactor WindowSize ⁇ ( S ) WindowSize ⁇ ( T )
  • the resultant fraud candidates are contained in the associated candidate data set.
  • object 12 For each call detail record, object 12, this object either constructs a poll profile, object 4, or updates the existing poll profile.
  • This object sends the poll detection profile to poll to recent profile decay, object 20, with poll detection period and recent profile period.
  • the source CDR file is ordered by account number.
  • a request to create a validated set of fraud candidates [0669]
  • validation_category
  • Each recent profile is matched with it respective historical profiles and sent to the ADE. This representation is used for both detection (object 16) and profile decay (object 24).
  • Simple persistence A level of persistence that provides storage and retrieval of individual objects to and from a stream or file. Simple persistence does not preserve pointer relationships among the persisted
  • Isomorphic persistence A level of persistence that preserves the pointer relationships among the persisted objects.
  • Polymorphic persistence The highest level of persistence. Polymorphic persistence preserves pointer relationships among the persisted objects and allows the restoring process to restore an object without prior knowledge of that object's type.
  • Isomorphic persistence is the storage and retrieval of objects to and from a stream such that the pointer relationships between the objects are preserved. If there are no pointer relationships, isomorphic persistence effectively saves and restores objects the same way as simple persistence. When a collection is isomorphically persisted, all objects within that collection are assumed to have the same type.
  • the isomorphic persistence mechanism uses a table to keep track of pointers it has saved.
  • the isomorphic persistence mechanism encounters a pointer to an unsaved object, it copies the object data, saves that object data NOT the pointer to the stream, then keeps track of the pointer in the save table. If the isomorphic persistence mechanism later encounters a pointer to the same object, instead of copying and saving the object data, the mechanism saves the save table's reference to the pointer.
  • the mechanism uses a restore table to reverse the process.
  • the isomorphic persistence mechanism encounters a pointer to an unrestored object, it recreates the object with data from the stream, then changes the restored pointer to point to the recreated object.
  • the mechanism keeps track of the pointer in the restore table. If the isomorphic persistence mechanism later encounters a reference to an already-restored pointer, then the mechanism looks up the reference in the restore table, and updates the restored pointer to point to the object referred to in the table.
  • the class must have an assignment operator defined as a member OR as a global function:
  • the class cannot have any non-type template parameters.
  • size is placeholder for a value rather than a type.
  • No present compiler accepts function templates with non-type template parameters, and the global functions used to implement isomorphic persistence (rwRestoreGuts and RWSaveGuts) are function templates when they are used to persist templatized classes.
  • Function rwSaveGuts saves the state of each class member necessary persistence to an RWvostream or an RWFile. If the members of your class can be persisted and if the necessary class members are accessible to rwSaveGuts, you can use operator ⁇ to save the class members.
  • Function rwRestoreGuts restores the state of each class member necessary for persistence from an RWvistream or an RWFile. Provided that the members of your class are types that can be persisted, and provided that the members of your class are accessible to rwRestoreGuts, you can use operator>>to restore the class members.
  • PtrToAttribute) ⁇ os “Value at Pointer:” ⁇ *(objPtrToAttribute) ⁇ “ ⁇ n”; ⁇ return os; ⁇ Use of PClass #include ⁇ iostream.h> #include ⁇ PClass.H> void main() ⁇ // Create object that will be pointed to by // persistent object.
  • RWCString s1 (“persist_pointer_object”); PClass persist_pointer_object(s1, 1, 1.0, 0); RWCString s2(“persist_class 1”); PClass persist_class 1(s2, 2, 2.0, &persist_pointer_object); cout ⁇ “persist_class1 (before save):” ⁇ endl ⁇ persist_class1 ⁇ end1 ⁇ endl; // Save object in file “test.dat”.
  • the persistence mechanism is a useful quality, but requires care in some areas. Here are a few things to look out for when using persist classes.
  • RWCollectable When you have more than one different type of RWCollectable stored in an RWCollection, you can't use a sorted RWCollection. For example, this means that if you plan to store RWCollectableStrings and RWCollectableDates in the same RWCollection, you can't store them in a sorted RWCollection such as RWBtree.
  • the sorted RWCollections are RWBinaryTree, RWBtree, RWBTreeDictionary, and RWSortedVector. The reason for this restriction is that the comparison functions for sorted RWCollections expect that the objects to be compared will have the same type.

Abstract

A method of storing information relating to the transmission of messages by an entity over a given time period comprises the step of
creating a signature comprising a plurality of parameters related to the transmission of messages over that time period wherein the parameters comprise at least one parameter related to the transmission of messages over a portion of the period and also related to the position of the portion in the period, to enable output data to be derived from the stored information. The signature may be updated by a weighted averaging process with other more recent signatures.
Application in fraud detection where signature representing information in many call detail records from a particular subscriber is fed to a neural network.

Description

    REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation of U.S. application Ser. No. 08/888,361, filed on Jul. 3, 1997, the contents of which are herein incorporated by reference.[0001]
  • FIELD OF THE INVENTION
  • This invention relates to methods of storing information relating to the transmission of messages, to methods of deriving output data from information relating to the transmission of messages to corresponding systems, and to software in computer readable form for such systems and methods. [0002]
  • BACKGROUND OF THE INVENTION
  • Anomalies are any irregular or unexpected patterns within a data set. The detection of anomalies is required in many situations in which large amounts of time-variant data are available. For example, detection of telecommunications fraud, detection of credit card fraud, encryption key management systems and early problem identification. [0003]
  • One problem is that known anomaly detectors and methods of anomaly detection are designed for used with only one such situation. They cannot easily be used in other situations. Each anomaly detection situation involves a specific type of data and specific sources and formats for that data. An anomaly detector designed for one situation works specifically for a certain type, source and format of data and it is difficult to adapt the anomaly detector for use in another situation. Known methods of adapting an anomaly detector for used in a new situation have involved carrying out this adaptation manually. This is a lengthy and expensive task requiring specialist knowledge not only of the technology involved in the anomaly detector but also of the application domains involved. The risk of errors being made is also high. [0004]
  • Another problem is that a particular method of anomaly detection is often most suitable for one particular situation. This means that transfer of a particular anomaly detector to a new situation may not be appropriate unless core elements of the anomaly detector method and/or apparatus are adapted. This is particularly time consuming and expensive particularly as the development of a new anomaly detector from scratch may often be necessary. [0005]
  • One application for anomaly detection is the detection of telecommunications fraud. Telecommunications fraud is a multi-billion dollar problem around the world. Anticipated losses are in excess of $1 billion a year in the mobile market alone. For example, the Cellular Telecoms Industry Association estimate that in 1996 the cost to US carriers of mobile phone fraud alone is $1.6 million per day, projected to rise to $2.5 million per day by 1997. This makes telephone fraud an expensive operating cost for every telephone service provider in the world. Because the telecommunications market is expanding rapidly the problem of telephone fraud is set to become larger. [0006]
  • Most telephone operators have some defence against fraud already in place. These are risk limitation tools such as simple aggregation of call-attempts, credit checking and tools to identify cloning, or tumbling. Cloning occurs where the fraudster gains access to the network by emulating or copying the identification code of a genuine telephone. This results in a multiple occurrence of the telephone unit. Tumbling occurs where the fraudster emulates or copies the identification codes of several different genuine telephone units. [0007]
  • Methods have been developed to detect each of these particular types of fraud. However, new types of fraud are continually evolving and it is difficult for service providers to keep “one-step ahead” of the fraudsters. Also, the known methods of detecting fraud are often based on simple strategies which can easily be defeated by clever thieves who realise what fraud-detection techniques are being used against them. [0008]
  • A number of rule-based systems have been developed, however, they have a series of limitations. It is now being acknowledged that each corporate and individual customer will show different behaviour, and thus a simple set of rules is insufficient to adequately monitor network traffic. To adapt these rule-based systems to allow each customer to have their own unique thresholds in not possible due to the sheer volumes of data involved. [0009]
  • There are a number of difficulties with identifying fraud, namely: [0010]
  • Fraud is dynamic by nature; fraudulent behaviour will change over time. [0011]
  • The size of the problem area is vast, due to the number of users on a network, and the number of calls made. [0012]
  • Rapid identification of fraud is needed; losses from a given case of fraud tend to grow exponentially. [0013]
  • Some forms of fraud are particularly costly and should therefore be the subject of special attention e.g. international phone calls. [0014]
  • Customer transparency; a customer should not see the fraud detection system in action. [0015]
  • Another method of detecting telecommunications fraud involves using neural network technology. One problem with the use of neural networks to detect anomalies in a data set lies in pre-processing the information to input to the neural network. The input information needs to be represented in a way which captures the essential features of the information and emphasises these in a manner suitable for use by the neural network itself. The neural network needs to detect fraud efficiently without wasting time maintaining and processing redundant information or simply detecting “noise” in the data. At the same time the neural network needs enough information to be able to detect many different types of fraud including types of fraud which may evolve in the future. As well as this the neural network should be provided with information in a way that it is able to allow for legitimate changes in behaviour and not identify these as potential frauds. [0016]
  • A particular problem for any known method of detecting fraud is that both static classification and temporal prediction are required. That is, anomalous use has to be classified as such, but only in relation to an emerging temporal pattern. Over a period of time an individual phone will generate a macroscopic pattern of use, in which, for example, intercontinental calls may be rare; however within this overall pattern there will inevitably be violations—on a particular day the phone may be used for several intercontinental calls. A pattern of behaviour may only be anomalous relative to the historical pattern of behaviour. [0017]
  • Another problem is that a particular type of information to be analysed by a neural network is often in a variety of formats. For example, information about individual telephone calls is typically contained in call detail records. The content and format of call detail records differs for different telecommunications systems and this makes it difficult for such information to be input directly to a neural network based system. [0018]
  • A further problem is that once information has been provided for input to a neural network based system it is often not suitable for other purposes. For example, when a neural network system is being used to detect fraudsters much information about the behaviour of customers is prepared for input to the system. This information could also be used for marketing purposes to develop a much more detailed understanding of customer behaviour. However, this is often not easy to effect because of the format of the data. [0019]
  • One problem with known methods of fraud detection is that they are often unable to cope adequately with natural changes in the input data. For example, a customer's telephone call behaviour may change legitimately over time; the customer may travel abroad and make more long distance calls. This should not be detected as an anomaly and be classified as a potential fraud. Because the telecommunications market size is increasing, this is a particular problem for fraud detection in telecommunications. [0020]
  • Known methods of anomaly or fraud detection which have used neural networks involve first training the neural network with a training data set. Once the training phase is over the neural network is used to process telecoms data in order to identify fraud candidates. As the behaviour of customers evolves, new data input to the neural network may be widely different from the original training data set. In these circumstances the neural network may identify legitimate new patterns in the data as anomalies. Similarly, real cases of fraud may go unidentified. In this situation it is necessary to retrain the neural network using an updated training data set which is updated to reflect new features of the data. [0021]
  • Several problems arise as a result of this need for retraining. For example, a decision needs to be made about when to retrain. Typically this complex decision is made by the user who requires specialist knowledge not only about telecoms fraud but also about the neural network system. Because telecoms fraud is an on-going problem which takes [0022] place 24 hours a day, 7 days a week, it is often not possible for an expert user to be available. This means that the system may “under perform” for some time before retraining is initiated.
  • Another problem is that the performance of the neural network system needs to be monitored in order to determine when the system is “under performing”. This can be a difficult and lengthy task which takes up valuable time. [0023]
  • Another problem is that the process of retraining is itself a lengthy and computationally expensive process. Whilst retraining is in progress it is not possible to use the neural network system to detect anomalies. This means that telecoms fraud may go undetected during the retraining phase. Also, the retraining process may take up valuable processing resources which are required for other tasks. This is especially important in the field of telecommunications where it may be required to site the neural network system at a busy switch or node in the telecommuncations network. [0024]
  • A further problem is that intervention and input from the user is typically required during the retraining process. This can be inconvenient when it is necessary to retrain quickly and also requires a trained user to be available. [0025]
  • SUMMARY OF INVENTION
  • It is accordingly an object of the present invention to provide an apparatus and method which overcomes or at least mitigates one or more of the problems noted above. [0026]
  • According to a first aspect of the present invention, there is provided a method of storing information relating to the transmission of messages by an entity over a given time period comprising the step of [0027]
  • creating a signature comprising a plurality of parameters related to the transmission of messages over that time period wherein the parameters comprise at least one parameter related to the transmission of messages over a portion of the period and also related to the position of the portion in the period, to enable output data to be derived from the stored information. This provides the advantage that information about both a macroscopic pattern of behaviour over the whole time period and a microscopic pattern of behaviour over part of the time period can be stored. Lengthy processing times for signature creation and storage are avoided and redundant information is kept to a minimum. Advantageously, anomalies in the stored data can more easily be detected in relation to an emerging temporal pattern. A further advantage is that the stored data is available for other purposes, for example marketing, forecasting and other types of planning. [0028]
  • Preferably, the signature is created in one of a plurality of predetermined possible formats. This provides the advantage that the stored signatures are suitable for a variety of purposes. For example, the signature can be provided as inputs to a number of different neural network instantiations. [0029]
  • Advantageously, the signature is processed using a predictive model such as a neural network, which is dynamically configured according to the format of the signature. This provides the advantage that the method can easily be reused in a variety of situations. For example, anomaly detection for detecting telecommunications fraud could be one situation and anomaly detection for detecting credit card fraud could be another situation. In these two cases the tasks vary in many respects; the input data is of a different type and will be provided in different formats and from different sources. The method can be used in different situations such as these so that development times and costs are reduced and the likelihood of errors occurring in the method are reduced. [0030]
  • Preferably, the said configuration step further comprises adjusting the topology of the neural network. This provides that advantage that the neural network topology can easily be adapted to best suit different situations in which the method is used. Advantageously, the neural network topology is adapted to provided the best anomaly detection ability. [0031]
  • According to a second aspect of the present invention, there is provided a method of deriving output data from information relating to the transmission of messages by an entity over time, comprising the steps of: [0032]
  • (i) creating a first signature comprising a plurality of parameters related to the transmission of messages over a predetermined first time period; [0033]
  • (ii) creating a second signature comprising a plurality of parameters related to the transmission of messages over a second period shorter than the first and more recent than the first; [0034]
  • (iii) updating the first signature by a weighted averaging with the second signature; [0035]
  • and (iv) deriving said output data using the signatures. [0036]
  • This provides the advantage that the stored information can be updated with more recent information in order that any emerging temporal patterns in the information can be allowed for. [0037]
  • Preferably, said step of updating the first signature by a weighted averaging with the second signature further comprises the steps of: [0038]
  • (i) determining a third signature comprising a plurality of parameters related to the transmission of messages over a third period shorter than the second and more recent than the second; and (ii) updating the second signature by a weighted averaging with the third signature such that in use an up-to-date comparison of the second signature with the first signature can be obtained. This provides an advantage when the first and second signatures are provided as inputs to a process that requires first and second signatures of a fixed format. Available information that cannot be incorporated into the first signature can be incorporated into the second signature. [0039]
  • Advantageously the method comprises the steps of: [0040]
  • (i) inputting a series of inputs to the neural network so as to obtain a series of corresponding outputs; [0041]
  • (ii) inputting a set of target output values corresponding to a subset of the outputs; [0042]
  • (iii) generating a set of training data which comprises information about the target output values; [0043]
  • (iv) determining when a predetermined threshold which relates to the level of correspondence between the output values and their respective target output values is reached; [0044]
  • (v) automatically retraining the neural network using the set of training data. This provides the advantage that it is not necessary for the user to make a decision about when to retrain. This removes the need for an expert user to be available to maintain the system while it is in use. Also, the retraining process itself is automatic so that valuable operator time is not wasted in performing a manual retrain. A further advantage, is that by making retraining automatic it is ensured that the outputs of the neural network are as accurate as possible. [0045]
  • Advantageously the method comprises the steps of: [0046]
  • (i) inputting a series of inputs to the neural network so as to obtain a series of corresponding outputs; [0047]
  • (ii) inputting a set of target output values corresponding to a subset of the outputs; and [0048]
  • (iii) comparing the output values with their respective target output values to produce a value indicative of the accuracy of the output values. This provides the advantage that a value is produced which indicates the performance of the neural network which is easy to interpret by a non-expert user. It is not necessary for a user who has specialist knowledge about the neural network system to evaluate the performance of the neural network manually. [0049]
  • Advantageously, the method comprises the steps of: [0050]
  • (i) inputting a series of inputs to the first neural network so as to obtain a series of corresponding outputs; [0051]
  • (ii) inputting a set of target output values corresponding to a subset of the outputs; [0052]
  • (iii) generating a set of training data which comprises information about the target output values; [0053]
  • (iv) determining when a predetermined threshold which relates to the level of correspondence between the output values and their respective target output values is reached; [0054]
  • (v) when the predetermined threshold is reached, creating a second neural network of the same topology as the first; [0055]
  • and retraining the second neural network using said set of training data such that it is possible to continue processing the input data using the first neural network whilst the second neural network is being retrained. This provides the advantage that the first neural network can be used to process the data whilst the second neural network is being retrained. Also, the second neural network may be retrained using separate processing resources from those used by the first neural network. For example, it is possible to train the second neural network at a quiet node in a communications network whilst the first neural network processes data at a busy node. [0056]
  • Advantageously, if the neural network is implemented using an object oriented programming language the objects can be converted into a form that can be stored, using a persistance mechanism. Once converted into data structure format the data structure can be moved between processors which may be nodes in a communications network for example. This provides the advantage that the neural network can be moved to a quiet node to be trained. Also in the event of a system crash or other such event, a stored version of the neural network can be retained and then recreated into object form when the system is up and running again. According to other aspects of the invention, there are provided corresponding systems. [0057]
  • Preferred features as set out in the dependent claims may be combined with each other or with any aspect of the invention as appropriate, as would be apparent to a person skilled in the art.[0058]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The invention will be further described, by way of example, with reference to the accompanying drawings in which: [0059]
  • FIG. 1 is a general schematic diagram of an arrangement for the detection of anomalies in data relating to the transmission of messages in a communications network. [0060]
  • FIG. 2 is a general schematic diagram indicating how the anomaly detection engine is used with other components to create an anomaly detection application. [0061]
  • FIG. 3 shows the main components of an anomaly detection engine (ADE) and the flow of information between these components. [0062]
  • FIG. 4 shows the main components of the engine administrator and the flow of information between these components. [0063]
  • FIG. 5 is a general schematic diagram of an arrangement for the detection of anomalies in data relating to the transmission of messages in a communications network. [0064]
  • FIG. 6 is a general schematic diagram indicating how signatures are created. [0065]
  • FIG. 7 is a general schematic diagram indicating the process of profile decay. [0066]
  • FIG. 8 is a general schematic diagram indicating the process of profile decay. [0067]
  • FIG. 9 is a general schematic diagram indicating the process whereby each new type of call detail record inherits from a base class. [0068]
  • FIG. 10 shows an example of a call detail record specification. [0069]
  • FIG. 11 shows an example of a target call detail record format. [0070]
  • FIG. 12 shows an example of a profile/signature. [0071]
  • FIG. 13 is a general schematic diagram indicating the different time periods used in calculating the day/night period. [0072]
  • FIG. 14 is a general schematic diagram of an arrangement for the detection of anomalies in data relating to the transmission of messages in a communications network. [0073]
  • FIG. 15 is a flow diagram indicating how previously-validated candidates are retained. [0074]
  • FIG. 16 is a flow diagram indicating how automatic retraining using a daughter neural network takes place. [0075]
  • FIG. 17 shows an example display screen provided by the GUI (Graphical User Interface). [0076]
  • FIG. 18 shows another example display screen provided by the GUI.[0077]
  • DETAILED DESCRIPTION OF THE INVENTION
  • Embodiments of the present invention are described below by way of example only. These examples represent the best ways of putting the invention into practice that are currently known to the Applicant although they are not the only ways in which this could be achieved. [0078]
  • Definitions: [0079]
  • Call detail record (CDR)—this is a set of information about an individual telephone call. For example, information such as the account number, the date and time of the call, whether it was long distance or local etc. A CDR is created whenever a phone call is completed. The content of a CDR may vary for different telecommunications systems. [0080]
  • CDR interpreter—this examines CDRs and extracts those fields necessary for anomaly detection. [0081]
  • Detection poll period—this is a time interval during which information is collected for input to the anomaly detector. [0082]
  • Profile/signature—this is a set of information summarising and describing the behaviour of an individual customer or account number over a given time period. [0083]
  • Anomaly—this is any irregular or unexpected pattern within a data set. [0084]
  • FCAPS Application Frameworks—systems for fault management, configuration management, accounting management, performance management and security management in a communications network. [0085]
  • Topology of a neural network—this is the number of units in the neural network, how they are arranged and how they are connected. [0086]
  • Kernel—this is the part of the anomaly detector which detects anomalies and performs many other functions. [0087]
  • Graphical user interface (GUI)—this provides means for communication between the user and the anomaly detector using display screens. [0088]
  • FIG. 1 shows schematically how an [0089] anomaly detector 1 can be used to receive information 2 about the transmission of messages in a communications network 3 and provide reports 4 about potential anomalies in the input data. The particular instantiation of the anomaly detector 1 is created using a generic anomaly detection engine (ADE) as shown in FIG. 2. This gives the advantage that the anomaly detection engine 20 is a reusable component which can be used in different individual applications.
  • FIG. 2 shows the [0090] anomaly detection engine 20 which contains neural network components 21. The neural network components 21 learn patterns in the input information 2 and detect differences in these patterns—the anomaly candidates. The ADE 20 also comprises many other components for example, an engine administrator which is also referred to as an ADE manager.
  • The [0091] ADE 20 is used in conjunction with application specific software 22. This is software which performs any data transformations that are needed in order to convert the network data 2 to be analysed into a format that the ADE 20 can use. The application specific software 20 also includes software to perform a validation of the anomaly candidates detected and also any software to convert the ADE's results into actions to be performed. If the ADE is embedded in a network manager 23 then the application specific software 22 includes interface software to allow the ADE to be embedded in this way.
  • Before the ADE can be used it must be instantiated and integrated into the user's environment. By using an [0092] ADE component 20 in conjunction with application specific software 22 a particular instantiation of an anomaly detector 1 is created. This process of creating a particular anomaly detector is referred to as instantiation. Following instantiation, the ADE is integrated into the user's environment. For example, a graphical user interface (GUI) 7 is added to the ADE to create a stand-alone application such as that shown in FIG. 1. Alternatively, the ADE is integrated into existing software such as a network manager 23, which communicates directly with the ADE. The instantiated anomaly detector can be used by only one element in a communications network 3 or alternatively it may be used by different network elements. For example, by embedding an ADE in an FCAPS application framework an anomaly detector suitable for use by different communications network elements is obtained.
  • As previously described the ADE contains [0093] neural network components 21 which learn the data patterns or behaviour and detect the differences in the behaviour—the anomalies. For a particular anomaly detection situation a particular neural network topology will be most suitable. Also, the neural network needs to be trained in order to have a set of weights that enable anomalies in the input data to be detected. If the ADE is simply reused in a new situation the topology and weights of the neural network components 21 may not be appropriate for the new situation. In order to get round this problem when an ADE is instantiated to form a particular anomaly detector the topology of the neural network components 21 can be automatically adjusted. The neural network components 21 can then be trained or retrained to achieve a desired set of weights. This provides the advantage that the ADE can be used in a variety of situations. The ADE can be applied “cross-product” and “cross-data layer”. Cross-product means that the ADE can be applied to more than one type of communications network product. Cross-data layer means that the ADE can be applied to data gathered from the various layers of the communications network.
  • A general overview of how the ADE detects anomalies is now given by way of example. The ADE receives [0094] input information 2 about the transmission of messages in a communications network 3. This information 2 is in the form of call detail records (CDR's) and is processed by the ADE to form profiles (also referred to as signatures). A profile is a set of information summarising and describing the behaviour of an individual customer or account number over a given time period. Historic and recent profiles are formed where an historic profile relates to the behaviour of an individual customer over a certain period of time and a recent profile relates to the behaviour over a shorter and more recent period of time. The historic profiles are assumed to represent non-anomalous behaviour. By comparing the historic and recent profiles using the neural network components 21 anomalies in the recent profile are detected. Many pairs of historic and recent profiles are created and compared and over time the historic profiles are updated with non-anomalous information from the recent profiles.
  • Before anomaly detection can take place the [0095] neural network components 21 must be trained. The neural network components comprise a multi-layer perceptron neural network. This neural network is trained using a supervised training method. This involves inputting a training data set to the neural network so that the neural network is able to build up an internal representation of any patterns inherent in the data. The training data set contains profiles and information about whether these profiles are anomalous or not. This allows that neural network to learn the typical and exceptional behaviour profiles that occur in the network data and to classify them accordingly. Once the neural network has been trained it is validated to check that the training has been successful. This is done by presenting a new set of profiles, that are known to be anomalous or not, to the trained neural network. The outputs of the neural network are then compared with the expected outputs.
  • The successfully validated neural network can then be used to detect anomalies. New communications network data is presented to the ADE which uses the new data to form recent profiles. The neural network then compares the recent profiles with the historical profiles in order to detect anomalies. If there is a difference between the recent and historical profiles then the neural network can indicate whether this is due to anomalous behaviour by the system or whether it is simply due to an acceptable change in the behaviour profile. If a pattern of data that has never been encountered before is presented to the neural network then the neural network produces a best-guess result. [0096]
  • As time passes since the neural network was trained general trends in the data from the communications network occur. These trends are not taken account of by the neural network because the neural network was not trained on this data. In order to get round this problem the neural network can be retrained. This process can be carried out automatically using suitable application specific software. [0097]
  • As the ADE is used, further information about whether anomaly candidates produced by the ADE are real anomalies or not may be obtained by the user. Provision can be made for this information to be input to the ADE and used to update the training data set and various other information. This process is described in more detail below. [0098]
  • Main ADE Components [0099]
  • The main components of the ADE are now described and later the processes of instantiating an ADE and integrating it ready for use are described in detail with reference to examples. FIG. 3 shows the main components of the ADE and also the flow of information between these components. The main components comprise: [0100]
  • a [0101] profile generator 31;
  • a [0102] profile decay process 32;
  • a [0103] data transformer 33;
  • an [0104] engine administrator 34;
  • and a [0105] detector 35.
  • The ADE comprises all components inside the [0106] boundary 30 in FIG. 3. The area outside the boundary 30 refers to the particular instantiation of the ADE in application specific software. Data about the transmission of messages in a communications network that has been pre-processed into a specific format 36 is input to the profile generator 31. The profile generator 31 forms historic and recent profiles or signatures 37,38 of the input information 36. If necessary the historic profiles are updated with information from the recent profiles using the profile decay process 32. Information about whether anomaly candidates produced by the anomaly detector are really anomalies or not 39 can be input to the ADE and used to update the profiles and for other purposes. These processes are described further below.
  • Once the [0107] recent profile 37 and the historic profile 38 have been created and updated as required, they are input to the data transformer 33 which transforms them into a format required by the detector 5. For example, a recent profile and a historic profile pair may be concatenated, or the difference between the two profiles may be calculated. Other transformations are also possible. The transformed data 40 is used by the engine administrator 34 and the detector 35. engine administrator The engine administrator, also referred to as an ADE manager, is responsible for the following tasks:
  • 1. training and/or retraining the neural network; [0108]
  • 2. evaluating the performance of the ADE; [0109]
  • 3. creating the neural network; [0110]
  • 4. managing and maintaining a training data set and an evaluation or validation data set. [0111]
  • As shown in FIG. 4 the [0112] engine administrator 34 comprises a data manager 41; a training/retraining processor 42; an evaluator 43; and a processor for creating a neural network 44.
  • [0113] Data Manager 41
  • The [0114] data manager 41 maintains two data sets: an evaluation data set 45, and an example data set 46 which is also referred to as a training data set. The data manager receives inputs of detection data 40 and validated results 48. The validated results comprise information about whether anomaly candidates identified by the neural network 47 are real anomalies or not. These validated results 48 are also referred to as “profile identification and category” information; they are used to update the example data 46, the evaluation data 45 and for other purposes as described below. The evaluation data set 45 is created by splitting the detection data set 40 into two parts; an evaluation data set 45 and an example or training set 46. Both these sets of data contain profiles and information about whether each profile in the set is anomalous or not.
  • The example or training data set [0115] 46 is used to train the neural network 47 using the training processor 42. Adding new examples of anomalous behaviour 48 to this data set enables the detection to be updated with new information. This aids the general performance of the ADE; examples from false positive identifications can be added to the example data set to reduce the probability that the false identification recurs. Adding results from positive identifications reinforces the ability of the neural network 47 to make similar positive identifications.
  • Training/[0116] Retaining Process 42
  • The training process enables the ADE to learn, or relearn, a particular task. To obtain the optimum performance from the ADE, a [0117] representative data set 46 needs to be presented during training. This training data set 46 should include examples of anomalous events as well as non-anomalous events and preferably in a proportion that is representative of the data set to be analysed by the ADE. The neural network 47 is trained using a learning algorithm. Many different learning algorithms can be used and in a preferred example a non-parameterised learning rule, the known scaled conjugate gradient algorithm, is used. Condition parameters 49 are input to the training/retraining process 42. These parameters can be input by the user or may be predefined. They include information specific to the training/retraining process such as how many training epochs should be carried out and whether early stopping should be invoked. Retraining can be carried out automatically without intervention by the user as described below. This is done by using specially adapted application specific software. The process of retraining can involve the creation of a second neural network that has the same topology as the original neural network 47 and retaining the second network. This is described in detail below.
  • [0118] Performance Evaluator 43
  • Once the ADE has been trained, a [0119] validation process 43 is used to determine the performance that the ADE has for the particular task. The performance of the ADE is determined by presenting the evaluation data set 45 to the neural network 47 using the performance evaluator 43. The evaluation data set 45 contains profiles and information about whether these profiles are anomalous or not. The profiles are presented to the neural network 47 and the anomaly candidates produced by the neural network 47 are compared with the expected outputs by the performance evaluator 43. The performance evaluator 43 then calculates a value 50 which indicates the level of similarity between the actual and expected outputs of the neural network. This value 50 is then provided to application specific software 51.
  • Neural [0120] Network Creation Process 44
  • For each instantiation of the ADE a separate [0121] neural network 47 is required. The neural network creation process 44 creates a neural network of a given internal architecture. The creation process 44 creates a multi-layer perceptron (MLP) that is either fully connected or not fully connected. The MLP can be created with different numbers of input, output and hidden units. The number of hidden layers can also be varied. It is not essential that the creation process create a multi-layer perceptron type neural network. Other types of neural network such as a self-organising map could be created and used to detect anomalies.
  • [0122] Detector 35
  • Once the data from the two profiles has been prepared, the neural network has been created and evaluated by the [0123] administrator 34, the neural network 47 is simply presented with the new detection data 40. Referring to FIG. 3, the detector 35 receives the detection data 40 and using the trained and validated neural network 47 carries out the detection process to produce potential anomaly candidates 41. The neural network classifies each recent profile either as an anomaly or not and the neural network 47 also gives an associated confidence value for each classification. Anomaly threshold parameters 52 are input to the detector 35 from application specific software. These parameters 52 are used to filter the potential anomaly candidates 41 to remove the majority of false positive identifications. For example, all anomaly candidates with a very low confidence rating could be filtered out.
  • Instantiating and Integrating the ADE to Form a Specific Anomaly Detection Application [0124]
  • The ADE is a library of software components which can be used to detect anomalies in data about the transmission of messages in a communications network. The components need to be tailored for each specific application and once instantiated form an engine which can then be integrated into a software system. The ADE has an application programming interface (API). The application [0125] specific software 22 communicates with the ADE via this API.
  • Application Programming Interface (API) [0126]
  • The API enables 8 different method calls to be made on the ADE from the application [0127] specific software 22. That is 8 different instructions can be given to the ADE including:
  • 1. CreateAnomalyDetector [0128]
  • 2. TrainAD [0129]
  • 3. PerformDetection [0130]
  • 4. EvaluatePerformance [0131]
  • 5. SwitchADs [0132]
  • 6. AddKnowledge [0133]
  • 7. UpdateProfiles [0134]
  • 8. DeleteAD [0135]
  • These instructions are examples only and other types of instructions could be used. Each of these [0136] 8 instructions are now described:
  • CreateAnomalyDetector [0137]
  • This instruction requires that information about the location of an anomaly detector creation specification and a training data set is supplied when the instruction is made. This information is supplied by the application [0138] specific software 22, for example, it may be input by the user through a GUI. When this instruction is given to the ADE an anomaly detector is created which includes a neural network based on the creation specification and the training data set. The anomaly detector creation specification contains information about the minimum size for the training data set as well as other information as described below. Once the anomaly detector has been created a signal is returned to the application specific software 22 to indicate that the neural network is ready.
  • TrainAD [0139]
  • This instruction causes the training/[0140] retraining process 42 to train or retrain the neural network using the training data set and any retraining data that is available. Once the neural network has been trained or retrained information is sent back to the application specific software. This includes information about the location of the trained/retrained neural network and a classification error. The classification error is a value which indicates the proportion of inputs that were misclassified by the neural network during an evaluation of the performance of the neural network.
  • PerformDetection [0141]
  • This instruction requires that information about the location of a [0142] detection data set 40 is provided to the ADE. When this instruction is given the detector 35 in the ADE performs a detection using the supplied detection data set. This is the normal mode of operation for the engine. A series of real presentations are supplied, which the neural network attempts to classify as being anomalies or not. When the detection is completed the ADE returns a data set to the application specific software 22. This is a list showing which category (anomaly or not) the ADE classified each input into together with a confidence rating for each classification.
  • EvaluatePerformance [0143]
  • When this instruction is given to the ADE the [0144] performance evaluator 43 carries out an evaluation using the evaluation data set 45. When the performance evaluation is completed a classification error is returned to the application specific software. This gives an indication as to how many mis-classifications were made by the neural network. A mis-classification occurs when the neural network returns a detection result based on a known input-output pair, which does not match the correct output for that particular input.
  • SwitchADs [0145]
  • When this instruction is given to the ADE a recently trained second neural network (that was created during the retaining process and is contained in a second anomaly detector) is switched with the current active neural network. That is, the current active neural network is replaced by the newly trained neural network. If a switch is attempted before a second neural network has been created an error message is returned to the application [0146] specific software 22.
  • AddKnowledge [0147]
  • This instruction requires that information about the location of a data set containing validated [0148] results 48,39 is provided with the instruction. When the instruction is given, a retraining data set is created or updated within the ADE using the new information. When the updating process is completed information about the location and existence of the retaining data set is returned to the application specific software.
  • UpdateProfiles [0149]
  • This instruction requires that information about the location of the presentation data set to be provided when the instruction is given. When the instruction is given the historic profiles are updated using information from the recent profiles using the [0150] profile decay process 32. When the updating process is completed information about the location of the updated presentation data set is returned to the application specific software 22. It is also possible for the recent profiles to be updated with current information as described below.
  • DeleteAD [0151]
  • When this instruction is given the anomaly detector is deleted. Any memory that was used to store the anomaly detector is released. [0152]
  • Preferably the API (and the ADE) is created using an object oriented programming language such as C++. An object referred to as an ApplicationBridge object is provided which makes available each of the 8 methods or instructions described above. Each of the 8 methods has an associated valid “return event” method. In order to add further capabilities required by a specific application the user must create further software which inherits from the ApplicationBridge object and overloads the return event methods It is not essential however for the API and indeed the ADE software to be created using an object oriented programming language. Other programming languages could be used. [0153]
  • Anomaly Detector Creation Specification [0154]
  • This contains three parameters and information about the location of a neural network creation specification. Preferably the anomaly detector creation specification is an object created using an object oriented programming language. It is used by the ADE to instantiate all the C++ objects. The three parameters are: [0155]
  • 1. an update factor—this specifies the update factor that is to be used in the algorithm for updating profiles as described below. [0156]
  • 2. a retrain factor—this is a threshold which must be met before retaining takes place. For example, it can be the proportion of retraining data to original training data required in order to make it worthwhile retraining. [0157]
  • 3. a minimum training data parameter—this is a threshold which must be met before training occurs. It reflects the confidence in the training data and the neural network's ability to train on a restricted data set. This value is the minimum amount of original training data required before the neural network will be trained. [0158]
  • In order to produce an anomaly detector creation specification it is necessary to first construct a neural network creation specification. [0159]
  • Neural Network Creation Specification [0160]
  • The neural network creation specification contains information about the location of two other specifications, the layered network specification and the network trainer specification. Preferably the neural network creation specification is formed using an object oriented programming language and is linked to the anomaly detector creation specification object, a layered network specification object and a network trainer specification. The layered network specification and the network trainer specification should be created before the neural network creation specification. [0161]
  • Layered Network Specification [0162]
  • This contains the specification for a particular type of layered neural network. A list of three values is given which specify: [0163]
  • 1. the number of units in the input layer; [0164]
  • 2. the number of units in the hidden layer; [0165]
  • 3. the number of units in the output layer. [0166]
  • A list of weights can also be given. This is a list of values for each of the weights between the connections in the neural network. If the specification is for a trained neural network then a list of weights must be given. If the specification is for an untrained neural network then no weights are necessary. The number of input units is determined with reference to the number of attributes of the input data that are deemed significant. The number of units in the hidden layer can be determined either empirically or by statistical analysis using known methods. The number of units in the output layer depends on the number of classifications the user requires for the particular task. It is also possible to specify whether the neural network should have a fully-connected architecture or a partially connected architecture. If a partially connected architecture is selected the specific connections are specified in the list of weights. [0167]
  • Network Trainer Specification [0168]
  • This contains information required by the neural network during training. 7 parameters are included: [0169]
  • 1. target error—this is a threshold error value which must be achieved before training stops. If the target error is set to 0 then the threshold is ignored. The target error is specified as the sum of squared errors over the training set. That is, the training set is presented to the neural network and the output values are subtracted from the expected output values to give a set of errors. The sum of the squares of these errors is then calculated. [0170]
  • 2. percentage validation—this specifies the percentage of training data that will be regarded as validation data and will not be used for training. This parameter is only significant if early stopping is used. [0171]
  • 3. is-early-stopping-required—this is a Boolean value which indicates whether training should be stopped early in order to achieve generalisation. In most cases this is set to true. Early stopping means stopping the training process earlier than usual so that overfitting does not occur. If the neural network is trained too much it will not be so good at generalising or producing “best guess” results when new data is presented. This is because the training data has been overfitted or learnt too specifically. [0172]
  • 4. number of training cycles—this specifies the number of training cycles that will be performed. If this value is set to zero the neural network is retrained. That is, the weights are not randomised before training begins. [0173]
  • 5. random_seed—this seeds the random number generator that is used to initialise the weights and choose the validation set. When this value is set to −1 the random number generator is seeded using a value derived from the system clock. This maximises the unpredictability of the generated numbers and is the usual value for this parameter. When this value is set to a positive number this value is used as the seed. This option is intended for purposes such as regression testing and debugging where the same sequence of pseudo-random numbers may be required every time. [0174]
  • 6. max_number_of_steps—this parameter specifies the maximum number of steps that the trainer can take. If this parameter is set to zero then this test is ignored. This is the usual value for this parameter. A non zero value indicates the number of steps at which to stop a training cycle if it has not stopped previously for some other reason. [0175]
  • 7. fractional_tolerance—this value indicates a threshold for the amount of improvement that should occur as a result of one training step. When the threshold is reached training stops. A zero value indicates that training should stop when a step produces an effect that is small compared with the accuracy of the floating-point calculations. A non zero value indicates that training should stop when the relative improvement as a result of a step is below the value given. For example, values in the range 10-2 to 10-6 are suggested. [0176]
  • The ADE is generic in nature and requires an additional layer of instantiation software (or application specific software [0177] 22) to provides further functionality. For example, the instantiation software may provide a GUI, data pre/post processing and interfaces to the external world. As a minimum requirement the application specific software must allow the user to give any of the 8 API method instructions or calls to the ADE. The parameters required by each method call must also be provided in the correct format. For example, historic and recent profiles must be of a specified format, as must any specifications and data sets.
  • The process of instantiating an ADE will now be described by way of example. In this example the ADE is to be instantiated and used to detect fraudulent usage on a mobile telephone or fixed telephone network. Also, the data to be analysed by the ADE is in the form of call detail records which have been pre-processed into the format required by the ADE. The steps involved in the instantiation process include: [0178]
  • arrange for the application specific software to supply the CDRs in the correct format to the ADE [0179]
  • create an anomaly detector creation specification (this includes the step of creating a neural network creation specification); [0180]
  • create the anomaly detector; [0181]
  • create the training data set, validation data set and presentation data set; [0182]
  • train the neural network; [0183]
  • When these steps have been performed the instantiated ADE is ready to detect fraudulent telephone accounts. The application specific software should also be arranged to allow the other instructions or method calls (add knowledge; retrain; switch; delete) to be sent to the ADE. [0184]
  • Create an Anomaly Detector Creation Specification [0185]
  • This entails determining the values for the various parameters. In this example the ADE is formed using an object oriented programming language. In this cases a call is made on an anomaly detector creation specification object constructor. This causes the anomaly detector creation specification to be created. The parameters should be calculated prior to the creation of the anomaly detector and inserted into the anomaly detector creation specification. The optimum set of parameter values should be used in order to obtain the best detection results. For example, the number of output units for the neural network is determined according to the type of data being analysed. For fraud detection two output units can be used, one for fraud and one for non-fraud. The analysis of raw network data is required to help in the definition of the key attribute/fields and values that are needed for the anomaly detector specification. [0186]
  • Create the Anomaly Detector [0187]
  • The anomaly detector objects are created by giving an instruction to start the CreateAnomalyDetector method and supplying information about the location of the anomaly detector specification and training data set. [0188]
  • Create the Training Data Set, Validation Data Set and Presentation Data Set [0189]
  • The CDR data must be transformed in order to produce the training, validation and detection data sets. One approach for doing this involves: [0190]
  • splitting the CDR data into 3 sets, training, validation and detection, whereby the training set is substantially larger than the validation set [0191]
  • deciding on small arbitrary window sizes for the historical and recent profiles. The term window size refers to the time period over which the profiles represent telephone call behaviour. For example, for a 3 month supply of CDR data, the historical window size could be 5 days and the recent window size could be 0.5 days. [0192]
  • Selecting attributes from the CDR data and forming the profiles as well as labelling each profile as to whether it is fraudulent or not. [0193]
  • Training the neural network with the new training data set and observing the detection results. [0194]
  • If the neural network performance appears relatively low, gradually increase the window sizes and retrain. [0195]
  • If the neural network performance reaches a level required by the user then the window sizes are deemed correct and are used for profiles in all data sets. [0196]
  • The creation of a historic profile for a new customer account needs to be done at the instantiation layer (application specific software). The historic profile should be a direct copy of the recent profile with a label to indicate that it is a new customer account. Also, data for a profile needs to be consecutive, i.e. if it is determined that a recent profile required 5 hours of data, then 5 consecutive hours need to be used for the recent profile, not just any 5 hours. This means that gaps in the CDR data may cause problems. However, this depends on the relative size of the “gap” For example, if there is a one hour gap in a months worth of data then there is unlikely to be a problem. Another point is that the window sizes for the historic and recent profiles must be for consecutive time periods. For example, the historic time period may be from 1 January to 31 January whilst the recent profile window is from 31 January to 5 February. [0197]
  • Train the Neural Network [0198]
  • This process involves cyclically adjusting the weights stored on the connections between units in the neural network, until sufficient training has been performed. This is done by sending an instruction to the ADE to start the TrainAD method. [0199]
  • Once the ADE has been instantiated or tailored for a specific application it is integrated into the system software. To do this integration code is used to bridge from the tailored ADE to the system software. This integration code is application specific. Many different possible forms for the integration code are possible. The integration code should take account of the following issues: [0200]
  • management issues [0201]
  • architecture issues [0202]
  • software issues [0203]
  • data issues [0204]
  • Management Issues [0205]
  • The integration software must manage the ADE. The functions which must be performed are: [0206]
  • Monitoring the performance of the ADE. The application which the ADE will be used in will need to determine the appropriate performance measurement. The engine will return a mis-classification value when a performance evaluation is requested. This mis-classification is obtained by presenting the training set together with any additional knowledge added to the engine, and counting how many of these are given an incorrect result. [0207]
  • Deciding the threshold performance level for retraining. [0208]
  • Deciding when to retrain the neural network. [0209]
  • Architecture Issues [0210]
  • Architectural considerations are: [0211]
  • How to access appropriate data stores in order to provide necessary input data from which to perform detection and where to locate data stores, either locally or distributed. [0212]
  • How to update the persistent store of the neural network creation specifications, which is part of the anomaly detector specification, when the ADE is retrained. The specification is passed back through the API when the training is complete. [0213]
  • Software Issues [0214]
  • The integration code can have the following functionality: [0215]
  • If the ADE is event based it may easily be converted into call-return form by writing a small amount of interface code. [0216]
  • Storage of the anomaly detector specification data needs to be considered. The anomaly detector specification will need to be accessible by the user at some point after start-up in the following situations: system crash, process killed and needs to be re-started. [0217]
  • Storage of the historical profiles also needs to be considered. The historical profiles will be stored externally of the ADE, and accessed when required. [0218]
  • Storage of the original training data set, and the additional knowledge (data) gathered through use of the ADE is also required. The additional knowledge is needed by the ADE for re-training, in order to improve its future performance. [0219]
  • Deletion of any objects output from the ADE—detection results, any data sets, and the anomaly detector specification. [0220]
  • Any objects which are passed into the ADE will be deleted by the ADE software-training data set, data input to use in detection mode, any knowledge added, the profiles, and the anomaly detector specification. [0221]
  • Data Issues [0222]
  • The integration software is responsible for: [0223]
  • Maintaining an appropriate set of data for initially training the ADE. This process must result in a data set whose data coverage is sufficient to allow successful training of the ADE. [0224]
  • Maintaining an appropriate data set for retraining the ADE. Additional knowledge must be obtained by interaction with the user. This knowledge must be obtained by interaction with the user. This knowledge must be used to form a retraining data set which is to be utilised when a request is made, by the user, to add knowledge back into the ADE. [0225]
  • Updating historic profiles over time. This is done by allowing the recent profile data to migrate into the historical profile. This relies upon the recent profile being assessed as non-fraudulent, as it would be counter-productive to allow a non-fraudulent historical profile to be updated using a fraudulent recent profile. [0226]
  • Some form of feedback loop is therefore needed in order for the fraudulent profiles output by the instantiation layer to be verified. The resultant fraud candidates will need to be assessed and the results of the assessment will need to be fed back into the instantiation layer in order for the correct profile adjustment to be made. Any non-fraudulent output will be allowed to update the associated historical profile without the need for a validation step. [0227]
  • Assessing the raw communications network data. This can either be a manual or automatic process of obtaining account details from the appropriate communications network. [0228]
  • A particular example of an instantiated ADE will now be described. In this example an anomaly detector is formed using an ADE together with application specific software which makes it possible for automatic retraining of the neural network components to take place. In this example, the particular instantiation of the ADE is referred to as a kernel within the anomaly detector. The major components of the kernel with respect to the fraud detector application domain, are set out in Appendix A below. [0229]
  • FIG. 14 shows schematically how the [0230] anomaly detector 201 can be used to receive information 202 about the transmission of messages in a communications network 203 and provide reports 204 about potential anomalies in the input data. Validated results 205 can be provided to the anomaly detector 201 so that the performance of the anomaly detector can be evaluated. For example, in the case of telecommunications fraud detection the anomaly detector 201 identifies potential fraud and non-fraud candidates. Further information 205 about whether these candidates have been correctly identified as frauds or non-frauds is then obtained for example from the user, and input to the anomaly detector. This information is used to evaluate the performance of the anomaly detector. This provides the advantage that a measure of the detector's performance can be obtained easily. Once the performance falls below a certain predefined level, action can be taken to improve the performance as long as certain other criteria are also met. This action involves retraining a neural network 261 which forms part of an anomaly detector kernel 206. Once the performance drops below a specified limit, retraining can be initiated automatically without any intervention from the user.
  • In the situation where the performance of the [0231] anomaly detector 201 is satisfactory, no retaining takes place. This is illustrated in FIG. 15 at 220. In this situation validation data has been provided although the neural network 261 has not been updated using the validated data 205; that is, because the neural network 261 has not been retrained it is not able to take account of the new validation data 205. When further results are obtained from the anomaly detector 201, these will not reflect the new information and the user may be presented with results that she has already corrected before. In order to avoid this problem, the anomaly detector 201 is able to store validated results 221 between retraining episodes. This store of validated results is then used, as shown at 222, to update any further output from the anomaly detector before this is presented to the user for validation.
  • The [0232] anomaly detector 201 also has the ability to create a daughter neural network of the same topology as the parent. This daughter can then be retrained whilst the parent is still in use. Once the daughter is retrained it can then be used in place of the parent, if the performance of the daughter is satisfactory. This is illustrated in FIG. 16.
  • It is not essential for the [0233] validation data 205 to be provided by a user via a user interface. For example, the validation data could be obtained automatically and input to the system directly. Also, it is not essential for the neural network to form part of an anomaly detector. The neural network could be used for processing data for another purpose.
  • The process of monitoring the performance of the anomaly detector will now be described in more detail. This comprises: [0234]
  • changing configuration information [0235]
  • performing an anomaly detection [0236]
  • presenting the outputs from the anomaly detector to the user via a user interface [0237]
  • accepting validated results or target outputs from the user via the user interface [0238]
  • evaluating the performance of the anomaly detector [0239]
  • Changing Configuration Information [0240]
  • The user is able to change the following settings during operation of the anomaly detector: [0241]
  • (I) the evaluation interval i.e. the number of sets of validated results that must be supplied to the anomaly detector before retraining can be initiated automatically; [0242]
  • (ii) the start date and time for performance of an anomaly detection; [0243]
  • (iii) the performance threshold i.e. the threshold below which performance of the anomaly detector must fall before automatic retraining is initiated. This step of changing the configuration information is optional. [0244]
  • Performing an Anomaly Detection [0245]
  • The kernel identifies via the system clock that a detection poll period has been reached. If the kernel is busy when a poll detection period is reached then when it becomes available it will get the current time. If this time is less than the clock interval (plus some overhead time) then the detection is serviced else the poll detection has been missed and the kernel sends a message back to the graphical user interface (GUI) to indicate that a poll detection has been missed. [0246]
  • If a detection is to take place then the kernel sends information to the GUI to indicate that the kernel cannot accept any further commands until the detection has been completed. [0247]
  • The kernel accepts input information that is input to the anomaly detector. This input information is initially in the form of call detail records for those customers who have made calls during the poll period. These call details records are pre-processed before being input to the kernel. The kernel also performs any further processing of the input information before this is provided as input to the neural network within the kernel. The neural network then performs the anomaly detection and outputs a set of results to the kernel. The kernel then stores these results in a file and sends information to the GUI indicating that the detection is complete. [0248]
  • Presenting the Outputs From the Anomaly Detector to the User via a User-Interface [0249]
  • When the GUI receives information from the kernel indicating that a new detection results file has been created it indicates this to the user. This is done by highlighting a reload button on a display screen. By activating this button, for example by clicking it with a mouse, the user can display the results file on the screen. FIG. 17 shows an example of such a display. The user can manipulate the way in which the results are displayed using the user interface. The user is also able to generate a graph displaying the results information as shown in FIG. 18 and independently to change the viewing criteria for this graph without affecting the table of results. [0250]
  • Accepting Validated Results or Target Outputs From the User via the User Interface [0251]
  • When viewing the detection results on the table view as shown in FIG. 17, the user is able to indicate if individual responses were correct or incorrect. For example, the table [0252] 240 shown in FIG. 17 has one row 241 for each customer account number. In the various columns of the table 242 the following information is provided:
  • the customer account number; whether this account is identified as a potential fraud or not; the confidence rating of the fraud/non-fraud classification and the average duration of a telephone call. Other information could also be provided, for example the average duration of long distance calls or information about geographical location. The [0253] validity column 243 displays information that the user has input about the account number concerned. This information can be added to the kernel's knowledge base. The user is able to select individual accounts and validate the anomaly detector's response. When the user has added validation information for a number of accounts this can be added to the engine's knowledge base. This is done by activating the “add knowledge” button 244 on the user interface as shown in FIG. 17. When the user activates this button the GUI sends information to the kernel about the set of validated fraud candidates for all those accounts which have been validated and all other non-fraudulent accounts. This is called an add knowledge event.
  • When this information is sent to the kernel the kernel has several actions to perform as listed below: [0254]
  • (1) store or retain previously validated candidates; [0255]
  • (2) add information about the validated fraud candidates to the anomaly detector's knowledge base; [0256]
  • (3) update profiles; [0257]
  • (4) evaluate the performance of the anomaly detector; [0258]
  • (5) retrain the neural network. [0259]
  • [0260] Actions 1, 2 and 3 above must be performed whereas actions 4 and 5 are conditional.
  • Store or Retain Previously Validated Candidates [0261]
  • When an add knowledge event has been initiated, the GUI needs to maintain a list of all accounts which have been validated and the condition associated with that account, for example, whether a fraud was correctly identified as such. If subsequent detection take place before the kernel initiates automatic retraining then the GUI can display to the user what that account has been previously validated to. [0262]
  • Add Information About the Validated Fraud Candidates to the Anomaly Detector's Knowledge Base [0263]
  • The kernel adds all the validated fraud candidates to the anomaly detector's knowledge base. The kernel also increments the number of add knowledge events which have been performed. [0264]
  • Update Profiles [0265]
  • The kernel updates the historical profile for those accounts which are validated as correct non-fraud candidates and those which are validated as incorrect fraud candidates. The kernel also updates the historical profiles for the other non-fraud candidates. The kernel matches the recent profiles with the customer's historical profile and then provides this information to another process which updates the historical profiles with the corresponding recent profiles. The updated historical profiles are then stored by the kernel. [0266]
  • Evaluate the Performance of the Anomaly Detector [0267]
  • If the number of add knowledge events is equal to the evaluation interval, the kernel performs an evaluation of the performance of the anomaly detector. If a performance evaluation is carried out then the counter for the number of add knowledge events is reset. The performance evaluation comprises carrying out a comparison of the candidates and any corresponding validation results. Retrain the Neural Network [0268]
  • If the performance evaluation is less than the performance threshold, the kernel initiates retraining of the neural network. The kernel will not respond to any events that are sent until retraining is complete. No intervention by the user is required during retraining. The kernel informs the GUI when retraining is complete and which of the operations listed as 1 above have been performed so that the GUI can update its representations respectively. If an evaluation has taken place then the new performance evaluation result is sent to the GUI. If the neural network has been retrained, information about this is sent back to the GUI. [0269]
  • When retraining takes place, a new neural network is created by the kernel. This daughter neural network has the same topology as its parent. The daughter neural network is trained instead of retaining the parent. [0270]
  • Once retrained the daughter neural network is evaluated by the kernel. If the performance of the daughter is better than the parent then the kernel indicates to the GUI that a new neural network is available. The GUI asks the user if this new neural network should be used. The user's response is sent to the kernel and if affirmative, the kernel replaces the parent neural network with the daughter neural network. [0271]
  • Preferably the anomaly detector and the neural network are implemented using an object oriented programming language, or a non-introspective programming language. The anomaly detector is implemented using at least one instantiated object. In order to store or retain the objects persistence mechanisms are used. Such mechanisms are described in appendix B below. The objects or groups of linked objects are converted into data structures using the persistence mechanisms in order that they can be stored or retained. The data structures can then be passed between processors. For example, these may be different nodes on a communications network. This provides various advantages. For example, a daughter neural network, once created, can be stored as a data structure and moved to a quiet node in the communications network before being retrained. Also the neural network part of the anomaly detector can be moved to a particular node in the communications network whilst the other parts of the anomaly detector such as the GUI are held on a different (and perhaps quieter) node. [0272]
  • The anomaly detector discussed in the example above may also contain application specific software for storage of information relating to the transmission of messages in a communications network. A particular example of an anomaly detector which incorporates such application specific software is discussed below. [0273]
  • FIG. 5 shows schematically how the [0274] anomaly detector 101 can be used to receive information 102 about the transmission of messages in a communications network 103 and provide reports 104 about potential anomalies in the input data. For example, in the case of a telecommunications network the information 102 can be in the form of call detail records (CDRs). The format of CDRs from different telecommunications systems differs and the anomaly detector is able to cope with this. In a given time period call detail records are obtained for telephone calls made during that time. The anomaly detector collects the individual CDR's for each customer and generates a signature for each customer. This is shown in FIG. 6. A set of CDR's for an individual customer is obtained 110. Each CDR comprises several attributes or fields 112 such as the billing account number; the telephone number associated with the account, the called telephone number, the date and time of completion of the call etc. From the set of CDR's for an individual customer 110 a signature 111 is created for that customer using information from the fields or attributes 112. Each signature 111 comprises several parameters 113 that are related to the fields or attributes 112 from the individual set of CDRs for the customer. For example, a parameter might be the percentage of local calls made during the time period. At least one parameter is related to the transmission of messages over a portion of the period and information relating to the position of the portion in the period. For example, such a parameter might be the percentage of local calls made between 8 am and 8 p.m. on the third day of the time period. This has the advantage that a large number of CDRs have been summarised into signatures that capture essential features of the pattern of telephone calls made by individual customers over time. By creating two signatures one for a long period of time and one for a shorter period of time, it is possible to capture information both about the macro behaviour relating to a particular account number and the micro behaviour relating to that account number. For example, an historic signature and a recent signature can be created with the historic signature reflecting behaviour over a longer period of time. By comparing the historic and recent signatures (for example using a neural network) recent changes in behaviour can be detected.
  • In the case when the historic and recent signatures are compared using a particular instantiation of a neural network the time periods for the historic and recent signatures, once these have been chosen, are fixed. The neural network is trained using historic and recent signatures with the chosen time periods and thereafter signatures with the same size of time period must be used. [0275]
  • As time passes the historic signature needs to be updated because calling habits can change over time. This updating process enables emerging temporal patterns in the CDR data to be taken into account. The process of updating a signature is illustrated in FIGS. 7 and 8. [0276]
  • The current [0277] historic signature 130 is updated with the current recent signature 131 to form an updated historic signature 132. A new recent signature 133 can then be obtained. As indicated in FIG. 7 the current historic signature 130 is combined with the current recent signature 131 using a weighted averaging procedure to form the updated historic signature 132. The arrow 134 in FIG. 7 indicates time and the information emanating from the communications network over time is illustrated by 135.
  • In the situation where a comparison between an historic and a recent signature is required to detect anomalies it may be that new information has become available since the recent signature was created. For example, if the historic signature must always be updated using a recent signature that represents 7 days' worth of data then 6 days' worth of new information may be available before it is possible to take this into account. The system must wait until the end of the short recent period before an update is possible. [0278]
  • In order to accommodate new information obtained in-between updates a third dynamic signature is used. The third signature is dynamic because it can be taken over a variable time period as long as this is shorter than the time period for recent signatures. The dynamic third signature can then be used to update the recent signature before the anomaly detection takes place. This has the advantage that all available data is used in the anomaly detection process. [0279]
  • A signature which can also be referred to as a profile contains a statistical representation for each customer over a period of time. In one example, a profile as shown in FIG. 12 comprises the following major components: [0280]
  • n items representing the distribution of calls made during a week; [0281]
  • 21 items representing the distribution of calls made during particular portions of a week; [0282]
  • of the 21 [0283] items 7 items represent the distribution of calls for each day of the week;
  • of the 21 [0284] items 14 represent the distribution of calls either for day time use or night time, for each day of the week.
  • The process of generating signatures from CDRs will now be described in more detail. This process comprises: [0285]
  • parsing a number of different formats of CDR file [0286]
  • generating the profile. [0287]
  • Parsing a Number of Different Formats of CDR File [0288]
  • This is done by defining a specification for the CDR type to be parsed. A parser for each type of CDR type is contained in a library of CDR parsers. A base class is created from which each new type of CDR is able to inherit as shown in FIG. 9. [0289]
  • For each CDR type which is to be parsed to create a profile a specification is built of the position of the important data and the format in which that data is stored within the CDR. An example of a CDR specification is shown in FIG. 10. The CDRs are then converted into the desired format using information from the CDR specification. An example of a desired or target call detail record format is shown in FIG. 11. [0290]
  • Generating the Profile [0291]
  • This involves selecting the appropriate attributes from each CDR (that has already been parsed into the desired format) t[0292] 6 produce the profile. In this example, the desired CDR format is as shown in FIG. 11 and the profile has a basic structure as shown in FIG. 12. As previously described this contains 7 items for the basic structure 181 and 21 additional fields 182 which represent day-of-week and time-of-day information. Additional items can be added to this basic structure. Also, the 21 items 182 used within the profile shown in FIG. 12 can be expanded to model the time of day-of-week more closely. There is no restriction on the size of the profile which can be generated but the profile size must remain consistent within a particular instantiation of the system.
  • The appropriate attributes from each pre-parsed CDR are selected to form the profile by taking the following steps: [0293]
  • determining when a call was initiated [0294]
  • calculating the call distribution over the week [0295]
  • Determining when a Call was Initiated [0296]
  • In the example target CDR format shown in FIG. 11 there is a [0297] Dayof Week field 171. This is used to determine which day the call was made on. Similarly, the CallTime field 172 is used to determine the time the call was placed on that particular day.
  • Calculating the Call Distribution Over the Week [0298]
  • This is done by: [0299]
  • calculating the calls made each day; [0300]
  • and calculating the calls made in each day/night period. [0301]
  • Once the time when a call was initiated has been determined it is possible to create the elements of the profile which refer to the call distribution pattern i.e. the items shown at [0302] 182 in FIG. 12. Calls are analysed to calculate the percentage of calls made each day (7 items in the profile of FIG. 12) and also the percentage of calls made during the day/night periods (14 items in the profile of FIG. 12). This gives 21 items relating to the call distribution. In this example, all the percentages are based on the number of calls made in the respective period compared with the number of calls made over a whole week. Also, in this example, all the percentages are scoped between 0 and 1. For example, 15% would become 0.15.
  • Calculating the Calls Made Each Day [0303]
  • This is done by summing the number of calls made each day during the time period (in this case one week) and dividing this sum by the total number of calls made over the week. Information about the number of calls made each day is obtained using the DayOfWeek field in the CDR, shown as [0304] 171 in FIG. 11.
  • Calculating the Calls Made in Each Day/Night Period [0305]
  • In this example, a night period is defined to include calls made between 7 pm one evening to 7 am the following day. Because a night period can therefore include calls made on separate days it is necessary to analyse which hour of the day the call is made and see which particular period a call should be classified in. Potentially, calls made over one day can fall into 3 different periods ([0306] 91, 92 and 93) as shown in FIG. 13. The day of the week and the hour that the call was made are obtained. Then the number of calls made in the relevant period is divided by the number of calls made over the whole week to give the percentage of calls made in that period.
  • It is not essential that profiles of the form shown in FIG. 12 are used. Many other items could be included, for example the percentage of calls made to mobile telephones, the longest call made within the profile period and the number of call forwards made. Alternatively, the whole profile could be taken up with information about calls made at different times of the day. Many different combinations of different types of information are possible. [0307]
  • The process of updating a signature or profile is now described in more detail. As previously described, an historic signature is updated with the corresponding recent signature by a process involving a weighted averaging. A particular example of such an updating algorithm is given in the equation below: [0308] T i = ( Ti - ( Ti × UpdateFactor ) ) + ( Si × UpdateFactor ) UpdateFactor = WindowSize ( S ) WindowSize ( T )
    Figure US20030014377A1-20030116-M00001
  • In this equation T is the target profile or signature, which in this case is the historic profile. S is the source profile which in this case is the recent profile. The term window size refers to the length of the time period to which the signature relates. For example, the source window size may be 1 hour and the [0309] target window size 10 hours. Once the target and source profiles have been obtained the update factor is calculated by dividing the source window size by the target window size. If the source window size is 1 hour and the target window size 10 hours then the update factor is 0.1. If no source or recent profile exists a new recent profile is created. If the number of attributes in a profile is 4 then example source and target profiles might be: S[1,2,3,4] and T[5,6,7,8]. T′1 which is the first attribute for the new target profile can then be calculated as follows: T′1=(5−(5×0.1))+(1×0.1)=4.6. Similarly, the other attributes for the new target profile are calculated. This updating process can also be used for updating a recent profile with a dynamic profile. In both cases, once the updating process has been completed, the more recent profile is removed.
  • It is not essential to use the exact updating algorithm as described in the equations above. Modifications of this algorithm are possible; any type of weighted averaging process can be used. [0310]
  • A recent profile can be updated with a third signature or poll profile in the same way as for an historic and recent profile. Alternatively a different updating algorithm can be used for the poll to recent update. For example, one possible preferred update rule for poll to recent updating is given below: [0311] R = k ( P p q ) + ( 1 - k ) R = R + k ( P p q - R )
    Figure US20030014377A1-20030116-M00002
  • where p is the window size for the poll profile or third signature; [0312]
  • q is the previous normalising period; [0313]
  • P is the polled actual total (i.e. rate per r) . . . or average (i.e. rate per q); and [0314]
  • R is the recent average (normalised to rate per q). [0315]
  • For a particular anomaly detector in which the method and apparatus for creating, storing and updating profiles or signatures is to be used then particular values for the time window sizes, the profile update rates and day-of-week dependencies must be chosen. Different values will be most suited to different applications. Some factors which need to be considered when choosing these values are given below: [0316]
  • Time Window Size [0317]
  • Setting the time window size too small may result in insufficient data to expect any reasonable response from the anomaly detector. Too small a time period may also result in the propagation of anomalous behaviour into the historical profile. If the recent time window size is too large the anomalous behaviour may go undetected for a longer period of time. In order to determine the best window sizes the effect of different sampling rates and the subsequent statistical representation of the characteristics of the behaviour being observed needs to be examined. [0318]
  • Profile Decay Rates [0319]
  • To determine the best profile decay rate an assessment of the importance of the historical behaviour relative to the recent behaviour need to be made. [0320]
  • Day-of-Week Dependencies [0321]
  • The process of determining the window sizes and the decay rates should also take into account the impact of the day-of-week dependencies. [0322]
  • A wide range of applications are within the scope of the invention. For example, detecting telecommunications fraud; detecting credit card fraud; early detection of faults in a communications network and encryption key management. The invention applies to any situation in which anomalies need to be detected in a large amount of time variant data. [0323]
  • A wide range of other applications are within the scope of the invention. These include situations in which information about both a macroscopic pattern of behaviour and a microscopic pattern of behaviour must be stored. For example, in the area of banking, the detection of credit card fraud involves the storage of information about macroscopic and microscopic patterns of credit card use. Other areas include computer network security, trends analysis and many other fields. [0324]
  • Applications in which stored information must be updated are also within the scope of the invention. These applications include situations where an emerging temporal pattern must be accounted for. For example, the detection of credit card fraud, computer network security mechanisms, trends analysis and many other fields. [0325]
  • A wide range of other applications which involve the use of a neural network are within the scope of the invention. For example, in the area of banking the neural networks can be used for detecting credit card fraud and in this situation the ability to automatically retrain and monitor the performance of the neural network is vital. Also, in the area of computer network security neural networks can play an important role in detecting anomalous behaviour. Any service which involves sending messages over a telecommunications network, including entertainment services such as games or video distribution could also benefit from anomaly detection or trends analysis. Neural networks are used in many other fields as well as anomaly detection. For example, speech recognition, pattern recognition and trends analysis. In any of these applications the ability to retrain the neural network without intervention from the user can be important and these applications fall within the scope of the invention. [0326]
  • Appendix A
  • Kernel [0327]
  • Major Components [0328]
  • This appendix details the major software components within the fraud detector application domain including analysis and design details required. [0329]
  • The following is a list of passive objects identified as part of the analysis phase which will now be described in more detail using the object numbers in parentheses: [0330]
  • Fraud Detection Client (27) [0331]
  • Interpret Call Detail Record (15) [0332]
  • Add Knowledge Request (23) [0333]
  • Update Historic Profile Request (24) [0334]
  • Performance Evaluation Request (29) [0335]
  • Fraud Detection Request (16) [0336]
  • Poll To Recent Profile Decay (20) [0337]
  • CDR To Profile Tranform (13) [0338]
  • Call Detail Record (12) [0339]
  • Unvalidated Fraud Candidates (25) [0340]
  • Fraud Detector Specification (28) [0341]
  • Validate Request (8) [0342]
  • Candidate Data Set (18) [0343]
  • Validated Fraud Candidate (22) [0344]
  • Fraud Candidate (11) [0345]
  • Presentation Data Set (17) [0346]
  • Fraud Candidate Data Set (21) [0347]
  • Profile Data Presentation (7) [0348]
  • Poll Profile Vector (4) [0349]
  • Recent Profile Vector (34) [0350]
  • Historic Profile Vector (33) [0351]
  • Fraud Detection Client (27) [0352]
  • Description [0353]
  • A representation of a client of a fraud detector. This controls the fraud detection and performance evaluation requests of the application. [0354]
  • C++ Class Name [0355]
  • FDFraudDetectionClient [0356]
  • Behaviour Description: CreateFraudKernel [0357]
  • Upon receiving the CreateFraudKernel creation event from the GUI terminator, this object will: [0358]
  • link to the specified fraud detector specification, [0359] object 28, which was passed as a parameter associated with the creation event.
  • establish a clock polling mechanism. [0360]
  • Read customer recent and historical profiles via the persistence mechanism (See Appendix B) creating a profile data presentation, [0361] object 7, for each individual customer and added to the presentation data set, object 17.
  • The set of recent profiles is sent to construct poll to recent profile decay, [0362] object 20.
  • A handle needs to be kept on both the presentation data set, [0363] object 17, and poll to recent profile decay, object 20.
  • When the creation process is complete this object will send a KernelCreated event back to the GUI terminator. [0364]
  • The fraud detection client is now ready to service other events. [0365]
  • Behaviour Description: UpdateEvaluationInterval [0366]
  • Upon receiving an UpdateEvaluationInterval event from the GUI terminator the client will modify the no_evaluation_period attribute of the Fraud Detector Specification object (28) with the new evaluation interval. [0367]
  • Behaviour Description: UpdateDetectionStartDate [0368]
  • Upon receiving an UpdateDetectionStartDate event from the GUI terminator the client will modify the detection_start attribute of the Fraud Detector Specification object (28) with the new date. The client will then stop and update the poll clock mechanism with the new detection time and restart the poll clock mechanism. [0369]
  • Behaviour Description: UpdatePerformanceThreshold [0370]
  • Upon receiving an UpdatePerformanceThreshold event from the GUI terminator the client will modify the evaluation_performance attribute of the Fraud Detector Specification object (28) with the new performance threshold. [0371]
  • Behaviour Description: AddKnowledge [0372]
  • Upon receiving an AddKnowledge event from the GUI terminator which contains a handle to a set of fraud candidate objects (11), the client will then create an AddKnowledgeRequest Object (23) with the associated fraud candidate set. On completion of the request the client will be informed by the AddKnowledgeRequest Object (23) what operations have been completed. These operations will be detailed by use of an enumeration parameter with an associated real value. The enumeration type contains the following: [0373]
  • AddKnowledge [0374]
  • PerformanceEvaluation [0375]
  • Retraining [0376]
  • If the enumeration value is “AddKnowledge” then the associated real value will be zero, else it will indicate the current performance of the ADE. These values will then be used to send a AddKnowledgeComplete event to GUI terminator. [0377]
  • Behaviour Description: SwitchEngine [0378]
  • Upon receiving a SwitchEngine event from the GUI terminator the client will interrogate the event parameter to establish if a switch is required. If a switch is required then a request will be made to the ADE to switch to a new anomaly detector. If a switch is not required then no request is made of the ADE. On completion of the switch process the client will send a SwitchComplete event to the GUI terminator. [0379]
  • Note: The client is required to control the persistence of the new ADE on completion. [0380]
  • Behaviour Description: PollTime [0381]
  • Upon receiving a PollTime event from the Process 10 (clock poll mechanism) terminator which indicates that a detection poll period has been reached. The client will send a DetectionTakingPlace to the GUI terminator to indicate that the client cannot except any events until the operation has been completed. The client will create a fraud detection request object (16) which will control the detection process. On completion the client will send a DectionResultsReady event to GUI terminator. This event includes the time stamp used to create the results file. [0382]
  • Note: If the kernel is busy when a poll detection period is reached then when the client becomes available it will get the current time. If this time is less than the clock interval (plus some overhead time) then the detection is serviced else the poll detection has been missed and the kernel sends a DetectionMissed message back to the GUI to indicate that a poll detection has been missed. [0383]
  • Methods [0384]
  • FDFraudDetectionClient (FDFraudDetectorSpecification& fraud_spec) ˜FDFraudDetectionClient( ) [0385]
  • static FDFraudDetectionClient* CreateFraudKernel (FDFraudDetectorSpecification& fraud_spec) [0386]
  • void UpdateEvaluationInterval(int evaluation_interval) [0387]
  • void UpdateDetectionStartDate(date detection_date) [0388]
  • void UpdatePerformanceThreshold( float performance_threshold) [0389]
  • void AddKnowledge(FDFraudCandidateDataSet& data_set) [0390]
  • void SwitchEngine(Bool switch_required) [0391]
  • void PollTime( ) [0392]
  • Assumptions [0393]
  • The bridge will create fraud detector specification object on CreateFraudKernel. [0394]
  • The bridge will create fraud candidate date set object hierarchy on [0395]
  • AddKnowledge. [0396]
  • Retraining will always result in an improved performance of the ADE. [0397]
  • Retraining can follow a retraining without a SwitchEngine event being received. [0398]
  • Ownership [0399]
  • FDFraudDetectorSpecification [0400]
  • FDAddKnowledgeRequest [0401]
  • FDFraudDetectionRequest [0402]
  • Read Accessors [0403]
  • RWBoolean IsAnomalyDetectorCreated( ) const; [0404]
  • FDPresentationDataSet* GetPresentationDataSet( ) const; [0405]
  • RWBoolean GetADSwitched( ) const; [0406]
  • Write Accessors [0407]
  • void SetADSwitched(RWBoolean state); [0408]
  • Interpret Call Detail Record (15) [0409]
  • Description [0410]
  • The transformation that is required in order to interpret a comma separated CDR into a CDR. [0411]
  • Note: Not implemented, absorbed into Validate Request (8). [0412]
  • Add Knowledge Request (23) [0413]
  • Description [0414]
  • A request to add knowledge of fraud candidates. [0415]
  • C++ Class Name [0416]
  • FDAddKnowledgeRequest [0417]
  • Behaviour Description [0418]
  • Upon creation the add knowledge request object (23) is passed a fraud detection data set as a parameter. The object will: [0419]
  • Sends an APP6AddKnowledge event to the ADE terminator including the set of example detection data presentations, object (9), contained within the specified data set. These should only include those account which have been validated (For more information see “Enumeration Types” on page 53. [0420]
  • Upon completion the ADE generates an APP14KnowledgeAdded, which contains a handle to the new knowledge set. This object must persist this information using the new_knowledge_filename. [0421]
  • create a update historic profile request, [0422] object 24, attaching the specified data set.
  • check if a performance update is required by interrogating the performance evaluation counter attribute of the fraud detection client, object (27), and determining if it equals the number of evaluations specified contained within the fraud detector specification, object (28). If a performance update is required then a performance evaluation request is created and the performance evaluation counter attribute is reset to zero. If a performance update is not required then the performance evaluation counter attribute is incremented. [0423]
  • The operation enumeration is set to “AddKnowledge” as default. [0424]
  • Methods [0425]
  • FDAddKnowledgeRequest( [0426]
  • FDFraudCandidateDataSet& fraud_data_set, [0427]
  • String new_knowledge filename) [0428]
  • ˜FDAddKnowledgeRequest( ) [0429]
  • Assumptions [0430]
  • Update Historic Profile Request (24) will always be actioned after an Add Knowledge Request (23). [0431]
  • Ownership [0432]
  • FDUpdateHistRequest [0433]
  • FDPerformanceEvaluationRequest [0434]
  • Read Accessors [0435]
  • No public read access methods are required by the object. [0436]
  • Write Accessors [0437]
  • No public write access methods are required by the object [0438]
  • Update Historic Profile Request (24) [0439]
  • Description [0440]
  • A request to update historic profiles. [0441]
  • C++ Class Name [0442]
  • FDUpdateHistRequest [0443]
  • Behaviour Description [0444]
  • Upon creation the update historic profile request is passed a fraud detection data set as a parameter. This object will: [0445]
  • Sends an APP7UpdateHistoricProfiles event to the ADE terminator including the set of profile data presentations. Only those validated fraud candidates with a validation category of either; correct non-fraudulent or incorrect fraud candidates. In addition all the other non-fraud candidates are passed to the ADE. [0446]
  • Upon completion the ADE generates an APP15ProfilesUpdated, the event contains the updated profiles. The update historic profiles request then needs to persist all the updated historical profiles. This data set can then be removed. [0447]
  • Methods [0448]
  • FDUpdateHistRequest( [0449]
  • FDFraudCandidateDataSet& fraud_data_set, [0450]
  • String historic_profile_filename) [0451]
  • FDUpdateHistRequest( ) [0452]
  • Assumptions [0453]
  • None. [0454]
  • Ownership [0455]
  • Read Accessors [0456]
  • No public read access methods are required by the object. [0457]
  • Write Accessors [0458]
  • No public write access methods are required by the object [0459]
  • Performance Evaluation Request (29) [0460]
  • Description [0461]
  • A request to evaluate the performance of the fraud detector application. [0462]
  • C++ Class Name [0463]
  • FDPerformanceEvaluationRequest [0464]
  • Behaviour Description [0465]
  • No parameters are sent on construction of this object. This object will: [0466]
  • Sends an APP3EvaluatePerformance event to the ADE. Upon completion the ADE generates an APP11PerformanceResultsObtained event with the ADE current performance. [0467]
  • If the resulting performance evaluation is less than the evaluation threshold attribute of the fraud detector specification then the performance evaluation request sends an APP4TrainAD event to the ADE. Upon completion the ADE generates an APP12AnomalyDetectorTrained with the a new performance from the ADE. [0468]
  • The operation enumeration type object attribute of the add knowledge request needs to be set to either “PerformanceEvaluation” or “Retraining” to indicate which operation has been performed. [0469]
  • The new performance is returned to the add knowledge request object. [0470]
  • Methods [0471]
  • FDPerformanceEvaluationRequest( ) [0472]
  • ˜FDPerformanceEvaluationRequest( ) [0473]
  • Assumptions [0474]
  • None. [0475]
  • Ownership [0476]
  • Read Accessors [0477]
  • No public read access methods are required by the object. [0478]
  • Write Accessors [0479]
  • No public write access methods are required by the object [0480]
  • Fraud Detection Request (16) [0481]
  • Description [0482]
  • A request to perform a detection of fraud on a presentation data set. The resultant fraud candidates are contained in the associated candidate data set. [0483]
  • C++ Class Name [0484]
  • FDFraudDetectionRequest [0485]
  • Behaviour Description [0486]
  • Upon creation the fraud detection request is passed a presentation data set as a parameter. This object will: [0487]
  • Creates CDR to profile tranform, object 13, with csv filename and poll detection period. [0488]
  • CDR to profile tranform, object 13, returns a list of poll detection profiles, [0489] object 4.
  • Creates fraud candidate, [0490] object 11, to be populated with the results from the ADE.
  • Sends an APP2PerformDetection event to the ADE terminator, with profile data presentations, [0491] object 7, where the profile modified attribute is true.
  • Once the ADE has completed the detection event the ADE generates an APP10DetectionComplete. The fraud candidate, object 11 is populated with candidate presentations, [0492] object 6, matching with the associated recent profile, object 4.
  • The profile modified attribute within profile data presentation, [0493] object 7, for all those sent to the ADE terminator need to be set back to false.
  • The fraud candidate, [0494] object 11, persistence mechanism to write the results to a file. The time stamp at time of creation of this file needs to added to the top of the file and maintained to be sent back to the client, object 27.
  • Once the results file has been created the fraud candidate, [0495] object 11, can be removed.
  • CDR Extraction, Poll Profile Creation and Search Algorithm [0496]
  • while(not end_of file) [0497]
  • {[0498]
  • Read(next_line of file) [0499]
  • cdr=CreateCDR(next line_of_file) [0500]
  • if(account_no !=cdr.account_no) [0501]
  • poll_profile=CreatePollProfile(cdr) [0502]
  • else [0503]
  • poll_profile=AccumulatePollProfile(cdr) [0504]
  • account_no=cdr.account_no [0505]
  • DecayRecent(poll_profile) [0506]
  • DeletePollProfile(poll_profile) [0507]
  • }[0508]
  • Note: Assumption that the CDR file is sorted by account number. Decay profile will provide a binary search technique to locate the recent profile. [0509]
  • Methods [0510]
  • FDFraudDetectionRequest( [0511]
  • FDPresentationDataSet& presentation_data_set [0512]
  • FDPollToRecentProfileDecay& profile_decay [0513]
  • String results_filename, [0514]
  • String csv_filename [0515]
  • Time poll_detection_period [0516]
  • Time recent_profile_period) [0517]
  • ˜FDFraudDetectionRequest( ) [0518]
  • Assumptions [0519]
  • None. [0520]
  • Ownership [0521]
  • Read Accessors [0522]
  • No public read access methods are required by the object. [0523]
  • Write Accessors [0524]
  • No public write access methods are required by the object [0525]
  • Poll To Recent Profile Decay (20) [0526]
  • Description [0527]
  • The decay transform for decaying a poll period profile into a recent profile. [0528]
  • C++ Class Name [0529]
  • FDPollToRecentProfileDecay [0530]
  • Behaviour Description [0531]
  • Upon creation this object is given recent profile vectors object (4). This object will: [0532]
  • Create relationships to all recent profiles. [0533]
  • Calculate update factor using poll detection period for source and recent profile period for target. [0534]
  • Upon a DecayProfile event search for the corresponding recent profile. If no recent profile exists create new recent profile. [0535]
  • Update the target profiles behaviour with the source target behaviour using the algorithm below. [0536]
  • Once the recent profile has been updated the poll detection profile can be removed. [0537]
  • Modifies the profile modified attribute within the associated profile data presentation, [0538] object 7, to true.
  • Methods [0539]
  • FDPollToRecentProfileDecay( [0540]
  • RWTPtrDlist<FDRecentProfileVector>& recent_profile, [0541]
  • Time poll_detection_period, [0542]
  • Time recent_profile_period) [0543]
  • ˜FDPollToRecentProfileDecay( ) [0544]
  • void DecayProfile(FDProfileVector& poll_profile) [0545]
  • Assumptions [0546]
  • None. [0547]
  • Updating Profiles Algorithm [0548]
  • T i′=(Ti×UpdateFactor))+(S i×UpdateFactor)
  • For all i Where T is the target profile (e.g. recent profile) and S is the source profile (e.g. poll detection period profile.) [0549] UpdateFactor = WindowSize ( S ) WindowSize ( T )
    Figure US20030014377A1-20030116-M00003
  • Read Accessors [0550]
  • No public read access methods are required by the passive object. [0551]
  • Write Accessors [0552]
  • No public write access methods are required by the passive object [0553]
  • CDR To Profile Tranform (13) [0554]
  • Description [0555]
  • A request to perform a detection of fraud on a presentation data set. The resultant fraud candidates are contained in the associated candidate data set. [0556]
  • C++ Class Name [0557]
  • FDCDRProfileTranform [0558]
  • Behaviour Description [0559]
  • Upon creation CDR profile transform. This object will: [0560]
  • For each call detail record, object 12, this object either constructs a poll profile, [0561] object 4, or updates the existing poll profile.
  • This object sends the poll detection profile to poll to recent profile decay, [0562] object 20, with poll detection period and recent profile period.
  • Methods [0563]
  • FDCDRProfileTranform(String csv_filename, [0564]
  • int poll_detection_period) [0565]
  • ˜FDCDRProfileTranform( ) [0566]
  • Assumptions [0567]
  • Operates on an ordered input file. [0568]
  • Ownership [0569]
  • FDProfileVector (Poll detection profiles only). [0570]
  • Read Accessors [0571]
  • No public read access methods are required by the passive object. [0572]
  • Write Accessors [0573]
  • No public write access methods are required by the passive object [0574]
  • Call Detail Record (12) [0575]
  • Description [0576]
  • A software representation of a telecommunication call detail record. [0577]
  • C++ Class Name [0578]
  • FDCallDetailRecord [0579]
  • Methods [0580]
  • FDCallDetailRecord(String csv_filename) [0581]
  • ˜FDCallDetailRecord( ) [0582]
  • FDCallDetailRecord ReadCallDetailRecord( ) [0583]
  • Assumptions [0584]
  • The source CDR file is ordered by account number. [0585]
  • Ownership [0586]
  • Read Accessors [0587]
  • Write Accessors [0588]
  • Unvalidated Fraud Candidates (25) [0589]
  • Description [0590]
  • An unvalidated association of a customers recent profile and the results of a detection process. [0591]
  • C++ Class Name [0592]
  • FDUnvalidatedFraudCandidates [0593]
  • Inheritance [0594]
  • FDFraudCandidate [0595]
  • Methods [0596]
  • FDUnvalidatedFraudCandidates( [0597]
  • FDProfileVector& recent_profile, [0598]
  • ADCandidatePresentation& candidate_presentation) [0599]
  • ˜FDUnvalidatedFraudCandidates( ) [0600]
  • Assumptions [0601]
  • None. [0602]
  • Ownership [0603]
  • None. [0604]
  • Read Accessors [0605]
  • No public read access methods are required by the passive object. [0606]
  • Write Accessors [0607]
  • No public write access methods are required by the passive object [0608]
  • Fraud Detector Specification (28) [0609]
  • Description [0610]
  • The specification of the fraud detector application. [0611]
  • C++ Class Name [0612]
  • FDFraudDetectorSpecification [0613]
  • Methods [0614]
  • FDFraudDetectorSpecification(String Default_results_filename [0615]
  • String csv_filename [0616]
  • String recentprofile_filename [0617]
  • String historical_profile_filename [0618]
  • String ade_spec_filename [0619]
  • Date detection_start [0620]
  • int evaluation_interval [0621]
  • int evaluation_counter [0622]
  • int performance_threshold [0623]
  • int recent_window_size [0624]
  • int historical_window_size [0625]
  • int detection_time_interval [0626]
  • int input_size [0627]
  • int recent_size) [0628]
  • ˜FDFraudDetectorSpecification( ) [0629]
  • Assumptions [0630]
  • None. [0631]
  • Ownership [0632]
  • None. [0633]
  • Read Accessors [0634]
  • StringGetDefaultResultsFilename( [0635]
  • default_results_filename) [0636]
  • String GetCSVFilename(csv_filename) [0637]
  • String GetRecentProfileFilename( [0638]
  • recent_profile filename) [0639]
  • String GetHistoricalProfileFilename( [0640]
  • historical profile filename) [0641]
  • String GetADESpecFilename (ade_spec_filename [0642]
  • Date GetDetectionStart(detection_start) [0643]
  • int GetEvaluationInterval(evaluation_interval) [0644]
  • int GetEvaluationCounter(evaluation_counter) [0645]
  • int GetPerformanceThreshold(performance_threshold) [0646]
  • int GetHistoricalWindowSize(historical_window_size) [0647]
  • int GetRecentWindowSize(recent_window size) [0648]
  • int GetDetectionTimeInterval(detection_time interval) [0649]
  • int GetInputSize(input_size) [0650]
  • int GetRecentSize(recet_size) [0651]
  • Write Accessors [0652]
  • void SetDefaultResultsFilename(String default_results_filename) [0653]
  • void SetCSVFilename(String csv_filename) [0654]
  • void SetRecentProfileFilename(String recent_profile_filename) [0655]
  • void SetHistoricalProfileFilename(String historical_profile_filename) [0656]
  • void SetADESpecFilename(String ade_spec_filename [0657]
  • void SetDetectionStart(Date detection_start) [0658]
  • void SetEvaluationInterval(int evaluation_interval) [0659]
  • void SetEvaluationCounter(int evaluation_counter) [0660]
  • void SetPerformanceThreshold(int performance_threshold) [0661]
  • void SetHistoricalWindowSize(int historical_window_size) [0662]
  • void SetRecentWindowSize(int recent_window_size) [0663]
  • void SetDetectionTimeInterval(int detection_time_interval) [0664]
  • void SetInputSize(int input_size) [0665]
  • void SetRecentSize(int recent_size) [0666]
  • Validate Request (8) [0667]
  • Description [0668]
  • A request to create a validated set of fraud candidates. [0669]
  • Note: Not implemented, absorbed into Fraud Detection Request (16). [0670]
  • Candidate Data Set (18) [0671]
  • Description [0672]
  • A set of candidate presentations. [0673]
  • C++ Class Name [0674]
  • FDCandidateDataSet [0675]
  • Methods [0676]
  • FDCandidateDataSet( [0677]
  • RWTPtrDlist<ADCandidatePresentation>[0678]
  • &candidate_presentation_ids) [0679]
  • FDCandidateDataSet( ) [0680]
  • Assumptions [0681]
  • Ownership [0682]
  • Read Accessors [0683]
  • int GetNumberOfPresentations( ) const; [0684]
  • Write Accessors [0685]
  • void SetNumberOfPresentations(int number_of_presentations); [0686]
  • Validated Fraud Candidate (22) [0687]
  • Description [0688]
  • An association of a customers recent profile and the validated results of a detection process. [0689]
  • C++ Class Name [0690]
  • FDValidatedFraudCandidate [0691]
  • Inheritance [0692]
  • FDFraudCandidate [0693]
  • Methods [0694]
  • FDValidatedFraudCandidate( [0695]
  • FDProfileVector& recent_profile, [0696]
  • NNExampleDataPresentation& example_presentation); [0697]
  • ˜FDValidatedFraudCandidate( ) [0698]
  • Enumeration Types [0699]
  • enum ValidationStatus [0700]
  • {[0701]
  • UNVALIDATED, [0702]
  • CORRECT_FRAUD, [0703]
  • INCORRECT_FRAUD, [0704]
  • CORRECT_NONFRAUD, [0705]
  • INCORRECT_NON_FRAUD [0706]
  • }; [0707]
  • Assumptions [0708]
  • None. [0709]
  • Ownership [0710]
  • Read Accessors [0711]
  • ValidationStatus GetValidationCategory( ) const; [0712]
  • Write Accessors [0713]
  • void SetValidationCategory(ValidationStatus [0714]
  • validation_category); [0715]
  • Fraud Candidate (11) [0716]
  • Description [0717]
  • An association of a customers recent profile and the results of a detection process, (either validated or unvalidated). [0718]
  • C++ Class Name [0719]
  • FDFraudCandidate [0720]
  • Methods [0721]
  • FDFraudCandidate(FDProfileVector& recent_profile) [0722]
  • ˜FDFraudCandidate( ) [0723]
  • Assumptions [0724]
  • Ownership [0725]
  • Read Accessors [0726]
  • No public read access methods are required by the passive object. [0727]
  • Write Accessors [0728]
  • No public write access methods are required by the passive object [0729]
  • Presentation Data Set (17) [0730]
  • Description [0731]
  • A set of profile data presentations. [0732]
  • C++ Class Name [0733]
  • FDPresentationDataSet [0734]
  • Methods [0735]
  • FDPresentationDataSet(FDProfileDataPresentation& [0736]
  • profile_data_presentation_id) [0737]
  • FDPresentationDataSet( [0738]
  • RWTPtrDlist<FDProfileDataPresentation>& [0739]
  • profile data_presentation_ids) [0740]
  • FDPresentationDataSet( ) [0741]
  • Assumptions [0742]
  • Ownership [0743]
  • Read Accessors [0744]
  • int GetNumberOfPresentations( ) const; [0745]
  • Write Accessors [0746]
  • void SetNumberOfPresentations(int number_of_presentations); [0747]
  • Fraud Candidate Data Set (21) [0748]
  • Description [0749]
  • A container of fraud candidates. [0750]
  • C++ Class Name [0751]
  • FDFraudCandidateDataSet [0752]
  • Methods [0753]
  • FDFraudCandidateDataSet( ) [0754]
  • ˜FDFraudCandidateDataSet( ) [0755]
  • Assumptions [0756]
  • Ownership [0757]
  • Read Accessors [0758]
  • int GetNumberOfPresentations() const; [0759]
  • Write Accessors [0760]
  • void SetNumberOfPresentations(int number_of_presentations); [0761]
  • Profile Data Presentation (7) [0762]
  • Description [0763]
  • Combination of a historic and a recent profile data vector. [0764]
  • C++ Class Name [0765]
  • FDProfileDataPresentation [0766]
  • Behaviour Description [0767]
  • Each recent profile is matched with it respective historical profiles and sent to the ADE. This representation is used for both detection (object 16) and profile decay (object 24). [0768]
  • Methods [0769]
  • FDProfileDataPresentation( [0770]
  • FDProfileVector& recent_profile, [0771]
  • FDProfileVector historical_profile) [0772]
  • FDProfileDataPresentation( [0773]
  • FDProfileVector& recent_profile, [0774]
  • RWTPtrDlist<FDProfileVector>& historical_rofile) [0775]
  • ˜FDProfileDataPresentation( ) [0776]
  • Assumptions [0777]
  • None. [0778]
  • Ownership [0779]
  • Read Accessors [0780]
  • Bool GetProfileModified( ) const; [0781]
  • Write Accessors [0782]
  • void SetProfileModified(Bool profile_modified); [0783]
  • Poll Profile Vector (4) [0784]
  • Description [0785]
  • Describes the structure of a profile data vector. [0786]
  • C++ Class Name [0787]
  • FDPollProfileVector [0788]
  • Inheritance [0789]
  • NNVector [0790]
  • Methods [0791]
  • FDPollProfileVector(String account_number, [0792]
  • FDCallDetailRecord& call_detail_record) [0793]
  • FDPollProfileVector( ) [0794]
  • Assumptions [0795]
  • Ownership [0796]
  • Read Accessors [0797]
  • String GetAccountNumber( ) const; [0798]
  • Write Accessors [0799]
  • void SetAccountNumber(String account_number); [0800]
  • Recent Profile Vector (34) [0801]
  • Description [0802]
  • Describes the structure of a recent profile data vector. [0803]
  • C++ Class Name [0804]
  • FDRecentProfileVector [0805]
  • Inheritance [0806]
  • ADRecentProfileVector [0807]
  • Behaviour Description [0808]
  • After the poll profiles have been used to update the recent profile, the updated recent profiles then needs to be persisted to the recent profile file using the persistence mechanism. [0809]
  • Methods [0810]
  • FDRecentProfileVector(String account_number, [0811]
  • NNVector& data_vector) [0812]
  • ˜FDRecentProfileVector( ) [0813]
  • Persist(String recent_profile_filename) [0814]
  • Assumptions [0815]
  • Ownership [0816]
  • Read Accessors [0817]
  • String GetAccountNumber( ) const; [0818]
  • Write Accessors [0819]
  • void SetAccountNumber(String account_number); [0820]
  • Historic Profile Vector (33) [0821]
  • Description [0822]
  • Describes the structure of a profile data vector. [0823]
  • C++ Class Name [0824]
  • FDHistoricProfileVector [0825]
  • Inheritance [0826]
  • ADHistoricalProfileVector [0827]
  • Methods [0828]
  • FDHistoricProfileVector(String account_number, [0829]
  • NNVector& data_vector) [0830]
  • ˜FDHistoricProfileVector( ) [0831]
  • Assumptions [0832]
  • Ownership [0833]
  • Read Accessors P[0834] 0 String GetAccountNumber( ) const;
  • Write Accessors [0835]
  • void SetAccountNumber(String account_number); [0836]
  • Appendix B:
  • Persistence [0837]
  • Overview [0838]
  • Tools.h++ version 7.0 Users Guide, 1996, Rogue Wave Software, defines that a object can have one of four levels of persistence: [0839]
  • No persistence. There is no mechanism for storage and retrieval of the object. [0840]
  • Simple persistence. A level of persistence that provides storage and retrieval of individual objects to and from a stream or file. Simple persistence does not preserve pointer relationships among the persisted [0841]
  • Isomorphic persistence. A level of persistence that preserves the pointer relationships among the persisted objects. [0842]
  • Polymorphic persistence. The highest level of persistence. Polymorphic persistence preserves pointer relationships among the persisted objects and allows the restoring process to restore an object without prior knowledge of that object's type. [0843]
  • This appendix provides information about the use of Isomorphic persistence through descriptions, examples, and procedures for designing persistent classes. To implement other levels of persistence it is recommended that the reader consult the relevant Tools.h++ manual pages. [0844]
  • Persistence Mechanism [0845]
  • Isomorphic persistence is the storage and retrieval of objects to and from a stream such that the pointer relationships between the objects are preserved. If there are no pointer relationships, isomorphic persistence effectively saves and restores objects the same way as simple persistence. When a collection is isomorphically persisted, all objects within that collection are assumed to have the same type. [0846]
  • The isomorphic persistence mechanism uses a table to keep track of pointers it has saved. When the isomorphic persistence mechanism encounters a pointer to an unsaved object, it copies the object data, saves that object data NOT the pointer to the stream, then keeps track of the pointer in the save table. If the isomorphic persistence mechanism later encounters a pointer to the same object, instead of copying and saving the object data, the mechanism saves the save table's reference to the pointer. [0847]
  • When the isomorphic persistence mechanism restores pointers to objects from the stream, the mechanism uses a restore table to reverse the process. When the isomorphic persistence mechanism encounters a pointer to an unrestored object, it recreates the object with data from the stream, then changes the restored pointer to point to the recreated object. The mechanism keeps track of the pointer in the restore table. If the isomorphic persistence mechanism later encounters a reference to an already-restored pointer, then the mechanism looks up the reference in the restore table, and updates the restored pointer to point to the object referred to in the table. [0848]
  • Class Requirements For Persistence [0849]
  • To create a class that supports isomorphic persistence the class must meet the following requirements. The class must have appropriate default and copy constructors defined or generated by the compiler: [0850]
  • PClass( ); // default constructor [0851]
  • PClass(T& t); // copy constructor [0852]
  • The class must have an assignment operator defined as a member OR as a global function: [0853]
  • PClass& operator=(const PClass& pc); // member function [0854]
  • PClass& operator=(PClass& Ihs, const PClass& rhs); // global function [0855]
  • The class cannot have any non-type template parameters. For example, in RWTBitVec<size>, “size” is placeholder for a value rather than a type. No present compiler accepts function templates with non-type template parameters, and the global functions used to implement isomorphic persistence (rwRestoreGuts and RWSaveGuts) are function templates when they are used to persist templatized classes. [0856]
  • All the data necessary to recreate an instance of the class must be globally available (have accessor functions). [0857]
  • Creating a Persistent Class [0858]
  • To create an isomorphically persistent class or to add isomorphic persistence to an existing class, follow these steps: [0859]
  • 1. Make all necessary class data available. [0860]
  • 2. Add RWDECLARE_PERSISTABLE to your header file. [0861]
  • #include <rw/edefs.h>[0862]
  • RWDECLARE_PERSISTABLE(YourClass) [0863]
  • 3. Add RWDEFINE_PERSISTABLE to one source file. [0864]
  • #include <rw/epersist.h>[0865]
  • RWDEFINE_PERSISTABLE(YourClass) [0866]
  • 4. Define rwSaveGuts and rwRestoreGuts. Methods rwSaveGuts and rwRestoreGuts will be used to save and restore the internal state of the class. These methods are called by the operator<< and operator>> that were declared and defined by the macros in 2 & 3. [0867]
  • For non-templatized classes, define the following functions: [0868]
  • void rwSaveGuts(RWFile& f, const YourClass& t){*_*/}[0869]
  • void rwSaveGuts(RWvostream& s, const YourClass& t) {(/*_*/}[0870]
  • void rwRestoreGuts(RWFile& f, YourClass& t) {/*_*/}[0871]
  • void rwRestoreGuts(RWvistream& s, YourClass& t) {/*_*/}[0872]
  • For templatized classes with a single template parameter T, define the following functions: [0873]
  • template<class T> void [0874]
  • rwSaveGuts(RWFile& f, const YourClass<T>& t){/*_*}[0875]
  • template<class T> void [0876]
  • rwSaveGuts(RWvostream& s, const YourClass<T>& t) {*_*/}[0877]
  • template<class T> void [0878]
  • rwRestoreGuts(RWFile& f, YourClass<T>& t) {/*_/}[0879]
  • template<class T> void [0880]
  • rwRestoreGuts(RWvistream& s, YourClass<T>& t) {/*_*/}[0881]
  • For templatized classes with more than one template parameter, define rwRestoreGuts and rwSaveGuts with the appropriate number of template parameters. [0882]
  • Function rwSaveGuts saves the state of each class member necessary persistence to an RWvostream or an RWFile. If the members of your class can be persisted and if the necessary class members are accessible to rwSaveGuts, you can use operator<<to save the class members. [0883]
  • Function rwRestoreGuts restores the state of each class member necessary for persistence from an RWvistream or an RWFile. Provided that the members of your class are types that can be persisted, and provided that the members of your class are accessible to rwRestoreGuts, you can use operator>>to restore the class members. [0884]
  • Example of a Persistent Class [0885]
    PClass Header File
    #include <rw/cstring.h>
    #include <rw/edefs.h>
    #include <rw/rwfile.h>
    #include <rw/epersist.h>
    class PClass
    {
    public:
    PClass ();
    PClass (const RWCString& string_attribute,
    int int_attribute,
    float float_attribute,
    PClass* ptr_to_attribute);
    ˜PClass ();
    // Persistance operations
    friend void rwRestoreGuts(RWvistream& is, PClass& obj);
    friend void rwRestoreGuts(RWFile& file, PClass& obj);
    friend void rwSaveGuts(RWvostream& os, const PClass& obj);
    friend void rwSaveGuts(RWFile& file, const PClass& obj);
    // Stream operations
    friend ostream& operator<<(ostream& os, const PClass& obj);
    private:
    RWCString StringAttribute;
    int  IntAttribute;
    float  FloatAttribute;
    PClass*  PtrToAttribute;
    };
    RWDECLARE_PERSISTABLE(PClass)
    PClass Implementation File
    #include <PClass.H>
    PClass::PClass ()
    {
    IntAttribute = 0;
    FloatAttribute = 0;
    PtrToAttribute = 0;
    }
    PClass::PClass(const RWCString& string_attribute,
    int int_attribute,
    float float_attribute,
    PClass* ptr_to_attribute)
    {
    StringAttribute = string_attribute;
    IntAttribute = int_attribute;
    FloatAttribute = float_attribute;
    PtrToAttribute = ptr_to_attribute;
    }
    PClass::˜PClass()
    {
    }
    RWDEFINE_PERSISTABLE(PClass)
    void rwRestoreGuts(RWvistream& is, PClass& obj)
    {
    is >> obj.StringAttribute; // Restore String.
    is >> obj.IntAttribute; // Restore Int.
    is >> obj.FloatAttribute; // Restore Float.
    RWBoolean ptr;
    is >> ptr;
    if (ptr)
    {
    is >> obj.PtrToAttribute;
    }
    }
    void rwRestoreGuts(RwFile& file, PClass& obj)
    {
    file >> obj.StringAttribute; // Restore String.
    file >> obj.IntAttribute; // Restore Int.
    file >> obj.FloatAttribute; // Restore Float.
    RWBoolean ptr;
    file >> ptr;
    if (ptr)
    {
    file >> obj.PtrToAttribute;
    }
    }
    void rwSaveGuts(RWvostream& os, const PClass& obj)
    {
    os << obj.StringAttribute; // Save String.
    os >> obj.IntAttribute; // Save Int.
    os >> obj.FloatAttribute; // Save Float.
    if (obj.PtrToAttribute == rwnil)
    {
    os << FALSE; // No pointer.
    }
    else
    {
    os << TRUE; // Save Pointer
    os << *(obj.PtrToAttribute);
    }
    }
    void rwSaveGuts(RWFile& file, const PClass& obj)
    {
    file << obj.StringAttribute; // Save String.
    file << obj.IntAttribute; // Save Int.
    file << obj.FloatAttribute; // Save Float.
    if (obj.PtrToAttribute == rwnil)
    {
    file << FALSE; // No pointer.
    }
    else
    {
    file << TRUE; // Save Pointer
    file << *(obj,PtrToAttribute);
    }
    }
    ostream& operator<<(ostream& os, const PClass& obj)
    {
    os << “\nStringAttribute:”
    <<obj.StringAttribute <<“\n”;
    os << “IntAttribute:”
    << obj.IntAttribute <<“\n”;
    os << “FloatAttribute:”
    <<obj.FloatAttribute <<“\n”;
    os << “PtrToAttribute:”
    << (void*)obj.PtrToAttribute <<“\n”;
    if (obj. PtrToAttribute)
    {
    os << “Value at Pointer:”
    <<*(objPtrToAttribute) <<“\n”;
    }
    return os;
    }
    Use of PClass
    #include <iostream.h>
    #include <PClass.H>
    void main()
    {
    // Create object that will be pointed to by
    // persistent object.
    RWCString s1(“persist_pointer_object”);
    PClass persist_pointer_object(s1, 1, 1.0, 0);
    RWCString s2(“persist_class 1”);
    PClass persist_class 1(s2, 2, 2.0, &persist_pointer_object);
    cout <<“persist_class1 (before save):” <<endl
    <<persist_class1 <<end1 <<endl;
    // Save object in file “test.dat”.
    RWFile file(“test.dat”);
    file <<persist_class1;
    PClass persist_class2;
    // Restore object from file “test.dat”.
    {
    RWFile file(“test.dat”);
    file >> persist_class2;
    }
    cout <<“persist_class2 (after restore):” <<endl
    <<persist_class2 <<end1 <<endl;
    }
  • Special Care with Persistence [0886]
  • The persistence mechanism is a useful quality, but requires care in some areas. Here are a few things to look out for when using persist classes. [0887]
  • 1. Always Save an Object by Value Before Saving the Identical Object by Pointer. [0888]
  • In the case of both isomorphic and polymorphic persistence of objects, never stream out an object by pointer before streaming out the identical object by value. Whenever designing a class that contains a value and a pointer to that value, the saveGuts and restoreGuts member functions for that class should always save or restore the value then the pointer. [0889]
  • 2. Don't Save Distinct Objects with the Same Address. [0890]
  • Be careful not to isomorphically save distinct objects that may have the same address. The internal tables that are used in isomorphic and polymorphic persistence use the address of an object to determine whether or not an object has already been saved. [0891]
  • 3. Don't Use Sorted RWCollections to Store Heterogeneous RWCollectables. [0892]
  • When you have more than one different type of RWCollectable stored in an RWCollection, you can't use a sorted RWCollection. For example, this means that if you plan to store RWCollectableStrings and RWCollectableDates in the same RWCollection, you can't store them in a sorted RWCollection such as RWBtree. The sorted RWCollections are RWBinaryTree, RWBtree, RWBTreeDictionary, and RWSortedVector. The reason for this restriction is that the comparison functions for sorted RWCollections expect that the objects to be compared will have the same type. [0893]
  • 4. Define All RWCollectables That Will be Restored. [0894]
  • These declarations are of particular concern when you save an RWCollectable in a collection, then attempt to take advantage of polymorphic persistence by restoring the collection in a different program, without using the RWCollectable that you saved. If you don't declare the appropriate variables, during the restore attempt the RWFactory will throw an RW_NOCREATE exception for some RWCollectable class ID that you know exists. The RWFactory won't throw an RW_NOCREATE exception when you declare variables of all the RWCollectables that could be polymorphically restored. [0895]
  • The problem occurs because the compiler's linker only links the code that RWFactory needs to create the missing RWCollectable when that RWCollectable is specifically mentioned in your code. Declaring the missing RWCollectables gives the linker the information it needs to link the appropriate code needed by RWFactory. [0896]

Claims (20)

1. A method of forming a classifier, the method comprising:
providing a first time period,
providing a distinct second time period wherein the distinct second time period is consecutive to the first time period, shorter than the first time period, and more recent than the first time period,
forming a first signature from data collected during a period based on the first time period,
forming a distinct second signature from data collected during a period based on the distinct second time period,
training a first neural network based on the first signature and the distinct second signature.
2. A method according to claim 1, further comprising providing an architecture for the first neural network.
3. (Once Amended) A method according to claim 1, further comprising evaluating the performance of the first neural network.
4. A method according to claim 1, further comprising retraining the first neural network.
5. A method according to claim 1, further comprising:
providing a performance threshold, and,
retraining the first neural network based on a comparison of the performance threshold and a performance evaluation of the neural network.
6. (Once Amended) A method according to claim 1, further comprising updating the first signature based on a weighted average of the first signature and the distinct second signature.
7. A method according to claim 1, further comprising,
training a distinct second neural network based on an updated version of the first signature.
8. (Once Amended) A method according to claim 7, further comprising
evaluating the distinct second neural network, and
based on the evaluation, utilizing the distinct second neural network as a replacement for the first neural network.
9. A method according to claim 1, wherein at least one of forming a first signature and forming a distinct second signature include collecting call detail records (CDRs).
10. A method according to claim 1, wherein at least one of forming a first signature and forming a distinct second signature include specifying parameters upon which at least one of the first signature and the distinct second signature are to be formed.
11. (Once Amended) A method according to claim 1, wherein at least one of the first signature and the distinct second signature is based on at least one of a percentage of calls made and a position of a portion in the corresponding time period during which the corresponding data is received.
12. (Once Amended) A method of classifying data, the method comprising:
training a first neural network based on a first signature and a distinct second signature, the first signature based on data from a first time period, the distinct second signature based on data from a distinct second time period that is consecutive to the first time period, shorter than the first time period, and more recent than the first time period,
forming a recent signature based on data collected during a recent time period of the same duration as the distinct second time period, and,
presenting the recent signature to the first neural network.
13. A method according to claim 12, further comprising retraining the first neural network.
14. A method according to claim 12, further comprising:
providing a performance threshold, and,
retraining the first neural network based on a comparison of the performance threshold and a performance evaluation of the neural network.
15. (Once Amended) A method according to claim 12, further comprising updating the first signature based on at least one of a weighted average of the first signature and the distinct second signature and a weighted average of the first signature and the recent signature.
16. A method according to claim 12, further comprising,
training a distinct second neural network based on an updated version of the first signature.
17. A method according to claim 16, further comprising
evaluating the distinct second neural network, and
based on the evaluation, utilizing the distinct second neural network as a replacement for the first neural network.
18. (Once Amended) A method according to claim 12, wherein at least one of the first signature and the distinct second signature are formed based on call detail records (CDRs).
19. A method according to claim 12, further including specifying parameters upon which at least one of the first signature and the distinct second signature are to be formed.
20. (Once Amended) A method according to claim 12, wherein at least one of the first signature and the distinct second signature are formed based on at least one of a percentage of calls made and a position of a portion in the corresponding time period during which the corresponding data is received.
US10/183,606 1997-01-21 2002-06-28 Forming a signature of parameters extracted from information Abandoned US20030014377A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US10/183,606 US20030014377A1 (en) 1997-01-21 2002-06-28 Forming a signature of parameters extracted from information
US11/949,567 US20080288427A1 (en) 1997-01-21 2007-12-03 Forming a signature of parameters extracted from information

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
GB9701195A GB2321363A (en) 1997-01-21 1997-01-21 Telecommunications
GB9701195.1 1997-01-21
US08/888,361 US6920440B1 (en) 1997-01-21 1997-07-03 Forming a signature of parameters extracted from information
US10/183,606 US20030014377A1 (en) 1997-01-21 2002-06-28 Forming a signature of parameters extracted from information

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US08/888,361 Continuation US6920440B1 (en) 1997-01-21 1997-07-03 Forming a signature of parameters extracted from information

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/949,567 Continuation US20080288427A1 (en) 1997-01-21 2007-12-03 Forming a signature of parameters extracted from information

Publications (1)

Publication Number Publication Date
US20030014377A1 true US20030014377A1 (en) 2003-01-16

Family

ID=10806346

Family Applications (3)

Application Number Title Priority Date Filing Date
US08/888,361 Expired - Lifetime US6920440B1 (en) 1997-01-21 1997-07-03 Forming a signature of parameters extracted from information
US10/183,606 Abandoned US20030014377A1 (en) 1997-01-21 2002-06-28 Forming a signature of parameters extracted from information
US11/949,567 Abandoned US20080288427A1 (en) 1997-01-21 2007-12-03 Forming a signature of parameters extracted from information

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US08/888,361 Expired - Lifetime US6920440B1 (en) 1997-01-21 1997-07-03 Forming a signature of parameters extracted from information

Family Applications After (1)

Application Number Title Priority Date Filing Date
US11/949,567 Abandoned US20080288427A1 (en) 1997-01-21 2007-12-03 Forming a signature of parameters extracted from information

Country Status (8)

Country Link
US (3) US6920440B1 (en)
EP (1) EP0894378B1 (en)
AT (1) ATE400107T1 (en)
AU (1) AU5568798A (en)
CA (1) CA2249185A1 (en)
DE (1) DE69839661D1 (en)
GB (1) GB2321363A (en)
WO (1) WO1998032259A2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6871186B1 (en) * 1997-11-14 2005-03-22 New York University System and method for dynamic profiling of users in one-to-one applications and for validating user rules
US20050132301A1 (en) * 2003-12-11 2005-06-16 Canon Kabushiki Kaisha Information processing apparatus, control method therefor, and program
US7930739B1 (en) * 2005-05-24 2011-04-19 Symantec Corporation Scaled scanning parameterization
US20110261710A1 (en) * 2008-09-26 2011-10-27 Nsfocus Information Technology (Beijing) Co., Ltd. Analysis apparatus and method for abnormal network traffic
US20150339769A1 (en) * 2014-05-22 2015-11-26 C1 Bank System and method for enforcing data integrity and loan approval automation by means of data aggregation and analysis
CN108229539A (en) * 2016-12-13 2018-06-29 安讯士有限公司 For training the method for neural network, computer program product and device
US10942711B2 (en) * 2016-02-12 2021-03-09 Sony Corporation Information processing method and information processing apparatus
US11501239B2 (en) * 2020-03-18 2022-11-15 International Business Machines Corporation Metric specific machine learning model improvement through metric specific outlier removal

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2366686A (en) * 1999-05-17 2002-03-13 Ipm Internat Sa Method and device for detecting the unauthorized use of a telephone line
US6904409B1 (en) 1999-06-01 2005-06-07 Lucent Technologies Inc. Method for constructing an updateable database of subject behavior patterns
EP1903495A1 (en) * 1999-06-01 2008-03-26 Lucent Technologies Inc. Method for constructing an updateable database of subject behaviour patterns
US6909696B1 (en) * 2000-01-21 2005-06-21 Verizon Corporate Services Group Inc. Systems and methods for visualizing a communications network
AU2001261391A1 (en) * 2000-05-17 2001-11-26 New York University Method and system for data classification in the presence of a temporal non-stationarity
US20030018694A1 (en) * 2000-09-01 2003-01-23 Shuang Chen System, method, uses, products, program products, and business methods for distributed internet and distributed network services over multi-tiered networks
WO2002019097A1 (en) * 2000-09-01 2002-03-07 International Interactive Commerce, Ltd. System and method for collaboration using web browsers
US6996551B2 (en) * 2000-12-18 2006-02-07 International Business Machines Corporation Apparata, articles and methods for discovering partially periodic event patterns
US7841002B2 (en) 2001-12-06 2010-11-23 Ectel Ltd. Method for detecting a behavior of interest in telecommunication networks
US7536695B2 (en) * 2003-03-28 2009-05-19 Microsoft Corporation Architecture and system for location awareness
US7640288B2 (en) * 2004-03-15 2009-12-29 Microsoft Corporation Schema for location awareness
JP2008543233A (en) 2005-06-01 2008-11-27 フェア・アイザック・コーポレイション Network maintenance analysis system
US7522905B2 (en) * 2005-06-24 2009-04-21 Visa U.S.A. Inc. Apparatus and method for preventing wireless interrogation of portable consumer devices
WO2007087729A1 (en) * 2006-02-03 2007-08-09 Recherche 2000 Inc. Intelligent monitoring system and method for building predictive models and detecting anomalies
US10769290B2 (en) * 2007-05-11 2020-09-08 Fair Isaac Corporation Systems and methods for fraud detection via interactive link analysis
US8296850B2 (en) * 2008-05-28 2012-10-23 Empire Technology Development Llc Detecting global anomalies
US8634527B2 (en) * 2008-06-10 2014-01-21 At&T Intellectual Property I, L.P. Method and apparatus for detecting network and service performance degradations using call detail records
EP2471292B1 (en) * 2009-08-25 2018-12-05 Telefonaktiebolaget LM Ericsson (publ) Method and arrangement for detecting fraud in telecommunication networks.
US20120158631A1 (en) * 2010-12-15 2012-06-21 Scientific Conservation, Inc. Analyzing inputs to an artificial neural network
US8554703B1 (en) * 2011-08-05 2013-10-08 Google Inc. Anomaly detection
US9660862B2 (en) 2014-03-31 2017-05-23 International Business Machines Corporation Localizing faults in wireless communication networks
US9456312B2 (en) 2014-04-22 2016-09-27 International Business Machines Corporation Correlating road network information and user mobility information for wireless communication network planning
US9350670B2 (en) 2014-04-22 2016-05-24 International Business Machines Corporation Network load estimation and prediction for cellular networks
US9497648B2 (en) 2014-04-30 2016-11-15 International Business Machines Corporation Detecting cellular connectivity issues in a wireless communication network
US11468272B2 (en) 2019-08-15 2022-10-11 Visa International Service Association Method, system, and computer program product for detecting fraudulent interactions

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4837831A (en) * 1986-10-15 1989-06-06 Dragon Systems, Inc. Method for creating and using multiple-word sound models in speech recognition
US5067095A (en) * 1990-01-09 1991-11-19 Motorola Inc. Spann: sequence processing artificial neural network
US5307807A (en) * 1991-03-15 1994-05-03 Centro De Neurociencias De Cuba Method and system for three dimensional tomography of activity and connectivity of brain and heart electromagnetic waves generators
US5345595A (en) * 1992-11-12 1994-09-06 Coral Systems, Inc. Apparatus and method for detecting fraudulent telecommunication activity
US5365574A (en) * 1990-05-15 1994-11-15 Vcs Industries, Inc. Telephone network voice recognition and verification using selectively-adjustable signal thresholds
US5586175A (en) * 1993-10-15 1996-12-17 Linkusa Corporation Call-processing system and method
US5790645A (en) * 1996-08-01 1998-08-04 Nynex Science & Technology, Inc. Automatic design of fraud detection systems
US6317700B1 (en) * 1999-12-22 2001-11-13 Curtis A. Bagne Computational method and system to perform empirical induction
US6546378B1 (en) * 1997-04-24 2003-04-08 Bright Ideas, L.L.C. Signal interpretation engine

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0416173B1 (en) 1989-08-23 1997-01-15 Hitachi, Ltd. A method for adjusting network parameters in a multi-layer perceptron device, and perceptron device provided with means for executing the method
US5155763A (en) * 1990-12-11 1992-10-13 International Business Machines Corp. Look ahead method and apparatus for predictive dialing using a neural network
US5819226A (en) 1992-09-08 1998-10-06 Hnc Software Inc. Fraud detection using predictive modeling
US5420910B1 (en) 1993-06-29 1998-02-17 Airtouch Communications Inc Method and apparatus for fraud control in cellular telephone systems utilizing rf signature comparison
US5659453A (en) * 1993-10-15 1997-08-19 Texas A&M University Arc burst pattern analysis fault detection system
US5495521A (en) * 1993-11-12 1996-02-27 At&T Corp. Method and means for preventing fraudulent use of telephone network
US6327345B1 (en) * 1994-09-16 2001-12-04 Mci Communications Corporation Method and system therefor of establishing an acceptance threshold for controlling fraudulent telephone calls
SE9403586L (en) * 1994-10-20 1996-04-21 Telia Ab Method and apparatus for monitoring preferably mobile telephone systems
GB2303275B (en) * 1995-07-13 1997-06-25 Northern Telecom Ltd Detecting mobile telephone misuse
US5726915A (en) * 1995-10-17 1998-03-10 Hughes Aircraft Company Automated system for testing an imaging sensor
US5654903A (en) * 1995-11-07 1997-08-05 Lucent Technologies Inc. Method and apparatus for real time monitoring of wafer attributes in a plasma etch process
GB2321362A (en) 1997-01-21 1998-07-22 Northern Telecom Ltd Generic processing capability

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4837831A (en) * 1986-10-15 1989-06-06 Dragon Systems, Inc. Method for creating and using multiple-word sound models in speech recognition
US5067095A (en) * 1990-01-09 1991-11-19 Motorola Inc. Spann: sequence processing artificial neural network
US5365574A (en) * 1990-05-15 1994-11-15 Vcs Industries, Inc. Telephone network voice recognition and verification using selectively-adjustable signal thresholds
US5307807A (en) * 1991-03-15 1994-05-03 Centro De Neurociencias De Cuba Method and system for three dimensional tomography of activity and connectivity of brain and heart electromagnetic waves generators
US5345595A (en) * 1992-11-12 1994-09-06 Coral Systems, Inc. Apparatus and method for detecting fraudulent telecommunication activity
US5586175A (en) * 1993-10-15 1996-12-17 Linkusa Corporation Call-processing system and method
US5790645A (en) * 1996-08-01 1998-08-04 Nynex Science & Technology, Inc. Automatic design of fraud detection systems
US6546378B1 (en) * 1997-04-24 2003-04-08 Bright Ideas, L.L.C. Signal interpretation engine
US6745156B2 (en) * 1997-04-24 2004-06-01 Bright Ideas, L.L.C. Petroleum exploration and prediction apparatus and method
US6317700B1 (en) * 1999-12-22 2001-11-13 Curtis A. Bagne Computational method and system to perform empirical induction

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6871186B1 (en) * 1997-11-14 2005-03-22 New York University System and method for dynamic profiling of users in one-to-one applications and for validating user rules
US20050132301A1 (en) * 2003-12-11 2005-06-16 Canon Kabushiki Kaisha Information processing apparatus, control method therefor, and program
US7895534B2 (en) * 2003-12-11 2011-02-22 Canon Kabushiki Kaisha Information processing apparatus, control method therefor, and program
US7930739B1 (en) * 2005-05-24 2011-04-19 Symantec Corporation Scaled scanning parameterization
US20110261710A1 (en) * 2008-09-26 2011-10-27 Nsfocus Information Technology (Beijing) Co., Ltd. Analysis apparatus and method for abnormal network traffic
US8483056B2 (en) * 2008-09-26 2013-07-09 NSFOCUS Information Technology Co., Ltd. Analysis apparatus and method for abnormal network traffic
US20150339769A1 (en) * 2014-05-22 2015-11-26 C1 Bank System and method for enforcing data integrity and loan approval automation by means of data aggregation and analysis
US10942711B2 (en) * 2016-02-12 2021-03-09 Sony Corporation Information processing method and information processing apparatus
CN108229539A (en) * 2016-12-13 2018-06-29 安讯士有限公司 For training the method for neural network, computer program product and device
US11501239B2 (en) * 2020-03-18 2022-11-15 International Business Machines Corporation Metric specific machine learning model improvement through metric specific outlier removal

Also Published As

Publication number Publication date
CA2249185A1 (en) 1998-07-23
WO1998032259A2 (en) 1998-07-23
WO1998032259A3 (en) 1999-01-14
EP0894378A1 (en) 1999-02-03
ATE400107T1 (en) 2008-07-15
AU5568798A (en) 1998-08-07
US6920440B1 (en) 2005-07-19
EP0894378B1 (en) 2008-07-02
DE69839661D1 (en) 2008-08-14
GB9701195D0 (en) 1997-03-12
US20080288427A1 (en) 2008-11-20
GB2321363A (en) 1998-07-22

Similar Documents

Publication Publication Date Title
US6067535A (en) Monitoring and retraining neural network
US6920440B1 (en) Forming a signature of parameters extracted from information
US6038555A (en) Generic processing capability
Fawcett et al. Activity monitoring: Noticing interesting changes in behavior
Mozer et al. Predicting subscriber dissatisfaction and improving retention in the wireless telecommunications industry
Cahill et al. Detecting fraud in the real world
US7627543B2 (en) Automated anomaly detection
US10592516B2 (en) Anomaly detection by multi-level tolerance relations
CN104885099A (en) Methods and systems of using boosted decision stumps and joint feature selection and culling algorithms for the efficient classification of mobile device behaviors
CN107408178A (en) The method and system of Malware are identified for the difference by cloud and client behavior
KR19980703623A (en) Fraud detection method of communication network and fraud detection system for fraud detection of communication network
EP3049929A1 (en) Efficient event filter
Ząbkowski et al. Insolvency modeling in the cellular telecommunication industry
GB2431255A (en) Anomalous behaviour detection system
Adedoyin Predicting fraud in mobile money transfer
Moudani et al. Fraud detection in mobile telecommunication
Prakash et al. ATM Card Fraud Detection System Using Machine Learning Techniques
US20230145924A1 (en) System and method for detecting a fraudulent activity on a digital platform
Mohammed et al. Fraud detection of credit card using logistic regression
KR100279673B1 (en) System and method for predicting illegal use of mobile phone through analysis of individual call patterns
Hollmén Probabilistic approaches to fraud detection
Livera et al. Naive Bayes Based Approach on Telecommunication Churn Prediction Using Financial Data
Tong et al. AIMS: A Predictive Web API Invocation Behavior Monitoring System
Van Heerden Detecting fraud in cellular telephone networks
Narciso Debt Analytics: Proactive prediction of debtors in the telecommunications industry

Legal Events

Date Code Title Description
AS Assignment

Owner name: GATX EUROPEAN TECHNOLOGY VENTURES, UNITED KINGDOM

Free format text: SECURITY AGREEMENT;ASSIGNOR:CEREBRUS SOLUTIONS LIMITED;REEL/FRAME:013758/0885

Effective date: 20030131

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION