Abstract
Optimizing queuing systems with discrete parameters, such as buffer sizes or server counts, typically suffers from the curse of dimensionality and the limitations of discrete search spaces. This paper presents a novel approach to Discrete-Parameter Simulation Optimization (DPSO) by embedding discrete parameters into a continuous space through randomization. By allowing parameters to fluctuate between integer values within a single simulation run, we create a smooth, differentiable objective function. This method avoids the exponential computational costs of traditional spatial interpolation and enables the use of efficient continuous-space optimizers.
Introduction
In system design, particularly for data centers and telecommunications, engineers frequently encounter Discrete-Parameter Simulation Optimization (DPSO) problems. Parameters like the number of servers ($K$) or buffer capacity ($C$) are inherently integers. Finding the optimal configuration often requires simulating numerous discrete points, which leads to two primary challenges:
- The Curse of Dimensionality: Traditional spatial interpolation requires $2^n$ simulations to estimate a single non-integer point in an $n$-dimensional parameter space. For complex systems, this becomes computationally prohibitive.
- Optimizer Mismatch: Powerful gradient-based optimization algorithms are designed for continuous surfaces. Applying them to discrete "staircase" functions often results in sub-optimal solutions as the optimizer gets trapped in local minima or fails to navigate the non-smooth landscape.
Methodology: Embedding via Randomization
The core innovation of this work is the "Embedding via Randomization" technique. Rather than treating a parameter as a fixed integer, it is treated as a discrete random variable that varies periodically during a simulation.
The "Flicker" Effect
Instead of running multiple simulations at neighboring integer points and averaging them (space-averaging), this method averages the parameter's effect over the duration of a single simulation (time-averaging). For example, to evaluate a system at a non-integer buffer capacity of 2.8, the simulation dynamically switches the capacity between 2 and 3. In each time slot, the capacity is set to 3 with 80% probability and 2 with 20% probability.
Stochastic Interpolation Coefficients
The mapping from a continuous value $y$ to these probabilities is governed by interpolation coefficients $\alpha_i^k(y)$. These coefficients ensure that the system's long-run average measures are continuous and often differentiable.
As shown in Figure 1, the coefficients act as basis functions. By adjusting the template for these functions, researchers can control the smoothness of the resulting objective surface, effectively "smoothing out" kinks at integer boundaries that would otherwise hinder gradient-based optimizers.
Experimental Evaluation
The method was evaluated using various discrete-time queuing models, including Geo/Geo/1, Geo/D/1, and multi-server Geo/Geo/K models. A significant test case involved a 3-node queuing network with 7 integer parameters, creating a search space of $10^7$ possible design points.
Key Results
- Computational Efficiency: The randomization approach demonstrated remarkable independence from dimensionality. For the 7-parameter network, the overhead was only 32.5% compared to a single simulation, whereas traditional spatial interpolation would have required 128 times the simulation effort ($2^7$).
- Optimization Performance: Continuous-space optimizers like COBYLA (a trust-region method) and SPSA (Simultaneous Perturbation Stochastic Approximation) were applied to the embedded space. COBYLA consistently found superior solutions compared to discrete-space variants, often converging in fewer than 60 evaluations within a 10-million-point space.
- Surface Smoothness: Empirical analysis of the objective function revealed smooth, convex surfaces, validating the theoretical prediction that randomization effectively "fills in" the discrete gaps.
Conclusion
Embedding discrete queuing parameters into a continuous space via randomization provides a scalable and efficient path for system optimization. By leveraging time-averaging within a single simulation, the method bypasses the exponential costs of spatial interpolation. While currently focused on long-run steady-state measures in discrete-time systems, future work aims to extend this framework to continuous-time models and transient analysis.
Summary updated