Stochastic Tabu Search — Randomized Metaheuristic with Memory

Decision Sciences
Introduced by
Glover, F. (base TS); stochastic extensions by various authors (1990s–2000s)
Year
1990s
Type
Stochastic metaheuristic optimizer
Family
Simulation / optimization

What does it do?

Stochastic Tabu Search (STS) is a variant of Tabu Search that adds randomness to how candidate moves are sampled and selected.

At each iteration only a random subset of the neighborhood is evaluated, and with a set probability the search takes a random admissible candidate instead of the best one. A tabu list of recently visited solutions or move attributes is kept to discourage the search from cycling back to them.

The intuition behind the method

Tabu Search, as described in Glover's tutorial, moves through the solution space while a memory of recent moves restricts which moves are allowed, and aspiration criteria can override those restrictions. Glover presents this memory as serving both to intensify the search around attributes found to be good and to diversify it into new regions. STS adds randomness to this scheme: at each iteration only a random subset of the neighborhood is evaluated, and occasionally a random admissible move is taken instead of the best one. The intended effect is additional diversification, while the tabu list still prevents immediate return to recent solutions. Whether this improves results on a given problem depends on the landscape and the chosen settings, and no general advantage over deterministic Tabu Search is claimed here.

History

Tabu Search is presented as a memory-based heuristic in Glover's 1990 tutorial, the principal reference on this page. The stochastic variants described here, with random neighbor sampling and probabilistic selection, are not attributed to a specific source on this page, so their origin and dating are not established here.

When to use it

Consider STS for combinatorial or black-box optimization problems whose objective is rugged or multimodal, where deterministic local search tends to stop at poor local optima. Tabu Search has been applied to scheduling and telecommunications problems (Glover, 1990), and STS is a randomized variant of that approach. It is most relevant when evaluating the full neighborhood at every iteration is expensive, because subsampling is the mechanism that reduces cost per iteration. Do not use it when the problem is convex or unimodal, where gradient-based or exact methods are the natural choice. Avoid it when a guaranteed global optimum is required, since STS returns the best solution it finds and gives no optimality guarantee. If the objective is cheap to evaluate on the full neighborhood, deterministic Tabu Search with exhaustive neighbor evaluation is the simpler option to try first.

Limitations and considerations

  • The method offers no guarantee of reaching the global optimum; the best solution found depends on the run, the sampling, and the settings.
  • Performance is sensitive to the tabu tenure, the candidate sample size and the perturbation probability, which must be set for each problem.
  • Results differ between runs unless the random seed is fixed, which makes comparison and auditing harder.
  • Storing full solutions in the tabu list can become costly, so attribute-based tabu memory can be used instead; the choice of stored attribute determines which moves are blocked.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Tabu restrictions and aspiration criteria, as described in Glover's tutorial, let the search use memory of recent moves while still accepting a tabu move that would improve the best known solution.
  • Evaluating a random subset of neighbors at each iteration lowers the cost of each step when the full neighborhood is large.
  • Randomized candidate selection is intended to move the search away from a locally good region, a move that best-move selection does not make by itself.
  • The perturbation probability and the tabu tenure are explicit settings, so the balance between intensification and diversification can be adjusted.

Applications

  • Scheduling problems, one of the application areas for Tabu Search listed in Glover's tutorial
  • Telecommunications problems, another application area listed in the same tutorial
  • Character recognition and neural network problems, also listed in the tutorial for Tabu Search in general

How it works

How it works

1

Generate a starting solution x0, either at random or by a heuristic. Set the tabu list T to empty, and choose the tabu tenure tau, the iteration limit I_max, and the stochastic settings: the candidate sample size k and the perturbation probability p_perturb.

2

At each iteration, draw a random subset N_s of the neighborhood of the current solution instead of evaluating every neighbor. This lowers the cost per iteration and makes the explored part of the space vary from one iteration to the next.

3

Choose x_next from N_s. With probability 1 - p_perturb, take the best non-tabu candidate; with probability p_perturb, take a random non-tabu candidate. An aspiration criterion can allow a tabu move if it yields a solution better than the best found so far.

4

Add the current solution, or its move attribute, to T, and remove the oldest entry when |T| exceeds tau. Update the incumbent x_best whenever f(x_next) is lower than f(x_best).

5

Repeat the sampling, selection and update steps until I_max iterations are reached, a target objective value is met, or no improvement has occurred for a patience window. Return x_best as the final solution.

Common pitfalls

  • A tabu tenure that is too short allows the search to cycle, while one that is too long blocks promising moves.
  • A candidate sample that is too small can repeatedly miss the neighbors that contain improving moves, so the search stagnates.
  • Without aspiration criteria, a move that would produce a new best solution can be rejected only because it is tabu.
  • A single run gives a misleading picture because results vary with the random seed; report several runs.
  • Stochastic Tabu Search should not be confused with Simulated Annealing: STS uses an explicit tabu memory, whereas Simulated Annealing uses a temperature-controlled acceptance rule without memory.

Frequently asked questions

How does Stochastic Tabu Search differ from Simulated Annealing?

Both are stochastic metaheuristics, but they work differently. STS keeps an explicit tabu list that forbids recently visited solutions or moves, which is its main protection against cycling. Simulated Annealing has no such memory; it accepts worse solutions with a probability controlled by a temperature schedule that decreases over time. Which works better depends on the problem, and no empirical comparison is made here.

How many iterations (I_max) should I run?

No fixed rule is given for I_max. A reasonable approach is to run several independent trials with different seeds, report the best and mean results, and match the total number of objective evaluations used by any method you compare against. The number of trials and the budget should be justified for the specific problem.

Can Stochastic Tabu Search handle continuous variables?

Possibly, but it requires defining a continuous neighborhood, such as a random perturbation around the current point, and deciding what the tabu list stores for continuous moves. No cited source establishes this use, so for continuous problems other continuous optimizers should also be considered.

What is the role of aspiration criteria?

Aspiration criteria override the tabu status of a move if accepting it yields a solution better than the best found so far. Without aspiration, the algorithm might reject improving moves that happen to be tabu, which can limit solution quality.

Should I fix the random seed for reproducibility?

Yes. When reporting results, fix and record the seed so that a run can be repeated. Because a single run can mislead, also run several seeds and report the mean, best and standard deviation of the objective value.

Related methods

Sources

  1. Glover, F. (1990). Tabu search: A tutorial. Interfaces, 20(4), 74-94.

    Open DOI reference
  2. Hu, J., Fu, M. C., & Marcus, S. I. (2007). A model reference adaptive search method for global optimization. Operations Research, 55(3), 549-568.

    Open DOI reference