arXiv:2610.37828cs.LGOct 2026

Manuscript Offprint

arXiv:2610.37828

Learning Lotteries with Minimal Stakeholder Violations from Membership Queries

Nicholas Teh, Paul W. Goldberg

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

An AI developer often has several candidate versions of a system and can deploy a mixture of them, sending each request to a randomly chosen version, as in A/B testing. Each stakeholder (e.g., a safety team, a regulator, or a customer with private test data) accepts a mixture exactly when its expected performance (e.g., its rate of harmful replies) meets the stakeholder's own standard, which the developer can learn only by asking whether a proposed mixture is acceptable. We model this as choosing a lottery over mm alternatives for nn agents, each of whom accepts exactly the lotteries in an unknown halfspace and answers such binary membership queries. While Choo et al. (ICML 2026) sought a lottery that every agent accepts, none may exist when, say, safety and helpfulness requirements conflict, so we minimize the number of rejecting agents. We show that this problem is APX-hard even when all halfspaces are known and all utilities are 0 or 1. We then give exact algorithms that run in polynomial time when mm is constant, and in quasi-polynomial time when, for a constant η\eta, some optimal lottery has no accepting agent within η\eta of its threshold. When only some agents can be queried, optimizing over a uniform sample of agents gives additive and relative guarantees for the whole population, with a sample size that does not depend on nn, and a linear program gives a polynomial-time method for any mm. On the other hand, for m≥3m \geq 3, a deterministic algorithm that queries only KK distinct agents cannot guarantee fewer than n−Kn-K extra rejections, and this is achievable; in other words, it can guarantee nothing for the agents it does not ask. Small synthetic experiments indicate that our worst-case bounds are conservative on random instances.

1 Introduction

Training a language model to refuse harmful requests also makes it refuse some harmless ones [Bai et al., 2022, Röttger et al., 2024], and the parties affected by a deployment weigh these two errors differently. Consider a chatbot with a strict version, which gives a harmful reply to 0.2% of risky prompts but refuses 12% of harmless requests, and a lenient version, with rates of 1% and 2%. The developer need not commit to one version: it can route each conversation to a randomly chosen version, which is routine in A/B testing and staged releases [Kohavi et al., 2020]. If two thirds of conversations go to the strict version, linearity of expectation gives rates of about 0.47% and 8.7%. This mixture meets both a safety team's limit of 0.5% on harmful replies and a hospital's limit of 9% on refusals, although neither version meets both limits on its own. Suppose that a regulator also caps harmful replies at 0.3%. Then at least 87.5% of conversations must go to the strict version, whereas the hospital accepts at most 70%; no mixture meets all three requirements, and the developer has to choose whose requirement goes unmet.

We model such decisions with a standard framework from probabilistic social choice and random assignment [Brandt, 2017, Hylland and Zeckhauser, 1979]. A decision maker chooses a lottery over a finite set of alternatives (here, model versions), and each agent (here, a stakeholder) accepts it if

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

and only if the expected score of the lottery is at least the agent's threshold; the lotteries that an agent accepts therefore form a halfspace of the probability simplex. For requirements on average rates—of harmful replies, of refusals, or of errors on a customer's own test set—this linear model is exact, because a mixture's rate equals the sum, over versions, of the routing probability times that version's rate. The same model also describes applications ranging from content moderation [Gillespie, 2018, Gorwa et al., 2020] to school or housing allocation [Abdulkadiroğlu and Sönmez, 2003, Budish, 2011] to the division of a budget among public projects [Suksompong and Teh, 2026].

The decision maker, however, knows neither the scores nor the thresholds. A customer will not reveal its private test data, and a regulator's standard may be available only as legal text [European Union, 2024]. What a stakeholder can do is look at a concrete proposal and answer yes or no; following Angluin [1988], we call such a question ("is this lottery acceptable to you?") a membership query. Answering it demands far less of a stakeholder than reporting full utilities [Boutilier et al., 2006, Braziuonas and Boutilier, 2008], yet a single answer can cost an evaluation run or a human review, so a decision maker facing thousands of stakeholders can consult only some of them.

This query model was introduced by Choo et al. [2026b], who sought unanimity: a lottery that every agent accepts, or a report that there is none. Unanimity fits settings in which every requirement is mandatory, but it offers little guidance when requirements conflict. As the example shows, a single demanding agent can rule out every lottery, and learning that no lottery is unanimously acceptable does not tell the developer what to deploy (keeping the old version is one of the alternatives, not a way out of the choice). This paper addresses the following question: when the requirements cannot all be met, how can a decision maker who asks few membership queries find a lottery that as few agents as possible reject? We call the problem of minimizing the number of rejecting agents MIN-VIOL.

One could instead measure how severely each agent is violated, as Teh and Goldberg [2026] do in the same query model by minimizing a power mean of the distances from the lottery to the violated agents' acceptance boundaries (Appendix A compares the two objectives). We count rejecting agents because, for safety, a small aggregate violation can hide many agents who each fall just below their thresholds. This choice has a computational cost. Unanimity is a linear feasibility problem, whereas MIN-VIOL asks for a point of the simplex satisfying as many linear inequalities as possible, which is hard in general (Section 1.2).

References (93)