Soft happy colourings and community structure of networks

Mohammad H. Shekarriz,Dhananjay Thiruvady,Asef Nazari,Rhyd Lewis
2024-05-25
Abstract:For $0<\rho\leq 1$, a $\rho$-happy vertex $v$ in a coloured graph $G$ has at least $\rho\cdot \mathrm{deg}(v)$ same-colour neighbours, and a $\rho$-happy colouring (aka soft happy colouring) of $G$ is a vertex colouring that makes all the vertices $\rho$-happy. A community is a subgraph whose vertices are more adjacent to themselves than the rest of the vertices. Graphs with community structures can be modelled by random graph models such as the stochastic block model (SBM). In this paper, we present several theorems showing that both of these notions are related, with numerous real-world applications. We show that, with high probability, communities of graphs in the stochastic block model induce $\rho$-happy colouring on all vertices if certain conditions on the model parameters are satisfied. Moreover, a probabilistic threshold on $\rho$ is derived so that communities of a graph in the SBM induce a $\rho$-happy colouring. Furthermore, the asymptotic behaviour of $\rho$-happy colouring induced by the graph's communities is discussed when $\rho$ is less than a threshold. We develop heuristic polynomial-time algorithms for soft happy colouring that often correlate with the graphs' community structure. Finally, we present an experimental evaluation to compare the performance of the proposed algorithms thereby demonstrating the validity of the theoretical results.
Discrete Mathematics
What problem does this paper attempt to address?
The main problem that this paper attempts to solve is to explore the relationship between community structure and soft happy colouring, and analyze and verify this relationship through the stochastic block model (SBM). Specifically, the researchers hope to understand under what conditions vertices in the community structure of a network can reach the ρ - happy state, that is, a vertex has the same color as at least ρ proportion of its neighbors. ### Main problem decomposition 1. **Define soft happy colouring**: - For a given graph \(G\) and parameter \(0 < \rho \leq 1\), if a vertex \(v\) has at least \( \rho\cdot \text{deg}(v)\) neighbors with the same color as it, then the vertex is called \( \rho\)-happy. - If all vertices in graph \(G\) are \( \rho\)-happy, then the graph is called \( \rho\)-happy coloured. 2. **The relationship between community structure and soft happy colouring**: - Community structure refers to sub - graphs in a network, where the internal vertices are more closely connected to each other, and less connected to vertices in other communities. - The researchers hope to prove theoretically and verify experimentally whether the community structure can induce \( \rho\)-happy colouring. 3. **Application of the random block model**: - The random block model (SBM) is a model for generating random graphs with community structure. - The paper uses SBM to simulate networks with community structure and derives the probability threshold under which the community structure can induce \( \rho\)-happy colouring under certain conditions. 4. **Algorithm design and experimental verification**: - Several heuristic polynomial - time algorithms (such as Greedy - SoftMHV, NGC, etc.) are proposed to maximize the number of \( \rho\)-happy vertices in the graph. - The performance of these algorithms is evaluated through experiments to verify the validity of the theoretical results. ### Formula summary - Definition of \( \rho\)-happy vertex: For vertex \(v\), if it has at least \( \lceil \rho\cdot \text{deg}(v)\rceil\) neighbors with the same color as it, then \(v\) is \( \rho\)-happy. - In SBM, the expected degree of vertex \(v\) is: \[ d = E[\text{deg}(v)]=\left(\frac{n}{k}-1\right)p+\frac{k - 1}{k}nq \] - Probability threshold formula: \[ q(k - 1)(e^\rho-1)+p(e^\rho - e)<\frac{k}{n}\ln(\epsilon) \] - Calculation of threshold \( \xi\): \[ \xi=\max\left(\min\left(\ln\left(\frac{\frac{k}{n}\ln(\epsilon)+pe+(k - 1)q}{p+(k - 1)q}\right),\frac{p}{p+(k - 1)q}\right),0\right) \] Through these formulas and methods, the paper shows how to find a suitable \( \rho\)-happy colouring in a network with community structure and verifies the effectiveness and practicality of this method.