Abstract
This paper investigates the integration of group fairness constraints into classic knapsack optimization problems. We address both Max-Knapsack and Min-Knapsack variants under three distinct fairness notions: bounds on the number of items, total weight, and total value per category. We provide a suite of approximation algorithms, demonstrating that while some constraints allow for near-optimal solutions without violations, others necessitate small bi-criteria violations to maintain computational efficiency. Our results establish a unified framework for fair packing and covering problems.
1. Introduction
The knapsack problem is a cornerstone of combinatorial optimization: given a set of items with weights and values, the goal is to select a subset that fits within a fixed capacity while maximizing total value. While well-studied, the classic version often ignores group fairness, which is critical in real-world scenarios such as participatory budgeting, server resource allocation, or targeted advertising.
In these contexts, items belong to specific categories (e.g., different government departments or demographic groups). A decision-maker may wish to ensure that no single category dominates the resources while ensuring others receive a minimum share. This paper formalizes these requirements by introducing constraints on the representation of different groups within the knapsack solution.
2. Problem Formulation
The authors tackle both Max-Knapsack (maximizing value within a weight limit) and Min-Knapsack (minimizing weight while meeting a value threshold) under three types of group fairness constraints:
- Bound on the number of items from each category.
- Bound on the total weight of items from each category.
- Bound on the total value of items from each category.
Adding these constraints significantly increases the problem's complexity. For weight and value bounds, the authors prove it is NP-hard to even find a feasible solution, necessitating the development of approximation algorithms that allow for controlled violations.
3. Methodology
The proposed algorithms utilize a combination of classic approximation techniques and novel hierarchical structures:
- Rounding and Dynamic Programming (DP): Similar to standard FPTAS for knapsack, item values or weights are rounded to create a manageable state space for DP tables.
- Two-Level DP / Bundling: For item count constraints, the algorithm computes "bundles" for each category and then selects one bundle per category using a secondary DP.
- Divide and Conquer Tree: For complex value or weight bounds, a binary tree structure merges categories. At each node, solutions from child nodes are combined, incurring a small multiplicative error $(1+\epsilon')$ that is carefully managed to stay within the total $\epsilon$ bound.
- Bi-criteria Approximations: To address NP-hardness, the algorithms are designed to be "bi-criteria," producing solutions that are near-optimal but may violate fairness or capacity constraints by a tiny, controllable fraction ($\pm \epsilon$).
4. Key Results
The theoretical performance of these algorithms is summarized in the table below. The results are presented as triplets representing (Approximation Ratio, Fairness Violation, Knapsack Violation).
Key insights include the "Necessity of Violation," where the authors prove that for value and weight variants, polynomial-time algorithms cannot satisfy all constraints perfectly unless P=NP. Furthermore, the authors demonstrate a symmetry between packing (Max-Knapsack) and covering (Min-Knapsack) problems, allowing their techniques to be adapted across both domains.
5. Conclusion and Future Work
This work provides a robust algorithmic framework for group-fair knapsack problems. While the $\epsilon$ violations are mathematically small, future research is needed to address scenarios where strict legal or regulatory frameworks prohibit any violation. Additionally, extending these models to handle intersecting groups (where items belong to multiple categories) and more complex objective functions, such as submodular values, remains an open area for exploration.
Summary updated