Information
-
Patent Application
-
20030115016
-
Publication Number
20030115016
-
Date Filed
October 22, 200222 years ago
-
Date Published
June 19, 200321 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
The invention relates to a method and an arrangement for detecting at least one partial model of a model pertaining to a system. A state of the system is described by state variables. At least one of said state variables is a discrete state variable. Several value sets of the state variables are detected. A probability distribution for the state variables is detected by means of said sets. The partial model of the system is detected using the sets and the probability distribution of the state variables and a statistical learning method. The partial model describes the system under the condition of the probability distribution for the state variables.
Description
[0001] The invention relates to a determination of a model of a system, which model includes plural partial models.
[0002] A determination of such a model is known from [1].
[0003] 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:
1
[0004] 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
2
[0005] denotes a summation over the j partial models.
[0006] 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 {½[(x−my)/σ]2} (2)
[0007] where my denotes a mean, σ denotes a variance, exp( . . . ) denotes an exponential function, and P(a|b) denotes a conditional probability of a variable a under the condition b.
[0008] The model known from [1] 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.
[0009] The model is trained with the training data set. An overview of different training methods is likewise to be found in [1] and [2].
[0010] In the training phase, usually the following cost function L, a logarithmic likelihood, is minimized:
3
[0011] 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 Θ.
[0012] The minimization of the logarithmic likelihood usually takes place by the use of an Expectation-Maximization method (EM algorithm), as is known from [2].
[0013] An arrangement for the transmission of data between interconnected computers is known from [3].
[0014] The components of this arrangement are portions of a communication network, the so-called World Wide Web (WWW).
[0015] 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.
[0016] It is furthermore known from [3] 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 [3].
[0017] 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.
[0018] An individual computer (user) can then request the service from another individual computer (server) over the communication network.
[0019] In the context of the service, data are transmitted between the user and the server over the communication network.
[0020] It is furthermore known from [3] that a computer which makes data available on the communication network and from which data can be requested is such a server.
[0021] 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.
[0022] 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”.
[0023] The information includes, for example, an identification of the user and a duration of the Internet session.
[0024] 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.
[0025] The invention has as its object to provide a method and an arrangement 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.
[0026] The object is attained by the method and by the arrangement according to the respective independent claim.
[0027] 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.
[0028] The arrangement 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
[0029] plural sets of values of the state quantities can be determined,
[0030] a probability distribution for the state quantities can be determined from the sets,
[0031] using the sets and the probability distribution for the state quantities, and using a statistical learning method, the partial model of the system can be determined; the partial model describes the system under the precondition of the probability distribution for the state quantities.
[0032] The arrangement is particularly suitable for carrying out the method according to the invention or of one of its developments explained hereinafter.
[0033] Preferred developments of the invention will become apparent from the dependent claims.
[0034] The developments described hereinafter relate both to the method and also to the arrangement.
[0035] 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.
[0036] Furthermore, an implementation of the invention or of a development described hereinafter is possible by means of a computer-readable memory medium, on which a computer program is memorized which executes the invention or development.
[0037] The invention and/or each development described hereinafter can also be implemented by a computer program product which has a memory medium on which a computer program is memorized which executes the invention and/or development.
[0038] In a development, the model includes plural partial models.
[0039] Also, all the state quantities can be discrete state quantities.
[0040] In an embodiment, the probability distribution is a multinomial distribution or a binomial distribution.
[0041] 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.
[0042] Furthermore, a semantic designation can be determined for the characteristic set.
[0043] In an embodiment, plural characteristic sets are determined.
[0044] The at least one discrete state quantity can be determined by the truncation of a continuous state quantity.
[0045] For an improvement of the model, it is appropriate to determine a measure of a statistical uncertainty for the model.
[0046] The measure of a statistical uncertainty, for example, a conditioned entropy, can be taken into account in the statistical learning process.
[0047] 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.
[0048] In an embodiment, the model is a Bayesian network.
[0049] A logarithmic likelihood can be determined in the statistical learning process.
[0050] An expectation maximization method can also be carried out in the statistical learning process.
[0051] In a development, a state of the system is determined by a measurement of state quantities and./or a presetting of state quantities.
[0052] The embodiment can be used for a prognosis of a state of a system.
[0053] 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.
[0054] In a development, the system is defined as an Internet access.
[0055] In this case, the development can be used for an analysis of plural Internet accesses.
[0056] An embodiment example of the invention is shown in the Figures and is described in detail hereinafter.
[0057]
FIG. 1 shows a sketch of a communication system according to a first embodiment example;
[0058]
FIG. 2 shows a Web log file with information about accesses of different users to a Web page;
[0059]
FIG. 3 shows process steps in a modeling of an “Internet session” system according to a first embodiment example;
[0060]
FIG. 4 shows a statistical model which describes an access to a collection of Web pages;
[0061]
FIG. 5 shows a statistical model which describes an access to a collection of Web pages, and in which user scenarios are shown;
[0062]
FIG. 6 shows a statistical model which describes an access to a collection of Web pages, and in which user scenarios are shown.
Analysis of Internet Sessions
[0063]
FIG. 1 shows schematically a structure of a communication network 100, a so-called World Wide Web (WWW), as described in [1].
[0064] In the communication network 100, individual computers 110, 120, 130 are connected by connections 111, 112, 113, over which data can be transmitted.
[0065] The computer 110 and the computer 120 are so-called user computers, i.e., a user can use in the WWW information which is offered in the WWW by using such a user computer.
[0066] The computer 130 is a so-called server computer, which offers information in the www.
[0067] Each user computer 110, 120 has a respective memory 112, 122 in which a software program, a so-called WWW browser, as described in [1], is memorized.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] In FIG. 2, such a log file 200 of a server is shown schematically; in it, information of four sessions 210, 220, 230, 240 of four different users is memorized.
[0072] An item of information regarding a session of a user respectively includes the following partial items of information:
[0073] an indication of the respective user 250,
[0074] an indication of the time of the respective session 251,
[0075] an indication of a starting page of the respective session 252,
[0076] an indication of the duration of the respective session,
[0077] an indication of a reference of the starting page,
[0078] an indication of a number of pages searched during the respective session.
[0079] It should be mentioned that the above listing of the partial information of an information is not to be understood as definitive. An item of information can also include further partial items of information.
[0080] 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 FIG. 3, method step 301).
[0081] A continuing analysis and modeling of Internet sessions is then carried out using the model.
[0082]
FIG. 3 shows method step 300, which is carried out in modeling the “Internet session” system:
[0083] a first method step 301, in which discrete state quantities, for example user class or number of sessions, are determined for the system,
[0084] a second method step 310, in which sets of values of the state quantities are determined,
[0085] a third method step 320, in which a probability distribution for the state quantities is determined,
[0086] a fourth method step 330, in which the model of the system is determined, a target function extended with a conditioned entropy being used in the determination,
[0087] a fifth method step 340, in which characteristic sets of the state quantities are determined, and the characteristic sets are allocated a respective semantic designation.
[0088] The modeling of the “Internet session” system is explained hereinbelow, reference being made to the respective method step 300 in FIG. 3.
[0089] 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.
[0090] 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 FIG. 3, method step 301).
[0091] The defined and if necessary discretized variables of the “internet session” system are:
[0092] user class (local employee; corporate management; . . . ; other user),
[0093] number of sessions in time period considered (one visit; two through five visits; 6-15 visits; more than 15 visits),
[0094] starting time of a session (before 9:00 a.m.; between 9:00 and 11:00 a.m.; . . .
[0095] starting page,
[0096] duration of the session,
[0097] reference to the starting page,
[0098] number of pages visited,
[0099] home page (visited/not visited)
[0100] news (visited/not visited).
[0101] It is emphasized that this enumeration of variables is not to be taken as exhaustive. Further variables can certainly be defined which describe the “Internet session” system.
[0102] The variables are combined into a so-called session vector, the discrete variables being components of the session vector.
[0103] 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 [1], is used.
[0104] The statistical probability model P which is used can be described as follows:
4
[0105] 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
5
[0106] denotes a summation of j partial models of the statistical probability model P.
[0107] 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,Θ).
[0108] Graphically this means that in this case the probability distribution P(x|y, Θ) is described using a multinomial distribution.
[0109] 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 FIG. 3, method step 310).
[0110] The statistical probability model (4) is trained with the training data set (see FIG. 3, method step 320 and method step 330).
[0111] 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 means of a Lagrange parameter λ (see FIG. 3, method step 330):
6
[0112] 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.
[0113] An average (negative) entropy E(Θ) is used as the additional term K(Θ), and is weighted with a prior P(y|Θ) (see FIG. 3, method step 320.
[0114] The following holds:
7
[0115] The minimization of the modified cost function takes place using an optimizing method based on a expectation maximization method (EM algorithm), as described in [2].
[0116] For this purpose, the following expression is optimized stepwise by changing the parameter Θ:
8
[0117] where Θold denotes a parameter before an optimization step, Θnew denotes a parameter after an optimization step, and arg maxΘ{ . . . } denotes (please supplement).
[0118] 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 FIG. 3, method step 340).
[0119] For this purpose, the conditional probabilities P(xi|y, Θ) are determined and are analyzed in regard to a maximum deterministic probability distribution of the variables xi.
[0120] As a criterion for a maximum deterministic probability distribution, the Kullback-Leibler distance
9
[0121] which is described in [4], is used, where Q ( . . . ) denotes an empirical probability.
[0122] 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.
[0123] 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.
[0124] It is shown in FIG. 6 how a “targeted organization structure” scenario is identified and named according to the above procedure.
[0125]
FIG. 6 shows schematically the hidden variable 610, “user scenario”, with the partial models of the system 625.
[0126] Furthermore in FIG. 6 there are shown the variables 620 of the “Internet session” system, for example, user categories and number of visits.
[0127]
FIG. 6 shows a selected partial model 626 and, for the selected partial model 626, the associated probability distributions 628 of the variables 620, determined using the trained model.
[0128] After processing the probability distributions with a method according to Kullback-Leibler, which is described in [4], the variable “organization structure” 630 has a maximal deterministic distribution 631.
[0129] 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”.
[0130] Other scenarios, for example, “standard PC”, “targeted access”, are determined corresponding to this procedure.
[0131] The statistical probability model 400 with a hidden variable 410 is shown schematically in FIG. 4.
[0132]
FIG. 4 shows the hidden variable 410, which is allocated a semantic designation “user scenario”.
[0133]
FIG. 4 also shows the variables 420 of the “Internet session” system, for example, “user class”, “number of visits”, “starting page”, and “information on sections”.
[0134] A result 500 of an analysis of Internet sessions is shown in FIG. 5; in it, numerous different users have accessed an Internet page of a selected server.
[0135] For this purpose, a log file of the chosen server was processed according to the above-described procedure.
[0136]
FIG. 5 shows the hidden variable 510 “user scenario” and the associated semantically designated scenarios 511, for example, targeted access, standard PC, unknown person.
[0137] A respective probability 512 is given for the scenarios 511.
[0138] The probability 512 of a scenario 511 gives the frequency with which the scenario appeared in the Internet sessions stored in the log file.
[0139]
FIG. 5 also shows the variables 520 of the “Internet session” system, for example, user classes, number of visits.
[0140] For the variables 520 shown, there are respectively given the associated, discretized value regions 521.
[0141] Furthermore, for each variable 520, a probability distribution 522 with which the respective variable 520 occurs in the Internet sessions memorized in the log file is given.
[0142] It must however be emphasized that the described procedure is not limited to the modeling of the “Internet session” system.
[0143] A model can be determined by means of the described procedure for any optional system, for example a chemical reactor, a traffic system, or a fault diagnosis system in a motor vehicle.
[0144] 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.
[0145] 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”.
[0146] The procedure in the modeling of such a system is to be carried out corresponding to the above statements.
[0147] Variants of the embodiment example are described hereinbelow.
[0148] 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).
[0149] For this purpose, an average (negative) entropy E′(Θ) is weighted with an ‘empirical prior’ Q(y|Θ):
10
[0150] where there holds for Q(y|Θ):
11
[0151] The target function in the gradient-based method is in this case the expression:
12
[0152] In a second variant of the embodiment example, a transformation is carried out in the training:
13
[0153] where the transformed term is denoted by M(Θ).
[0154] In this case, the following expression is optimized:
14
[0155] In a third variant of the embodiment example, an entropy E(Θ) with
15
[0156] is used as a criterion for a maximally deterministic probability distribution.
[0157] The following publications are cited in the context of this document:
[0158] [1] Bartholomew et al., Latent Variable Models and Factor Analysis, Charles Griffin, 1987;
[0159] [2] Tanner et al., Tools for Statistical Inference, Springer 1996;
[0160] [3] Fundamentals for the World Wide Web, obtainable on Mar. 16, 1999 under: http://www.w3.org/
[0161] [4] Cover et al., Elements of Information Theory, Wiley 1991.
Claims
- 1. Method for the determination of at least one partial model of a model of a system, a state of the system being described by state quantities,
in which plural sets of values of the state quantities are determined, in which a probability distribution for the state quantities is determined from the sets, in which 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 describing the system under the precondition of the probability distribution for the state quantities, wherein
at least one of the state quantities is a discrete state quantity.
- 2. Method according to claim 1,
wherein the model includes plural partial models.
- 3. Method according to claim 2,
wherein all the state quantities are discrete state quantities.
- 4. Method according to one of claims 1-3,
wherein the probability distribution is a multinomial distribution or a binomial distribution.
- 5. Method according to claims 1-4,
wherein at least one 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.
- 6. Method according to claim 5wherein the extremum is a maximum.
- 7. Method according to claim 5 or 6,
wherein a semantic designation is determined for the characteristic set.
- 8. Method according to one of claims 5-7,
wherein plural characteristic sets are determined.
- 9. Method according to one of claims 1-8,
wherein the at least one discrete state quantity is determined by the discretization of a continuous state quantity.
- 10. Method according to one of claims 1-9,
wherein a measure of a statistical uncertainty is determined for a partial model.
- 11. Method according to claim 10,
wherein the measure of the statistical uncertainty is taken into account in the statistical learning method.
- 12. Method according to claim 11,
wherein the measure of the statistical uncertainty is taken into account such that only one such partial model is learned which has a small measure of the statistical uncertainty.
- 13. Method according to one of claims 10-12,
wherein the measure of the statistical uncertainty is a conditional entropy.
- 14. Method according to one of claims 1-13,
wherein the model is a Bayesian network.
- 15. Method according to one of claims 1-14,
wherein a logarithmic likelihood is determined in the statistical learning method.
- 16. Method according to one of claims 1-15,
wherein an expectation maximization method is carried out in the statistical learning method.
- 17. Method according to one of claims 1-16,
wherein a state of the system is determined by means of a measurement of state quantities and/or a presetting of state quantities.
- 18. Method according to one of claims 1-17,
used for a prognosis of a state of a system.
- 19. Method according to claim 18, wherein only partial state quantities of a set of state quantities are determined in the prognosis, and further state quantities of this set are determined using the model and the partial determined state quantities.
- 20. Method according to one of claims 1-19,
wherein the system is defined as an Internet access.
- 21. Method according to claim 20,
used for an analysis of a plurality of Internet accesses.
- 22. Arrangement for the determination of at least one partial model of a model of a system, a state of the system being described by state quantities, with a processor which is arranged such that
plural sets of values of the state quantities can be determined, a probability distribution for the state quantities can be determined from the sets, the partial model of the system can be determined using the sets and the probability distribution for the state quantities and using the statistical learning method, the partial model describing the system under the precondition of the probability distribution for the state quantities, wherein
at least one of the state quantities is a discrete state quantity.
Priority Claims (1)
Number |
Date |
Country |
Kind |
100 09 344.2 |
Feb 2000 |
DE |
|
PCT Information
Filing Document |
Filing Date |
Country |
Kind |
PCT/DE00/04607 |
12/21/2000 |
WO |
|