---
title: Conductance-Based Community Search (CCS)
url: https://www.emergentmind.com/topics/conductance-based-community-search-ccs
type: topic
---

# Conductance-Based Community Search (CCS)

Conductance-Based Community Search (CCS) is a query-centric graph mining problem in which, given an undirected graph \(G(V,E)\) and a query vertex \(q\), the task is to find a connected subgraph containing \(q\) whose conductance is minimum among all connected subgraphs containing \(q\). In this formulation, community quality is defined jointly by **internal cohesiveness** and **external sparsity**, rather than by internal density alone. The named CCS problem was introduced together with a scalable heuristic, SCCS, in work that also proves CCS is NP-hard and reports effectiveness, efficiency, and scalability on real-world and synthetic datasets, including a one billion-scale graph [2508.01244].

## 1. Historical placement within community search

CCS emerged against a community-search literature that had largely emphasized **internal cohesiveness**. The dominant formulations surveyed in earlier work were based on \(k\)-core, \(k\)-truss, \(k\)-clique and its variants, \(k\)-ECC, and several “other metrics” such as local modularity, query-biased density, PageRank, and neighborhood expansion. That survey does not define conductance, does not introduce a conductance-based objective, and does not present a CCS algorithm, index, or framework [1904.12539].

The motivation for CCS is the claim that many prior community-search methods ensure the returned subgraph is “tight” inside but often ignore whether the community is well separated from the rest of the graph. In the CCS formulation, this omission can lead to communities with many external edges, larger-than-desired sizes, or unstable parameter dependence. CCS therefore redefines the search target from “a dense connected subgraph containing \(q\)” to “a connected, query-containing subgraph that is both internally cohesive and externally sparse” [2508.01244].

This suggests CCS is best understood not as a replacement for the whole community-search literature, but as a later reformulation that makes boundary quality central to the query problem. Its distinguishing feature is that the output must simultaneously satisfy seed inclusion, connectedness, and minimum conductance.

## 2. Conductance as the governing objective

For a vertex set \(S \subseteq V\), CCS uses conductance
\[
\phi(S)=\frac{|E(S,\bar{S})|}{\min\{vol(S),\, 2m-vol(S)\}},
\]
where \(E(S,\bar{S})\) is the set of edges with one endpoint in \(S\) and the other in \(V\setminus S\), \(vol(S)=\sum_{u\in S} d(u)\), and \(m=|E|\). The formulation also notes the symmetry \(\phi(S)=\phi(\bar S)\) [2508.01244].

The optimization problem is
\[
S = \arg\min_{S' \subseteq V,\ q\in S',\ S'\text{ connected}} \phi(S').
\]
The feasibility conditions are explicit: \(q \in S\), \(S\) is connected, and \(\phi(S)\) is minimized among all feasible connected subgraphs containing \(q\) [2508.01244].

On a much smaller sampled subgraph \(S_G\), the denominator is often simplified in practice to \(vol(S)\), giving the **subgraph conductance**
\[
\phi_{S}(S)=\frac{|E(S,\bar{S})|}{vol(S)}.
\]
Within SCCS, local optimization is driven by the quality score
\[
f(S)=\frac{D_{in}(S,S)}{D_{in}(S,S)+E_{out}(S,\bar{S})},
\]
with \(D_{in}(S,S)=2\times links(S,S)\) and \(E_{out}(S,\bar{S})=links(S,\bar{S})\). This quantity is described as monotonic with conductance in the sense that increasing \(f(S)\) corresponds to improving community quality through more internal density and less external leakage [2508.01244].

Conductance-oriented local community detection predates the formal naming of CCS. Earlier work treated conductance as “a popular objective function used in many algorithms for local community detection,” studied a continuous relaxation of conductance, and introduced \(\sigma\)-conductance together with the EMc and PGDc local optimizers [1601.05775]. A generative-model approach later showed that, in the limit, one local approximation under a degree-corrected stochastic block model corresponds to conductance, giving a probabilistic interpretation of a criterion often treated as an ad hoc graph-cut objective [1804.04469]. These results place CCS within a broader conductance-based local-search lineage, while the formal CCS problem adds the explicit minimum-conductance query objective.

## 3. Computational hardness and exact optimization

CCS is NP-hard. The hardness result is established by reduction from the \(k\)-clique problem, which is NP-complete [2508.01244].

The reduction is motivated by the relationship between internal edge volume and boundary size. A \(k\)-clique maximizes internal edges, with \(\sum_{u\in S} d_S(u)=k(k-1)\). For a connected set \(S\), conductance becomes smallest when the cut size \(|E(S,\bar S)|\) is minimized and the internal edge volume is maximized. Under the constructed decision setting, an optimal CCS solution corresponds to a \(k\)-clique if and only if one exists, and conversely a \(k\)-clique containing \(q\) yields a candidate with minimum conductance. Exact CCS would therefore solve \(k\)-clique [2508.01244].

The hardness result has two immediate algorithmic consequences. First, it rules out an expectation that the exact minimum-conductance community around a query vertex should be efficiently computable in general. Second, it explains why practical CCS work concentrates on heuristics that restrict the search to a local region and then apply local optimization there. SCCS is the principal realization of that strategy.

## 4. SCCS: subgraph-conductance-based community search

SCCS is a four-stage heuristic designed to make CCS practical at large scale. The first stage is **graph reduction via local sampling**. Starting from \(q\), SCCS performs BFS-like exploration, but stops when the sampled subgraph is at least a minimum size \(l\) and depth exceeds \(dp\), or when the sampled subgraph reaches a maximum size \(h\). The resulting sampled subgraph \(S_G\) is intended to capture the local neighborhood in which the target community is likely to lie [2508.01244].

The second stage is **seeding**. Within the sampled subgraph, SCCS chooses the largest maximal clique containing \(q\) as the initial community. The rationale is explicit: a clique provides very strong internal cohesiveness, so expansion starts from a tight core rather than from a loose neighborhood [2508.01244].

The third stage is **expansion**. SCCS adds neighboring vertices that improve the community-quality score. For a set \(A_i\) of added vertices,
\[
\Delta f(S\cup A_i)=f(S\cup A_i)-f(S).
\]
The update is written so that only edges involving \(A_i\) must be changed:
\[
f(S\cup A_{i}) = \frac{D_{in}(S,S) + D_{in}(S,A_{i})}{D_{in}(S,S) + E_{out}(S,\bar{S}) + D_{in}(S,A_{i}) + E_{out}(A_{i})},
\]
where
\[
D_{in}(S, A_{i})= 2 \times (links(S, A_{i}) + links(A_{i},A_{i})),
\]
and
\[
E_{out}(A_i)=E_{out}(\bar S,A_i)-E_{out}(S,A_i).
\]
A notable heuristic is that SCCS may add multiple vertices at a time, up to a threshold `count`, rather than adding only one vertex greedily. This is intended to reduce premature convergence to local optima [2508.01244].

The fourth stage is **verification**. Because conductance is non-monotonic, some previously added vertices may later become harmful. SCCS therefore forms the boundary set
\[
B_j=\{v_i\in S,\ v_i\neq q \mid (v_i,u)\in E,\ u\in \bar S\},
\]
and tries to remove boundary vertices that increase quality \(f\) while preserving connectivity. The removal gain is
\[
\Delta f(S-B_j)=f(S-B_j)-f(S),
\]
with
\[
f(S-B_{j}) = \frac{D_{in}(S,S)-D_{in}(S,B_{j})}{D_{in}(S,S) + E_{out}(S,\bar{S}) - D_{in}(S,B_{j})- E_{out}(B_{j})}.
\]
Expansion and verification are repeated until no more changes occur [2508.01244].

The practical heuristics of SCCS are therefore local sampling, clique-based seeding, multi-vertex expansion, gain-based expansion, boundary pruning subject to connectivity, and an iterative expansion-verification loop. Together they operationalize CCS without attempting exact global optimization.

## 5. Complexity, scalability, and empirical behavior

The central scalability claim for SCCS is that the expensive operations are confined to the sampled subgraph of size \(h\), rather than to the full graph. The complexity components are: sampling \(O(h^2)\), maximum clique search on the sampled subgraph with worst-case \(O(3^{h/3})\), expansion \(O(h^2\log h)\), and verification \(O(jh^2)\), where \(j\) is the number of boundary vertices. The overall time is
\[
O\big(3^{h/3} + w h^2(\log h + j)\big),
\]
where \(w\) is the number of outer expansion-verification iterations. By comparison, the PPRCS baseline has worst-case time
\[
O\left(\frac{1}{r_{max}\alpha} + n\log n\right)
\]
and space \(O(n+m)\) [2508.01244].

The reported experiments use six real-world graphs—Amazon, DBLP, Youtube, LiveJournal, Orkut, and Friendster—together with synthetic LFR benchmarks. The baselines are CSM, TCP, SM, LM, HK-Relax, and PPRCS. The principal empirical finding is that SCCS achieves the best F1-score overall. It usually returns communities that are smaller, more consistent with ground-truth community sizes, and better separated from the rest of the graph. Cohesive-subgraph methods such as CSM and TCP often output communities that are too large and have poor conductance, while diffusion methods such as HK-Relax and PPRCS improve conductance but still often return communities that are too large or less aligned with ground truth. SCCS is reported to best balance precision and recall [2508.01244].

The conductance results are more nuanced than a simple minimum-conductance narrative. SCCS generally has low conductance and is often better than most competitors, but its conductance is not always the absolute minimum on every dataset. At the same time, it preserves much better F1-score than diffusion-heavy baselines. This is an important correction to the misconception that the lowest observed conductance automatically yields the best query-community recovery [2508.01244].

The efficiency results illustrate the method’s scale. On Friendster, with 1.8B edges, PPRCS is about \(0.6\) s, SCCS about \(11\) s, and many baselines fail to finish within \(5\) hours. Runtime stays stable as graph size grows, consistent with the sampling strategy. On LFR graphs, runtime and F1-score remain stable as \(n\) increases, runtime increases with average degree \(ad\), and performance degrades as the mixing parameter \(\mu\) increases, although SCCS remains stronger than PPRCS. Parameter studies report that larger `count` lowers conductance but can reduce F1-score after a point by growing communities too much, while larger `dp` improves sampled-subgraph coverage but increases time and eventually saturates. The recommended settings are `count = 2` and `dp = 3` [2508.01244].

## 6. Extensions, contrasts, and limitations

CCS belongs to a broader family of conductance-oriented local search methods. In streaming graphs, SCDAC formulates **streaming local community detection** as finding the target community containing a small set of query nodes from a single-pass edge stream under semi-streaming memory limits. It samples a local subgraph around the query nodes and then extracts the target community using **approximate conductance**
\[
\Phi(C)=\frac{\mathrm{Vol}(C)-2|E_s(C,C)|}{\mathrm{Vol}(C)},
\]
where \(\mathrm{Vol}(C)\) comes from exact degree counts recorded during streaming. This is a conductance-based local community search method under one-pass constraints rather than a named CCS framework, but it shows that conductance-based query search had already been adapted to streaming settings [2110.14972].

Later extensions move beyond purely structural conductance. NCSAC introduces **attribute-augmented conductance**
\[
\Phi(C)=\beta\cdot \phi_t(C)+(1-\beta)\cdot \phi_a(C),
\]
where \(\phi_t(C)\) is topology-based conductance and \(\phi_a(C)\) is attribute-based conductance. It first extracts a coarse candidate community using this hybrid objective and then refines it through reinforcement learning. A plausible implication is that CCS can be generalized from structure-only boundary sparsity to hybrid structural-attribute objectives without abandoning conductance as the organizing principle [2511.04712].

At the same time, not all modern community-search systems are conductance-based. Query Driven-GNN reformulates community search and attributed community search as binary vertex classification, trains with binary cross entropy, and uses constrained BFS for final extraction rather than a cut-based objective [2104.03583]. In multiplex networks, CS-MLGCN combines query-dependent local structure, global graph embeddings, and attention across views, again treating the task as supervised node classification followed by BFS connectivity enforcement, not as conductance minimization [2210.08811]. These contrasts delimit CCS as one methodological family within query-centric community search, rather than the default form of the problem.

A further limitation concerns interpretation of “community quality.” In online social networks, the CHASE framework reports that there is **no clear correlation between structural and psychological cohesiveness**, and that no evaluated community-search algorithm effectively identifies psychologically cohesive communities in that domain. Conductance is explicitly discussed there as part of the family of structural community-quality criteria, even though the framework’s primary reported structural metrics are diameter, size, and minimum degree. This suggests that CCS should be understood as a rigorous structural model of community quality, not as a universal proxy for human group cohesion [2504.19489].

Taken together, these developments define the current scope of CCS. It is a formally specified, conductance-centered query problem with clear optimization constraints, NP-hard exact form, and scalable heuristic solvers. Its strongest setting is structural local community discovery around a query vertex. Its principal limitations arise when community quality depends on signals—attributes, dynamics, or social-behavioral evidence—not captured by structural conductance alone.

Source: https://www.emergentmind.com/topics/conductance-based-community-search-ccs