1. Home
  2. Explore
  3. Computer Science
  4. Practical Dynamic Graph Algorithms

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Practical Dynamic Graph Algorithms

  • 75Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Graph Models
In the sequential dynamic model, edge insertions and deletions arrive
, and the algorithm must maintain a graph property after each update.

75 questions

  1. 1
    In the sequential dynamic model, edge insertions and deletions arrive
    _____
    , and the algorithm must maintain a graph property after each update.
    Hint

    Contrast this with receiving several updates together.

    Answer

    sequentially

  2. 2
    In the batch dynamic model, multiple edge insertions and deletions are processed together as a
    _____
    .
    Hint

    This model groups updates that may happen at the same time.

    Answer

    batch

  3. 3
    A batch dynamic algorithm produces the final graph after performing all of the batch's
    _____
    and deletions.
    Hint

    These updates add edges to the graph.

    Answer

    insertions

  4. 4
    In a streaming graph model, edges arrive one at a time, and the algorithm stores only some portion of the stream in
    _____
    memory.
    Hint

    The graph is too large to fit entirely in memory.

    Answer

    small

  5. 5
    The two main complexity measures in the streaming model are total memory usage and the number of
    _____
    through the stream.
    Hint

    A streaming algorithm may need to scan the input more than once.

    Answer

    passes

  6. 6
    In an insertion-only stream, the corresponding dynamic algorithms are called
    _____
    dynamic algorithms.
    Hint

    The graph only grows because updates add edges.

    Answer

    incremental

  7. 7
    In the shared-memory setting, multiple cores can process parts of a graph in parallel while reading and writing to the same shared
    _____
    memory.
    Hint

    This is the computer's common central memory.

    Answer

    main

  8. 8
    The shared-memory work-depth model measures an algorithm using work and depth, also called the
    _____
    .
    Hint

    This measure concerns the longest chain of sequential dependencies.

    Answer

    span

  9. 9
    In the work-depth model,
    _____
    is the total number of operations performed by the algorithm.
    Hint

    It counts all operations, whether or not they occur in parallel.

    Answer

    work

  10. 10
    The Massively Parallel Computation model is commonly abbreviated as the
    _____
    model.
    Hint

    Its full name begins with Massively Parallel.

    Answer

    MPC

  11. 11
    In the MPC model, the machines communicate through synchronous
    _____
    .
    Hint

    All machines coordinate in repeated communication steps.

    Answer

    rounds

  12. 12
    If an MPC system has MMM machines with SSS space per machine, its total space is
    _____
    .
    Hint

    Multiply the number of machines by the memory allocated to each one.

    Answer

    MSM SMS

  13. 13
    In the MPC model described, the graph is partitioned across machines by assigning its
    _____
    across the machines.
    Hint

    The presentation specifies which graph components are distributed.

    Answer

    edges

  14. 14
    A desirable MPC memory regime uses space per machine that is sublinear in the number of graph
    _____
    .
    Hint

    This refers to vertices rather than edges.

    Answer

    nodes

  15. 15
    The key MPC complexity measures are total space, space per machine, and the number of communication
    _____
    .
    Hint

    This is the same repeated coordination unit used by distributed systems.

    Answer

    rounds

  16. 16
    An oblivious adversary determines updates before running the algorithm and does not observe the algorithm's previous
    _____
    .
    Hint

    These are the results produced after earlier updates.

    Answer

    outputs

  17. 17
    An adaptive adversary can observe the algorithm's previous
    _____
    .
    Hint

    Unlike an oblivious adversary, this adversary reacts to what the algorithm reveals.

    Answer

    outputs

  18. 18
    The strongest version of an adaptive adversary may also observe the internal
    _____
    of the algorithm.
    Hint

    These are the algorithm's internal random or deterministic information.

    Answer

    bits

  19. 19
    A deterministic algorithm is robust against the strongest version of the
    _____
    adversary.
    Hint

    This adversary can see outputs and possibly internal bits.

    Answer

    adaptive

  20. 20
    In the central model of differential privacy, the private graph is given to a trusted
    _____
    .
    Hint

    This party runs the private algorithm and releases answers.

    Answer

    curator

  21. 21
    The privacy guarantee used to protect users' graph information is called
    _____
    .
    Hint

    It compares output distributions on neighboring inputs.

    Answer

    differential privacy

  22. 22
    An algorithm is �epsilon�epsilon�epsilon-differentially private when its output probabilities on neighboring inputs differ by a factor controlled by the privacy parameter
    _____
    .
    Hint

    This parameter controls the strength of the privacy guarantee.

    Answer

    ϵ\epsilonϵ

  23. 23
    A smaller value of ϵ\epsilonϵ provides stronger privacy because it allows a smaller difference between output
    _____
    .
    Hint

    Differential privacy compares the likelihood of possible outputs.

    Answer

    probabilities

  24. 24
    For edge privacy, two neighboring graphs differ by exactly
    _____
    edge.
    Hint

    The neighboring relation hides the presence or absence of a single edge.

    Answer

    one

  25. 25
    In the local model of differential privacy, each node applies a private local
    _____
    .
    Hint

    It takes private adjacency information as input and produces a privatized response.

    Answer

    randomizer

  26. 26
    The private input to a node's local randomizer is its own
    _____
    .
    Hint

    This data records the node's incident edges.

    Answer

    adjacency list

  27. 27
    For local privacy, neighboring adjacency-list inputs differ in exactly one
    _____
    .
    Hint

    The local neighboring relation changes one binary piece of information.

    Answer

    bit

  28. 28
    In the local privacy protocol, nodes send privatized information to an untrusted
    _____
    .
    Hint

    This party coordinates the computation but need not be trusted with raw private data.

    Answer

    curator

  29. 29
    The local privacy model can be viewed as a distributed algorithm in which nodes communicate through several interactive
    _____
    .
    Hint

    Each round involves public information going to nodes and privatized information returning.

    Answer

    rounds

  30. 30
    In the local privacy model described, the graph is fixed at the beginning, so the adjacency list remains
    _____
    across rounds.
    Hint

    No dynamic updates occur during this local model.

    Answer

    constant

  31. 31
    Even if a curator sends personalized messages to different nodes, the model assumes that other curious parties could eventually see those messages, so the messages might as well be
    _____
    .
    Hint

    This means making all messages visible to everyone.

    Answer

    broadcast

  32. 32
    A locally adjustable graph algorithm operates for a small number of rounds, and in each round each node uses information from a local
    _____
    .
    Hint

    The information comes from nearby nodes rather than the entire graph.

    Answer

    neighborhood

  33. 33
    In each round of a locally adjustable graph algorithm, each node takes only a small number of
    _____
    .
    Hint

    These are the local operations performed after receiving neighborhood information.

    Answer

    actions

  34. 34
    A simple locally adjustable algorithm begins with every node in an initial
    _____
    .
    Hint

    Nodes use this information to produce their first messages.

    Answer

    state

  35. 35
    After receiving neighbors' function outputs, a node counts how many satisfy a specified
    _____
    .
    Hint

    The node is not necessarily counting all outputs, only those meeting a condition.

    Answer

    constraint

  36. 36
    The node uses the count of qualifying neighbor outputs to update its internal
    _____
    .
    Hint

    This is the information that changes from one round to the next.

    Answer

    state

  37. 37
    Locally adjustable graph algorithms naturally use point-to-point messages between
    _____
    .
    Hint

    The communication is local rather than a global broadcast.

    Answer

    neighbors

  38. 38
    The goal of a transferable data structure is to work in many computational models with only
    _____
    changes.
    Hint

    The desired modifications should not require redesigning the entire algorithm.

    Answer

    incremental

  39. 39
    An ideal transferable algorithm achieves the best-known theoretical guarantees in as many
    _____
    as possible.
    Hint

    The talk compares shared-memory, MPC, streaming, and privacy settings.

    Answer

    models

  40. 40
    Combining dynamic graph algorithms with differential privacy produces the
    _____
    release model.
    Hint

    This model releases private results after every update.

    Answer

    continual

  41. 41
    Combining distributed computation with differential privacy produces the
    _____
    privacy model.
    Hint

    In this model, privacy protection is performed at individual nodes.

    Answer

    local

  42. 42
    The k-core of a graph is the maximal induced subgraph in which every vertex has degree at least
    _____
    .
    Hint

    This is the parameter named in the term k-core.

    Answer

    kkk

  43. 43
    The core number of a vertex vvv is the maximum value of kkk for which the
    _____
    contains vvv.
    Hint

    Use the definition of the nested subgraphs in the decomposition.

    Answer

    kkk-core

  44. 44
    A vertex with a very large ordinary degree can still have a small
    _____
    number.
    Hint

    The talk emphasizes that ordinary degree and k-core membership are different.

    Answer

    core

  45. 45
    The exact k-core decomposition problem is difficult for differential privacy because private algorithms for the exact problem probably do not
    _____
    .
    Hint

    The talk describes the exact private problem as unavailable.

    Answer

    exist

  46. 46
    To obtain algorithms with useful parallel, distributed, and private guarantees, the exact problem is relaxed to the
    _____
    k-core decomposition problem.
    Hint

    The relaxed version permits bounded error.

    Answer

    approximate

  47. 47
    A ccc-approximate core number is bounded below by 1/c1/c1/c times the exact core number and above by
    _____
    times the exact core number.
    Hint

    The definition uses a two-sided multiplicative factor.

    Answer

    ccc

  48. 48
    The two-sided approximation definition can be converted into a one-sided definition by multiplying the bounds by
    _____
    .
    Hint

    This removes the lower factor of 1/c1/c1/c.

    Answer

    ccc

  49. 49
    The level data structures used for approximate k-core decomposition partition the graph's
    _____
    across levels.
    Hint

    Each node is assigned to a level and may move between levels.

    Answer

    vertices

  50. 50
    The related graph concepts mentioned alongside k-core decomposition are dense subgraphs, arboricity, and
    _____
    .
    Hint

    This is the third neighboring concept listed in the talk.

    Answer

    degeneracy

  51. 51
    The level structure contains log⁡n\log nlogn levels, with vertices moving up or down according to specified
    _____
    .
    Hint

    These determine when a vertex changes its assigned level.

    Answer

    rules

  52. 52
    For an insertion, a vertex adjacent to the updated edge is initially marked as
    _____
    .
    Hint

    Only these vertices are examined for possible upward movement.

    Answer

    active

  53. 53
    The induced degree used by the insertion procedure counts neighbors in the same level and
    _____
    levels.
    Hint

    The algorithm looks upward from the vertex's current level.

    Answer

    higher

  54. 54
    An active vertex moves up when its induced degree exceeds the threshold 2(1+η)2(1+\eta)2(1+η), written in the example as
    _____
    .
    Hint

    The example sets η=0.1\eta=0.1η=0.1.

    Answer

    2.12.12.1

  55. 55
    After an active vertex moves upward, it remains
    _____
    , while a vertex that does not move upward becomes inactive.
    Hint

    The algorithm continues checking vertices that moved.

    Answer

    active

  56. 56
    The insertion procedure repeatedly recomputes induced degrees and moves active vertices upward until termination or until all vertices become
    _____
    .
    Hint

    No further active vertices remain to process.

    Answer

    inactive

  57. 57
    The insertion procedure can also be interpreted as a type of
    _____
    algorithm.
    Hint

    This interpretation comes from related graph-decomposition literature.

    Answer

    peeling

  58. 58
    Vertices in the highest level have core numbers approximately within a factor of
    _____
    of the structure's cutoff.
    Hint

    The approximation is described as a constant-factor estimate.

    Answer

    two

  59. 59
    To cover a wide range of possible core numbers, the algorithm stacks O(log⁡n)O(\log n)O(logn) copies of the level structure with cutoffs increasing by a factor of
    _____
    .
    Hint

    Each successive copy uses a multiplicatively larger cutoff.

    Answer

    1+η1+\eta1+η

  60. 60
    The approximate core number of a vertex is obtained from the largest cutoff for which the vertex lies above the group's
    _____
    level.
    Hint

    Look at the highest level within each stacked copy.

    Answer

    topmost

  61. 61
    The constant 2.12.12.1 in the illustrative cutoff can be replaced by 222 plus any constant greater than
    _____
    .
    Hint

    The talk describes an arbitrarily small positive additive amount.

    Answer

    zero

  62. 62
    In the locally adjustable formulation of the level structure, a node's state is its current
    _____
    .
    Hint

    This is the quantity that changes when the node moves up or down.

    Answer

    level

  63. 63
    A node determines its new level by counting neighbors at or above its current
    _____
    .
    Hint

    The count is based on neighboring level information.

    Answer

    level

  64. 64
    The batch-dynamic shared-memory algorithm achieves work matching the best amortized work per update of the best-known
    _____
    algorithm.
    Hint

    This is the classic one-update-at-a-time baseline.

    Answer

    sequential

  65. 65
    The batch-dynamic shared-memory algorithm provides a 2+η2+\eta2+η approximation with
    _____
    depth.
    Hint

    The depth grows as a polynomial in a logarithm of the input size.

    Answer

    polylogarithmic

  66. 66
    The batch-dynamic shared-memory algorithm can be made deterministic by adding a few logarithmic factors to its
    _____
    .
    Hint

    The extra factors affect parallel running time rather than work.

    Answer

    depth

  67. 67
    The only randomization used in the current shared-memory depth result comes from
    _____
    .
    Hint

    These data structures use randomized hashing.

    Answer

    hash tables

  68. 68
    The local edge-differentially private algorithm has a 2+η2+\eta2+η approximation with
    _____
    -sided error.
    Hint

    Unlike the batch-dynamic result, the guarantee is not two-sided.

    Answer

    one

  69. 69
    The local differential privacy result includes an additive error term proportional to log⁡n\log nlogn divided by
    _____
    .
    Hint

    This is the privacy parameter controlling the noise magnitude.

    Answer

    ϵ\epsilonϵ

  70. 70
    To transform the level structure into a locally private algorithm, independent noise is drawn from a
    _____
    distribution.
    Hint

    The talk gives the probability mass function of this discrete noise distribution.

    Answer

    geometric

  71. 71
    In the private transformation, the noisy quantity used to decide whether a vertex moves is the induced degree plus the sampled
    _____
    .
    Hint

    This is the perturbation added for privacy.

    Answer

    noise

  72. 72
    The private level algorithm draws new noise each time a vertex remains
    _____
    and must be checked again.
    Hint

    These vertices continue participating in later iterations.

    Answer

    active

  73. 73
    A major open question for the MPC algorithm is to reduce its number of communication
    _____
    to at least the static-setting bound.
    Hint

    The desired improvement concerns repeated machine coordination.

    Answer

    rounds

  74. 74
    For local differential privacy, the talk suggests that the number of logarithmic factors in the additive error may be
    _____
    .
    Hint

    The goal is to make the error term smaller without eliminating necessary lower-bound terms.

    Answer

    reduced

  75. 75
    The presentation's broader research goal is to identify problems whose algorithms can be transferred easily between different computational
    _____
    .
    Hint

    The models include dynamic, parallel, distributed, streaming, and private settings.

    Answer

    models

1 of 75
Question 1 of 75

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent