Finding happiness by evolutionary algorithms
Mohammad Hadi Shekarriz, Dhananjay Thiruvady, Asef Nazari
TL;DR
This paper tackles Soft Happy Colouring (SHC), an NP-hard problem linking graph colouring to community structure. It introduces a memetic algorithm that hybrids genetic operators with fast local search, evaluated on stochastic block model graphs. The results show that the memetic approach, especially MA+RLS(LS), yields the strongest SHC performance, while MA(LMC) excels at recovering communities under favorable ρ ranges. Overall, the study demonstrates the value of combining fast heuristics with evolutionary search for SHC and suggests directions for exact approaches to better delineate SHC complexity.
Abstract
A recent line of research concerns the problem of soft happy colouring (SHC), which requires that a partially coloured graph be extended to a complete colouring to maximise local agreements, so that as many vertices as possible end up surrounded by enough same-coloured neighbours. It is already known that SHC is NP-hard, and its solutions have a direct relationship with the community structure of networks; thus, it has immense applications in security and resilience. Past studies have shown that local search approaches can be fast and effective to an extent on the SHC; however, they often get stuck in local optima. Regarding the related problem of maximising happy vertices, evolutionary approaches have been proven effective; hence, this study develops a customised memetic algorithm that is a hybrid of genetic algorithms and local search. The experimental evaluation on a range of graphs in the stochastic block model shows that the memetic algorithm can achieve excellent results in search for an optimised solution to SHC compared to the local search approaches and standard genetic algorithms. Moreover, learning and evolution in the memetic algorithm allow diversification of solutions generated by fast, effective local search approaches, which prove superior for the challenging problem of community detection.
