Change Password

Please enter the password.
Please enter the password. Between 8-64 characters. Not identical to your email address. Contain at least 3 of: uppercase, lowercase, numbers, and special characters.
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

Apply New License

License Detail

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

The MAC address of the server you want to deploy.

Please complete this required field.

Please complete this required field.

Cancel
Apply
ID
Product
Status
Cores
Applied Validity Period(days)
Effective Date
Excpired Date
Mac Address
Apply Comment
Review Comment
Close
Profile
  • Full Name:
  • Phone:
  • Company:
  • Company Email:
  • Country:
  • Language:
Change Password
Apply

You have no license application record.

Apply
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

Product Created On ID Amount (USD) Invoice
Product Created On ID Amount (USD) Invoice

No Invoice

v5.0
Search
    English
    v5.0

      CELF

      ✓ File Writeback ✕ Property Writeback ✓ Direct Return ✓ Stream Return ✕ Stats

      Overview

      The CELF (Cost Effective Lazy Forward) algorithm is used to select some seed nodes in a network as propagation source to reach as many nodes as possible. This is known as Influence Maximization (IM), where 'influence' represents anything that can be spread across the network, such as contamination, information, disease, etc.

      CELF was proposed by Jure Leskovec et al. in 2007, it improves the traditional Greedy algorithm based on the IC model by taking advantage of the submodularity. It only calculates the spread score for all nodes only at the initial stage and does not recalculate for all nodes afterwards, hence cost-effective.

      Related materials of the algorithm:

      A typical application of the algorithm is to prevent epidemic outbreak by selecting a small group of people to monitor, so that any disease can be detected in an early stage.

      Concepts

      Spread Function - Independent Cascade

      This algorithm adopts Independent Cascade (IC) model to simulate the influence spread process in the network. IC is a probabilistic model, it starts with a set of active seed nodes, and in step k:

      • For each node that becomes active in step k-1, it has a single chance to activate each inactive outgoing neighbor with a success probability.
      • The process runs until no more activations are possible.

      The spread of the given seed set is measured by the number of active nodes in the graph when it ends. This process is repeated for a large number of time (Monte Carlo Simulations) and we calculate it by taking the average.

      Submodularity

      The spread function IC() is called submodular as the marginal gain of a single node v is diminishing as the seed set S grows:

      where the seed set |Sk+1| > |Sk|, S ∪ {v} means to add node v into the seed set.

      Submodularity of the spread function is the key property exploited by CELF. CELF significantly improves the traditional Greedy algorithm that is used to solve the influence maximization problem, it runs a lot faster while achieving near optimal results.

      Lazy Forward

      When CELF begins, like Greedy, it calculates the spread for each node, puts them in a list sorted by the descending spread. As the seed set is empty now, the spread for each node can be viewed as its initial marginal gain.

      In the first iteration, the top node is moved from the list to the seed set.

      In the next iteration, only calculate the marginal gain for the current top node. After sorting, if that node remains at top, move it to the seed set; if not, repeat the process for the new top node.

      Unlike Greedy, CELF avoids calculating marginal gain for all the rest nodes in each iteration, this is where the submodularity of the spread function is considered - the marginal gain of every node in this round is always lower than the previous round. So if the top node remains at top, we can put it into the seed set directly without calculating for other nodes.

      The algorithm stops when the seed set reaches the set size.

      Syntax

      • Command: algo(celf)
      • Parameters:
      Name
      Type
      Spec
      Default
      Optional
      Description
      seedSetSize int >0 1 Yes The size of the seed set
      monteCarloSimulations int >0 1000 Yes The number of Monte Carlo simulations
      propagationProbability float (0,1) 0.1 Yes The probability that each outgoing neighbor is successfully activated by a node with activation capability in certain round

      Examples

      The example graph is as follows:

      File Writeback

      Spec Content
      Description
      filename _id,spread Node and its marginal gain when it joins the seed set
      algo(celf).params({
        seedSetSize: 3,
        monteCarloSimulations: 1000,
        propagationProbability: 0.5 
      }).write({
        file:{
          filename: 'seeds'
        }
      })
      

      Results: File seeds

      I,4.687
      D,1.261
      X,1
      

      Direct Return

      Alias Ordinal
      Type
      Description
      Columns
      0 []perNode Node and its marginal gain when it joins the seed set _uuid, spread
      algo(celf).params({
        seedSetSize: 2,
        monteCarloSimulations: 1000,
        propagationProbability: 0.6 
      }) as seeds
      return seeds
      

      Results: seeds

      _uuid spread
      9 5.345
      4 1.262

      Stream Return

      Alias Ordinal
      Type
      Description
      Columns
      0 []perNode Node and its marginal gain when it joins the seed set _uuid, spread
      algo(celf).params({
        seedSetSize: 3,
        monteCarloSimulations: 1000,
        propagationProbability: 0.6 
      }).stream() as seeds
      find().nodes({_uuid == seeds._uuid}) as nodes
      return table(nodes._id, nodes.createdOn, seeds.spread)
      

      Results: table(nodes._id, nodes.createdOn, seeds.spread)

      nodes._id nodes.createdOn seeds.spread
      I 2018-12-13 00:00:00 5.345
      D 2019-01-16 00:00:00 1.262
      X 2022-06-13 00:00:00 1
      Please complete the following information to download this book
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写