Policy-Partitioned Federated Learning: Making Data Terms of Use Enforceable Inside the Model

When a hospital, phone, or company contributes data to federated learning, meaning training one shared model across many data holders without moving their raw data, it hands over something that later becomes impossible to govern. The data never leaves the client. Its influence, however, is averaged into the shared weights, and from then on the contributor cannot enforce the terms it attached to the data: "only for diagnosis, not marketing," "delete after twelve months," "stop using it when I withdraw consent." Today such terms are honored, if at all, by approximate "unlearning" procedures run after the fact. Benchmarks show these procedures often fail to erase the target knowledge.

This note proposes moving the problem from cleanup to construction. We would sort contributors by their terms of use before training. Each group trains its own small add-on module on top of a frozen shared base model. The policy that governs any served model then follows directly from which modules it contains. Deletion, expiry, and purpose limits become exact operations: a module is dropped, or it is never loaded. The open research question is what this structural isolation costs in model quality and computation, compared with ordinary federated training followed by unlearning.

Core Claim

Usage-control research separates controllable obligations, which the system can block before they happen, from observable obligations, which it can only detect and penalize afterward (Mechanisms for usage control). In current federated learning every data-use obligation is at best observable. Once updates are averaged, a client's contribution is "forward-coupled" into all later rounds, as Federated Unlearning puts it, and removing it requires the server to store update histories and ask other clients to recalibrate.

Our claim is that the parameter layout of the model can be chosen so that the main obligations become controllable. The obligations we target are purpose limitation, retention expiry, and revocation. The cost should be a measurable and modest loss in quality whenever the number of distinct policies is small. The ingredient that matters is that the partition follows the policies, not clients or random shards. The governing policy of a served model is then computable by the kind of policy-derivation reasoning that Perennial Semantic Data Terms of Use for Decentralized Web performs for ordinary data transformations.

Concretely, let $\theta_0$ be a frozen base model pretrained on public data. Let $\Delta_c$ be a low-rank adapter, a small set of extra weights added to the base, trained only on data from clients in policy class $c$. Let $C(p,t)$ be the set of classes whose terms permit purpose $p$ and have not expired or been revoked at time $t$. The model served for purpose $p$ at time $t$ is

$$ M_{p,t} = \theta_0 + \sum_{c \in C(p,t)} \Delta_c . $$

The derived policy of $M_{p,t}$ is the combination of the terms of the classes it includes, so it satisfies every contributor's terms by construction. The semantic reasoner runs only when a client enrolls and when a model is assembled. It never runs inside training rounds. This sidesteps the scaling problem Zhao and Zhao report, in which reasoning about missing requirements ("unmatched expectations") slows sharply and times out at scale. That slowdown would be fatal if checks ran every round under the client churn that FedScale documents.

Relation to Prior Work

Two lines of work motivate the proposal. The first is federated unlearning. FedEraser (Federated Unlearning) corrects stored historical updates to remove a client. Oblivionis combines federated fine-tuning of language models with adapters and unlearning objectives such as SimNPO. Both treat removal as an approximate optimization triggered by hand. Neither can express purpose or expiry terms. We keep their adapter-based federated setup but replace approximate erasure with exclusion.

The second line is usage control, which supplies the vocabulary and the reasoning machinery. Distributed usage control and Policy Evolution in Distributed Usage Control treat policies as bound to data as it flows. The DToU system derives downstream policies automatically. Their enforcement points are operating-system and application events, which, as the research file notes, vanish once data enters a gradient computation. Our contribution is to give the policy-derivation step a target inside the model.

Other work constrains the design. TOFU reports that even with a 1% forget set, approximate unlearning methods "often failed to reach a statistically significant level of forget quality." This is the main evidence that post-hoc erasure is not a reliable way to enforce obligations. Watermarking schemes such as FedIPR and TraMark provide only observable evidence after a model leaks. TraMark's server-side parameter partitioning is the closest structural relative of our design, but it partitions for tracing, not for policy. Its acknowledged weakness against colluding clients warns us that adapters shipped to untrusted parties cannot carry controllable guarantees.

We therefore scope the controllable guarantees to a serving point that assembles $M_{p,t}$, either the server or a trusted enclave. Leakage of adapters themselves is treated as an observable obligation, which per-adapter watermarks could cover. CHIP shows active locks are possible but assumes a single central key holder. Extending it to a federation is a separate problem that we do not take on.

Research Program

The work has three parts. First, a policy compiler takes each client's machine-readable terms (purpose tags, retention window, derivation rules) in the DToU style and maps them to equivalence classes. Clients whose terms induce the same permitted purposes and expiry bucket share a class. Expiry is bucketed by quarter, which keeps the number of classes bounded.

Second, a training protocol runs federated averaging separately per class over adapters on the frozen base. Within a class, clients may be further split into $k$ sub-shards. Revoking one client then means retraining one sub-shard rather than the whole class. This knob lets us trade quality against revocation cost.

Third, an assembly step answers a request for purpose $p$ at time $t$ by checking class terms and summing the permitted adapters. We will also test a learned gating alternative that combines adapters with input-dependent weights. Its gate must itself be trained only on data the assembled model is permitted to use, otherwise it reintroduces coupling between classes.

The analysis questions are how quality degrades as the number of classes grows, how much assembled adapters lose relative to one jointly trained adapter, and how total compute over a stream of expiry and revocation events compares with repeated approximate unlearning.

Baselines

The naive reference is plain federated averaging over one shared adapter that ignores all terms. It gives the quality ceiling and shows what is violated when terms are ignored.

The exact oracle retrains that shared adapter from scratch on only the permitted, unexpired data after each policy event. Its quality defines the target and its cost defines the worst case. FedEraser reports a "4x speedup" over this kind of retraining with a "0.61%" average accuracy difference across MNIST, CIFAR-10, Adult and Purchase. We run FedEraser on the CIFAR-10 setting as the strongest history-based competitor for vision.

The strongest language-model competitor is Oblivionis with SimNPO, triggered automatically by the same policy compiler. This is the obvious way to combine the two fields. Oblivionis reports model utility "27.43% higher than the best local training baselines" and a forget truth ratio "comparable to full retraining." The research file contains no exact forget-quality value for it on TOFU, and no reported result was found on Lacuna for Oblivionis on MUSE.

Fairness rules apply to every comparison. All methods share the same base model (a Llama variant, as in Oblivionis), the same adapter rank budget summed across modules, the same client partition, the same total communication rounds, and the same hyperparameter search budget.

The key ablation keeps everything about our method but assigns clients to the same number of adapters at random rather than by policy. This isolates whether alignment with policy, as opposed to sharding as such, delivers the guarantees.

A second ablation trains a fully separate federated model per purpose with no shared adapters across purposes. It tests whether the composition step earns its complexity.

Beating the baselines means two things at once. First, forget quality on revoked or expired data must be statistically indistinguishable from the oracle, where Oblivionis is not. Second, utility on retained data must stay within a pre-set margin, which we set at the Oblivionis-to-oracle utility gap, at lower cumulative compute over the event stream.

Why not just…?

Why not just plug a policy engine into existing federated unlearning? This is the strongest threat, so it is our main baseline. The case against it is that each event is approximate. TOFU shows approximate methods often miss statistically significant forget quality even for small forget sets. Errors also compound across a stream of expiry events, and FedEraser additionally requires storing every client's update history. If Oblivionis plus the policy compiler matches the oracle's forget quality across a twelve-event stream at lower utility cost than our method, the structural approach is not worth it. We will report that outcome.

Why not just shard training randomly and retrain shards on deletion? Random sharding makes deletion cheaper. It cannot express purpose limits, because every shard mixes data with incompatible purposes, so every assembled model violates someone's terms. The random-partition ablation measures this directly as the fraction of served queries whose assembled model includes data not permitted for that purpose. It also tests whether policy-aligned shards lose more or less quality than random ones of equal count.

Why not just train one separate federated model per purpose? A client permitting three purposes would then contribute to three models. Each expiry would trigger three retrainings, and models for rare purposes would be starved of data. If the per-purpose ablation matches our composed models in both quality and event cost, we drop composition and recommend the simpler design.

Why not just add differential privacy? Differential privacy limits how much any single record can be inferred from the weights. It says nothing about purpose: a private model can still be used for marketing. It also does not satisfy a contractual deletion obligation, so it addresses a different requirement.

Proposed Experiments

The primary testbed is TOFU in a federated split. Each fictitious author's question-answer pairs belong to a client. Clients receive synthetic terms of use drawn so that a realistic policy count of 75 to 190 statements maps to between 4 and 32 classes, matching the realistic workload range in the DToU evaluation. We then replay a schedule of revocations and quarterly expiries. After each event we measure TOFU's forget quality (its statistical test against a retrained model) and model utility. We also run a purpose-leakage probe, which asks the assembled model for purpose $p$ about authors whose terms exclude $p$, scored with the same forget-quality test.

To check that results hold under realistic federation behavior, we repeat the class-count sweep on the FedScale Reddit split, which partitions data by real client identities, with FedScale's device availability traces. We also run CIFAR-10 to compare with FedEraser on its home ground.

Three decisive checks determine whether the idea stands. First, forget quality and purpose-leakage scores for our method must match the oracle at every event, while the Oblivionis baseline drifts. If ours does not match, isolation through a frozen base is leakier than assumed. Second, utility must decline gracefully as the number of classes grows. A steep collapse beyond about 16 classes would confine the method to coarse policies. Third, cumulative compute over the event stream must undercut both the oracle and repeated unlearning once within-class sub-sharding is tuned.