劣モジュラ関数

数学の分野において劣モジュラ関数 (: submodular function) とは集合関数の一種で、簡単にいうと、関数に渡される集合に1つ要素が加わった場合に増える関数の値が、もとの集合が大きくなるにつれ小さくなるような関数を指す。集合関数であることを明示して劣モジュラ集合関数ということもある。劣モジュラ関数の概念は一般のベクトル値関数における凸関数の概念と類似した性質を持つため、近似アルゴリズムやゲーム理論機械学習などの幅広い応用を持つ。

定義

台集合 Ω の冪集合 2Ω 上の関数 f: 2ΩR で 次を満たす関数を劣モジュラ関数と呼ぶ。

劣モジュラ性
任意の集合対 S, T ⊆ Ω に対して、f(S) + f(T) ≥ f(ST) + f(ST)

この不等式を劣モジュラ不等式と呼ぶ。劣モジュラ不等式の不等号を逆にした不等式を優モジュラ不等式と呼び、この不等式を満たす集合関数を優モジュラ関数と呼ぶ。

また、上記の不等式と以下の 2 つの不等式は同値である。

  1. 任意の集合対 X , Y Ω , X Y {\displaystyle X,Y\subseteq \Omega ,X\subseteq Y} と任意の x Ω Y {\displaystyle x\in \Omega \backslash Y} に対して、 f ( X { x } ) f ( X ) f ( Y { x } ) f ( Y ) {\displaystyle f(X\cup \{x\})-f(X)\geq f(Y\cup \{x\})-f(Y)}
  2. 任意の集合 X Ω {\displaystyle X\subseteq \Omega } x 1 , x 2 Ω X , x 1 x 2 {\displaystyle x_{1},x_{2}\in \Omega \backslash X,x_{1}\neq x_{2}} に対して、 f ( X { x 1 } ) + f ( X { x 2 } ) f ( X { x 1 , x 2 } ) + f ( X ) {\displaystyle f(X\cup \{x_{1}\})+f(X\cup \{x_{2}\})\geq f(X\cup \{x_{1},x_{2}\})+f(X)}

非負の劣モジュラ関数は劣加法的であるが、劣加法的関数が必ずしも劣モジュラとは限らない。

劣モジュラ関数の例

ここでは劣モジュラ関数の例として、単調関数、非単調関数、対称関数、及び非対称関数について述べる。 以下、 Ω {\displaystyle \Omega } を劣モジュラ関数の台集合とする。

単調関数

劣モジュラ関数  f {\displaystyle f} が全ての S T {\displaystyle S\subseteq T} に対して f ( S ) f ( T ) {\displaystyle f(S)\leq f(T)} を満たすとき単調と呼ぶ。 以下、単調関数の例である。

線形関数
f ( S ) = i S w i {\displaystyle f(S)=\sum _{i\in S}w_{i}} という形で表せる全ての集合関数。

この場合、 i , w i 0 {\displaystyle \forall i,w_{i}\geq 0} なら単調。

バジェット加法型関数
f ( S ) = min ( B , i S w i ) {\displaystyle f(S)=\min \left(B,\sum _{i\in S}w_{i}\right)} という形で表せる関数のうち、 w i 0 , B 0 {\displaystyle w_{i}\geq 0,B\geq 0} を満たす関数。
被覆関数
集合 Ω = { E 1 , E 2 , , E n } {\displaystyle \Omega =\{E_{1},E_{2},\ldots ,E_{n}\}} が何らかの元集合 Ω {\displaystyle \Omega '} の部分集合族であるとする。これに対して、 f ( S ) = | E i S E i | {\displaystyle f(S)=|\bigcup _{E_{i}\in S}E_{i}|} for S Ω {\displaystyle S\subseteq \Omega } という形で表せる関数。
エントロピー関数 ( Ω {\displaystyle \Omega } は確率変数の集合)

任意の S Ω {\displaystyle S\subseteq \Omega } に対して、 S {\displaystyle S} エントロピーを返すような関数 H ( S ) {\displaystyle H(S)}

マトロイド階数関数 ( Ω {\displaystyle \Omega } マトロイドの台集合)

マトロイドの階数関数は劣モジュラ関数。

非単調関数

単調関数でない劣モジュラ関数。


対称な劣モジュラ関数

任意の S Ω {\displaystyle S\subseteq \Omega } に対して f ( S ) = f ( Ω S ) {\displaystyle f(S)=f(\Omega -S)} を満たす劣モジュラ関数を対称であるという。 以下、対称な劣モジュラ関数の例である。

カット関数 ( Ω {\displaystyle \Omega } はグラフの頂点集合)
任意の S Ω {\displaystyle S\subseteq \Omega } に対して、 f ( S ) {\displaystyle f(S)} が、 e = ( u , v ) , u S , v Ω S {\displaystyle e=(u,v),u\in S,v\in \Omega -S} を満たす辺 e {\displaystyle e} の数を返す関数となるとき f {\displaystyle f} をカット関数と呼ぶ。

上記の条件を満たす辺重みの合計を返すような関数として定義する場合がある。 辺重み無しの場合を上記で考える場合、重み 1: 辺が存在する、重み 0: 辺が存在することを表す。

相互情報量 ( Ω {\displaystyle \Omega } は確率変数の集合)
任意の S Ω {\displaystyle S\subseteq \Omega } に対して、 f ( S ) = I ( S ; Ω S ) {\displaystyle f(S)=I(S;\Omega -S)} ( I ( S ; Ω ) {\displaystyle I(S;\Omega )} は相互情報量) となる関数。


非対称な劣モジュラ関数

単調でも対称でもない劣モジュラ関数。 以下、非対称な劣モジュラ関数の例である。

有向グラフのカット関数 ( Ω {\displaystyle \Omega } は有向グラフの頂点集合)
この集合 Ω {\displaystyle \Omega } に対して定義されたカット関数は非対称な劣モジュラ関数である。

出る辺に関するカット関数と、入る辺に関するカット関数は対称でないことからこのことが分かる。

連続関数への拡張

劣モジュラ関数の連続化として、ロバース拡張や多重線形拡張がある。

ロバース拡張

ベクトル x = { x 1 , x 2 , , x n } {\displaystyle \mathbf {x} =\{x_{1},x_{2},\ldots ,x_{n}\}} であって、各要素が 0 x i 1 {\displaystyle 0\leq x_{i}\leq 1} となるものに対し、 f L ( x ) = E ( f ( { i : x i λ } ) ) {\displaystyle f^{L}(\mathbf {x} )=\mathbb {E} (f(\{i:x_{i}\geq \lambda \}))} で定義される関数を集合関数 f {\displaystyle f} のロバース拡張 (Lovász extension) という。この関数は閉区間 [ 0 , 1 ] {\displaystyle [0,1]} 上の一様分布から λ {\displaystyle \lambda } 以上のものを選んだ時の期待値を返すような関数になっており、この関数は凸関数になる。

多重線形拡張

一般化

  • L凸関数
  • k劣モジュラ関数

関連項目

  • マトロイド
  • ポリマトロイド
  • 凸関数
  • 正モジュラ関数: 任意の集合対 S , T Ω {\displaystyle S,T\subseteq \Omega } に対して、 f ( S ) + f ( T ) f ( S T ) + f ( T S ) {\displaystyle f(S)+f(T)\geq f(S-T)+f(T-S)} が成り立つ関数
  • 双劣モジュラ関数

参考文献

  • Satoru Fujishige (2005), Submodular Functions and Optimization, Elsevier, ISBN 9780444520869 
  • 室田 一雄 (2001), 離散凸解析, 共立出版, ISBN 4-320-01690-4 
  • H.Nagamochi and T.Ibaraki (2008), Algorithmic Aspects of Graph Connectivity, Cambridge University Press, ISBN 0-52187864-0 
  • 河原吉伸 and 永野清仁 (2015), 劣モジュラ最適化と機械学習, 講談社, ISBN 9784061529090