[Paper Review] Evolving Shepherding Behavior with Genetic Programming Algorithms
This paper proposes evolving shepherding behavior in simulated sheep-dog herding using genetic programming, where expression trees govern dog movements based on environmental features like sheep position and flock center. The evolved algorithms outperform human-designed strategies and generalize well across varied conditions, achieving up to 78% success in capturing sheep.
We apply genetic programming techniques to the `shepherding' problem, in which a group of one type of animal (sheep dogs) attempts to control the movements of a second group of animals (sheep) obeying flocking behavior. Our genetic programming algorithm evolves an expression tree that governs the movements of each dog. The operands of the tree are hand-selected features of the simulation environment that may allow the dogs to herd the sheep effectively. The algorithm uses tournament-style selection, crossover reproduction, and a point mutation. We find that the evolved solutions generalize well and outperform a (naive) human-designed algorithm.
Motivation & Objective
- To develop a learning-based approach to shepherding without predefined strategies or predictive models.
- To evolve dog behavior using genetic programming that adapts to dynamic sheep flocks.
- To evaluate generalization and robustness of evolved behaviors under altered environmental conditions.
- To compare evolved solutions against human-designed heuristics in terms of performance and adaptability.
Proposed method
- Genetic programming evolves expression trees representing force updates for each dog at each time step.
- Tree operands include dog position, nearest free sheep, flock center of mass, and a steering point.
- Fitness is measured by the fraction of sheep captured in 500 simulation steps.
- Selection uses tournament selection, with crossover and point mutation for reproduction.
- The simulation uses fixed flocking rules for sheep: alignment, separation, and obstacle avoidance.
- Dogs are constrained by field boundaries and cannot penetrate fences.
Experimental results
Research questions
- RQ1Can genetic programming evolve effective shepherding strategies without human-designed heuristics or predictive models?
- RQ2How well do evolved behaviors generalize across different initial conditions and environmental parameters?
- RQ3Does cooperative herding with multiple dogs improve performance over single-dog strategies?
- RQ4How does the evolved behavior compare quantitatively to a human-authored baseline algorithm?
- RQ5What is the impact of training duration on the robustness and generalization of evolved solutions?
Key findings
- The evolved single-dog algorithm achieved an average fitness of 0.743 ± 0.003 after 220 generations, surpassing the human-designed 'simple-dog' algorithm.
- The three-dog cooperative algorithm reached a fitness of 0.780 ± 0.003, slightly outperforming the single-dog solution.
- Fitness converged to near-perfect performance within 50 generations, indicating rapid learning of effective strategies.
- The evolved behavior consistently outperformed the 'split-dog' baseline, which was overfitted and failed to generalize.
- The algorithms generalized well across altered parameters such as sheep count, speed, and initial spawn locations, maintaining high performance.
- Despite being incomprehensible to humans, the evolved programs demonstrated robust, adaptive behavior, including coordinated herding and strategic positioning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.