1. Field of the Invention
The invention relates to a determination of a model of a system, which model includes plural partial models.
2. Description of the Related Art
A determination of such a model is known from Bartholomew et al., Latent Variable Models and Factor Analysis, Charles Griffin, 1987. In this model with partial models (a so-called statistical probability model with a hidden variable y), a probability distribution P for a state x, which state x is described by continuous state quantities xi with xi ∈ R, is described by:
wherein Θ denotes a parameter of the model, i denotes an index for a state quantity, j denotes the number of the partial models, P(a|b) denotes a conditional probability of a variable a under the condition of a variable b, and
denotes a summation over the j partial models.
In this model, the probability distribution P(x|y,Θ) of a partial model j is described by using a Gaussian distribution of the form
P(x|y, my, σ)∝exp {1/22} (2)
where my denotes a mean, a denotes a variance, exp( . . . ) denotes an exponential function, and P(a|b) denotes a conditional probability of a variable a under the condition b.
The model known from Bartholomew et al. is trained in a training phase so that state quantities are determined on a real system at predetermined times k, and the state quantities for one of the predetermined times k are respectively combined to a training datum. A plurality of such training data form a training data set.
The model is trained with the training data set. An overview of different training methods is likewise to be found In Bartholomew et al. and Tanner et al., Tools for Statistical Inference, Springer, 1996.
In the training phase, usually the following cost function L, a logarithmic likelihood, is minimized:
where xk denotes a training datum, Θ a parameter to be matched in the training, log ( . . . ) a logarithm function, and P(xk|Θ) a conditional probability of the training datum xk under the condition of the parameter Θ. The minimization of the logarithmic likelihood usually takes place by the use of an Expectation-Maximization method (EM algorithm), as is known from Tanner et al.
A system for the transmission of data between interconnected computers is known from Fundamentals for the World Wide Web, obtainable on Mar. 16, 1999 under: http:l/www.w3.org/. The components of this system are portions of a communication network, the so-called World Wide Web (WWW).
The communication network connects individual computers together such that the computers can exchange data according to a predetermined transmission protocol, the “Transmission Control Protocol (TCP)/Internet Protocol (IP)”. In order to make possible a uniform processing of data, many data are present in a uniform format, the so-called Hypertext Markup Language (HTML) format.
It is furthermore known from Fundamentals for the World Wide Web to search for given data on the WWW using a WWW browser, and to display these data on a monitor. Such a WWW browser and a computer program implementing the WWW browser are known from Fundamentals for the World Wide Web.
These data can be transmitted in the context of a service which can be requested by a computer on the communication network. Such a service is, for example, a provision of information. An individual computer (user) can then request the service from another individual computer (server) over the communication network. In the context of the service, data are transmitted between the user and the server over the communication network.
It is furthermore known from Fundamentals for the World Wide Web that a computer which makes data available on the communication network and from which data can be requested is such a server.
A communication between a user and a server in which the user requests a service from the server and the server fulfills this request will be termed a session. Correspondingly, a communication between a user and a server on the WWW is termed an Internet session. In a user's Internet session, an item of information which describes the Internet session is stored at the selected server in a so-called “log file”. The information includes, for example, an identification of the user and a duration of the Internet session. Such an Internet session, described by the information, can be interpreted as a state of an “internet session” system. The information would in this case contain state quantities of the system.
An aspect of the invention is to provide a method and a system with which a model with partial models of a system, for example of the system “Internet session”, can be determined, which model describes the system with better accuracy than in the method described above.
In the method of determination of at least one partial model of a model of a system, wherein a state of the system is described by state quantities and at least one state quantity is a discrete state quantity, plural sets of values of the state quantities are determined. A probability distribution for the state quantities is determined from the sets. The partial model of the system is determined using the sets and the probability distribution for the state quantities, and using a statistical learning method; the partial model describes the system under the precondition of the probability distribution for the state quantities.
The system for the determination of at least one partial model of a model of a system, wherein a state of the system is described by state quantities and at least one state quantity is a discrete state quantity, has a processor which is set up such that
The system is particularly suitable for carrying out the method according to the invention or of one of Its developments explained hereinafter. The developments described hereinafter relate both to the method and also to the system. The invention and the developments described hereinafter can be implemented both in software and also in hardware, for example, by using a special electrical circuit.
Furthermore, an Implementation of the invention or of a development described hereinafter is possible by a computer-readable memory medium, on which a computer program is stored which controls a processor to execute a method according to the invention or development.
In a development, the model Includes plural partial models. Also, all the state quantities can be discrete state quantities.
In an embodiment, the probability distribution is a multinomial distribution or a binomial distribution.
In a development, a characteristic set of values of the state quantities is determined, the probability distribution for the state quantities having an extremum for at least one characteristic set. The extremum can be a maximum.
Furthermore, a semantic designation can be determined for the characteristic set. In an embodiment, plural characteristic sets are determined.
The at least one discrete state quantity can be determined by the truncation of a continuous state quantity.
For an improvement of the model, it is appropriate to determine a measure of a statistical uncertainty for the model. The measure of a statistical uncertainty, for example, a conditioned entropy, can be taken into account in the statistical learning process. In such a case, only such a partial model is learned in the statistical learning process which has a small measure of the statistical uncertainty.
In an embodiment, the model is a Bayesian network.
A logarithmic likelihood can be determined in the statistical learning process. An expectation maximization method can also be carried out in the statistical learning process.
In a development, a state of the system is determined by a measurement of state quantities or a presetting of state quantities. The embodiment can be used for a prognosis of a state of a system. In the prognosis, only partial state quantities of a set of state quantities are determined and, using the model and the partially determined state quantities, further state quantities of this set are determined.
In a development, the system is defined as an Internet access. In this case, the development can be used for an analysis of plural Internet accesses.
These and other objects and advantages of the present invention will become more apparent and more readily appreciated from the following description of the preferred embodiments, taken in conjunction with the accompanying drawings of which:
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
Using such a WWW browser, a user computer can search in the WWW for given information, transfer found information to itself, and display the transmitted information on a monitor. A communication between a user and a server, in which the user requests a service from the server and the server fulfills this request, is termed a session or an access. In each session of a user, an item of information which describes the respective session is memorized at the server used in a so-called “log file” in a memory 132. In
An item of Information regarding a session of a user respectively includes the following partial items of information:
For modeling an “Internet session” system, variables of the “Internet session” system are defined using these partial items of information, and describe an Internet session as comprehensively as possible (see
The modeling of the “Internet session” system is explained hereinbelow, reference being made to the respective method step 300 in FIG. 3. It is shown how the model is used to describe the behavior of users on the Internet, to extract a typical scenario of users, and to determine users' typical, recurring behavior patterns.
For the case that a variable of the “Internet session” system is a continuous variable, for example, the duration of a session, this variable is discretized, i.e., a continuous range of values of the variable is divided into regions, and these regions are respectively allocated an index, for example up to 1 minute: index 1; 1-10 minutes: index 2; 10 minutes to 1 hour, index 3; and more than an hour: index 4 (see
The defined and if necessary discretized variables of the “internet session” system are:
For the modeling of the “Internet session” system, a statistical probability model P with a hidden variable y, of the Bayesian network type as described in Bartholomew et al., is used. The statistical probability model P which is used can be described as follows:
wherein Θ denotes a parameter of the model, i denotes an index of a state quantity, j denotes the number of the partial models, P(a|b) denotes a conditional probability of a variable a under the condition of a variable b, and
denotes a summation of j partial models of the statistical probability model P.
The number j of the partial models of the statistical probability model P can be freely predetermined. In this case j=20 partial models is chosen. Since the state x, in this case the session vector x, has only discrete variables, a natural parametrization is to be chosen, i.e., the parameters Θ of the statistical probability model correspond to elements of a probability table P(xi|y, Θ). Graphically this means that in this case the probability distribution P(x|y, Θ) is described using a multinomial distribution.
The statistical probability model P (4) is trained In a training phase. For this purpose, session vectors are extracted from a predetermined training log file and are combined into a training data set (see
In the training phase, a modified cost function Lmod(Θ) is minimized; it is a logarithmic likelihood L(Θ) with an additional term K(Θ), which is coupled on by a Lagrange parameter λ (see
where xk denotes a training datum, Θ a parameter to be adjusted in the training, log ( . . . ) a logarithm function, and P(xk|Θ) a conditional probability of the training datum xk under the condition of the parameter. An average (negative) entropy E(Θ) is used as the additional term K(Θ), and is weighted with a prior P(y|Θ) (see
The minimization of the modified cost function takes place using an optimizing method based on a expectation maximization method (EM algorithm), as described in Tanner et al.
For this purpose, the following expression is optimized stepwise by changing the parameter Θ:
where Θold denotes a parameter before an optimization step, Θnew denotes a parameter after an optimization step . It is however mentioned in this regard that an unmodified cost function (a logarithmic likelihood L(Θ)) can also be used in the training.
The trained statistical probability model is now used hereinafter in order to determine typical behavior patterns of Internet users, termed scenarios (see
which is described in Cover et al., Elements of Information Theory, Wiley 1991, is used, where Q ( . . . ) denotes an empirical probability.
The probability distribution associated with the variables xi is rounded down or up here to 0% or 100%. The distributions rounded-down or—up are frozen, i.e., these distributions are no longer changed in the further course of the method. The training of the model is once again carried out as described. It is thereby ensured that within each partial model at least a few probability distributions of a variable xi have a deterministic structure and thus each partial model can be interpreted as a scenario.
It is shown in
After processing the probability distributions with a method according to Kullback-Leibler, which is described in Cover et al., the variable “organization structure” 630 has a maximal deterministic distribution 631. This maximal deterministic distribution 631 of the “organization structure” variable is thus characterizing for the selected partial model 626. Accordingly, the selected partial model receives a semantic designation “targeted organization structure”. Other scenarios, for example, “standard PC”, “targeted access”, are determined corresponding to this procedure.
The statistical probability model 400 with a hidden variable 410 is shown schematically in FIG. 4.
A result 500 of an analysis of Internet sessions is shown in
A respective probability 512 is given for the scenarios 511. The probability 512 of a scenario 511 gives the frequency with which the scenario appeared in the Internet sessions stored in the log file.
It must however be emphasized that the described procedure is not limited to the modeling of the “Internet session” system. A model can be determined by the described procedure for any optional system, for example a chemical reactor, a traffic system, or a fault diagnosis system in a motor vehicle. In this case, other state quantities result, for example, the composition of a chemical material, a material concentration, a traffic density, or a traffic flow.
In the fault diagnosis system, the state quantities can be variables which describe an operational state of the motor vehicle or an electronics of the motor vehicle, for example, a speed, an engine torque, or an engine rpm. The hidden variable would in such a case describe fault states of the motor vehicle or fault scenarios of the motor vehicle, for example, “faults in the injection system”. The procedure in the modeling of such a system is to be carried out corresponding to the above statements.
Variants of the embodiment example are described hereinbelow.
In a first variant of the embodiment example, a method based on a customary gradient-based method for the optimization of the parameter Θ is used in the training of the statistical probability model (4). For this purpose, an average (negative) entropy E′(Θ) is weighted with an ‘empirical prior’ Q(y|Θ):
where there holds for Q(y|Θ):
The target function in the gradient-based method Is in this case the expression:
In a second variant of the embodiment example, a transformation is carried out in the training:
where the transformed term is denoted by M(Θ). In this case, the following expression is optimized:
In a third variant of the embodiment example, an entropy E(Θ) with
is used as a criterion for a maximally deterministic probability distribution.
the invention has been described in detail with particular reference to preferred embodiments-thereof and examples, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
100 09 344 | Feb 2000 | DE | national |
This application is based on and hereby claims priority to German Application No. 100 09 344.2 filed on Feb. 28, 2000, the contents of which are hereby incorporated by reference.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/DE00/04607 | 12/21/2000 | WO | 00 | 10/22/2002 |
Number | Name | Date | Kind |
---|---|---|---|
5133046 | Kaplan | Jul 1992 | A |
6076083 | Baker | Jun 2000 | A |
6266624 | Deco et al. | Jul 2001 | B1 |
6272480 | Tresp et al. | Aug 2001 | B1 |
6606657 | Zilberstein et al. | Aug 2003 | B1 |
20020124075 | Venkatesan | Sep 2002 | A1 |
20030018636 | Chi et al. | Jan 2003 | A1 |
20030028631 | Rhodes | Feb 2003 | A1 |
20030033253 | Rhodes | Feb 2003 | A1 |
20030033403 | Rhodes | Feb 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20030115016 A1 | Jun 2003 | US |