Abstract:
TES (Transform-Expand-Sample) is a versatile class of stationary stochastic processes which can model arbitrary marginals, a wide variety of autocorrelation functions, and a broad range of sample path behaviors. An algorithmic method replaces the previously relied upon heuristic search, thereby automating TES modeling for simulation analysis. The algorithm is solved in a nonlinear programming setting, which takes advantage of fast and accurate computation of TES autocorrelation functions and their partial derivatives to implement a steepest-descent technique, preferably based on Zoutendijk&#39;s Feasible Direction Method. The method has particular application to data compression and specifically compressed video.

Description:
This is a continuation of application Ser. No. 08/554,251 filed Nov. 8, 1995, now abandoned, and a continuation of application Ser. No. 08/311,303 filed Sep. 23, 1994, now abandoned. 
    
    
     FIELD OF THE INVENTION 
     The present invention relates to an algorithmic methodology for automating Transform-Expand-Sample (TES) modeling and specifically for use as an input analysis method for simulation analysis in general and in broadband video traffic modeling, in particular. 
     BACKGROUND OF THE INVENTION 
     Stochastic dependence is quite common in real-world random phenomena, including bursty traffic in high-speed communications networks. Compressed video, also known as VBR (variable bit rate) video, is a case in point. Intuitively, burstiness is present in a traffic process, if arrival points appear to form visual clusters on the time line. The mathematical underpinning of burstiness is complex; two main factors contributing to traffic burstiness are the marginal distribution and autocorrelation function of traffic interarrival times or of the magnitudes of arriving workloads. Strong positive short-term autocorrelations are good indicators of traffic burstiness. Analytical models, however, tend to ignore dependence in order to gain analytical tractability; in particular, the bulk of queuing models is devoted to the study of queues with independent interarrival and service times. The impact of autocorrelation in traffic processes on queueing measures (e.g., mean queue length, mean waiting times and loss probabilities in finite buffers) can be very dramatic, even in light traffic regimes; worse still, ignoring correlations leads to over-optimistic predictions which are often off by orders of magnitude. 
     Modeling temporal dependence in time-series often involves a trade-off between model accuracy and computational feasibility. The histogram construct, which models first-order properties, is one example of this trade-off. The autocorrelation function, which models second-order properties, is another. The latter is a popular statistical proxy of dependence, especially in engineering disciplines. A natural idea is to capture first-order and second-order properties of empirical time series (assumed to be from a stationary probability law) by fitting simultaneously both the empirical distribution (histogram) and empirical autocorrelation function. 
     Transform-Expand-Sample (TES) is a versatile class of stationary stochastic processes with general marginals, a wide variety of autocorrelation functions (e.g., monotone, oscillatory and others), and broad range of sample path behaviors (e.g., directional and reversible). From a Monte Carlo simulation prospective, TES generation algorithms are fast and require little memory. In essence, TES is a first-order nonlinear autoregressive scheme with modulo-1 reduction and additional transformations. Its specification comprises two kinds of parameters from two distinct sets. The first set, which is algorithmically determined, guarantees an exact match to the empirical distribution (histogram). The second set largely determines the autocorrelation structure. In order to approximate the empirical autocorrelation function, the TES modeling methodology to-date employs a heuristic search approach on a large parametric space. 
     Effective TES modeling requires software support. An interactive visual modeling environment, called TEStool, was designed and implemented to support heuristic searches for TES models under human control. TEStool is described in an article by D. Geist and B. Melamed entitled &#34;TEStool: An Environment for Visual Interactive Modeling of Autocorrelated Traffic&#34; in Proceedings of the 1992 International Conference on Communications, Vol. 3, pp. 1285 to 1289, 1992. TEStool allows the user to read in empirical time series and calculate their statistics (histogram, autocorrelation function and spectral density) in textual and graphical representations. It provides services to construct and modify TES models and to superimpose the corresponding TES statistics on their empirical counterparts. The search proceeds in an interactive style, guided by visual feedback: each model modification triggers a recalculation and redisplay of the corresponding statistics. This approach has several limitations. First, effective TES modeling requires qualitative understanding of TES processes as well as experience; second, the search scope and speed are fundamentally limited by the speed of the human response bounded by the individual limits of human patience; and third, modeling precision is constrained by screen resolution as perceived by the human eye. A TES modeling algorithm is described and illustrated in U.S. Pat. No. 5,257,364 issued to B. Melamed and D. Jagerman and entitled &#34;Method for Generating a Correlated Sequence of Variates with Desired Marginal Distribution for Testing a Model of a Communication System&#34;, which is hereby incorporated herein by reference. 
     SUMMARY OF THE INVENTION 
     The present invention provides an algorithmic methodology for automating TES modeling, thereby shifting the modeling burden from a human conducting a heuristic search over a large parametric space. The modeling problem is solved in a nonlinear programming environment, taking advantage of fast and accurate computation of TES autocorrelation functions and their partial derivatives to implement a steepest-descent technique based on Zoutendijk&#39;s Feasible Direction Method. Among the different techniques which can be used to practice the invention, for example, gradient projection, penalty method or the like, Zoutendijk&#39;s Feasible Direction Method was found to be the best. This method depends heavily on an efficient &#34;linear&#34; search for the optimal feasible direction which constitutes a solution to a linear programming subproblem. An explicit solution is possible, owing to the relatively simple constraints involved. In addition, the apparent smooth local behavior of the objective function contributes significantly to the overall good performance of the modeling algorithm. 
     The TES modeling algorithm has been incorporated into the TEStool modeling environment to supplement its heuristic search support, largely automating the search. The user is only asked to specify a few discretization parameters which determine the accuracy and the computational complexity of the search. The end-product of the algorithm are multiple candidate TES models whose number is a user-supplied parameter. The final selection of a model is made by the user, by inspecting the associated simulated sample paths and judging their &#34;resemblance&#34; to their empirical counterpart. TEStool permits the display of intermediate results, mainly as a didactic means of elucidating TES modeling and the intuition behind it. 
     This last step is not automated, since in the absence of an agreed upon mathematical measure, sample path &#34;resemblance&#34; is necessarily subjective. However, users are routinely called upon to make such subjective judgments. The present modeling approach centers on the so-called GSLO (Global Search Local Optimization) algorithm which combines a global search with a local nonlinear programming to minimize an objective function comprising the distance between the empirical autocorrelation function and its candidate model counterpart. The notion of distance is taken as a weighted sum of squared differences between autocorrelations of corresponding lags. Key to this approach is the existence of fast and numerically stable analytical formulas for calculating the objective function and its partial derivatives, as well as the simplicity of the constraints in the ensuing nonlinear optimization problem. The method is described in conjunction with three examples: two from the domain of compressed video traffic, and one representing results from a physics laboratory experiment on laser intensity. 
     Experimentation with the modeling algorithm, as implemented in TEStool, has yielded remarkably accurate TES models of empirical records in a relatively short period of time, typically on the order of minutes. Experience with a variety of empirical data sets confirms that the algorithmic TES modeling methodology can serve as a powerful input analysis technique for simulation analysis in general, and broadband video traffic modeling, in particular. 
     The invention will more clearly be understood when the following description is read in conjunction with the accompanying drawing. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 is pseudo-code for the Optimal Feasible Direction Subproblem; 
     FIG. 2 shows a TEStool screen showing the results for algorithmic TES modeling of a empirical sample path of VBR video; 
     FIG. 3 shows a TEStool screen showing the algorithm TES modeling results for a P-frame model; 
     FIG. 4 shows a TEStool screen showing the algorithm TES modeling results for the fluctuation intensity of an NH 3  laser experiment; and 
     FIG. 5 is a flow diagram of a preferred method of simulation analysis in accordance with the teachings of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     In order to better understand the present invention, a brief background regarding TES processes is provided. A more detailed overview is found in an article by B. Melamed entitled &#34;An Overview of TES Processes and Modeling Methodology&#34; in Performance Evaluation of Computer and Communication Systems (L. Donatiello and R. Nelson, Eds.) pp 359 to 393, Springer-Verlag Lecture Notes in Computer Sciences 1993. 
     In the following description ƒ will denote the Laplace transform of a function, ƒ, and 1 A  will denote the indicator function of set A. 
     The construction of a TES process involves two random sequences in lockstep. The first sequence, called a background TES process, plays an auxiliary role. It is chosen as either {U n   +  } n=0 .sup.∞ or {U n   -  } n=0 .sup.∞, defined recursively by ##EQU1## The value of, U O  is distributed uniformly on (0,1); V={V n  } n=1 .sup.∞ is a sequence of iid random variables, independent of U 0 , called the innovation sequence; and angular brackets denote the modulo-1 (fractional part) operator (χ)=χ-max{integer n: n≦χ}. The superscript notation in equation (1) is motivated by the fact that U +  ={U n   +  } and U -  ={U n   -  } can generate lag-1 autocorrelations in the ranges  0,1! and  -1,0!, respectively. There will always be appended plus or minus superscripts to other mathematical objects associated with {U n   +  } and {U n   -  }, but the superscript is omitted when the distinction is immaterial. Intuitively, the modulo-1 arithmetic used in the definition of the background TES processes in equation (1) gives rise to a simple geometric interpretation as random walks on a circle of circumference 1 (unit circle), with mean step size E V n  !. 
     The second sequence, called a foreground sequence, is the target TES model. Foreground TES sequences are denoted {X n   +  } n=0 .sup.∞ or {X n   -  } n=0 .sup.∞, respectively, and given by 
     
         X.sub.n.sup.+ =D(U.sub.n.sup.+), X.sub.n.sup.- -D(U.sub.n.sup.-), (2) 
    
     where D is a real-valued measurable transformation from  0,1), called a distortion. Equation (2) defines two classes of TES models, denoted TES +  and TES - , respectively. 
     The autocorrelation functions of TES processes, with common variance, 0&lt;σ X   2  &lt;∞, can be calculated numerically from fast and accurate formulas. Specifically, for any τ≧0, the corresponding autocorrelations of lag τ for {X n   +  } and {X n   -  }, respectively, are given by ##EQU2## 
     Analytical formulas for ƒν(i2πν) and D(i2πν,) are given in an article by D. J. Jagerman and B. Melamed entitled &#34;The Transition and Autocorrelation Structure of TES Processes Part II&#34; &#34;Special Cases&#34;, in Stochastic Models, Vol. 8(3), pp 499 to 527, 1992. 
     Given an empirical time series, {Y n  } n=0   N , one uses in practice a composite distortion of the form 
     
         D.sub.Y,ξ (χ)=H.sub.Y.sup.-1 (S.sub.ξ (χ)), χε|0, 1).                            (5) 
    
     Here, the inner transformation, S.sub.ξ, is a &#34;smoothing&#34; operation, called a stitching transformation, parameterized by 0≦ξ≦1, and given by ##EQU3## 
     The outer transformation, H Y   -1 , is the inverse of the empirical (histogram) distribution function computed from {Y n  } as ##EQU4## where J is the number of histogram cells,  l j , r j ) is the domain of cell j with width ω j  =r j  -l j  &gt;0, p j  is the probability estimator of cell j and {C i  } i=0   J  is the cumulative distribution function (cdf) of {p j  } j-1   J , i.e., C j  =Σ i=1   j  p i , 1≦j≦J (C 0  =0 and C J  =1). 
     The rationale for TES processes stems from the following facts. First, all TES background sequences are stationary Markovian, and their marginal distribution is uniform on  0,1), regardless of the probability law of the innovations {V n  } selected, as a consequence of the General Iterated Uniformity Lemma in the article by D. L. Jagerman and B. Melamed entitled &#34;The Transition and Autocorrelation Structure of TES Processes Part I; General Theory&#34;, in Stochastic Models Vol 8(2) pp 193 to 219 1992. Second, the inversion method described by L. Devroye in a book entitled &#34;Non-Uniform Random Variate Generation&#34;, Springer-Verlag, 1986, permits, in principle, transforming any uniform variate to others with arbitrary distributions as follows: if U is uniform on  0,1) and F is a prescribed distribution, then X=F -1  (U) has distribution F, the case F=H Y  being a special case. And third, for 0&lt;ξ&lt;1, the effect of S.sub.ξ is to render the sample paths of background TES sequences more &#34;continuous-looking&#34;. As stitching transformations preserve uniformity, the inversion method can still be applied to stitched background processes, {S.sub.ξ (U n )}, so that any foreground TES variate of the form X n  =H Y   -1  (S.sub.ξ (U n )), obtained from any background sequence {U n  }, is always guaranteed to obey the empirical distribution (histogram), H Y , regardless of the innovation density ƒν and stitching parameter ξ selected, while the choice of (ƒν, ξ) determines its dependence structure and, in particular, its autocorrelation function. Thus, TES modeling decouples the fitting of the empirical distribution from the fitting of the empirical autocorrelation function. Since the former is guaranteed, one can concentrate on the latter. 
     An important property of the autocorrelation functions in equation (3) is their uniform absolute summability in τ, which is an easy consequence of the facts ##EQU5## 
     This allows the fixing of D Y ,ξ and the use of the same finite sum in calculating autocorrelations for all lags, τ, thereby achieving a uniformly bounded error. These calculations are both fast and accurate. Experimentation has shown that just seven terms in the sums of equation (3) suffice to keep the error under 0.01, uniformly in τ. 
     Having set forth the background of TES processes, the formulation of the TES fitting problem for TES processes of specialized form will now be described. The following description will restrict the treatment to distortions, D Y ,ξ, from equation (5), which represent TES parameters of the first kind, and to pairs, (ƒν, ξ), of step-function innovation densities and stitching parameters, which represent TES parameters of the second kind. These choices of D Y ,ξ and ƒν have the merit of simplicity, without loss of generality (every density can be approximated arbitrarily closely by step functions). 
     An exact match to the empirical histogram is guaranteed by equation (5). Thus, the problem reduces to one of approximating the empirical autocorrelation function, ρ Y , by some TES model autocorrelation function, ρ.sub.ƒν,ξ, to be determined through the choice of (ƒν, ξ). To this end, a metric on the space of autocorrelation functions is needed. This metric should reflect the fact that in most applications (e.g., queueing systems), it is more important to approximate the lower-lag auto-correlations than the higher-lag ones. This consideration leads us to employ an objective function whose general form is a weighted sum of squared differences between the empirical and modeled autocorrelations, namely, ##EQU6## where T is the maximal autocorrelation lag to be approximated, and the 0&lt;α.sub.τ ≦1 are weight coefficients. The modeling problem can now be set up in a nonlinear optimization framework, namely, a search for a pair, (ƒν, ξ), which minimizes the autocorrelation distance in the sense of equation (9). What is sought is the solution to the following nonlinear optimization problem: 
     For a fixed inverse histogram distribution of equation (7), find an optimal innovation density and stitching parameter, (ƒ.sub.ν *, ξ*), such that ##EQU7## where g(ƒν, ξ) is given in equation (9). 
     Next, restrict the scope of innovation densities considered. In spite of their generality and convenience, general step-function densities still constitute a very large class, and from a computational viewpoint, have the drawback that constituent functions have unbounded supports. Referring to equation (1), observe that 
     
         U.sub.n.sup.+ =(U.sub.n-1.sup.+ +V.sub.n)=(U.sub.n-1.sup.+ +(V.sub.n)), 
    
     which implies that only innovation variates of the form (V n ) need be considered. Consequently, it is possible to restrict consideration to step-function densities ƒν, whose support is contained in  0,1); in fact, owing to the modulo-1 arithmetic in equation (1), any support interval of length one will do. The interval  -0.5,0.5) is chosen as a convenient particular case. 
     Next, to render the minimization procedure tractable, further restrict admissible ƒ.sub.ν to lie in the set Q=U k=1 .sup.∞ Q k , where Q k  is the set of step-function innovation densities, ƒ.sub.ν, over  -0.5,0.5) of the form ##EQU8## parameterized by the set P k  of discrete densities of the form P=(P 1 , . . . , P k ). In practice, approximate the set Q by a subset Q K  for a large K (say, K=100), and define the parameter space 
     
         g.sub.K ={(P,ξ): PεP.sub.K, ξε 0,1!}. (12) 
    
     The original optimization problem then reduces to, for a fixed inverse histogram distribution of equation (7) and a fixed K&gt;0, find an optimal pair, (P*, ξ*) εg K , such that ##EQU9## and T and α.sub.τ are as in equation (9). 
     The latter problem is a reduction of the former problem to a finite-dimensional nonlinear optimization problem with two favorable properties. First, it is subject to simple linear constraints; and second, there exist analytical formulas for the objective function and its partial derivatives with respect to every optimization variable. Consequently, the latter problem is amenable to a variety of standard nonlinear programming techniques. 
     The following description concerns the derivation of the partial derivatives of the objective function, g k , in equation (14). To simplify the notation, write (P 1 , . . . , P K , ξ), rather than ((P 1 , . . . , P K ), ξ), interchangeably with (P, ξ). Clearly, g K  (P 1 , . . . , P K ,ξ) has partial derivatives, if ρ P .sbsb.1, . . . ,  P .sbsb.K.sub.,ξ (τ) does. A direct calculation of the Laplace transform, ƒν, of ƒνεQ K  yields (see equation (11) with k=K), ##EQU10## 
     Equation (8) ensures that the series in equation (3) are uniformly convergent, so that it is possible to interchange there the order of differentiation and summation, leading to ##EQU11## 
     Since from equation (15), ##EQU12## for all ν≧1, it is concluded again with the aid of equation (8) that equation (16) is uniformly summable in τ for all 1≦n≦K and all (P, ξ) εg K  ; this implies that it is possible to use the same finite sum representation for the partial derivatives in equation (16) for all 1≦n≦K, all (P, ξ) εg K , and each τ, while retaining a uniformly bounded error. The situation in equation (17) is more complex due to the fact that equation (8) is no longer guaranteed to hold. For every ν≧1, represent D Y ,ξ (i2,πν)=α.sub.ξ,ν +i b.sub.ξ,ν. From Proposition 4 in Jagerman and Melamed supra it follows that ##EQU13## 
     A careful analysis of the formulas for α.sub.ξ,ν, b.sub.ξ,ν and the corresponding partial derivatives shows that ##EQU14## for 0≦ξ≦1. This fact, together with the observation |ƒν(i2πν)|=O(1/ν), allows the conclusion that the error of a finite-sum approximation of equation (17) with L summands is on the order of O(1/L). 
     The foregoing discussion provides the basis for a numerical procedure for fast and accurate calculation of the autocorrelation function and its partial derivatives (with respect to all optimization variables) associated with the TES processes under consideration. 
     The following description presents an algorithmic solution for latter problem, which is termed the GSLO (Global Search Local Optimization) algorithm. It is described below with reference to FIG. 5 for given integers, K and B. The method commences with obtaining the data signals in step 10. 
     For global search (GS) step 12, discretize the parameter space, g K , into a finite number of points. Then, for each point, evaluate the objective function, g K , in equation (14), and keep the best B points (those points, x εg K , which give rise to the B smallest values of g K  (x)). 
     For local optimization (LO) step 14, using each of these B points as a starting point, find a local minimum of g K  via a nonlinear programming algorithm. Then, select among them that point, x*, which gave rise to the smallest local minimum, g K  (X*). The result (in step 16) is a TES model for simulation analysis. 
     Note that the global search first selects the B most promising initial points for the local search, so as to increase the chance that the best local minimum found is relatively close to the global minimum. However, the user is free to select a less optimal model, if its simulated realizations are judged to bear a &#34;better resemblance&#34; to the empirical record. 
     In addition to K and B, the global search algorithm requires the specification of two additional parameters, N P  and N.sub.ξ ; these are the number of equidistant values that each P n  and ξ can assume, respectively. The total number, N tot , of points, x, at which the GSLO Algorithm needs to evaluate g K  (x) in the global search step above is ##EQU15## where the factor 2 is due to the fact that both the TES +  and TES -  classes of processes are searched. Clearly, the parameters N P , N.sub.ξ and K must be moderate, since N tot  grows very fast in them. 
     A computer implementation of the global search step is straightforward. The objective function is calculated inside K+1 nested loops (K loops for the discretization of each P n , and one for that of ξ); the computed value is then compared with the current best set, namely, the running set of best (at most B) values in some sorting order. If the newly computed value improves on the worst value in the current best set, then the worst value is discarded and the new value is added in the sorted order. The process continues this way until the whole discretized space is searched. Finally, since the number of loops, K+1, is a parameter of the algorithm, loop traversal was implemented by recursive calls. 
     The local optimization in the local optimization step above is implemented, using the nonlinear programming method, called Zoutendijk Feasible Direction Method. This method is an iterative procedure where at each iteration one determines (i) the optimal feasible direction for the choice of the next point, and (ii) the optimal step size in that direction. Let ∇g K  (x) denote the vector of the partial derivatives (gradient) of g K  evaluated at x εg K . A direction in g K  is any real vector, d=(d 1 , . . . , d K ,d K+1 ). Given a feasible point, x=(P,ξ) in the feasible space, G K , a direction, d, is feasible, if x+λd εg K , for some λ&gt;0. A feasible direction, d, is an improving feasible direction, if in addition, ∇g K  (x) d t  &lt;0, t being the transpose operator. The process is described in Lemma 10.1.2 in the book by M. S. Bazaraa et al entitled &#34;Nonlinear Programming,&#34; John Wiley &amp; Sons, Inc. 1993. Thus, the optimal feasible direction, d*, is a solution of the following linear optimal feasible direction subproblem (for given x εg K ): 
     
         Minimize ∇g.sub.K (x) d.sup.t over d=(d.sub.1, . . . , d.sub.K,d.sub.K+1)                                        (20) 
    
     subject to d is a feasible direction and -1≦d j  ≦1, 1≦j≦K+1 (normalization). 
     Once the optimal feasible direction, d*, is found, then λ max  (x)=max{x+λd* εg K  } is the maximal feasible step size, and one may proceed to solve for the optimal step size, λ*, in the following optimal step size subproblem (for given x εg K  and d*): (Optimal Step Size) 
     
         Minimize g.sub.K (x+λd*) over λ subject to 0≦λ≦λ.sub.max (x).            (21) 
    
     Once the optimal value, λ*, is found, replace x by x+λ*d* and solve again for new optimal feasible direction and step size. The algorithm terminates when the optimal value of ∇g K  (x) d t  in equation (20) falls below a prescribed threshold. Clearly, it is essential to find efficient solutions for equation (20) and equation (21), since these are solved repeatedly. 
     Suppose for now that equation (20) in the optimal feasible direction subproblem been solved, and consider equation (21) in the optimal step size subproblem. Since this line search is conducted on the finite interval (0, λ max  (x)), it is possible, in principle, to find the global minimum on the line segment, with arbitrary precision. However, prescribing a high precision, can render the solution overly time consuming. Note also that the optimal feasible direction in equation (20) is not exact, being based on a linear approximation of the objective function, using its first partial derivatives only. In the theory of nonlinear programming, this is known as the zigzagging effect. Therefore, there is no reason to invest heavily in a precise solution of equation (21). One widely-accepted practical solution to this problem is the so-called Armijo&#39;s Rule which may be described briefly as follows. Suppose that the line search is at point x, and that d is an improving feasible direction. Let θ(λ)=g K  (x+λd), 0≦λ≦λ max , and let 0&lt;ε&lt;1 and α&gt;1 be two parameters (our implementation used α=2, ε=0.2). Define further, θ(λ)=θ(0)+λεθ&#39;(0), where prime indicated the derivative. Armijo&#39;s Rule initially sets λ=λ max  ; then, while θ(λ)&gt;θ(λ), set λ=λ/α and repeat, and otherwise, set λ*=λ and exit. 
     Returning to the solution of equation (20), observe that a closed form solution can be obtained, owing to the relatively simple linear constraints involved. Since P K  =1-Σ n=1   k-1  P n , a reduction in the problem dimension may be attained as follows. First, replace the original parameter space, g K , by the reduced parameter space, ##EQU16## and second, replace the original objective function g K , by a new objective function h K-1 , over H K-1 , given by ##EQU17## 
     Consider a new optimization problem equation (20), with g K  replaced by H K-1 , g K  replaced by h K-1 , and direction vectors of the form d=(d 1 , . . . , d K ). Assuming that the normalization constraints (but not the feasibility constraints) in equation (20) are satisfied for the new problem, it is clear that the minimum of ∇h K-1  (y)d t  is attained for ##EQU18## where sign(z) is +1 or -1 according as z is non-negative or negative, respectively. The goal is to change d j  in such a way that the feasibility constraints in equation (20) are satisfied, while the objective function, ∇h K-1  (y) d t , is increased as little as possible. To this end, first fix the coordinate boundary constraints; for example, if P n  =0 and d n  =-1, then set d n  =0. Similar action is taken for other boundary values, e.g., if P n  =1, and ξ=0 or ξ=1. Finally, the only constraint left is Σ n=1   K-1  P n  ≦1. An infeasible direction will ensue, provided Σ n=1   K-1  P n  =1 and Σ j=1   K-1  d j  &gt;0. The best feasible d j  are obtained when their sum vanishes, coupled with a minimal increase of ∇h K-1  (y)d t . Let 
     
         I.sub.K-1 (d)={1≦j≦K-1: d.sub.j =1 or (d.sub.j =0 and P.sub.j =1)} 
    
     be the set of indices j, for which d j  can be decreased without violating the normalization constraint in equation (20). It is readily seen that ∇h K-1  (y)d t  would increase the least by decreasing that d n , such that -∂h K-1  (y)/∂P n  is minimized over I k-1  (d). For such an index n, decrease d n  just enough to obtain Σ j=1   K-1  d j  =0; if this is not possible, set d n  =-1, remove n from I K-1  (d) and repeat. The optimal direction is obtained when the corresponding sum of d j  vanishes. Pseudo-code for this optimal feasible direction algorithm appears in FIG. 1. 
     Having described in detail the derivation and theory of the algorithm TES modeling methodology, the algorithm&#39;s efficiency will be shown by way of three examples: two from the domain of compressed video traffic, and one from a laboratory experiment on an NH 3  laser intensity. All examples utilize K=100, N P  =4, N.sub.ξ =11, and B=150, resulting in a total of 3.89×10 6  searches in the global search algorithm. 
     Data compression is extensively used to reduce the transmission bandwidth requirements of telecommunications traffic. The idea is to code the data at the source, thereby compressing it to a fraction of its original size, and then transport the compressed data over the network and decode it at its destination. Video service in emerging ISDN (Integrated Service Digital Networks) is a typical application, for which the exact reproduction of the original signal is not necessary. In fact, redundant visual information, to which the human eye is relatively insensitive, may be removed without degrading the perceptual quality of the decoded image. H.261 is a popular coding standard, which makes use of DCT (Discrete Cosine Transform) and other techniques to compress video spatial units (frames or subframes). Since such coded units have random (but highly autocorrelated) transmission requirements (say, in bits), the corresponding coding schemes are referred to as VBR (Variable Bit Rate). 
     FIG. 2 shows a TEStool screen showing the results of the algorithmic TES modeling of an empirical sample path of VBR video (frame sizes), in which the coding scheme used was a variant of the H.261 standard. The video scene content was a football sequence and the depicted results are for a TES +  model. Note the excellent agreement of the TES model histogram and autocorrelation function with their empirical counterparts in the upper-right and lower-left portion of FIG. 2, respectively. Furthermore, the corresponding sample paths in the upper-left portion of FIG. 2 bear are markedly &#34;similar&#34;. The OSLO-obtained innovation density is depicted in the lower-right portion of FIG. 2. 
     MPEG (Moving Picture Expert Group) is an emerging family of compression standards designed to encode audio-visual signals over broadband transmission channels. The importance of MPEG derives from its planned central role in facilitating future delivery of multi-media services to customer premises. The following description focuses on MPEG-based video, designed to compress a full-motion video stream to about 1.5 Mbits/second. 
     Coded picture sequences in MPEG are composed of cycles. A coded picture can be either an Intrapicture (I-frame), Predicted picture (P-frame) or Bidirectionally Predicted picture (B-frame). The sequence of picture (frame) types within each cycle is deterministic, though the corresponding bit rates are random. MPEG type sequences can be chosen as an MPEG parameter, depending on the application. The probability laws of frame types are markedly different. In particular, the marginal distributions of I-frames, P-frames, and B-frames are well separated, with descending means in this order. Consequently, MPEG-compressed sequences are non-stationary, due to the determinism of the frame type sequence. The particular type sequence chosen in the case study described here had a length-nine cycle of the form IBBPBBPBB . . . . The modeling approach called for a composite TES model. First, each subsequence of MPEG frame types was modeled as a separate TES sequence, I-frames and B-frames each by a TES +  model and P-frames by a TES -  model. FIG. 3 depicts a TEStool screen showing the algorithmic modeling results for the P-frame subsequence. The video scene content was a &#34;busy&#34; sequence of a toy train in motion, combined with a moving calendar. The figure is similar in structure to the previous one, and the model statistics are again in excellent agreement with their empirical counterparts. 
     The Santa Fe Institute conducts competitions in time series prediction, using neural net methods. An empirical set of partial random data is made available and competitors are asked to predict the rest of the time series. The data set in this example consisted of 1000 data points, representing a clean physics laboratory of the fluctuating intensity of an NH 3  laser experiment, reposited in ftp.santafe.edu. The GSLO algorithm assumed a maximal autocorrelation lag of T=15. The results are displayed in the TEStool screen of FIG. 4. Again, the figure is similar in structure to the previous ones, and the model statistics are in excellent agreement with their empirical counterparts. Furthermore, the model exhibits considerable predictive power in the sense that in the time interval (0, 30), the sample path of the model is very close to its empirical counterpart. 
     While there has been described and illustrated an algorithmic modeling of TES processes and its application to several specific examples, it will be apparent to those skilled in the art that variations and modifications are possible without deviating from the broad principles and spirit of the present invention which shall be limited solely by the scope of the claims appended hereto.