- Introduced by
- Rose, K., Gurewitz, E., Fox, G. C.
- Year
- 1990
- Type
- Deterministic metaheuristic — annealing schedule without probabilistic acceptance
- Family
- Simulation / optimization
What does it do?
Deterministic Simulated Annealing (DSA) is a local-search optimization method that accepts a candidate move only if it strictly lowers the objective.
Unlike classical simulated annealing, it makes no probabilistic acceptance decisions, so the search is a greedy descent. The name refers to the simulated annealing family, but in the formulation on this page the decreasing temperature sequence does not enter the acceptance rule and affects the run only if the perturbation operator is defined to use it.
The intuition behind the method
Classical simulated annealing can leave a local optimum by occasionally accepting a worse solution, with a probability that falls as the temperature falls. DSA removes that randomness. At each step it moves to a neighbor only if the neighbor is strictly better. Because no worse move is ever accepted, the search can stop at the first local optimum it reaches, so the starting solution and the neighborhood definition largely determine the final result. The temperature decreases geometrically, but in the formulation given here it does not influence which moves are accepted.
History
Classical simulated annealing, which the rest of this page takes as its reference, was introduced by Kirkpatrick, Gelatt and Vecchi in 1983 as an optimization method based on an analogy with statistical mechanics and with thermal equilibrium at a finite temperature. The term 'deterministic annealing' is also used for a different method: Rose, Gurewitz and Fox (1990) presented a deterministic annealing approach to clustering, which is not the greedy acceptance procedure described on this page. No cited source establishes who introduced the greedy acceptance rule described here.
When to use it
Choose DSA when the same run must be repeatable, for example when results have to be re-derived for audit, and the objective landscape is relatively smooth with few deep local optima. It is also a useful fast baseline: running the same neighborhood with greedy acceptance shows how much a stochastic method gains from accepting worse moves. Do not use DSA when the landscape is highly multimodal and progress requires non-improving moves; stochastic simulated annealing or population-based methods are the more appropriate choice there. Greedy acceptance can stall early on such landscapes.
Limitations and considerations
- Vulnerable to local optima: without any non-improving acceptance, the search cannot leave a local minimum, so the result depends strongly on the initial solution.
- Sensitive to neighborhood design: a perturbation operator that is too small or too large slows convergence or triggers premature stagnation.
- In the formulation given here, the temperature does not enter the acceptance rule, so the cooling schedule affects the run only through the perturbation operator, and only if that operator uses T.
- Likely to underperform stochastic simulated annealing on multimodal landscapes where non-improving moves are needed to reach good optima.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Repeatable for a fixed initial solution and a deterministic perturbation operator (or a fixed random seed), which makes single runs easy to re-derive and compare.
- Cheap per iteration: no acceptance draws or probability evaluations are needed, so the cost of a step is dominated by evaluating the candidate neighbors.
- Few design choices: the objective, the neighborhood operator, the cooling factor and the stopping rule.
- When a full neighborhood sweep finds no improving move, the current solution is a local optimum of that neighborhood, so the run can stop.
Applications
- Combinatorial optimization on landscapes with few local optima, where a reproducible greedy-descent baseline is wanted.
- Benchmarking stochastic simulated annealing: running the same neighborhood with greedy acceptance isolates the effect of accepting worse moves.
- Clustering is the setting of Rose et al. (1990) deterministic annealing, a distinct method that shares the name. It should not be confused with the greedy procedure described on this page.
How it works
How it works
Define the objective function E(s) to be minimized (or maximized) over the solution space, and specify the neighborhood structure that generates candidate moves from any given solution s.
Generate an initial solution s, either randomly or with a problem-specific heuristic. Set an initial temperature T_0. Its value affects the run only if the perturbation operator uses T.
At each iteration, generate one or more candidate neighbors s' by applying a perturbation operator to the current solution s. For example, for a permutation, a neighbor can be obtained by swapping two positions; for continuous variables, a neighbor can be obtained by adding a small random step to each coordinate. If the operator is defined to use T, the temperature sets the scope or size of the perturbation. If the operator uses random draws, the run is reproducible only when its random generator is seeded.
Compute the change in objective value, delta-E = E(s') - E(s). Accept s' as the new current solution if and only if delta-E is strictly negative. Reject all non-improving moves; no probabilistic acceptance takes place.
Formula
\Delta E = E(s') - E(s); \quad \text{accept } s' \text{ iff } \Delta E < 0Reduce the temperature with a geometric schedule, T_{k+1} = alpha * T_k, where alpha lies in (0, 1). Under the acceptance rule above, T does not affect which moves are accepted, so the schedule has an effect only through the perturbation operator, and only if that operator is defined to use T. Suitable values of alpha depend on the problem and are best selected by pilot runs.
Formula
T_{k+1} = \alpha \cdot T_k, \quad \alpha \in (0, 1)Stop when no improving move is found within a full neighborhood sweep, when a maximum iteration count is reached, or, if the perturbation operator uses T, when the temperature falls below a minimum threshold. Return the best solution found. No universal default exists for the minimum temperature or the iteration limit; set these for the problem by pilot runs.
Common pitfalls
- If the perturbation operator uses T, a cooling factor alpha that is too small shrinks the perturbation scope quickly and can confine the search near the initial solution. If the operator does not use T, alpha has no effect on the run, and the outcome is controlled by the initial solution and the neighborhood.
- Treating DSA and stochastic simulated annealing as interchangeable: their escape behaviour differs, and the deterministic version has no convergence guarantee to a global optimum.
- Running a single start: because the greedy rule is deterministic given the start, one run often gives a suboptimal result. Multiple restarts from different initial solutions are needed, and they should be recorded with their seeds so that the full set of runs remains reproducible.
Frequently asked questions
Is deterministic simulated annealing the same as greedy local search?
In its acceptance rule, largely yes: DSA accepts only improving moves. The difference is that DSA also applies a decreasing temperature sequence, which can be used to control the size of perturbations if the operator is defined to use it. A fixed-neighborhood greedy search has no such schedule.
Why use DSA instead of standard simulated annealing?
DSA is preferred when repeatability of a single run matters, when the cost of drawing random numbers and evaluating acceptance probabilities is a concern, or when the landscape is smooth enough that stochastic escapes are unnecessary.
Can DSA guarantee finding the global optimum?
No. DSA has no theoretical guarantee of convergence to the global optimum. It converges to a local optimum that depends on the initial solution and the neighborhood structure.
How does the temperature schedule matter in DSA if acceptance is deterministic?
In the formulation given on this page, temperature does not affect acceptance. It matters only if the perturbation operator is defined to use it, in which case a higher temperature permits larger perturbations and cooling narrows the search toward local refinement.
When is DSA preferable to tabu search?
DSA is simpler to implement and needs no memory structures. Tabu search records forbidden moves to escape local optima, which tends to help on rugged landscapes but makes configuration more involved. For smoother problems or tight implementation effort, DSA is the simpler choice.
Related methods
Sources
Rose, K., Gurewitz, E., Fox, G. C. (1990). A deterministic annealing approach to clustering. Pattern Recognition Letters, 11(9), 589-594.
Open DOI referenceKirkpatrick, S., Gelatt, C. D., Vecchi, M. P. (1983). Optimization by simulated annealing. Science, 220(4598), 671-680.
Open DOI reference