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 S⊂V of size k is chosen, then an arbitrary bipartite graph is added on S. After this between each pair of vertices in S×(V∖S) an edge is added independently with probability p, then an arbitrary graph is added on V∖S. 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=Ω⁢(n⁢log⁡n). We give an algorithm for semirandom planted bipartite subgraph problem when k=Ω⁢(n⁢log⁡n) 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=N⁢P, [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 V∖S (where V is the set of vertices), also known as cut edges or c⁢u⁢t⁢(S), are added independently with probability p, and the edges within V∖S can be configured adversarially with access to the random edges between S and V∖S. In this model S cannot be uniquely recovered since V∖S can have (n−k)/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 1−1/n over the input when k=Ω⁢(n⁢log2⁡n). [11] gave an algorithm for this problem that works with probability 0.99 over the input when k=Ω⁢(n⁢log⁡n). [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 V∖S are sampled independently with probability p, and the edges between S and V∖S can be configured adversarially with access to random edges contained in V∖S. 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,δ⁢(r⁢n/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 V∖S.

[9] considers the model in which an arbitrary bipartite subgraph on S is planted and the graph on V∖S is arbitrary, and then the edges between S and V∖S 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 V∖S. [9] gave an algorithm for the problem when S is a bipartite graph of size (1−ϵ)⁢n and recovered a bipartite graph of size (1−O⁢(ϵ/p2))⁢n whenever ϵ=Ω⁢(log⁡n/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 S⊆V with |S|=k,S=S1∪S2, 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 c⁢u⁢t⁢(S) independently with probability p.

  3. 3.

    Choose the rest of the edges adversarially: Adaptively choose any induced graph on V∖S.

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 |S∖W|=O⁢(ϵ⁢k) and |W∖S|=o⁢(k) whenever k≥Ω⁢(1ϵ1/2⁢(3−t)4⁢n3/4⁢log⁡n) with probability 1−1/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 |S∖W|=O⁢(ϵ⁢k) and |W∖S|=o⁢(k) whenever k≥Ω⁢(1ϵ1/2⁢(3−t)2⁢n⁢log⁡n) 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 S⊆V with |S|=k,S=S1∪S2∪S3, 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 c⁢u⁢t⁢(S) independently with probability p.

  3. 3.

    Choose the rest of the edges adversarially: Adaptively choose any induced graph on V∖S.

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 |S∖W|=O⁢(ϵ⁢k) and |W∖S|=o⁢(k) whenever k≥Ω⁢(1ϵ1/2⁢n⁢log⁡n) 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⁢(n⁢log⁡n). 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⁢[V∖S] 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 (1−O⁢(ϵ⁢log⁡n))⁢|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 (1−O⁢(ϵ⁢log⁡d))⁢|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 p⁢o⁢l⁢y⁢(1/ϵ), to recover a (1−ϵ1/12)⁢n sized subset of U′⊂V 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 S⊂V such that |S|≤3⁢ϵ⁢|V| and color V∖S 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,E∖M) is bipartite. [1] designed a O⁢(log⁡n) approximation algorithm based on semi definite programming. [10] gave an algorithm to delete O⁢(O⁢P⁢T) fraction of edges to obtain a bipartite graph where O⁢P⁢T 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-t⁢h 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}n−k be the projection of Gi to the coordinates in V∖S 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,v∈ℝm,⟨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,j∈S1, 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 n−k {±1} terms sampled uniformly and independently at random because every term in c⁢u⁢t⁢(S) is chosen independently to be in G. Therefore the third term satisfies |⟨Giout,Gjout⟩|≤O⁢(n⁢log⁡n) with high probability. Thus

⟨Gi,Gj⟩=|S1|+|S2|−2⁢|Ni⁢Δ⁢Nj|±O⁢(n⁢log⁡n)=k−2⁢|Ni⁢Δ⁢Nj|±O⁢(n⁢log⁡n).

Thus i,j∈S1 will be highly correlated if k≫O⁢(n⁢log⁡n) 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±n⁢log⁡n for i,j∈S 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,j∈S1 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,w∈S1 (or S2) if ⟨GiS,GjS⟩<k12/(3−t) and ⟨GiS,GwS⟩<k12/(3−t), then ⟨GjS,GwS⟩≥k12/(3−t).

Weak correlation between vectors when 𝒊∈𝑺 and 𝒋∈𝑽∖𝑺

If i∈S and j∈V∖S, 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⁢(k⁢log⁡k) 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 𝒢⁢(n−k,1/2) graph on V∖S 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 V∖S can form a large inner product with a vertex in S, when k≫n3/4. For a vertex i∈V, define Vi={j∈V|⟨Gi,Gj⟩≥k18/(3−t)}. We show in Lemma 7 using a subtle counting argument that there exist four vertices i,j,w,l∈S, using which we recover most of S, i.e. |(Vi∪Vj∪Vw∪Vl)⁢Δ⁢S|=O⁢(ϵ⁢|S|).

Lemma 7.

For k=Ω⁢(24ϵ1/2⁢(3−t)4⁢n3/4⁢log⁡n) with probability at least 1−1/n over the input of SRPB(n,k,1/2,t) there exist 4 vertices i,j,w,l of S such that |(Vi∪Vj∪Vw∪Vl)⁢Δ⁢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 l∈S then

⟨Gα,Gl⟩=k−2⁢|Nα⁢Δ⁢Nl|±O⁢(n⁢log⁡n)

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

⟨GαS1,GlS1⟩+⟨GαS2,GlS2⟩=O⁢(k⁢log⁡k).

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 V∖S satisfies ⟨Gαout,Glout⟩≥k/3 they showed this using restricted isometric property (RIP) of random matrices. To recover the planted bipartite subgraph when k≫n⁢log⁡n, 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 |S∖W|=O⁢(ϵ⁢k) and |W∖S|=o⁢(k) whenever k≥Ω⁢(1ϵ1/2⁢(3−t)4⁢n3/4⁢log⁡n) with probability 1−1/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,w∈S1 (or S2) can be simultaneously uncorrelated with each other.

Lemma 6. [Restated, see original statement.]

For all i,j,w∈S1 (or S2) if ⟨GiS,GjS⟩<k12/(3−t) and ⟨GiS,GwS⟩<k12/(3−t), then ⟨GjS,GwS⟩≥k12/(3−t).

Proof.

Assume i,j,w∈S1 and ⟨GiS,GjS⟩,⟨GjS,GwS⟩,⟨GiS,GwS⟩<k12/(3−t). Then

⟨GiS,GjS⟩=k−2⁢|Ni⁢Δ⁢Nj|<k/123−t⟹|Ni⁢Δ⁢Nj|>k2⁢(1−3−t12).

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

2⁢|Ni∪Nj∪Nw| =2⁢|Ni|+2⁢|Nj|+2⁢|Nw|−2⁢|Ni∩Nj|−2⁢|Ni∩Nw|−2⁢|Nw∩Nj|
+2⁢|Ni∩Nj∩Nw|
=|Ni⁢Δ⁢Nj|+|Ni⁢Δ⁢Nw|+|Nj⁢Δ⁢Nw|+2⁢|Ni∩Nj∩Nw|

Since Ni∪Nj∪Nw⊆S2 and |S2|≤t⁢k/(1+t), we have

2⁢t⁢k/(1+t) ≥2⁢|Ni∪Nj∪Nw|>3⁢k2⁢(1−3−t12)+2⁢|Ni∩Nj∩Nw|
⟹|Ni∩Nj∩Nw|<−(3−t)216⁢(1+t)<0⁢ if ⁢t<3,

which gives us a contradiction. Similarly if i,j,k∈S2 then Ni∪Nj∪Nw⊂S1 and |S1|≤k/2. Therefore

2⁢|Ni∩Nj∩Nw|<k−3⁢k2⁢(1−3−t12)=−k8⁢(1+t)<0.

◀

▶ Remark 8.

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

Call a pair of vertices i,j∈S good if ⟨GiS,GjS⟩≥k12/(3−t), 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={i∈S1|i⁢ forms a good pair with some other vertex in ⁢S1}

if S1∖T is nonempty then choose a vertex i from it. Since i∉T 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 V∖S. 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=Ω⁢(n⁢log⁡n) Then with probability at least 1−1/n over the draw of vectors vi, for every u∈{±1}n there are at most O⁢(242(3−t)2⁢n2/k2) vectors vi such that ⟨u,vi⟩≥k24/(3−t).

Proof.

Consider the n×k matrix H with columns v1,v2,…,vk. Then, by standard results in random matrix theory, ‖H‖2≤O⁢(n+k) with probability 1−1/n. Let ℬ⊂[k] be such that, for every i∈ℬ,⟨u,vi⟩≥k24/(3−t). Then, by the Cauchy-Schwartz inequality, we have

⟨u,H⁢1ℬ⟩≤‖u‖2⁢‖H⁢1ℬ‖2≤n⁢|ℬ|⁢‖H‖2≤O⁢(n⁢|ℬ|).

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

⟨u,H⁢1ℬ⟩=∑i∈ℬ⟨u,vi⟩≥|ℬ|⁢k24/(3−t).

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

Greedy Procedure.

For i∈V, define Vi={j∈V|⟨Gi,Gj⟩≥k18/(3−t)}. We show that we can reconstruct a bipartite graph which is close to the planted bipartite subgraph using i,j,w,l∈S .

We apply the Lemma 10 with Giout for each i∈S as a uniform random element of {±1}n−k and by taking u=Gjout for any j∈V∖S. By Lemma 10, for each j∈V∖S, at most O⁢(242(3−t)2⁢n2/k2) elements of i of S will satisfy ⟨Giout,Gjout⟩≥k24/(3−t). Using this and the fact that for all i∈S and j∈V∖S, ⟨GiS,GjS⟩=O⁢(k⁢log⁡k) with probability 1−1/n, we get that there are in total O⁢(242(3−t)2⁢n3/k2) pairs (i,j) such that i∈S,j∉S satisfying

⟨Gi,Gj⟩≥k18/(3−t)≥k24/(3−t)+O⁢(k⁢log⁡k).

By Markov’s inequality, a uniformly random i∈S satisfies ⟨Gi,Gj⟩≥k18/(3−t) for at most O⁢(242ϵ⁢(3−t)2⁢n3/k3) vertices j∈V∖S with probability 1−ϵ. If k≫O⁢(242ϵ⁢(3−t)2⁢n3/k3) e.g. k=Ω⁢(24ϵ1/2⁢(3−t)⁢n3/4⁢γ⁢(n)) such that limn→∞γ⁢(n)=∞, then at least k⁢(1−ϵ) vertices i of S will satisfy |Vi∖S|=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

|S∖S∗|≤ϵ⁢k. (1)

Note that to make the contribution from random terms small we need k18/3−t−k24/3−t>Ω⁢(k⁢log⁡k). Therefore we also need k=Ω⁢(log⁡k/(3−t)2).

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

Lemma 7. [Restated, see original statement.]

For k=Ω⁢(24ϵ1/2⁢(3−t)4⁢n3/4⁢log⁡n) with probability at least 1−1/n over the input of SRPB(n,k,1/2,t) there exist 4 vertices i,j,w,l of S such that |(Vi∪Vj∪Vw∪Vl)⁢Δ⁢S|=O⁢(ϵ⁢k).

Proof.

Let i∈S1∩S∗. Intuitively Lemma 6 gives us that if Vi doesn’t contain all vertices of S1 i.e. if S1∖Vi≠ϕ, then any two vertices j,w∈S1∖Vi will satisfy ⟨GiS,GwS⟩≥k/123−t so Vj⊃S1∖Vi i.e. Vi∪Vj⊃S1. But we also need j to be in S∗ for |(Vi∪Vj)∖S|=o⁢(k) which brings us to two cases.

Case 1.

Assume that (S1∖Vi)∖(S∖S∗)≠ϕ. Then by Lemma 6, any vertex j∈(S1∖Vi)∖(S∖S∗) (i.e. j∉Vi and j∈S1∩S∗) will satisfy Vj⊃S1∖Vi because for any other vertex w∈S1∖Vi, it must be that ⟨Gi,Gw⟩=⟨GiS,GwS⟩+⟨Giout,Gwout⟩<k18/(3−t), and since ⟨Giout,Gwout⟩=O⁢(n⁢log⁡n)≪k36/(3−t) with very high probability, it implies that ⟨GiS,GwS⟩<k12/(3−t). This implies that by Lemma 6 ⟨GjS,GwS⟩≥k12/(3−t) which means ⟨Gj,Gw⟩≥k18/(3−t) for any w∈S1∖Vi, so Vi∪Vj⊃S1. Also since j∈S1∩S∗ we have |(V1∪Vj)∖S|≤|Vi∖S|+|Vj∖S|=o⁢(k).

Case 2.

(S1∖Vi)∖(S∖S∗)=ϕ, then Vi has almost all the vertices of S1 because S1∖Vi⊂S∖S∗, so |S1∖Vi|≤|S∖S∗|=O⁢(ϵ⁢k) and since i∈S1∩S∗ we have |V1∖S|=o⁢(k).

Therefore either by case 1 or case 2 there exists either one or two vertices of S1 such that |S1∖(Vi∪Vj)|=O⁢(ϵ⁢k) and |(Vi∪Vj)∖S|=o⁢(k). Similarly we can find two vertices w,l∈S2 which satisfies |S2∖(Vw∪Vl)|=O⁢(ϵ⁢k) and (|Vw∪Vl)∖S|=o(k), which shows that there exists at most four vertices such that |(Vi∪Vj∪Vw∪Vl)⁢Δ⁢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 Gi⁢j⁢w. For α⊂V define Vα={i∈V|⟨Gα,Gi⟩≥k18/(3−t)}.

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⟩=⟨Gi⁢j⁢w,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 i∈V∖S, at most O⁢(242(3−t)2⁢n2/k2) subsets α⊂S of size 3 satisfy ⟨Gαout,Giout⟩≥k24/(3−t) with probability 0.99 whenever k≥Ω⁢(13−t⁢n⁢log⁡n).

Thus in total O⁢(242(3−t)2⁢n3/k2) pairs (α,j) such that α∈(S3),j∉S satisfying ⟨Gα,Gj⟩≥k18/(3−t)≥k24/(3−t)+O⁢(k⁢log⁡k), by Markov’s inequality, a uniformly random α∈(S3) satisfies ⟨Gα,Gj⟩≥k18/(3−t) for at most O⁢(242ϵ3⁢(3−t)2⁢n3/k5) with probability 1−ϵ3 and if k≫O⁢(242ϵ3⁢(3−t)2⁢n3/k5)⁢ and ⁢k=Ω⁢(13−t⁢n⁢log⁡n) e.g. (k=Ω⁢(241/3ϵ1/2⁢(3−t)⁢n⁢log⁡n) 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⁢(ϵ3⁢k3). (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 V∖S. To see this, observe that each vertex j∈S will satisfy ⟨Gα,Gj⟩=k±O⁢(n⁢log⁡n)≥k/6 and because α∈T∗, all but o⁢(k) vertices of V∖S 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 1−O⁢(ϵ) fraction of vertices of S using at most 12 vertices of S.

Lemma 12.

Whenever k=Ω⁢(241/3ϵ1/2⁢(3−t)2⁢n⁢log⁡n), with probability 0.99 there exists α1,α2∈(S13)∩T∗ such that |S1∖(Vα1∪Vα2)|≤O⁢(ϵ⁢k) and |(Vα1∪Vα2)∖S|≤o⁢(k), α3,α4∈(S23)∩T∗ such that |S2∖(Vα3∪Vα4)|≤O⁢(ϵ⁢k) and |(Vα3∪Vα4)∖S|≤o⁢(k) , which implies |S⁢Δ⁢(Vα1∪Vα2∪Vα3∪Vα4)|≤O⁢(ϵ⁢k).

Proof.
Case 1.

There exists α1,α2∈T∗∩(S13) such that S1⊂Vα1∪Vα2, which means that S1∖(Vα1∪Vα2)=ϕ. Since Vα1,Vα2∈T∗∩(S13), it implies that |Vα1∖S|,|Vα2∖S|=o⁢(k). Therefore |(Vα1∪Vα2)∖S|≤o⁢(k).

Case 2.

For all pairs of α1,α2∈T∗∩(S13), there exists a vertex iα1,α2∈S1 such that ⟨Gα1,Giα1,α2⟩<k18/(3−t) and ⟨Gα2,Giα1,α2⟩<k18/(3−t). Note that this implies that for α1,⟨Gα1S,Giα1,α2S⟩<k12/(3−t) because ⟨Gα1out,Giα1,α2out⟩=O⁢(n⁢log⁡n)≪k18/(3−t), and the same is true for α2 .

We will now show that ⟨Gα1S,Gα2S⟩≥k12/(3−t). Observe that Gα1⁢(i)=−1 whenever i∈S1, 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 p∈W2 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 at⁢h 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/(3−t),⟨Tb,Tc⟩=⟨Gα2S,Giα1,α2S⟩<k12/(3−t), and
⟨Ta,Tb⟩ =⟨Gα1S,Gα2S⟩

Then by Lemma 6 ⟨Ta,Tb⟩≥k12/(3−t), therefore for all α1,α2∈T∗

⟨Gα1S,Gα2S⟩≥k12/(3−t). (4)

For β∈(S12), let bβ be the number of vertices i∈S1 such that β∪{i}∈(S13)∖T∗. Then

13⁢∑β∈(S12)bβ≤|(S13)∖T∗|≤O⁢(ϵ3⁢k3).

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

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

For i∈S1, 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

bi≤O⁢(ϵ2⁢k2). (6)

Choose an m∈S1 for which bm≤O⁢(ϵ2⁢k2), now for t∈S1 call ct to be the number of elements t′ such that {m,t,t′}∈(S13)∖T∗. Next we observe that bm=12⁢∑t∈S1ct, therefore ∑t∈S1ct≤O⁢(ϵ2⁢k2). This implies that 1−ϵ fraction elements of S1 satisfy

ct≤O⁢(ϵ⁢k). (7)

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

Since |cl|≤O⁢(ϵ⁢k), for at least (1−O⁢(ϵ))⁢|S1| elements x∈S1 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,xS⟩≥k12/(3−t).

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

⟨Gi,j,m,Gx⟩=⟨Gi,j,mS,GxS⟩+⟨Gi,j,mout,Gxout⟩≥k12/(3−t)−O⁢(n⁢log⁡n)≥k18/(3−t)

and therefore x∈Vi⁢j⁢m. This shows that |S1∖Vi⁢j⁢m|≤O⁢(ϵ⁢k), and since {i,j,m}∈T∗ we have Vi⁢j⁢m∖S=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,α4∈T∗ such that |S⁢Δ⁢(Vα1∪Vα2∪Vα3∪Vα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αi∪Vαj∪Vαw∪Vα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 t≥1, in particular for t≥3, 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α={i∈V|⟨Gα,Gi⟩≥k6}. Therefore Algorithm 2 can be modified to output a list of subgraphs from which at least one subgraph W will satisfy |W∩S|≥(1−O⁢(ϵ))⁢t⁢k/(1+t) and |W∖S|≤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,j∈S1 then

⟨GiS,GjS⟩=k−2⁢|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α1∪Vα2)|=O⁢(ϵ⁢k) and |(Vα1∪Vα2)∖S1|=o⁢(k), and similarly for Vα3∪Vα4 with S2 and Vα5∪Vα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/k⌋2). [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 t≥3.

References

  • [1] Amit Agarwal, Moses Charikar, Konstantin Makarychev, and Yury Makarychev. O(log⁡n) 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.