Abstract 1 Introduction 2 Preliminaries 3 Incremental MIS 4 Fault Tolerant MIS 5 Fully dynamic MIS without rebuilding 6 Conclusion References Appendix A Tightness of the Incremental Algorithm

Dynamic MIS Revisited:
Incremental, Fault Tolerant and Fully Dynamic

Manoj Gupta Department of Computer Science and Engineering, Indian Institute of Technology Gandhinagar, India    Shahbaz Khan111Corresponding author ORCID Department of Computer Science and Engineering, Indian Institute of Technology Roorkee, India    Madhu Surendra Department of Computer Science and Engineering, Indian Institute of Technology Roorkee, India
Abstract

Given a dynamic graph G, we aim to maintain a maximal independent set (MIS). This problem admits a deterministic solution in O(m2/3) time [SOSA21], while randomized algorithms for oblivious adversary take O(polylogn) [FOCS19] time. Recently, Bernstein et al. [SODA26] proved a conditional lower bound of Ω(n1o(1)) amortized update time even for incremental MIS with adaptive adversary. In this paper, we establish similar deterministic bounds through the lens of incremental and fault tolerant algorithms for MIS, and show the following:

  1. 1.

    Incremental: MIS can be maintained under edge insertions in O(m) amortized update time.

  2. 2.

    Fault Tolerant: Using O(m) preprocessing time, the MIS can be reported after k edge deletions in O(k+n¯2) time, where n¯ is the number of vertices on which deleted edges are incident.

  3. 3.

    Fully Dynamic: MIS can be maintained under fully dynamic edge updates (insertions and deletions) in O(m2/3) amortized update time.

Our incremental result is thus polynomially optimal even on allowing randomization with an adaptive adversary. Our fully dynamic result matches the state-of-the-art [SOSA21], and uses our incremental and fault tolerant algorithms as a black box. Although our fully dynamic algorithm does not improve the existing bounds, it provides additional insights into the harder edge-insertion case. We believe these insights may potentially be useful for improving the bounds for fully dynamic MIS in the future to match the incremental MIS bounds.

Keywords and phrases:
Maximal Independent Set, MIS, Incremental, Fault Tolerant, Fully dynamic
Copyright and License:
[Uncaptioned image] © Manoj Gupta, Shahbaz Khan, and Madhu Surendra; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Dynamic graph algorithms
Related Version:
The incremental MIS algorithm was previously reported [9 ] but not published [10].
Previous Version: https://arxiv.org/abs/1804.01823 [9]
Acknowledgements:
We would like to thank the anonymous reviewers for pointing out the matching lower bound [SODA26] for incremental MIS with adaptive adversaries, strengthening our result.
Editor:
Pierre Fraigniaud

1 Introduction

Given a graph G=(V,E) with n vertices and m edges, a set V forms an independent set if no two vertices in share an edge, i.e., x,y,(x,y)E. A maximal independent set is one that cannot be extended by including any other vertex while preserving independence. Although computing a maximum cardinality independent set is NP-hard [8], a simple greedy algorithm computes a maximal independent set (MIS) in O(m) time.

A graph is incremental if it gains edges over time, decremental if it loses edges, and fully dynamic if both insertions and deletions occur. In dynamic settings, one can trivially maintain a maximal independent set (MIS) in O(m) update time by recomputing it from scratch after each update. Recent work has focused on improving this update time. Censor-Hillel et al. [5] presented the first non-trivial algorithm requiring O(Δ)=O(n) amortized update time, where Δ is the maximum degree of a vertex in the graph. Assadi, Onak, Schieber, and Solomon [1] improved it to an O(m3/4) time algorithm to maintain an MIS. Du and Zhang [7] improved this update time to O~(m2/3)222O~ hides polylogarithmic factors in n amortized, and independently Gupta and Khan [10] acheived O(m2/3), all using deterministic algorithms. Du and Zhang [7] also proposed a randomized algorithm with O~(m) update time, which was later improved to O~(n) and O~(m1/3) by Assadi et al. [2]. Finally, Chechik and Zhang [6] and Behnezhad et al. [3] independently achieved an O~(1) update time using randomized methods. All known algorithms with o(mc) update time are randomized assuming an oblivious adversary. Recently, Bernstein et al. [4] showed that even for randomized algorithms with an adaptive adversary, assuming the combinatorial BMM conjecture, there exists a lower bound of O(n1o(1)) amortized update time for incremental MIS, which naturally extend to deterministic and fully dynamic variants.

In this paper, we focus on deterministic algorithms for dynamically maintaining MIS. Despite not improving the state-of-the-art fully dynamic algorithm, our aim is to present further insights into the problem by using an alternate approach, potentially paving a way for improving the theoretical bounds in the future. Our results are as follows:

As a first step, we present a deterministic algorithm for maintaining an MIS in an incremental graph, where only edge insertions occur. Our algorithm achieves an amortized O(m) update time, improving over the current state-of-the-art [10].

Theorem 1 (Incremental MIS).

Given a graph G with n vertices, its MIS can be maintained under the insertion of m edges in amortized O(m) update time.

 Remark 2.

We also show that the upper bound of the incremental algorithm is tight in Appendix A. In the light of recent hardness result [4], our algorithm is polynomially optimal.

Next, we design a fault-tolerant algorithm for maintaining an MIS. In this setting, the graph G(V,E) remains static, and we preprocess it to construct a data structure that can efficiently answer the following query:

FaultTolerant(F): Compute an MIS of G(V,EF), where F is a set of edge failures.

We present a deterministic fault-tolerant algorithm with the following guarantee:

Theorem 3 (Fault Tolerant MIS).

Given a graph G(V,E) with n vertices, it can be preprocessed in O(m) time such that for any set FE of k edges, the MIS of G(V,EF) can be reported in O(k+n¯2}) time, where n¯ is the number of vertices incident to edges in F.

 Remark 4.

Since n¯=O(k), a simpler bound for the algorithm may be O(k2). However, we report the bound using n¯ because k can be O(m)=O(n2), but the time is bounded by O(n2) not O(k2)=O(n4). We further restrict it to O(n¯2) so that it can be directly used in our result as a black box, simplifying its analysis.

Finally, we combine the incremental and fault-tolerant algorithms to get the following:

Theorem 5 (Fully Dynamic MIS).

Given a graph G(V,E) with n vertices, its MIS can be maintained under fully dynamic edge updates in amortized O(m2/3) update time, where m is the current number of edges in G.

Although our algorithm does not improve the state-of-the-art theoretical bound, the new approach may present new insights to potentially improve the state-of-the-art in the future.

2 Preliminaries

Given a graph G(V,E) having n vertices and m edges, which is connected (mn1). We represent the graph G formed by deleting a set of edges FE from G as G(V,EF). Also, we represent a subgraph of G induced by the vertices in V as G(V) which refers to G(V,E) where E=E{V×V}. We represent the degree of a vertex v by deg(v), i.e., the number of neighbours of a vertex v in G. We also represent the maximum degree of a vertex in G as Δ. A set MV is independent if no two vertices in M share an edge, i.e., x,yM,(x,y)E. A maximal independent set is an independent set that cannot be extended by including any other vertex while preserving independence.

Fully dynamic algorithm with amortized 𝑶(𝚫) update time

We now review the basic O(Δ) [5] algorithm for maintaining a maximal independent set . Some of its procedures and results would be used as a black box in our algorithm.

The algorithm maintains a count[u] for each vertex u, which contains the number of neighbours of u in . Assuming we start with the empty graph, we set count[u]=0 for every uG and all the vertices are in . The algorithm maintains the following invariant

vMIS, iff count[v]=0 (1)

On insertion of an edge (u,v), InsertΔ (see Algorithm 1) checks if at least one of u or v is not in , in which case it simply updates its count if required. Else, if both are in , it removes one (say u) from , reducing the count of the neighbours of u. In case the count of any neighbour w becomes zero, it is added to , and the count of the neighbours of w is increased. On deletion of an edge (u,v), DeleteΔ simply updates the count of u or v if required. In case the count becomes zero, the corresponding vertex is added to , increasing the count of its neighbours.

By construction, whenever an edge is inserted or deleted, or a vertex enters or leaves its count is updated, and it is added to the according to Invariant 1. Thus, the correctness of the algorithm follows from the invariant.

Algorithm 1 Fully dynamic algorithm for MIS.

We now analyze the running time of the algorithm. The analysis hinges on the fact that both in InsertΔ(u,v) and DeleteΔ(u,v), at most one vertex is removed from while multiple vertices can be potentially added to .

Let ϕi(u)=deg(u) if u, else 0 after the i-th update step of the algorithm. We define ϕi=uϕi(u). After initialization, ϕo(u)=0 for each uV as in an empty graph, all the vertices are in . Thus, ϕo=0. Now, if DeleteΔ(u,v) is called at the i-th update step. In the first step of this procedure, (u,v) is removed from the graph. If u (or v), this decreases the potential of u (or v) by 1. In any case, the amortized cost of the first step is O(1). Let us look at the main part of the algorithm when w is added to . In this case, w informs all its neighbors about its inclusion in , incurring a cost of deg(w). But its potential also decreases from deg(w) to 0. Thus, the amortized cost of processing w is 0. This implies that the amortized running time of DeleteΔ(u,v) is O(1).

Now, if InsertΔ(u,v) is called at the i-th update step when an edge (u,v) is added to G. Addition of (u,v) in the graph, may increase the potential of u (or v) if u (or if v) by 1. Thus, the amortized running time of the last step of InsertΔ(u,v) is O(1). The main part of the algorithm is when u is removed from and many of its neighbours enter . Let w be a neighbor of u that enters . As discussed in the procedure DeleteΔ, the amortized cost of this operation is 0. Now, when u is removed from , the potential of u increases to deg(u). Also, u incurs deg(u) work to update the count of its neighbours. Thus, the amortized time to process u is O(deg(u)). Thus, the amortized time of InsertΔ(u,v) is O(deg(u)) if u is removed from and is O(1) otherwise, proving the following result.

Lemma 6.

For a given graph G(V,E), having m edges and n vertices, the amortized update time of an algorithm is O(deg(u)) if vertex u leaves the MIS , and O(1) otherwise.

Since in both InsertΔ and DeleteΔ, at most one vertex (say u) leaves the MIS in each update, the amortized update time is bounded by O(deg(u))O(Δ). This proves the amortized O(Δ) update time of the algorithm.

3 Incremental MIS

We now consider the problem of maintaining an MIS in an incremental graph. We refer to a vertex v as light if deg(v)Δl and heavy otherwise, where Δl shall be computed later. Since the graph is incremental, all vertices start as light, and once a vertex becomes heavy, it remains heavy. Note that this distinction is required only for the analysis and not the algorithm. Similar to the O(Δ) algorithm, each vertex v maintains the count of its neighbours in the as count[v].

Now, our algorithm matches the insert procedure InsertΔ exactly except for one crucial modification (see Algorithm 2). On insertion of an edge (u,v), if both the vertices are in , instead of arbitrarily removing a vertex u from , we perform a degree biased removal, i.e., we remove the vertex u having lower degree deg(u). Since the remaining procedure exactly matches InsertΔ, it correctness also follows from the correctness of O(Δ) algorithm.

Algorithm 2 Incremental(u,v).

We now analyze the running time of our algorithm. Lemma 6 shows that the amortized update time of an update is O(deg(u)) if a vertex u leaves . Moreover, in each update, at most one vertex can leave . Let the ith edge update inserts the edge (ui,vi), such that ui leave (if any). We analyze the total time taken by a vertex over two phases: when it is light (deg(ui)Δl) and when it becomes heavy (deg(ui)>Δl). If ui is light, then we remove it from in O(Δl) amortized time, since deg(ui)Δl. If ui is heavy, then vi must also be heavy since ui was removed from only because deg(vi)deg(ui)Δl. Let the number of times a heavy vertex leaves be nh. Since a heavy ui can leave only when vi is heavy, nhO(mΔl) as there are O(mΔl) heavy vertices in the final graph. Therefore, ui can be removed from at most O(nh)=O(mΔl) times due to its heavy neighbors.

Combining both phases, we now compute the total amortized update time for m insertions.

i=1mO(deg(ui)) = i:uiis lightO(deg(ui)) + i:uiis heavyO(deg(ui))
i=1mO(Δl) + uVnh×O(deg(u))
O(mΔl) + O(mnh)

Hence, the total amortized update time of our incremental algorithm is O(m(Δl+nh)), giving amortized O(Δl+nh) update time, resulting in the following lemma:

Lemma 7.

Maintaining the MIS in the incremental setting requires amortized O(Δl+nh) update time, where Δl is the maximum degree of a light vertex, and nh is the number of times a heavy vertex leaves .

Since nh=O(mΔl), substituting Δl=m gives us the following result.

Theorem 1 (Incremental MIS). [Restated, see original statement.]

Given a graph G with n vertices, its MIS can be maintained under the insertion of m edges in amortized O(m) update time.

 Remark 8.

We show that the upper bounds for the O(Δ) algorithm and our incremental algorithm are tight in Appendix A.

4 Fault Tolerant MIS

We now describe our fault tolerant algorithm. It follows from the simple delete procedure DeleteΔ of the O(Δ) algorithm with a careful analysis. Given that static graph G(V,E), we preprocess it to build a data structure to answer the following query.

FaultTolerant(F): Compute an MIS of G(V,EF), where F is a set of edge failures.

Our fault tolerant algorithm preprocesses the graph to compute the maximal independent set of G and count[v] for every vV. These can be computed in O(m) time using the static algorithm. The pseudocode for the query algorithm is shown in Algorithm 3.

Let the end vertices of the edges in F be VF. The deletion of edges in F can potentially reduce the count[v] for a vertex vVF if the other end vertex is in . In case this count becomes zero, the vertex may be potentially added to . Let the set of such vertices be Vd. Since the vertices in Vd may not be independent, we cannot simply add all the vertices in Vd to . Instead, we add the MIS ’ of the subgraph G(Vd) to . However, since we are dealing with the fault tolerant model, we do not modify the count[] and directly. We instead make a copy c[v] of count[v], which is modified, so that the changes need not be reversed after the query. Thus, our data structure can be directly used for the next query F.

Algorithm 3 FaultTolerant(F): Return vertices added to after deleting the edges F.

Let n¯ be the number of vertices on which the edges in F are incident, hence |VF|=n¯. Now, VF can be computed in O(k) time, c[v] can be initialized in O(n¯) time and updated in O(k) time while processing each edge in F. Thereafter, Vd can be computed in O(n¯) time where VdVF hence |Vd|=O(n¯). The MIS on G(Vd) can computed in O(|Vd|2)=O(n¯2) time. We thus get the following result for fault tolerant MIS.

Theorem 3 (Fault Tolerant MIS). [Restated, see original statement.]

Given a graph G(V,E) with n vertices, it can be preprocessed in O(m) time such that for any set FE of k edges, the MIS of G(V,EF) can be reported in O(k+n¯2}) time, where n¯ is the number of vertices incident to edges in F.

5 Fully dynamic MIS without rebuilding

We now describe our fully dynamic algorithm for MIS requiring O(min{Δ,m2/3}) time which matches the state-of-the-art algorithm [10]. While the previous algorithm was based on O(Δ) algorithm [1] and the static algorithm, our algorithm is based on the incremental and fault tolerant algorithms described earlier.

At its core, our algorithm classifies a vertex v as light if deg(v)m2/3, and heavy otherwise (similar to [10]). All insertions are performed using the incremental algorithm, while the deletions are performed based on the incident vertices. In case at least one of the incident vertices is light, we use the delete procedure DeleteΔ from the basic O(Δ) algorithm. However, if both incident vertices are heavy, we collect the deleted edges in F and use our fault tolerant algorithm to report the solution after every update. This essentially handles the harder case of edge insertion between two heavy vertices, as handling their deletion limits such insertions similar to the incremental algorithm. If such an edge (deleted and stored in F) is inserted back into the graph, it is simply removed from F, and the fault tolerant algorithm updates accordingly (see pseudocode in Algorithm 4).

Algorithm 4 Fully dynamic MIS using incremental and fault tolerant MIS algorithms.

The main intuition behind the time complexity is to limit the number of times a heavy vertex v leaves the MIS in the incremental algorithm. This is bounded by the number of edges inserted between v and a heavy vertex. In the fully dynamic setting, we avoid repeated insertions of such edges using the fault tolerant algorithm to process their deletions temporarily without affecting the main algorithm. Thus, given Δl=m2/3 and nh=m1/3 (as an edge to each of m1/3 heavy vertex can be inserted exactly once), the edge insertions can be processed in amortized O(m2/3) time (Lemma 7). Now, the edges collected in F are incident on both heavy vertices, resulting in k=m2/3 and n¯=m1/3, allowing the fault tolerant algorithm to be processed in O(m2/3) time (Theorem 3). Thus, the edge deletions can be processed in O(m2/3) amortized time requiring O(1) amortized if at least one incident vertex is light (Lemma 6, as no vertex leaves ) and O(m2/3) for the fault tolerant algorithm. This results in the following fully dynamic algorithm.

Theorem 5 (Fully Dynamic MIS). [Restated, see original statement.]

Given a graph G(V,E) with n vertices, its MIS can be maintained under fully dynamic edge updates in amortized O(m2/3) update time, where m is the current number of edges in G.

 Remark 9.

The algorithm distinguishes the vertices as heavy or light based on a degree threshold c=m2/3. However, the value of m keeps changing in a fully dynamic graph. We thus initialize the threshold c0=m02/3, where m0 is the initial number of edges. We keep the same threshold while m02m2m0. In case m passes this range, we rebuild the MIS with F= and m0=m. The total cost of the algorithm O(m×m2/3) can be amortized among the O(m0) updates after which m exceeded the bounds, requiring amortized O(m2/3) time.

 Remark 10.

The fully dynamic setting can also potentially change the status of a vertex between light and heavy. In case a vertex v converts from light to heavy, no update is required as newly deleted edges on v will be added to F. However, in case a vertex converts from heavy to light, all its edges in F need to be deleted from the graph G, requiring potentially O(m2/3) amortized time per deletion. We thus relax the criteria, converting a light vertex v to heavy if deg(v)>m2/3 but converting it to light when deg(v)<m2/32. This allows to charge O(m2/3) for the deletion of its O(m1/3) edges to heavy vertices during the O(m2/3) updates when m2/32<deg(v)<m2/3 resulting in amortized O(m1/3) time per update.

 Remark 11.

Though our proposed algorithm divides the vertices into light and heavy, similar to the state-of-the-art algorithm [10], its handling of heavy updates avoids rebuilding the MIS for heavy vertices using a simpler fault tolerant algorithm. Thus, our algorithm is expected to perform better in practice for edge updates between heavy vertices.

6 Conclusion

The dynamic MIS problem is one of the unique problems in which handling edge insertions is apparently harder than edge deletions. For most classical graph problems, such as connectivity, reachability, shortest paths, etc., handling edge deletions is harder than edge insertions. Hence, given a faster algorithm for incremental MIS requiring O(m) amortized update time, we are hopeful to achieve the same bound for the fully dynamic case. Further, given the lower bound of O(n1o(1)) for incremental MIS, a polynomial improvement is not possible even for a randomized algorithm with an adaptive adversary.

In this paper, we highlighted an alternate way to handle insertions faster. We also presented a fully dynamic algorithm utilizing insights from the incremental and fault tolerant algorithm, although without improving the state-of-the-art. We believe that new insights may be drawn from our work, potentially resulting in a faster fully dynamic algorithm.

References

  • [1] Sepehr Assadi, Krzysztof Onak, Baruch Schieber, and Shay Solomon. Fully dynamic maximal independent set with sublinear update time. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, Los Angeles, CA, USA, June 25-29, 2018, pages 815–826, 2018. doi:10.1145/3188745.3188922.
  • [2] Sepehr Assadi, Krzysztof Onak, Baruch Schieber, and Shay Solomon. Fully dynamic maximal independent set with sublinear in n update time. In Timothy M. Chan, editor, Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019, pages 1919–1936. SIAM, 2019. doi:10.1137/1.9781611975482.116.
  • [3] Soheil Behnezhad, Mahsa Derakhshan, MohammadTaghi Hajiaghayi, Cliff Stein, and Madhu Sudan. Fully dynamic maximal independent set with polylogarithmic update time. In David Zuckerman, editor, 60th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2019, Baltimore, Maryland, USA, November 9-12, 2019, pages 382–405. IEEE Computer Society, 2019. doi:10.1109/FOCS.2019.00032.
  • [4] Aaron Bernstein, Sayan Bhattacharya, Nick Fischer, Peter Kiss, and Thatchaphol Saranurak. Separations between oblivious and adaptive adversaries for natural dynamic graph problems. In Kasper Green Larsen and Barna Saha, editors, Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2026, Vancouver, BC, Canada, January 11-14, 2026, pages 5669–5687. SIAM, 2026.
  • [5] Keren Censor-Hillel, Elad Haramaty, and Zohar Karnin. Optimal dynamic distributed mis. In Proceedings of the 2016 ACM Symposium on Principles of Distributed Computing, PODC ’16, pages 217–226, 2016. doi:10.1145/2933057.2933083.
  • [6] Shiri Chechik and Tianyi Zhang. Fully dynamic maximal independent set in expected poly-log update time. In David Zuckerman, editor, 60th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2019, Baltimore, Maryland, USA, November 9-12, 2019, pages 370–381. IEEE Computer Society, 2019. doi:10.1109/FOCS.2019.00031.
  • [7] Yuhao Du and Hengjie Zhang. Improved algorithms for fully dynamic maximal independent set. arXiv preprint arXiv:1804.08908, 2018. arXiv:1804.08908.
  • [8] Michael R. Garey and David S. Johnson. Computers and Intractability; A Guide to the Theory of NP-Completeness. W. H. Freeman & Co., New York, NY, USA, 1990.
  • [9] Manoj Gupta and Shahbaz Khan. Simple dynamic algorithms for maximal independent set and other problems. CoRR, abs/1804.01823, 2018. arXiv:1804.01823.
  • [10] Manoj Gupta and Shahbaz Khan. Simple dynamic algorithms for maximal independent set, maximum flow and maximum matching. In Hung Viet Le and Valerie King, editors, 4th Symposium on Simplicity in Algorithms, SOSA 2021, Virtual Conference, January 11-12, 2021, pages 86–91. SIAM, 2021. doi:10.1137/1.9781611976496.10.

Appendix A Tightness of the Incremental Algorithm

We now present worst-case examples demonstrating the tightness of the analysis of O(Δ) algorithm and our incremental MIS algorithm. These essentially highlight the difference between arbitrary removal and degree biased removal of an end vertex on insertion of an edge between two vertices of the MIS.

A.1 Arbitrary removal

We start with an empty graph where all the vertices are in MIS. Let the vertices be divided into two sets 𝒜={a1,,ak} and =b1,,bt (refer to Figure 1), where 𝒜 has k=m/Δ vertices and has the remaining t=nm/Δ=O(n) vertices.

Figure 1: Worst case example for arbitrary removal.

We shall divide the insertion of edges into t phases, where in the jth phase we add an edge from each vertex of 𝒜 to bj. And we always chose the vertex of 𝒜 to be removed from MIS . At the end of the phase, all vertices of 𝒜 are out of and are connected to bj. The phase ends with the addition of an edge between bj and bj+1, which removes bj from and hence all vertices of 𝒜 are moved back to . Since each vertex is allowed only Δ neighbours, and each phase adds a neighbour to each vertex in 𝒜, we stop after t=Δ phases.

Hence, after t phases, we have added all the edges between 𝒜 and the first t vertices in , and among the first t adjacent vertices of . Overall we add O(|𝒜|×t+t) edges, which equals to O(kt)=O(mΔΔ)=O(m) edges.

Using Lemma 6, the total edges processed during the jth phase is the sum of the degrees of vertices that were removed from , i.e., all the vertices in 𝒜 and bj. Now, in the jth phase the degree of each vertex in 𝒜 is j1, being connected to b1,,bj1 and the degree of bj is k. Hence, the total work in jth phase is |𝒜|×(j1)+k=k×j. Thus, the total work done over all phases is

j=1tΩ(k×j)=Ω(k×t2)=Ω(mΔ×Δ2)=Ω(mΔ)

Thus, we have the following bound for O(Δ) algorithm in incremental (and hence fully dynamic) setting.

Theorem 12.

For each value of nm(n2) and 1Δn, there exists a sequence of m edge insertions where the degree of each vertex is bounded by Δ for which O(Δ) algorithm requires total Θ(mΔ) time to maintain the MIS.

A.2 Degree biased removal

In this example, we consider our incremental MIS algorithm, which chooses the end vertex with the lower degree to be removed from when an edge is inserted between two vertices in . We essentially modify the previous example to make sure the vertices of 𝒜 necessarily fall when connected to the vertices in .

Let the vertices to be divided into two sets 𝒜={a1,,ak} and ={b1,,bt} as before, and an additional set 𝒞 of residual vertices to ensure that degrees of vertices in are sufficiently high (refer to Figure 2), where k=t=m/4. We connect each vertex bi with some m+1 vertices in 𝒞. Additionally, we have a vertex b0, connected to all the O(n) vertices in 𝒞. We initialize the MIS with all vertices of 𝒜, , and b0 in .

Figure 2: Tightness Example for degree biased removal.

Again, we divide the insertion of edges into t phases, where in the jth phase we add an edge from each vertex of 𝒜 to bj. Since the maximum degree of a vertex in 𝒜 is ||, and the degree of each bj is m+1, we always have the vertex of 𝒜 to be removed from MIS . At the end of the phase, all vertices of 𝒜 are out of and are connected to bj. The phase ends with the addition of (bj,b0), which removes bj from and hence all vertices of 𝒜 are moved back to .

Hence, after t phases, we have added all the edges between 𝒜 and , between each vertex of and b0. The initial graph already had each vertex of connected to some m+1 neighbours in 𝒞 and b0 connected to all neighbours of 𝒞. Overall we add O(|𝒜|×||+||×(m+1)+||+n) edges, which equals to O(kt+tm+n)=O(m+n) edges.

Again, using Lemma 6, the total edges processed during the jth phase is the sum of the degrees of vertices that were removed from , i.e., all the vertices in 𝒜 and bj. Now, in the jth phase the degree of each vertex in 𝒜 is j1, being connected to b1,,bj1 and the degree of bj is Ω(m). Hence, the total work done in jth phase is Ω(|𝒜|×j+m)=Ω(k×j+m). Thus, the total work done over all phases is

j=1tΩ(k×(j1)+m)=Ω(k×t2+km)=Ω(m×m2+m)=Ω(mm)

Thus, we have the following bound for our incremental MIS algorithm.

Theorem 13.

For each value of nm(n2), there exists a sequence of m edge insertions for which our incremental algorithm requires total Θ(mm) time to maintain the MIS.

 Remark.

This example is similar to the previous example with the exception that in this case, the degree of vertices in should remain higher than the degree of a vertex in 𝒜, i.e., || at the end of all the phases. Hence, ||m else the total edges in G would be Ω(m). Thus, the number of neighbours of 𝒜 in cannot be increased despite choosing any large value of Δ. As evident from the previous example in the absence of such a restriction, the amortized time can be raised to Δ, implying the significance of the degree biased removal in the incremental algorithm.