Fair-division services such as Spliddit ask roommates to report how much each room is worth to them. The service then assigns rooms and sets rents so that nobody prefers someone else's room at its price. Today those reports go to a server in the clear. Fully homomorphic encryption (FHE), a family of schemes that lets a server compute on data it cannot read, could remove that exposure. The obstacle is cost. FHE natively supports only additions and multiplications, so every comparison "is $x$ larger than $y$?" must be approximated by a polynomial. Sharper comparisons need higher-degree polynomials, which in turn need more of the expensive noise-resetting step called bootstrapping. This note argues that encrypted rent division does not need sharp comparisons everywhere. It needs only enough precision to stay below the envy margin, or "slack," of the allocation it outputs. That slack is set by how differently the roommates value the rooms.
The core claim has two parts. First, any rent-division pipeline that makes comparison errors no larger than $\delta$ yields an allocation that is envy-free up to roughly $\delta$. A slack-maximizing rule therefore stays exactly envy-free whenever its slack exceeds $\delta$. Second, slack is large when valuations are heterogeneous and collapses as they become identical. Identical valuations are already known as the combinatorial worst case of fair division. Here they also become the cryptographic worst case, because they force the highest polynomial degree. We propose to build an encrypted rent-division pipeline that sets its comparison precision from a tolerance certified at the end, rather than from a worst-case bit width. We will measure on the real Spliddit instances how much encryption cost this saves, and how that saving varies with preference diversity.
Where the two directions meet
On the fair-division side, the file documents a consistent pattern: identical preferences remove the room for trade-offs. Bredereck, Kaczmarczyk, Luo and Sun show in Computing Efficient Envy-Free Partial Allocations of Indivisible Goods that envy-free partial allocations with efficiency targets are NP-hard under identical valuations even though they are polynomial under binary heterogeneous ones. Simplification and Improvement of MMS Approximation treats identical agents as the bottleneck case for maximin-share guarantees. Parameterized Guarantees for Almost Envy-Free Allocations introduces a per-good similarity ratio $\gamma$ and finds real Spliddit goods to be fairly similar: about 85.23% of goods have $\gamma_g \ge 0.51$. Its guarantees improve as $\gamma$ grows, which is the opposite direction from the slack effect we predict. We treat that tension as a question to test, not as a contradiction. The $\gamma$ ratio measures how close agents' magnitudes are for each good, while slack depends on whether agents rank goods differently.
The paper that supplies the bridge is Robust Rent Division. On 1,000 Spliddit instances it shows that the deployed maximin rule (maximize the worst-off roommate's utility) is brittle. Under synthetic valuation noise of 0.05 its probability of remaining envy-free "drops sharply." The paper's Lexislack rule, which lexicographically maximizes all envy margins, survives much better. That paper treats noise as uncertainty in the reported valuations. We reinterpret the same robustness as tolerance to approximate encrypted arithmetic. This motivates the proposal, and it also supplies the target rule.
On the encryption side, two papers supply methods we reuse. Circa: Stochastic ReLUs for Private Deep Learning shows that a downstream task can tolerate deliberately imprecise sign tests. Neural networks lose under 1% accuracy at a 10% sign-fault rate, giving a 2.6x to 3.1x speedup over Delphi. Circa's tolerance is empirical and specific to neural networks. Ours comes with a fairness bound and a final check of each output. FHAIM replaces a non-smooth L1 objective with a squared L2 objective so that it evaluates natively under CKKS, the FHE scheme for approximate real arithmetic. We borrow that move to make price computation polynomial. SAFENet spends exact, expensive nonlinearities only on important channels. Our analogue is to spend high precision only on instances whose final check fails.
The closest prior intersection work is narrow. Privacy-preserving Double Auction Mechanism Based on Homomorphic Encryption and Sorting Networks clears single-good scalar bids exactly with bitwise Goldwasser-Micali encryption and sorting networks. It takes about 15 minutes for 256 participants with 8-bit bids, assumes two non-colluding servers, and has no notion of envy or tolerance. Differentially Private Fair Division protects valuations by adding noise to the output instead of encrypting the input. It proves that protecting an agent's whole utility function is incompatible with meaningful fairness, and it still requires a trusted curator to see plaintext values. Neither paper ties the cost of private computation to the structure of preferences.
Core Claim
Let $v_i(r)$ be agent $i$'s value for room $r$, let $\sigma$ assign rooms to agents, and let $p$ be the room prices. The slack of an outcome is
$$s(\sigma,p)=\min_{i\ne j}\Big[\big(v_i(\sigma(i))-p_{\sigma(i)}\big)-\big(v_i(\sigma(j))-p_{\sigma(j)}\big)\Big],$$
the smallest amount by which any agent prefers their own room-and-price to anyone else's. The outcome is envy-free when $s\ge 0$ and envy-free up to $\delta$ when $s\ge-\delta$.
We will prove the following. Suppose the assignment step returns a welfare-maximizing assignment up to additive error $\delta_1$, and the pricing step meets the envy constraints up to $\delta_2$. Then prices exist that make the outcome envy-free up to $\delta_1+\delta_2$. The argument goes through the standard duality between envy-free prices and cycles in the envy graph: a near-optimal assignment leaves every such cycle with weight at most $\delta_1$.
The required comparison precision is then $\delta\approx s^\star$, where $s^\star$ is the slack the plaintext rule would achieve. For smooth sign approximations, multiplicative depth (the number of sequential multiplications, which determines how often bootstrapping is needed) grows roughly with $\log(1/\delta)$. This is because sharpening the polynomial step from width $\delta$ to $\delta/2$ costs roughly a constant number of extra composition rounds. The empirical claim is that $s^\star$ is strongly predicted by a measurable heterogeneity statistic of the instance. That statistic is disagreement in room rankings, which is distinct from Barman et al.'s magnitude-based $\gamma$. If the claim holds, encrypted cost becomes predictable, and on diverse instances it is much lower than a fixed worst-case precision would require.
Research Program
The pipeline has three encrypted stages. Before them, each roommate encrypts their value vector under a key held jointly by the roommates. This is the multiparty setting of Multiparty Homomorphic Encryption. It means no single server or helper can decrypt, which removes the two-server non-collusion assumption used by Xu and Chen and by $p^2$RAG.
The first stage is assignment. For the small room counts typical of shared apartments, the server packs the total welfare of every permutation into the parallel slots of a single ciphertext, using additions only, in the style of CryptoNets. It then runs a tournament argmax using sign approximations of width $\delta_1$. We will report the room count at which enumerating all permutations stops being feasible, rather than assume it scales.
The second stage is pricing. Instead of Lexislack's sequential linear programs, the server runs a fixed number of encrypted gradient steps on a smooth surrogate. The surrogate rewards slack through a low-degree soft-minimum and penalizes envy through squared hinge terms, and it projects onto the constraint that prices sum to the rent. This mirrors the substitution FHAIM made.
The third stage is certification. The server computes all $n(n-1)$ pairwise envy margins and tests each against $-\delta$ with a cheap sign approximation. It combines the results into one encrypted bit. The roommates jointly decrypt only the assignment, the prices, and this bit. If the bit fails, the instance is rerun at halved $\delta$. Total cost therefore adapts to each instance's slack.
On the analysis side we will prove the $\delta_1+\delta_2$ bound and characterize the slack achieved by the smoothed pricing objective relative to Lexislack. We will also state exactly what the protocol leaks: the outcome, plus the number of reruns, which reveals a coarse bound on slack. We will either pad to a fixed number of rounds or argue that this leakage is acceptable, and report the cost of padding either way.
Baselines
The naive reference point is plaintext Spliddit-style maximin and plaintext Lexislack, run on the same 1,000 instances. These define the fairness and slack the encrypted pipeline should match, and they have zero cryptographic cost. Robust Rent Division reports maximin's envy-free survival under noise only qualitatively; no reported numeric survival rate was found on Lacuna, so we will recompute both rules ourselves. Beating this reference is impossible on cost. Success means encrypted outcomes whose envy-free rate and slack distribution are within a stated tolerance of plaintext Lexislack.
The strongest existing encrypted approach to an allocation-like problem is the sorting-network auction of Xu and Chen. It reports roughly 15 minutes for 256 participants with 8-bit bids using odd-even merge sort, and roughly 132 minutes with selection sort. It does not compute rent division, so we will reimplement its exact bitwise comparison strategy inside our pipeline. That reimplementation is the Xu-and-Chen-style baseline, run on the same instances, hardware, and FHE library.
A modern exact baseline replaces our tolerant comparisons with exact integer comparisons under a bit-level scheme of the TFHE/FHEW family, at the bit width of Spliddit's dollar values. No reported result was found on Lacuna for encrypted rent division under any scheme, so all of these numbers will be new.
The ablation that isolates our key ingredient is the identical CKKS pipeline run at a single fixed precision. That precision is chosen to pass certification on all 1,000 instances, so the ablation keeps everything except slack-aware adaptivity. Beating the strongest competitor means two things. Total and median wall-clock time, and bootstrapping count, must be at least several-fold lower than both the exact baselines and the fixed-precision ablation. And envy-free outcomes must match plaintext Lexislack on the same instances. Every method gets the same machine, the same SIMD batching across instances, and the same tuning budget for polynomial parameters.
Why not just…?
Why not just run the exact algorithm in generic two-party computation, for example garbled circuits on two servers? For a handful of roommates, the exact maximin computation may already take seconds in two-party computation, and that is a serious threat. Our answer has two parts, both tested. First, two-party computation requires two non-colluding servers. Our jointly held key removes that assumption, which is the trust weakness the file identifies in both Xu and Chen and $p^2$RAG. Second, we will benchmark a garbled-circuit implementation of the same rule on the same instances. We will report honestly whether its latency beats ours, and also compare throughput when thousands of instances are batched, where FHE's parallel slots should matter. If two-party computation wins on both latency and throughput, the contribution narrows to the trust model plus the slack–precision link.
Why not just use differential privacy instead of encryption? Differentially Private Fair Division proves that protecting an agent's entire valuation forces fairness error that grows polynomially with the number of items. Its feasible notion protects only single entries, still guarantees only envy up to $O(n\log m/\epsilon)$, and still hands plaintext values to a trusted curator. Encryption protects the inputs from the server altogether and, in our design, adds only the certified error $\delta$.
Why not just use exact integer comparisons, since rent values are small integers? If Spliddit values fit in a few bits, exact bit-level comparison costs a fixed, modest amount and could match our adaptive scheme. The exact-comparison baseline settles this directly. We expect adaptivity to win where slack is large relative to the value resolution and to lose on near-identical instances. The cost-versus-heterogeneity curve will show where the crossover lies.
Why not just fix one generous precision for everyone? That is the fixed-precision ablation. It shows whether the per-instance slack signal actually saves bootstraps or merely adds rerun overhead.
Proposed Experiments
The main dataset is the 1,000 anonymized Spliddit rent-division instances used in Robust Rent Division. We add synthetic instances generated by interpolating each real instance toward a shared valuation profile, $v_i\leftarrow(1-\lambda)v_i+\lambda\bar v$. This varies heterogeneity continuously from the observed level ($\lambda=0$) down to identical valuations ($\lambda=1$). We also inject the Uniform, Normal, and Biased Normal noise models from that paper, to compare CKKS-induced error against valuation noise directly.
The first decisive check is whether plaintext Lexislack slack $s^\star$ falls as $\lambda$ rises, and whether ranking disagreement predicts it better than Barman et al.'s $\gamma$. If neither statistic predicts slack, the heterogeneity half of the claim fails.
The second check plots certified encrypted cost, measured as bootstraps, multiplicative depth, wall-clock time, and ciphertext traffic, against $s^\star$. It tests whether depth tracks $\log(1/s^\star)$ as predicted, and whether near-identical instances hit the worst case.
The third check compares envy-free rate, slack, and cost against all baselines, both per instance and with instances batched in SIMD slots.
The fourth check tests the robustness transfer. If maximin is brittle under valuation noise of 0.05, it should also fail certification far more often than Lexislack at the same $\delta$. Confirming this would show that robust fair-division rules are also the cheap ones to encrypt. If maximin proved equally tolerant, our explanation via slack would be wrong.
References
- Computing Efficient Envy-Free Partial Allocations of Indivisible Goods
- Simplification and Improvement of MMS Approximation
- Parameterized Guarantees for Almost Envy-Free Allocations
- Robust Rent Division
- Circa: Stochastic ReLUs for Private Deep Learning
- FHAIM: Fully Homomorphic AIM For Private Synthetic Data Generation
- SAFENet: A Secure, Accurate and Fast Neural Network Inference
- Privacy-preserving Double Auction Mechanism Based on Homomorphic Encryption and Sorting Networks
- Differentially Private Fair Division
- Multiparty Homomorphic Encryption (or: On Removing Setup in Multi-Key FHE)
- $p^2$RAG: Privacy-Preserving RAG Service Supporting Arbitrary Top-$k$ Retrieval
- CryptoNets: Applying Neural Networks to Encrypted Data with High Throughput and Accuracy