When items arrive one at a time and each person must hold one unbroken block of them, keeping the split fair at every single moment is very expensive. Examples include consecutive ad slots, adjacent airport check-in desks, and runs of time on a shared facility. Recent theory shows that if every step must stay "envy-free up to one item," almost every new arrival forces a cascade of boundary shifts, for a total of $\Theta(T^2)$ item reassignments over $T$ arrivals (Fairly Allocating (Contiguous) Dynamic Indivisible Items with Few Adjustments). We propose a different fairness contract, borrowed from how spiking neurons decide when to fire. Each agent carries an "envy potential" that adds up their momentary unfairness and slowly leaks it away. The allocation is repaired only when some agent's potential crosses a threshold, and that agent's potential then resets.
The question is whether this leaky, threshold-triggered notion of fairness escapes the quadratic cost. Short, transient envy is tolerated. Sustained or large envy is not. If this works, we get a tunable dial between "fair at every instant" and "fair on average," and the decay rate and threshold have a clear meaning. We also get a way to learn those two parameters from data, using the same surrogate-gradient training that spiking networks use to push gradients through their all-or-nothing firing decisions.
Core Claim
Fix agents $i=1..n$ with additive valuations over a line of items that grows over time. Let $e_i(t)\ge 0$ be agent $i$'s envy-free-up-to-one-item (EF1) violation at step $t$: the largest amount by which $i$ prefers some other bundle after dropping that bundle's best item, normalized by $i$'s total value so far. Define the envy potential
$$V_i(t)=\beta\,V_i(t-1)+e_i(t),$$
where $\beta\in[0,1)$ is the leak rate. The allocator must reallocate, and reset $V_i$ to zero, whenever $V_i(t)\ge\theta$ for a threshold $\theta$. The guarantee delivered is that every agent's exponentially discounted envy stays below $\theta$. Setting $\beta=0$ recovers a fixed additive tolerance on EF1. Letting $\beta\to 1$ gives a cumulative envy budget.
Our central hypothesis is empirical, with a theoretical target. For fixed $\theta>0$ and $\beta<1$, the number of reassignments grows roughly linearly in $T$ on realistic and adversarial streams, not quadratically. We will test this and try to prove it. The alternative outcome is that the $\Omega(T^2)$ lower-bound construction survives any leaky relaxation. That would also be informative, because it would show the contiguity curse is about the constraint itself and not about demanding fairness at every instant.
Where the Three Directions Meet
The directions play very unequal roles.
Contiguous dynamic allocation is the problem. The quadratic-adjustment result above motivates this proposal. Related hardness results show that contiguity makes even static welfare maximization strongly NP-hard (Computing Socially-Efficient Cake Divisions) and can cause large welfare loss (Welfare Loss in Connected Resource Allocation). Those results limit us: we should not expect exact optimal repair at each trigger, so the repair step will be a local boundary-shift heuristic or a small exact search.
Envy propagation on graphs is the lens for analysis. On a path, fixing one agent's envy moves a boundary, and that can create envy in a neighbor. Envy therefore travels along the line. Work on connected EF1 shows that bottleneck structure, specifically cutsets, blocks fairness outright (Cutsets and EF1 Fair Division of Graphs). Separate work shows that giving items to uninvolved parties dissolves envy cycles that would otherwise be unavoidable (EFX Allocations and Orientations on Bipartite Multi-graphs: A Complete Picture). We borrow the second idea in time instead of space. A leaky budget acts as a temporal buffer that lets a cascade die out before it has to be fully paid. We will measure cascade length directly and extend the study from paths to cycles, where envy can close on itself.
Membrane-potential dynamics supply the mechanism and the training method. A leaky integrate-and-fire neuron sums its input, decays, and fires and resets at a threshold. Regression spiking networks remove the threshold at the output so the membrane potential becomes a smooth continuous signal (Spiking neural networks for frame-based and event-based single object localization; Decoding finger velocity from cortical spike trains with recurrent spiking neural networks). We use both behaviors. The thresholded, resetting unit decides when to repair. A parallel no-threshold integrator is kept purely as a continuous fairness monitor, and it is what an auditor would report.
Because the trigger is a non-differentiable spike, we tune per-agent $\beta_i$ and $\theta_i$ with the arctangent surrogate gradient used for direct training of forecasting spiking networks (Efficient and Effective Time-Series Forecasting with Spiking Neural Networks). The training objective penalizes reassignments subject to a constraint on discounted envy. That literature also warns that pure integration over long horizons oversmooths away sharp peaks. Here that warning becomes a fairness concern: a slowly leaking budget could hide a brief but severe injustice. This is why we also report worst-case per-step envy.
We make no energy or neuromorphic-hardware claims. The neuron model is used as a decision rule and a training technique.
Research Program
The work has three parts.
The first part is theory on the path. We will characterize reassignment counts as a function of $(\beta,\theta,n,T)$ under identical valuations, where the exact-EF1 cost is already $\Theta(nT)$. We will then attempt the non-identical case by rerunning the $\Omega(T^2)$ construction of the contiguity-curse paper against the leaky rule, to see which part of it breaks.
The second part is algorithms. We will build the trigger-and-repair allocator with several repair operators: a minimal boundary shift, a shift followed by a bundle rotation along any envy cycle (rotating owners keeps every bundle contiguous), and an exact small-window search. We will also build the learned-parameter variant.
The third part is extension to cycle graphs and small general graphs. On these, connectivity obstructions already appear in static problems (Dividing a Graphical Cake), so we can ask whether temporal slack interacts with topological obstruction.
Baselines
The naive reference points bracket the space.
Never adjusting is one end. It assigns each arriving item greedily and never moves anything, giving zero reassignments and unbounded envy.
Exact per-step EF1 is the other end. It follows the contiguous dynamic algorithm of Fairly Allocating (Contiguous) Dynamic Indivisible Items with Few Adjustments. That paper proves $\Theta(T^2)$ reassignments in the worst case, but no reported empirical result was found on Lacuna for its reassignment counts on concrete streams, so we will implement it and measure. This is the strongest existing competitor because it is the only method in the file designed for exactly this setting. It will run on identical streams, with the same repair-time budget, and with valuations revealed at the same moment as for our method.
The non-contiguous Layer Updating algorithm from the same paper achieves EF1 with $O(mT)$ adjustments. We include it as an unreachable reference that shows how much of the cost comes from contiguity itself.
Three ablations isolate the key ingredient. Setting $\beta=0$ gives a fixed additive EF1 tolerance with no memory. Periodic batching repairs every $k$ steps regardless of envy. A no-reset variant never clears the potential, so it becomes a pure integrator.
On small instances with $T\le 40$, an integer program computes the minimum possible reassignments subject to the same discounted-envy constraint. This gives a lower reference for how far any heuristic is from optimal.
Beating a competitor means Pareto dominance on the curve of reassignments against worst-case discounted envy. In particular, the leaky rule must use fewer reassignments than the $\beta=0$ tolerance rule and than periodic batching at matched worst-case discounted envy. All thresholds are tuned on a validation set of streams with the same grid size for every method.
Why not just…?
Why not just allow a fixed tolerance on EF1? This is the $\beta=0$ special case. If it matches the leaky rule, then memory adds nothing and the neuron analogy is decoration. We consider this a real threat. The experiment separates the two by comparing reassignment counts at equal worst-case discounted envy. If the curves coincide, we will report that and drop the leaky claim. We expect them to differ on streams where envy oscillates, because memory lets the rule wait out oscillations that a fixed tolerance keeps responding to.
Why not just batch repairs every $k$ steps? Batching spends reassignments on a timer and not in response to need. On quiet streams it wastes repairs, and during bursts it lets envy grow without limit between repairs. Whether event-triggered repair actually beats timed repair on realistic streams is exactly what the matched-envy comparison tests. We also report worst per-step envy, which is where batching should fail.
Why not just learn a repair policy with a generic neural network or reinforcement learning? A black-box policy could reach lower reassignment counts, but it gives no guarantee that an auditor can state. The leaky rule certifies discounted envy below $\theta$ by construction. We will include a small recurrent-policy baseline at the same training budget. If it wins by a wide margin, the value of our proposal reduces to interpretability and certification, and we will say so.
Proposed Experiments
The file lists no standard empirical benchmarks for dynamic fair division, so we build three stream families.
The first family is adversarial streams replicating the lower-bound construction of the contiguity-curse paper.
The second family is random additive valuations with identical, correlated, and independent agents.
The third family is domain streams shaped after consecutive-slot ad demand (Pricing Ad Slots with Consecutive Multi-unit Demand) and contiguous check-in desk assignment (Check-In Desk Scheduling Optimisation at CDG International Airport). No reported datasets from these papers appear in the file, so these streams are synthetic with the same structure.
Metrics are total item reassignments, worst per-step EF1 violation, fraction of steps that satisfy exact EF1, maximum discounted envy, egalitarian welfare, and average cascade length (how many boundaries move per repair). We run $n\in\{2,\dots,8\}$ and $T$ up to $10^4$.
The first decisive check is the log-log slope of reassignments against $T$ on adversarial streams. A slope near 1 for the leaky rule, against near 2 for exact EF1, supports the core claim. A slope near 2 for both refutes it.
The second decisive check is whether the leaky rule strictly dominates the $\beta=0$ rule on the reassignment-versus-envy curve.
The third decisive check is whether learned per-agent parameters generalize across stream families. It fails if parameters trained on random streams collapse on adversarial ones.
On cycle graphs, we check whether bundle rotation along envy cycles lowers cascade length relative to boundary shifts alone.
References
- Fairly Allocating (Contiguous) Dynamic Indivisible Items with Few Adjustments
- Computing socially-efficient cake divisions
- Welfare loss in connected resource allocation
- Cutsets and EF1 Fair Division of Graphs
- EFX Allocations and Orientations on Bipartite Multi-graphs: A Complete Picture
- Spiking neural networks for frame-based and event-based single object localization
- Decoding Finger Velocity from Cortical Spike Trains with Recurrent Spiking Neural Networks
- Efficient and Effective Time-Series Forecasting with Spiking Neural Networks
- Dividing a Graphical Cake
- Pricing Ad Slots with Consecutive Multi-unit Demand
- Check-In Desk Scheduling Optimisation at CDG International Airport