Submodular functions act as the "discrete version of convex functions" and are essential in machine learning for modeling concepts like diversity, redundancy, and information coverage (e.g., selecting the most representative images from a large collection). However, the space of all possible submodular functions is massive, with $2^n$ degrees of freedom for a set of $n$ items. Historically, researchers have relied on simple, hand-designed functions or learned mixtures of fixed functions, which are often too rigid to capture complex data relationships.
This paper introduces Deep Submodular Functions (DSFs), a new class of submodular functions inspired by the layered architecture of deep neural networks. By nesting concave functions, DSFs provide a much more expressive and learnable family of functions for discrete optimization than previous models, while remaining computationally efficient.
Designing Deep Submodular Functions
The core idea behind DSFs is to mimic Deep Neural Networks (DNNs) by composing multiple layers of functions. The authors establish that a standard DNN with non-negative weights and concave activations is inherently a submodular function, bridging a crucial gap between deep learning and discrete optimization.
The architecture is defined by:
- Layered Composition: A DSF consists of a series of layers where each layer applies a non-negative, non-decreasing concave function (like ReLU, sigmoid, or tanh) to a weighted sum of the outputs from the previous layer.
- Submodularity Guarantee: As long as the weights are non-negative and the activation functions are monotone non-decreasing and concave, the resulting set function is mathematically guaranteed to be submodular.
- Recursive DAG Definition: Beyond simple sequential layers, DSFs can be defined more generally using Directed Acyclic Graphs (DAGs). This allows for "layer skipping," similar to residual networks in deep learning.
To train these models, the authors employ a max-margin learning framework akin to structured SVMs. They use backpropagation to compute subgradients and projected gradient descent to ensure weights remain non-negative during training, thereby preserving submodularity.
Theoretical Expressivity
A major contribution of the paper is mapping out exactly where DSFs sit within the broader universe of submodular functions.
- Strictly More Expressive: The authors prove that DSFs are a strictly broader class than traditional "Sums of Concave composed with Modular" (SCMs) functions. For instance, DSFs can represent laminar matroid ranks, which SCMs cannot.
- Theoretical Limits: DSFs cannot represent all submodular functions. The paper proves that the "cycle matroid rank" falls outside the reach of DSFs, providing a clear theoretical boundary for the model's expressivity.
- Computational Efficiency: Unlike many traditional submodular models that require computing a pairwise similarity matrix (an $O(n^2)$ operation), DSFs can operate directly on raw features. This makes them significantly more scalable for large datasets.
Experimental Results
The paper evaluates DSFs on both synthetic and real-world tasks:
- Synthetic Matroids: The max-margin framework successfully learned to approximate complex matroid ranks (like Cycle and Laminar matroids), even when the DSF couldn't represent the function perfectly everywhere.
- Image Summarization: The authors tested DSFs on a real-world dataset of 14 distinct image sets (100 images each), aiming to select a 10-image summary that matches human-generated summaries using 628 visual-word features per image. DSFs significantly outperformed "shallow" versions (SCMMs).
- Scalability: The DSF approach achieved performance comparable to state-of-the-art graph-based methods while using only the 628 raw features. In contrast, graph-based methods required nearly 6 million precomputed values, demonstrating a massive gain in memory and computational efficiency for DSFs.
Limitations and Future Work
While the paper shows that two layers are better than one, it remains an open theoretical question whether $L$ layers are always strictly more expressive than $L-1$ layers for all depths. Furthermore, while DSFs performed well in experiments, they did not yet beat the absolute best graph-based methods in generalization. The authors suggest that using deeper networks or more sophisticated base features might close this gap. Finally, although the greedy algorithm works well for inference, the loss-augmented inference (LAI) required for training can be NP-hard, necessitating approximations that might impact learning quality.
Summary updated