Plant-inspired algorithmsVerified

Tree-Seed Algorithm

Tree-Seed Algorithm (TSA-Seed)

Year introduced
2015
Original authors
Mustafa Servet Kiran
Source of inspiration
Seed dispersal and tree growth
Search space
Continuous
Optimization types
Hyperparameter Optimization
Applied research in the repository
0

Overview

It imitates the relationship between trees and their seeds: each tree scatters a number of seeds around it, and a seed that finds a better place grows to replace the mother tree. The "search tendency" coefficient ST decides whether a seed heads towards the best tree or away from a random tree.

Source of inspiration and mechanism

Image illustrating the source of inspiration of the TSA-Seed algorithm: Seed dispersal and tree growth
Seed dispersal and tree growthImage: Colin · CC BY-SA 3.0 · Wikimedia Commons

Tree seeds spread around them by wind and animals, and only the seeds that land in suitable places in terms of soil, light and water grow.

Initialization

Random.

Update mechanism

Generating several seeds, then greedy replacement.

Exploration

Moving away from a random tree (r ≥ ST).

Exploitation

Heading towards the best tree (r < ST).

Mathematical description

For each tree a number of seeds between 10% and 25% of the population size is generated; for each dimension: if r < ST, the seed is S = T_i + α(B − T_r), otherwise S = T_i + α(T_i − T_r), where B is the best tree, T_r a random tree and α ∈ [−1, 1]. The best seed replaces the tree if it is better.

Seed generation

S_{k,j} = \begin{cases}T_{i,j} + \alpha_{i,j}\left(B_j - T_{r,j}\right) & rand < ST\\ T_{i,j} + \alpha_{i,j}\left(T_{i,j} - T_{r,j}\right) & \text{otherwise}\end{cases}

α random in [−1,1].

Computational complexity: O(T\cdot N\cdot (D + C_f))

Pseudocode

Initialize trees
for t = 1..T:
    for each tree i:
        ns = random in [0.1N, 0.25N]
        for each seed: for each dim: S = T_i + alpha*(B - T_r) if r < ST else T_i + alpha*(T_i - T_r)
        replace tree with best seed if better
return best

Python implementation

There is currently no tested python implementation of this algorithm in the lab. We did not include untested code so that it is not used as a reference implementation.

Coefficients

ParameterSymbolTypical valueRangeDescription
Search tendency
ST
0.1
Seeds per tree
ns
10%–25% of N

Advantages

  • ST
  • Simple.

Limitations

The number of evaluations per iteration varies with the number of seeds.

Use in artificial intelligence

Domains documented in the card: Machine learning, hyperparameter tuning

Continuous optimization.

Hybridization potential

These are partnerships suggested theoretically in the card; any resulting design is presented as a "proposed hybrid method" until its results are compared with the literature.

Applied research from the repository

An aspect that did not appear in the current search results within the repository. This does not mean there is no published research outside it.

Original reference

Mustafa Servet Kiran (2015). TSA: Tree-seed algorithm for continuous optimization. Expert Systems with Applications, Elsevier BV.

Verified DOI: 10.1016/j.eswa.2015.04.055

The abbreviation in the original paper is TSA, which it shares with the Tunicate Swarm Algorithm; so it is distinguished here as TSA-Seed. The bibliographic data match the Crossref record (checked 2026-11-20). There is no tested Python code for this algorithm in this version.