Every child learns that the first bite of pizza is the best. The tenth is fine; the twentieth starts to feel like work. That intuition — each extra unit adds less value than the one before it — has a precise mathematical name: diminishing returns, and the functions that obey it are called submodular.
Formally, a set function is submodular if, for any two sets and any element not in , adding to the smaller set gains at least as much as adding to the larger set :
The left side is the marginal gain of over the small set; the right side is the marginal gain over the big set. Submodularity just says the small-set gain is at least as large — value shrinks as the context grows.
This definition sounds abstract, but submodular functions appear everywhere: coverage in a sensor network, diversity in a recommendation list, information gain in experiment design, influence spread in a social network. Any time you are selecting a set of items and "more context means less extra value," submodularity is at work.
The question is: how do you maximize such a function subject to a budget? Picking the best k items from n candidates is already NP-hard in general — but submodularity changes everything.
Comments
Loading comments...