Abstract 1 Introduction 2 Proof Overview 3 Algorithm and Analysis 4 Conclusion References

Semirandom Planted Bipartite Subgraphs

Anand Louis ORCID Indian Institute of Science, Bengaluru, India    Kirtan Vora ORCID Indian Institute of Science, Bengaluru, India
Abstract

There have been many recent works studying planted subgraphs problems. The semirandom planted bipartite subgraph problem is defined as follows. Starting with a vertex set V, an arbitrary subset SV of size k is chosen, then an arbitrary bipartite graph is added on S. After this between each pair of vertices in S×(VS) an edge is added independently with probability p, then an arbitrary graph is added on VS. The analogous semirandom planted clique problem, where S forms a clique, has been studied starting with the work of Fiege and Kilian [6]; recent work by [3, 11] gave an algorithm for this problem when k=Ω(nlogn). We give an algorithm for semirandom planted bipartite subgraph problem when k=Ω(nlogn) and the two color classes are roughly balanced.

Our algorithms are essentially the same as the elegant greedy algorithm of [3]. We generalize their idea to our setting. Handling the arbitrary nature of the bipartite graph requires some new technical ideas and is our main technical contribution.

Keywords and phrases:
Semirandom Models, Spectral Algorithms, Planted Subgraphs, Random Graphs, Approximate Recovery Algorithms
Funding:
Anand Louis: Supported in part by SERB Award CRG/2023/002896 and the Walmart Center for Tech Excellence at IISc (CSR Grant WMGT-23-0001).
Kirtan Vora: Supported by Prime Minister’s Research Fellowship, India.
Copyright and License:
[Uncaptioned image] © Anand Louis and Kirtan Vora; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Graph algorithms analysis
; Theory of computation Approximation algorithms analysis
Editor:
Pierre Fraigniaud

1 Introduction

One of the well known NP-Hard problem in computer science is the problem of finding the maximum independent set (MIS) in a graph. Consider a graph G=(V,E) then unless P=NP, [12] showed that for every ϵ>0 it is hard to approximate MIS within n1ϵ. Another such problem which is known to be NP-Hard [18] is to find the largest induced bipartite subgraph of the graph G=(V,E).

A series of works on semirandom models have partially explained the tractability of finding the maximum clique problem. An instance of the planted clique problem is sampled as follows: we start with the set of n vertices from which we choose an arbitrary subset S of k vertices and add a clique on them, for any pair of vertices, both of them simultaneously, not in S we add an edge independently with probability p (e.g. p=1/2). [2] designed a spectral algorithm to find the planted clique when k=Ω(n) but the spectral algorithm is not robust to the significant change in the edges outside of the clique. To study the robustness of clique finding algorithms, Feige and Kilian [6] introduced an insightful and influential semirandom model. In one version of this model, the edges between S and VS (where V is the set of vertices), also known as cut edges or cut(S), are added independently with probability p, and the edges within VS can be configured adversarially with access to the random edges between S and VS. In this model S cannot be uniquely recovered since VS can have (nk)/k cliques of size k whose cut edges are drawn independently with probability p. The problem of finding a small list (of size nk(1+o(1))) of cliques of size k in which the planted clique is present has been studied in [6, 5, 16, 4, 3, 11]. [3] gave an algorithm for this problem that works with probability at least 11/n over the input when k=Ω(nlog2n). [11] gave an algorithm for this problem that works with probability 0.99 over the input when k=Ω(nlogn). [17] proved that it is information-theoretically impossible to recover the planted clique when k=o(n)

[15] considered the problem of finding an arbitrary planted r-colorable k size subgraph S of G on n vertices such that the edges with both endpoints contained in VS are sampled independently with probability p, and the edges between S and VS can be configured adversarially with access to random edges contained in VS. This work designed a polynomial time algorithm to find a subgraph T of G of size at most (1+δ)k whose intersection with S is at least (1δ)k whenever k=Ωp,δ(rn/p). Their proof follows by showing that for a novel SDP relaxation of the problem, for which most of the mass is supported on S. Their results also hold in the presence of monotone adversary, i.e., adversary who can arbitrary add edges in VS.

[9] considers the model in which an arbitrary bipartite subgraph on S is planted and the graph on VS is arbitrary, and then the edges between S and VS are sampled independently at random with probability p. Note that the model considered by [9] is different from the model proposed by [6] since in this model, adversary doesn’t have access to the random edges between S and VS. [9] gave an algorithm for the problem when S is a bipartite graph of size (1ϵ)n and recovered a bipartite graph of size (1O(ϵ/p2))n whenever ϵ=Ω(logn/n).

In this paper inspired from [6], we consider the model when the cut edges between the 2-colorable graph and the rest of graph are sampled uniformly and independently at random with probability 1/2. The recent progress on the random planted r-colorable graph problem naturally motivates us to study the Semirandom Planted Bipartite subgraph (SRPB) problem and Semirandom Planted Tripartite subraph (SRPT) problem mentioned below.

Definition 1 (Semirandom Planted Bipartite Graph, SRPB(n,k,p,t)).

(See figure 1) To an empty graph G with vertex set V=[n]:

  1. 1.

    Plant a bipartite graph G(S1,S2,E): Plant a bipartite graph on a random subset of vertices SV with |S|=k,S=S1S2, where S1 and S2 are two independent disjoint components of S in which 1|S2|/|S1|t.

  2. 2.

    Include cut edges at random: Add each edge to cut(S) independently with probability p.

  3. 3.

    Choose the rest of the edges adversarially: Adaptively choose any induced graph on VS.

Our main results are following:

Theorem 2.

There exists a polynomial time algorithm such that for every ϵ>0 and t[1,3), given an instance of SRPB(n,k,1/2,t), the algorithm outputs a n4 size list of graphs which contains a subgraph W of G such that |SW|=O(ϵk) and |WS|=o(k) whenever kΩ(1ϵ1/2(3t)4n3/4logn) with probability 11/n over the instance of SRPB(n,k,1/2,t).

Theorem 3.

There exists a polynomial time algorithm such that for every ϵ>0 and t[1,3), given an instance of SRPB(n,k,1/2,t), the algorithm outputs a n12 size list of graphs which contains a subgraph W of G such that |SW|=O(ϵk) and |WS|=o(k) whenever kΩ(1ϵ1/2(3t)2nlogn) with probability 0.99 over then instance of SRPB(n,k,1/2,t).

We also study the 3-colorable version of the problem which is added here.

Definition 4 (Semirandom Planted Tripartite Subgraph, SRPT(n,k,p)).

To an empty graph G with vertex set V=[n]:

  1. 1.

    Plant a tripartite graph G(S1,S2,S3,E): Plant a tripartite graph on a random subset of vertices SV with |S|=k,S=S1S2S3, where S1,S2 and S3 are three independent disjoint components of S in which |S2|=|S1|=|S3|=k/3.

  2. 2.

    Include cut edges at random: Add each edge to cut(S) independently with probability p.

  3. 3.

    Choose the rest of the edges adversarially: Adaptively choose any induced graph on VS.

Theorem 5.

There exists a polynomial time algorithm such that for every ϵ>0, given an instance of SRPT(n,k,1/2), the algorithm outputs a n18 size list of graphs that contains a subgraph W of G such that |SW|=O(ϵk) and |WS|=o(k) whenever kΩ(1ϵ1/2nlogn) with probability 0.99 over the instance of SRPT(n,k,1/2).

Figure 1: Structure of the Semirandom Planted Bipartite Graph, SRPB(n,k,1/2,1).

1.1 Other Related Work

Random and Semirandom Models.

[13] proposed a model in which a d-regular bipartite graph is planted on a set S of size k in G and rest of the edges are added independently with probability p, they designed an algorithm which recovers the planted bipartite subgraph with high probability when k=Ωp(nlogn). Their algorithm also works for monotone adversary i.e. their algorithm can also recover the planted bipartite subgraph even if arbitrary edges are added in G[VS] with addition to the edges that are already randomly generated. They show that the natural SDP formulation of this problem is integral. [14] studied this problem without monotone adversary and gave an simple spectral algorithm to recover when k=Ω(n). [9] also study a natural extension of their semirandom model for 2-coloring (defined earlier in this section) to 3-coloring. Assuming that there is an algorithm to color 3-colorable graphs using nθ colors, they gave an algorithm to compute a set of size (1ϵf(p,θ))n (for some function f) and an nθ coloring of it, where (1ϵ)n is the size of the planted 3-colorable subgraph.

Vertex Deletion Models.

In [1] a polynomial time algorithm was designed for the following problem. Given a graph G=(V,E) where there exists a (1ϵ)|V| size subset U of V such that the induced subgraph on U is bipartite, produce a subset U of V of size at least (1O(ϵlogn))|V| such that the subgraph induced on U is bipartite. In [7], for the case where the maximum degree of G is d, they gave an algorithm to produce a subset U of size at least (1O(ϵlogd))|V| such that the subgraph induced on U is bipartite; assuming the Unique Games conjecture, they prove a matching (up to constant factors) hardness. [8] studied the problem when the bipartite graph induced on U is a regular and low threshold-rank graph; they gave an algorithm, running in time exponential in poly(1/ϵ), to recover a (1ϵ1/12)n sized subset of UV such that the graph induced on U is bipartite. Given a graph G=(V,E) in which there exists a subset U of size (1ϵ)|V| such that the graph induced on U is 3-colorable. [9] designed a polynomial time algorithm to produce a subset SV such that |S|3ϵ|V| and color VS using O~(n0.25+O(ϵ0.25)). They gave an algorithm to give a more general result.

Edge Deletion Models.

In [1], the problem of Min UnCut was studied which is equivalent to the problem of removing a minimum set of edges M from a graph G=(V,E) such that the graph G=(V,EM) is bipartite. [1] designed a O(logn) approximation algorithm based on semi definite programming. [10] gave an algorithm to delete O(OPT) fraction of edges to obtain a bipartite graph where OPT is the optimal fraction of edges in Min UnCut.

2 Proof Overview

We are going to follow the strategy introduced in [3] and will try to extend it to the case of planted bipartite subgraphs.

Let G denote the ±1 adjacency matrix of the graph G=(V,E) with V=[n], i.e., G(i,j)=1 iff {i,j} is an edge in G. We also let Gi be the i-th row of G, Gi{j}{±1}|Sj| be the projection of Gi to coordinates in the independent components S1,S2 of the planted bipartite subgraph S, Giout{±1}nk be the projection of Gi to the coordinates in VS and GiS{±1}k be the projection of Gi to the coordinates in S. Ni denotes the neighbors of vertex i in S. For two sets A and B, AΔB denote their symmetric difference. For two vectors u,vm,u,v denotes their Euclidean inner product.

Strong correlation between vectors present in same color class of 𝑺

We observe that i,j are non-trivially correlated if i,j are both in S1 (or S2).

Gi,Gj=GiS,GjS+Giout,Gjout=Gi{1},Gj{1}+Gi{2},Gj{2}+Giout,Gjout.

Since if i,jS1, the first term is |S1| and the second term depends on the number of common neighbors of i and j in S2 i.e.

Gi{2},Gj{2}=|S2|2|NiΔNj|.

The third term is the sum of nk {±1} terms sampled uniformly and independently at random because every term in cut(S) is chosen independently to be in G. Therefore the third term satisfies |Giout,Gjout|O(nlogn) with high probability. Thus

Gi,Gj=|S1|+|S2|2|NiΔNj|±O(nlogn)=k2|NiΔNj|±O(nlogn).

Thus i,jS1 will be highly correlated if kO(nlogn) and |NiΔNj| is smaller than some constant fraction of k. In case of the semirandom planted clique problem [3], we directly get that Gi,Gj=k±nlogn for i,jS because S is a clique. Using the following Lemma 6, which uses the principle of inclusion-exclusion, we will show that many of the pairs i,jS1 will be highly correlated. We need to carefully track the arbitrary edges between S1 and S2; we do this in Lemma 6 by showing that for three vertices i,j,w,S1, all three pairs cannot simultaneously have large symmetric difference of their neighborhood in S.

Lemma 6.

For all i,j,wS1 (or S2) if GiS,GjS<k12/(3t) and GiS,GwS<k12/(3t), then GjS,GwSk12/(3t).

Weak correlation between vectors when 𝒊𝑺 and 𝒋𝑽𝑺

If iS and jVS, then Gi{1},Gj{1}+Gi{2},Gj{2} will be the sum of k {±1} terms sampled uniformly and independently at random whose sum will be O(klogk) with high probability. Thus i,j will be highly correlated when Giout,Gjout is sufficiently large. But using Lemma 10 we will show that most of such pairs cannot be highly correlated with high probability; one such easy case to check this is to sample a 𝒢(nk,1/2) graph on VS vertices.

In [3] it was shown that for most of the vertices in S(99 %) only a small amount o(k) of the vertices of VS can form a large inner product with a vertex in S, when kn3/4. For a vertex iV, define Vi={jV|Gi,Gjk18/(3t)}. We show in Lemma 7 using a subtle counting argument that there exist four vertices i,j,w,lS, using which we recover most of S, i.e. |(ViVjVwVl)ΔS|=O(ϵ|S|).

Lemma 7.

For k=Ω(24ϵ1/2(3t)4n3/4logn) with probability at least 11/n over the input of SRPB(n,k,1/2,t) there exist 4 vertices i,j,w,l of S such that |(ViVjVwVl)ΔS|=O(ϵk).

To make this work for smaller k, [3] used the Hadamard product of the Gi vectors instead of working with Gi vectors: For αV,|α|=3 define Gα as point wise product (Hadamard product) of the vectors Gi,Gj,Gw where α={i,j,w}. We note that using the above argument that if αS1 and lS then

Gα,Gl=k2|NαΔNl|±O(nlogn)

where Nα corresponds to a neighborhood of a natural imaginary vertex formed by α in S1 which will be explained later. Similarly if lVS then

GαS1,GlS1+GαS2,GlS2=O(klogk).

The analogue of the previous two equations for the semirandom planted clique problem was shown in [3]. In [3, 11] it was also shown that for most of the 3 size subset of S(99 %), at most o(k) vertices of VS satisfies Gαout,Gloutk/3 they showed this using restricted isometric property (RIP) of random matrices. To recover the planted bipartite subgraph when knlogn, we use this strategy to prove results analogous to Lemma 6 and Lemma 7 (see Lemma 12).

3 Algorithm and Analysis

3.1 Semirandom Planted Bipartite Subgraph for size 𝒌=𝛀(𝒏𝟑/𝟒)

In this section we prove Theorem 2 using Algorithm 1.

Theorem 2. [Restated, see original statement.]

There exists a polynomial time algorithm such that for every ϵ>0 and t[1,3), given an instance of SRPB(n,k,1/2,t), the algorithm outputs a n4 size list of graphs which contains a subgraph W of G such that |SW|=O(ϵk) and |WS|=o(k) whenever kΩ(1ϵ1/2(3t)4n3/4logn) with probability 11/n over the instance of SRPB(n,k,1/2,t).

Algorithm 1 Greedy algorithm for a n4 sized list containing the planted bipartite graph.

First we show that no three vertices i,j,wS1 (or S2) can be simultaneously uncorrelated with each other.

Lemma 6. [Restated, see original statement.]

For all i,j,wS1 (or S2) if GiS,GjS<k12/(3t) and GiS,GwS<k12/(3t), then GjS,GwSk12/(3t).

Proof.

Assume i,j,wS1 and GiS,GjS,GjS,GwS,GiS,GwS<k12/(3t). Then

GiS,GjS=k2|NiΔNj|<k/123t|NiΔNj|>k2(13t12).

Similarly the same will be also true for |NiΔNw| and |NjΔNw|. By the formula of inclusion-exclusion, we have

2|NiNjNw| =2|Ni|+2|Nj|+2|Nw|2|NiNj|2|NiNw|2|NwNj|
+2|NiNjNw|
=|NiΔNj|+|NiΔNw|+|NjΔNw|+2|NiNjNw|

Since NiNjNwS2 and |S2|tk/(1+t), we have

2tk/(1+t) 2|NiNjNw|>3k2(13t12)+2|NiNjNw|
|NiNjNw|<(3t)216(1+t)<0 if t<3,

which gives us a contradiction. Similarly if i,j,kS2 then NiNjNwS1 and |S1|k/2. Therefore

2|NiNjNw|<k3k2(13t12)=k8(1+t)<0.

 Remark 8.

Note that we can prove a much tighter bound if i,j,wS2, since |S2||S1|. By following the same argument as above we get that for all i,j,wS2 if GiS,GjS<k3 and GiS,GwS<k3, then GjS,GwSk3.

Call a pair of vertices i,jS good if GiS,GjSk12/(3t), otherwise call them bad. Lemma 9 shows that all but one vertex of S1 forms a good pair with some other vertex of S1.

Lemma 9.

At least |S1|1 vertices of S1 forms a good pair with some other vertex in S1; the same is true for the vertices of S2.

Proof.

To see this define

T={iS1|i forms a good pair with some other vertex in S1}

if S1T is nonempty then choose a vertex i from it. Since iT it means i forms bad pairs with all other vertices in S1. Then by Lemma 6 we can conclude that all the vertices in S1{i} forms good pairs in each other, so |T||S1|1. Similar argument can be applied to S2.

The following lemma is taken directly from [3] which will imply that a vertex from S cannot be highly correlated with many vertices of VS. We reproduce their proof here to make dependence on t explicit since this case doesn’t arise in their setting.

Lemma 10 ([3]).

Let v1,v2,v3,,vk{±1}n be vectors sampled uniformly and independently at random for k=Ω(nlogn) Then with probability at least 11/n over the draw of vectors vi, for every u{±1}n there are at most O(242(3t)2n2/k2) vectors vi such that u,vik24/(3t).

Proof.

Consider the n×k matrix H with columns v1,v2,,vk. Then, by standard results in random matrix theory, H2O(n+k) with probability 11/n. Let [k] be such that, for every i,u,vik24/(3t). Then, by the Cauchy-Schwartz inequality, we have

u,H1u2H12n||H2O(n||).

On the other hand, by the choice of set , we have

u,H1=iu,vi||k24/(3t).

Combining those two inequalities and rearranging, we get ||O(242(3t)2n2/k2).

Greedy Procedure.

For iV, define Vi={jV|Gi,Gjk18/(3t)}. We show that we can reconstruct a bipartite graph which is close to the planted bipartite subgraph using i,j,w,lS .

We apply the Lemma 10 with Giout for each iS as a uniform random element of {±1}nk and by taking u=Gjout for any jVS. By Lemma 10, for each jVS, at most O(242(3t)2n2/k2) elements of i of S will satisfy Giout,Gjoutk24/(3t). Using this and the fact that for all iS and jVS, GiS,GjS=O(klogk) with probability 11/n, we get that there are in total O(242(3t)2n3/k2) pairs (i,j) such that iS,jS satisfying

Gi,Gjk18/(3t)k24/(3t)+O(klogk).

By Markov’s inequality, a uniformly random iS satisfies Gi,Gjk18/(3t) for at most O(242ϵ(3t)2n3/k3) vertices jVS with probability 1ϵ. If kO(242ϵ(3t)2n3/k3) e.g. k=Ω(24ϵ1/2(3t)n3/4γ(n)) such that limnγ(n)=, then at least k(1ϵ) vertices i of S will satisfy |ViS|=O(kγ4(n))=o(k), which means Vi will contain at most o(k) vertices not from S, call such a set of vertices i of S as S. Therefore

|SS|ϵk. (1)

Note that to make the contribution from random terms small we need k18/3tk24/3t>Ω(klogk). Therefore we also need k=Ω(logk/(3t)2).

In [3] because S was a clique, the above argument implies that for a vertex iS,Vi contains the whole of S and o(k) vertices from VS. To see this, observe that each vertex jS will satisfy Gi,Gj=k±O(nlogn)k/6 and all but o(k) vertices of VS will not be in Vi because iS. Our goal is to extend this idea to recover bipartite subgraphs. We show that in SRPB(n,k,1/2,t) we can recover 1O(ϵ) fraction of vertices of S using at most 4 vertices of S.

Lemma 7. [Restated, see original statement.]

For k=Ω(24ϵ1/2(3t)4n3/4logn) with probability at least 11/n over the input of SRPB(n,k,1/2,t) there exist 4 vertices i,j,w,l of S such that |(ViVjVwVl)ΔS|=O(ϵk).

Proof.

Let iS1S. Intuitively Lemma 6 gives us that if Vi doesn’t contain all vertices of S1 i.e. if S1Viϕ, then any two vertices j,wS1Vi will satisfy GiS,GwSk/123t so VjS1Vi i.e. ViVjS1. But we also need j to be in S for |(ViVj)S|=o(k) which brings us to two cases.

Case 1.

Assume that (S1Vi)(SS)ϕ. Then by Lemma 6, any vertex j(S1Vi)(SS) (i.e. jVi and jS1S) will satisfy VjS1Vi because for any other vertex wS1Vi, it must be that Gi,Gw=GiS,GwS+Giout,Gwout<k18/(3t), and since Giout,Gwout=O(nlogn)k36/(3t) with very high probability, it implies that GiS,GwS<k12/(3t). This implies that by Lemma 6 GjS,GwSk12/(3t) which means Gj,Gwk18/(3t) for any wS1Vi, so ViVjS1. Also since jS1S we have |(V1Vj)S||ViS|+|VjS|=o(k).

Case 2.

(S1Vi)(SS)=ϕ, then Vi has almost all the vertices of S1 because S1ViSS, so |S1Vi||SS|=O(ϵk) and since iS1S we have |V1S|=o(k).

Therefore either by case 1 or case 2 there exists either one or two vertices of S1 such that |S1(ViVj)|=O(ϵk) and |(ViVj)S|=o(k). Similarly we can find two vertices w,lS2 which satisfies |S2(VwVl)|=O(ϵk) and (|VwVl)S|=o(k), which shows that there exists at most four vertices such that |(ViVjVwVl)ΔS|=O(ϵk).

From the above four lemmas we can finish the proof of Theorem 2.

Proof of Theorem 2.

Algorithm 1 goes through all the four set of vertices and take their union. Then by Lemma 7 one of them will be close to the planted bipartite subgraph. Since Algorithm 1 enumerates over all choice of i, the size of list is at most n4.

3.2 Semirandom Planted Bipartite Subgraph for size 𝒌=𝛀(𝒏𝐥𝐨𝐠𝒏)

In this subsection we prove Theorem 3. See 3

Similar to [3, 11], we will show that we can recover S using a constant no. of vertices in S. For αV, define Gα{±1}n as Gα(i)=ΠjαGj(i) i.e. Gα is a Hadamard product of all the vectors Gi such that iα. For α={i,j,w}, we will interchange between the notation Gα and Gijw. For αV define Vα={iV|Gα,Gik18/(3t)}.

Algorithm 2 Greedy algorithm for a n12 sized list containing the planted bipartite graph.

A small observation tells us that if α1={i,j,l} and α2={l,w,t} then

Gα1,Gα2=Gijw,Gt. (2)

The next lemma uses the 1-norm analogue of RIP of matrices. For reference see proposition 2 and section 4 of [11].

Lemma 11 ([11]).

For every iVS, at most O(242(3t)2n2/k2) subsets αS of size 3 satisfy Gαout,Gioutk24/(3t) with probability 0.99 whenever kΩ(13tnlogn).

Thus in total O(242(3t)2n3/k2) pairs (α,j) such that α(S3),jS satisfying Gα,Gjk18/(3t)k24/(3t)+O(klogk), by Markov’s inequality, a uniformly random α(S3) satisfies Gα,Gjk18/(3t) for at most O(242ϵ3(3t)2n3/k5) with probability 1ϵ3 and if kO(242ϵ3(3t)2n3/k5) and k=Ω(13tnlogn) e.g. (k=Ω(241/3ϵ1/2(3t)nlogn) then for a uniformly chosen α(S3) will satisfy |VαS|=o(k), i.e. (1ϵ3) fractions elements of (S3) will form the vertex set Vα which contains at most o(k) vertices not from S, call such a set of (1ϵ3)(k3) elements of (S3) as T. Therefore

|T/T|O(ϵ3k3). (3)

In [3, 11] because S was a clique, the above argument implies that for a triplet αT,Vα contains whole of S and o(k) vertices from VS. To see this, observe that each vertex jS will satisfy Gα,Gj=k±O(nlogn)k/6 and because αT, all but o(k) vertices of VS will not be in Vα. Our goal is to extend this idea to recover bipartite subgraphs. We show that in SRPB(n,k,t,1/2) we can recover 1O(ϵ) fraction of vertices of S using at most 12 vertices of S.

Lemma 12.

Whenever k=Ω(241/3ϵ1/2(3t)2nlogn), with probability 0.99 there exists α1,α2(S13)T such that |S1(Vα1Vα2)|O(ϵk) and |(Vα1Vα2)S|o(k), α3,α4(S23)T such that |S2(Vα3Vα4)|O(ϵk) and |(Vα3Vα4)S|o(k) , which implies |SΔ(Vα1Vα2Vα3Vα4)|O(ϵk).

Proof.
Case 1.

There exists α1,α2T(S13) such that S1Vα1Vα2, which means that S1(Vα1Vα2)=ϕ. Since Vα1,Vα2T(S13), it implies that |Vα1S|,|Vα2S|=o(k). Therefore |(Vα1Vα2)S|o(k).

Case 2.

For all pairs of α1,α2T(S13), there exists a vertex iα1,α2S1 such that Gα1,Giα1,α2<k18/(3t) and Gα2,Giα1,α2<k18/(3t). Note that this implies that for α1,Gα1S,Giα1,α2S<k12/(3t) because Gα1out,Giα1,α2out=O(nlogn)k18/(3t), and the same is true for α2 .

We will now show that Gα1S,Gα2Sk12/(3t). Observe that Gα1(i)=1 whenever iS1, and the same is true for α2. Consider a new instance of bipartite graph T consisting of color classes W1,W2 of size |S1|,|S2| respectively such that W1 consists of three vertices a,b,c whose neighbors in W2 are determined by the vectors Gα1S2,Gα2S2,Giα1,α2S2 respectively, i.e. a is connected to a vertex pW2 if and only if Gα1(p)=1 and rest of the vertices of W1 have no neighbors in W2. Recall that in our notation Ta is the ath row of the signed adjacency matrix of T(similarly for b and c). By the construction of T we get that

Ta,Tc =Gα1S,Giα1,α2S<k12/(3t),Tb,Tc=Gα2S,Giα1,α2S<k12/(3t), and
Ta,Tb =Gα1S,Gα2S

Then by Lemma 6 Ta,Tbk12/(3t), therefore for all α1,α2T

Gα1S,Gα2Sk12/(3t). (4)

For β(S12), let bβ be the number of vertices iS1 such that β{i}(S13)T. Then

13β(S12)bβ|(S13)T|O(ϵ3k3).

Then by Markov’s inequality, 1ϵ fraction elements β of (S12) will have

bβO(ϵ2k). (5)

For iS1, let bi be the number of elements of (S12) such that βi(S13)T, then by similar argument as above, 1ϵ fraction of bi will satisfy

biO(ϵ2k2). (6)

Choose an mS1 for which bmO(ϵ2k2), now for tS1 call ct to be the number of elements t such that {m,t,t}(S13)T. Next we observe that bm=12tS1ct, therefore tS1ctO(ϵ2k2). This implies that 1ϵ fraction elements of S1 satisfy

ctO(ϵk). (7)

Now choose β={i,j}S1 such that {m}βT and bβO(ϵ2k) (such a β exists because number of pairs β(S12) that satisfies {m}βT is (|S1|12)bm|S1|22(1O(ϵ2)) (Equation 6), and most 2 size subsets β of S1, i.e. (|S1|2)(1ϵ) elements of S1 satisfy bβO(ϵ2k) (Equation 5). Therefore the number of sets β(S12) that satisfies β{m}T are |S1|22(1ϵO(ϵ2))). Now, choose a lS1 for which clO(ϵk) and {l}βT (such a l exist because at least (1ϵ)|S1| elements lS1 satisfy clO(ϵk) (Equation 7), and (1O(ϵ2))|S1| elements lS1 satisfy β{l}T (Equation 5), so number of elements lS1 satisfying both of the conditions simultaneously are (1ϵO(ϵ2))|S1|).

Since |cl|O(ϵk), for at least (1O(ϵ))|S1| elements xS1 we have {m,l,x}T(S13). Moreover β{l}={i,j,l}T(S13). Therefore by Equation 2 and Equation 4

Gi,j,mS,GxS=Gi,j,lS,Gm,l,xSk12/(3t).

This implies that for at least (1O(ϵ))|S1| vertices x of S1,

Gi,j,m,Gx=Gi,j,mS,GxS+Gi,j,mout,Gxoutk12/(3t)O(nlogn)k18/(3t)

and therefore xVijm. This shows that |S1Vijm|O(ϵk), and since {i,j,m}T we have VijmS=o(k). Therefore choosing α1={i,j,m} we get the desired result.

Similarly there exist α3,α4(S23)T satisfying the desired property. Therefore there exist α1,α2,α3,α4T such that |SΔ(Vα1Vα2Vα3Vα4)|O(ϵk). From the above two lemmas we can finish proof of Theorem 3 observation the Algorithm 2 gives a n12 size list of almost bipartite graphs which will surely contain a graph close to the planted bipartite subgraph on S.

Proof of Theorem 3.

Using Algorithm 2 and Lemma 12 there exists αi,αj,αw,αl(S3) such that the subgraph induced on the set VαiVαjVαwVαl satisfies the conditions of Theorem 3. Since Algorithm 1 enumerates over all choice of αi, the size of list is at most n12.

 Remark 13.

For any t1, in particular for t3, we can still recover most of S2 as follows. Using the arguments of Lemma 12, we can show that there exist α,β(S23) such that (S2(VαVβ)O(ϵk) where Vα={iV|Gα,Gik6}. Therefore Algorithm 2 can be modified to output a list of subgraphs from which at least one subgraph W will satisfy |WS|(1O(ϵ))tk/(1+t) and |WS|o(k).

3.3 Semirandom Planted Tripartite Subgraph

Most of the work required to prove Theorem 5 is already done in the previous subsections. We use Algorithm 3 to prove Theorem 5.

Algorithm 3 Greedy algorithm for a n18 sized list containing the planted tripartite graph.
Proof of Theorem 5.

Observe that if i,jS1 then

GiS,GjS=k2|NiΔNj|

where Ni denotes the set of neighbors of i in S. GiS,GjS doesn’t depend on the edges between S2 and S3, this case is similar to the case of SRPB(n,k,1/2,2). Therefore using Lemma 12, there exists six subsets of S α1,α2(S13),α3,α4(S23),α5,α6(S33) which satisfies |S1(Vα1Vα2)|=O(ϵk) and |(Vα1Vα2)S1|=o(k), and similarly for Vα3Vα4 with S2 and Vα5Vα6 with S3. So the Algorithm 3 gives the desired result.

4 Conclusion

In this work, we gave algorithms for recovering planted SRPB. In Theorem 2 we output a list of n4 subgraphs in which one subgraph is guaranteed to have to have small symmetric difference with S, whereas in Theorem 3 the list size is n12. A natural open question is to obtain list size of (1+o(1))(n/k2). [3, 11] obtain an optimal list size of (1+o(1))n/k for the semirandom planted clique problem by using some combinatorial methods to reduce the size of their list obtained from their greedy procedure. Such techniques don’t seem to directly extend to SRPB.

Our algorithms also require the planted bipartite subgraph to be close to being balanced, i.e., t[1,3). Proving an analogue of Theorem 2 and Theorem 3 is also an open question whenever t3.

References

  • [1] Amit Agarwal, Moses Charikar, Konstantin Makarychev, and Yury Makarychev. O(logn) approximation algorithms for min uncut, min 2cnf deletion, and directed cut problems. In Proceedings of the Thirty-Seventh Annual ACM Symposium on Theory of Computing, STOC ’05, pages 573–581, New York, NY, USA, 2005. Association for Computing Machinery. doi:10.1145/1060590.1060675.
  • [2] Noga Alon, Michael Krivelevich, and Benny Sudakov. Finding a large hidden clique in a random graph. In Proceedings of the Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’98, pages 594–598, USA, 1998. Society for Industrial and Applied Mathematics. URL: http://dl.acm.org/citation.cfm?id=314613.315014.
  • [3] Jaroslaw Blasiok, Rares-Darius Buhai, Pravesh K. Kothari, and David Steurer. Semirandom Planted Clique and the Restricted Isometry Property . In 2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS), pages 959–969, Los Alamitos, CA, USA, October 2024. IEEE Computer Society. doi:10.1109/FOCS61266.2024.00064.
  • [4] Rares-Darius Buhai, Pravesh K. Kothari, and David Steurer. Algorithms approaching the threshold for semi-random planted clique. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, pages 1918–1926, New York, NY, USA, 2023. Association for Computing Machinery. doi:10.1145/3564246.3585184.
  • [5] Moses Charikar, Jacob Steinhardt, and Gregory Valiant. Learning from untrusted data. In Proceedings of the 49th annual ACM SIGACT symposium on theory of computing, pages 47–60, 2017. doi:10.1145/3055399.3055491.
  • [6] Uriel Feige and Joe Kilian. Heuristics for semirandom graph problems. Journal of Computer and System Sciences, 63(4):639–671, 2001. doi:10.1006/jcss.2001.1773.
  • [7] Suprovat Ghoshal and Anand Louis. Approximation algorithms and hardness for strong unique games. In Proceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’21, pages 414–433, USA, 2021. Society for Industrial and Applied Mathematics. doi:10.1137/1.9781611976465.26.
  • [8] Suprovat Ghoshal and Anand Louis. Approximating csps with outliers. In Amit Chakrabarti and Chaitanya Swamy, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2022, University of Illinois, Urbana-Champaign, USA (Virtual Conference), September 19-21, 2022, volume 245 of LIPIcs, pages 43:1–43:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.APPROX/RANDOM.2022.43.
  • [9] Suprovat Ghoshal, Anand Louis, and Rahul Raychaudhury. Approximation Algorithms for Partially Colorable Graphs. In Dimitris Achlioptas and László A. Végh, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2019), volume 145 of Leibniz International Proceedings in Informatics (LIPIcs), pages 28:1–28:20, Dagstuhl, Germany, 2019. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.APPROX-RANDOM.2019.28.
  • [10] Michel X. Goemans and David P. Williamson. Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming. J. ACM, 42(6):1115–1145, November 1995. doi:10.1145/227683.227684.
  • [11] Venkatesan Guruswami and Hsin-Po Wang. Semirandom planted clique via 1 norm isometry property. International Conference on Integer Programming and Combinatorial Optimization, pages 270–282, 2025.
  • [12] Johan Håstad. Clique is hard to approximate within n1ϵ. Acta Mathematica, 182(1):105–142, 1999. doi:10.1007/BF02392825.
  • [13] Akash Kumar, Anand Louis, and Rameesh Paul. Exact Recovery Algorithm for Planted Bipartite Graph in Semi-Random Graphs. In Mikołaj Bojańczyk, Emanuela Merelli, and David P. Woodruff, editors, 49th International Colloquium on Automata, Languages, and Programming (ICALP 2022), volume 229 of Leibniz International Proceedings in Informatics (LIPIcs), pages 84:1–84:20, Dagstuhl, Germany, 2022. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ICALP.2022.84.
  • [14] Anand Louis and Rameesh Paul. No sdp needed for efficiently recovering planted regular bipartite graphs. In 2026 SIAM Symposium on Simplicity in Algorithms (SOSA), pages 538–550. SIAM, 2026.
  • [15] Anand Louis, Rameesh Paul, and Prasad Raghavendra. Robust algorithms for recovering planted r-colorable graphs. In Nika Haghtalab and Ankur Moitra, editors, Proceedings of Thirty Eighth Conference on Learning Theory, volume 291 of Proceedings of Machine Learning Research, pages 3766–3794. PMLR, 30 June–04 July 2025. URL: https://proceedings.mlr.press/v291/louis25a.html.
  • [16] Theo McKenzie, Hermish Mehta, and Luca Trevisan. A new algorithm for the robust semi-random independent set problem. In Proceedings of the Thirty-First Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’20, pages 738–746, USA, 2020. Society for Industrial and Applied Mathematics. doi:10.1137/1.9781611975994.45.
  • [17] Jacob Steinhardt. Does robustness imply tractability? A lower bound for planted clique in the semi-random model. Electron. Colloquium Comput. Complex., TR17-069, 2017. URL: https://eccc.weizmann.ac.il/report/2017/069.
  • [18] Mihalis Yannakakis. Node-and edge-deletion np-complete problems. In Proceedings of the Tenth Annual ACM Symposium on Theory of Computing, STOC ’78, pages 253–264, New York, NY, USA, 1978. Association for Computing Machinery. doi:10.1145/800133.804355.