In mathematics, a submodular set function (also known as a submodular function) is a
set function
In mathematics, especially measure theory, a set function is a function whose domain is a family of subsets of some given set and that (usually) takes its values in the extended real number line \R \cup \, which consists of the real numbers \R ...
that, informally, describes the relationship between a set of inputs and an output, where adding more of one input has a decreasing additional benefit (
diminishing returns). The natural
diminishing returns property which makes them suitable for many applications, including
approximation algorithms
In computer science and operations research, approximation algorithms are efficient algorithms that find approximate solutions to optimization problems (in particular NP-hard problems) with provable guarantees on the distance of the returned sol ...
,
game theory
Game theory is the study of mathematical models of strategic interactions. It has applications in many fields of social science, and is used extensively in economics, logic, systems science and computer science. Initially, game theory addressed ...
(as functions modeling user preferences) and
electrical network
An electrical network is an interconnection of electrical components (e.g., batteries, resistors, inductors, capacitors, switches, transistors) or a model of such an interconnection, consisting of electrical elements (e.g., voltage sou ...
s. Recently, submodular functions have also found utility in several real world problems in
machine learning
Machine learning (ML) is a field of study in artificial intelligence concerned with the development and study of Computational statistics, statistical algorithms that can learn from data and generalise to unseen data, and thus perform Task ( ...
and
artificial intelligence
Artificial intelligence (AI) is the capability of computer, computational systems to perform tasks typically associated with human intelligence, such as learning, reasoning, problem-solving, perception, and decision-making. It is a field of re ...
, including
automatic summarization
Automatic summarization is the process of shortening a set of data computationally, to create a subset (a summary) that represents the most important or relevant information within the original content. Artificial intelligence algorithms are comm ...
,
multi-document summarization,
feature selection
In machine learning, feature selection is the process of selecting a subset of relevant Feature (machine learning), features (variables, predictors) for use in model construction. Feature selection techniques are used for several reasons:
* sim ...
,
active learning
Active learning is "a method of learning in which students are actively or experientially involved in the learning process and where there are different levels of active learning, depending on student involvement." states that "students particip ...
, sensor placement, image collection summarization and many other domains.
Definition
If
is a finite
set
Set, The Set, SET or SETS may refer to:
Science, technology, and mathematics Mathematics
*Set (mathematics), a collection of elements
*Category of sets, the category whose objects and morphisms are sets and total functions, respectively
Electro ...
, a submodular function is a set function
, where
denotes the
power set
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ...
of
, which satisfies one of the following equivalent conditions.
# For every
with
and every
we have that
.
# For every
we have that
.
# For every
and
such that
we have that
.
A nonnegative submodular function is also a
subadditive function, but a subadditive function need not be submodular.
If
is not assumed finite, then the above conditions are not equivalent. In particular a function
defined by
if
is finite and
if
is infinite
satisfies the first condition above, but the second condition fails when
and
are infinite sets with finite intersection.
Types and examples of submodular functions
Monotone
A set function
is ''monotone'' if for every
we have that
. Examples of monotone submodular functions include:
; Linear (Modular) functions : Any function of the form
is called a linear function. Additionally if
then f is monotone.
;
Budget-additive functions : Any function of the form
for each
and
is called budget additive.
; Coverage functions : Let
be a collection of subsets of some
ground set . The function
for
is called a coverage function. This can be generalized by adding non-negative weights to the elements.
;
Entropy
Entropy is a scientific concept, most commonly associated with states of disorder, randomness, or uncertainty. The term and the concept are used in diverse fields, from classical thermodynamics, where it was first recognized, to the micros ...
: Let
be a set of
random variables
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a mathematical formalization of a quantity or object which depends on random events. The term 'random variable' in its mathematical definition refers ...
. Then for any
we have that
is a submodular function, where
is the entropy of the set of random variables
, a fact known as
Shannon's inequality. Further inequalities for the entropy function are known to hold, see
entropic vector.
;
Matroid
In combinatorics, a matroid is a structure that abstracts and generalizes the notion of linear independence in vector spaces. There are many equivalent ways to define a matroid Axiomatic system, axiomatically, the most significant being in terms ...
rank functions : Let
be the ground set on which a matroid is defined. Then the rank function of the matroid is a submodular function.
[Fujishige (2005) p.22]
Non-monotone
A submodular function that is not monotone is called ''non-monotone''. In particular, a function is called non-monotone if it has the property that adding more elements to a set can decrease the value of the function. More formally, the function
is non-monotone if there are sets
in its domain s.t.
and
.
Symmetric
A non-monotone submodular function
is called ''symmetric'' if for every
we have that
.
Examples of symmetric non-monotone submodular functions include:
; Graph cuts : Let
be the vertices of a
graph. For any set of vertices
let
denote the number of edges
such that
and
. This can be generalized by adding non-negative weights to the edges.
;
Mutual information
In probability theory and information theory, the mutual information (MI) of two random variables is a measure of the mutual Statistical dependence, dependence between the two variables. More specifically, it quantifies the "Information conten ...
: Let
be a set of
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a Mathematics, mathematical formalization of a quantity or object which depends on randomness, random events. The term 'random variable' in its mathema ...
s. Then for any
we have that
is a submodular function, where
is the mutual information.
Asymmetric
A non-monotone submodular function which is not symmetric is called asymmetric.
; Directed cuts : Let
be the vertices of a
directed graph. For any set of vertices
let
denote the number of edges
such that
and
. This can be generalized by adding non-negative weights to the directed edges.
Continuous extensions of submodular set functions
Often, given a submodular set function that describes the values of various sets, we need to compute the values of ''fractional'' sets. For example: we know that the value of receiving house A and house B is V, and we want to know the value of receiving 40% of house A and 60% of house B. To this end, we need a ''continuous extension'' of the submodular set function.
Formally, a set function
with
can be represented as a function on
, by associating each
with a binary vector
such that
when
, and
otherwise. A ''continuous
extension'' of
is a continuous function
, that matches the value of
on
, i.e.
.
Several kinds of continuous extensions of submodular functions are commonly used, which are described below.
Lovász extension
This extension is named after mathematician
László Lovász
László Lovász (; born March 9, 1948) is a Hungarian mathematician and professor emeritus at Eötvös Loránd University, best known for his work in combinatorics, for which he was awarded the 2021 Abel Prize jointly with Avi Wigderson. He ...
.
Consider any vector
such that each
. Then the Lovász extension is defined as
where the expectation is over
chosen from the
uniform distribution on the interval