Papers
Topics
Authors
Recent
Search
2000 character limit reached

SoftFair: Soft Fairness via Softmax VI

Updated 16 April 2026
  • The paper introduces a model-based resource allocation algorithm that enforces soft fairness in finite-horizon RMAB problems while nearly achieving optimal rewards.
  • It utilizes a softmax value-iteration process with per-arm advantage computations to ensure that arms with higher long-term value are favored under resource constraints.
  • Empirical evaluations on both real and synthetic data demonstrate that SoftFair effectively balances intervention benefit and fairness with strong theoretical guarantees and computational efficiency.

Soft Fairness via Softmax Value-Iteration (SoftFair) is a model-based resource allocation algorithm tailored for finite-horizon restless multi-armed bandit (RMAB) problems. It encodes a soft notion of fairness—ensuring no arm with lower long-term value is probabilistically favored over a better one—while maintaining high overall reward. SoftFair utilizes a softmax value-iteration process to select multi-armed intervention policies under stringent resource constraints, with strong theoretical guarantees regarding both fairness and near-optimality. The design is motivated by real-world settings demanding balanced allocation, such as public health interventions, where repeated deprivation of certain communities can result in inequity and suboptimal outcomes (Li et al., 2022).

1. Restless Multi-Armed Bandits: Framework and Notation

The RMAB framework considers NN independent two-state arms (indexed by i=1,,Ni = 1, \dots, N), each described as a Markov Decision Process (MDP):

  • State space: Si={0,1}S_i = \{0, 1\}, with $1$ the "good" state and $0$ the "bad" state.
  • Action space: Ai={0,1}A_i = \{0, 1\}; ai=1a_i = 1 denotes intervention ("active"), ai=0a_i = 0 means no intervention ("passive").
  • Transition probabilities: Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a).
  • Immediate reward: Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1] (probability of transitioning to the good state).

At each time step i=1,,Ni = 1, \dots, N0, with finite i=1,,Ni = 1, \dots, N1, the joint state i=1,,Ni = 1, \dots, N2 is observed, and an action vector i=1,,Ni = 1, \dots, N3 is chosen, subject to the resource constraint

i=1,,Ni = 1, \dots, N4

The immediate reward obtained is i=1,,Ni = 1, \dots, N5.

A stochastic policy i=1,,Ni = 1, \dots, N6 is a collection of distributions i=1,,Ni = 1, \dots, N7 for i=1,,Ni = 1, \dots, N8, with i=1,,Ni = 1, \dots, N9. The expected discounted cumulative reward from Si={0,1}S_i = \{0, 1\}0 at time Si={0,1}S_i = \{0, 1\}1 under Si={0,1}S_i = \{0, 1\}2 is Si={0,1}S_i = \{0, 1\}3, and the value function is Si={0,1}S_i = \{0, 1\}4. Optimal quantities are Si={0,1}S_i = \{0, 1\}5.

2. Soft Fairness: Constraint Definition

Soft fairness is formalized by insisting that a stochastic policy Si={0,1}S_i = \{0, 1\}6 never assigns higher probability to a suboptimal action:

Soft Fairness Definition: A policy Si={0,1}S_i = \{0, 1\}7 is soft-fair if, for all Si={0,1}S_i = \{0, 1\}8, for any two joint actions Si={0,1}S_i = \{0, 1\}9 and observed state $1$0,

$1$1

Thus, no action is more probable unless its optimal long-term cumulative value is at least as high. This soft form avoids starvation and supports fairness across all arms, communities, or regions when allocating limited interventions (Li et al., 2022).

3. SoftFair Algorithm: Principles, Computation, and Procedure

SoftFair operationalizes soft fairness by leveraging per-arm advantage computation, softmax action selection, and value-iteration-based updates.

3.1 Per-Arm Advantage and Logits

For each arm at episode $1$2 and time $1$3, the algorithm computes:

$1$4

The "advantage-like" quantity is

$1$5

with arm logit

$1$6

3.2 Softmax Selection for Resource Constraints

For each arm in the observed multimodal state $1$7, compute the logits $1$8. Select $1$9 arms by drawing without replacement according to softmax-normalized logits:

$0$0

where $0$1 is the inverse temperature coefficient, mediating the trade-off between exploration (fairness) and exploitation (reward).

3.3 Bellman-Style Value Iteration

After selecting the arms and observing transitions:

$0$2

Only visited states are updated, and $0$3 can be updated similarly.

3.4 Summary Pseudocode

The procedure iterates for $0$4 episodes, $0$5 time steps, and $0$6 arms per step, with softmax-based selection and Bellman updates at each round. The final estimate $0$7 is used to extract a stationary policy.

4. Theoretical Guarantees

4.1 Asymptotic Optimality

As $0$8, SoftFair reduces to greedy selection of the $0$9 arms with maximal single-step advantage Ai={0,1}A_i = \{0, 1\}0. This recovers the deterministic optimal Ai={0,1}A_i = \{0, 1\}1-arm policy: maximizing

Ai={0,1}A_i = \{0, 1\}2

thus maximizing the joint action-value Ai={0,1}A_i = \{0, 1\}3 among all feasible Ai={0,1}A_i = \{0, 1\}4 (Li et al., 2022).

4.2 Fairness Enforcement

For any finite Ai={0,1}A_i = \{0, 1\}5, SoftFair’s action selection probability Ai={0,1}A_i = \{0, 1\}6 is monotonic in the joint Ai={0,1}A_i = \{0, 1\}7 of the selected arms’ logits. Therefore, Ai={0,1}A_i = \{0, 1\}8 only if Ai={0,1}A_i = \{0, 1\}9. Smaller ai=1a_i = 10 induces higher entropy and more balanced (fair) outcomes, while larger ai=1a_i = 11 approaches greedy selection.

4.3 Performance Bounds

Compared to the optimal Bellman operator ai=1a_i = 12, the “softness gap” ai=1a_i = 13 is bounded:

ai=1a_i = 14

This gap decays with increasing ai=1a_i = 15. Long-horizon value function convergence is bounded by

ai=1a_i = 16

analogously for ai=1a_i = 17.

5. Computational Complexity and Implementation Characteristics

For every episode and time step:

  • Computing two ai=1a_i = 18-values per arm and their corresponding logits: ai=1a_i = 19.
  • Sampling ai=0a_i = 00 arms using softmax without replacement (sequentially): ai=0a_i = 01 (naïve method).
  • Value-function updates: ai=0a_i = 02 per time step.
  • Overall computational complexity: ai=0a_i = 03 for ai=0a_i = 04 episodes, ai=0a_i = 05 time steps, and ai=0a_i = 06 arms.
  • Memory usage: ai=0a_i = 07 to store value functions.

SoftFair places no indexability constraints, unlike Whittle-index methods, and is naturally applicable to finite-horizon settings.

6. Experimental Evaluation

SoftFair was evaluated on two settings: a real continuous positive airway pressure (CPAP) adherence dataset (ai=0a_i = 08) and a synthetic two-state model with structured transitions. The main baselines for comparison include:

  • Random selection,
  • Myopic (pick ai=0a_i = 09 arms with highest single-step gain Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)0),
  • FairMyopic (softmax on Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)1),
  • Oracle (finite-horizon Whittle-approximation).

Metrics reported included Intervention Benefit Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)2 and Action Entropy Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)3, where Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)4 is the normalized frequency arm Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)5 is chosen.

Policy Benefit (%) Action Entropy
Random Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)6 Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)7
Myopic Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)8 Ps,sa=Pr(si,t+1=ssi,t=s,ai,t=a)P^a_{s, s'} = \Pr(s_{i, t+1} = s' \mid s_{i, t} = s, a_{i, t} = a)9
FairMyopic Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]0 Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]1
SoftFair (Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]2) Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]3 Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]4

Compared to the myopic policy (which yields the highest reward but lowest fairness), SoftFair retains most of the intervention benefit while markedly improving action entropy (fairness). On synthetic data, SoftFair consistently outperformed Random and FairMyopic and closely tracked Oracle performance as Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]5 and Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]6 increased. Varying the softmax parameter Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]7 enables controlled interpolation between fairness and optimality; larger Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]8 approaches the greedy regime at the cost of fairness (lower entropy), smaller Ri(s,a)=Pr(s=1s,a)[0,1]R_i(s, a) = \Pr(s' = 1 \mid s, a) \in [0, 1]9 gives more uniform (fairer) distributions.

7. Conclusion and Significance

SoftFair delivers a principled, computationally tractable approach to imposing soft fairness in RMABs via softmax value iteration, with explicit mechanisms to mediate the reward–fairness trade-off through a single parameter i=1,,Ni = 1, \dots, N00. It applies to non-indexable, finite-horizon RMABs and admits rigorous theoretical guarantees on both fairness and performance, as well as practical, empirically validated efficacy in both real and simulated domains (Li et al., 2022).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Soft Fairness via Softmax Value-Iteration (SoftFair).