Skip to content

November 2026

What RQ2 is about, in the words of the people proposing it

Federated fine-tuning of code models across organizations is not a hypothetical RQ2 invents. Luo et al., "When Fine-Tuning LLMs Meets Data Privacy: An Empirical Study of Federated Learning in LLM-Based Program Repair" (arXiv:2412.01072, in TOSEM), federate program repair over as many as 100 simulated clients with QLoRA and FedAvg, uploading adapter parameters to a central server. Their motivation is stated plainly: federated learning "facilitates private entities to utilize their data collaboratively, while addressing the concern of data privacy by learning a model without exposing the raw data of each client", and "Data privacy is also protected by not exposing local data to each participating client". They name differential privacy and secure aggregation as possible additions and implement neither, and they state no adversarial threat model. The same setting appears for code translation between proprietary entities (arXiv:2501.05724).

Capacity and placement: where the source signal sits agrees with where adapters store things

Tan, Du and Feng, "How Many Bits Can an Adapter Write?" (arXiv:2607.21351, 2026-07-23), measure how much a LoRA adapter can hold: 1.7 to 2.8 bits a trainable parameter against full fine-tuning's 3.6, with memorization varying nearly twofold by placement, MLP against attention, at matched parameter counts. They measure total information stored, not where it came from, and report that membership inference "did not resolve the difference between these adapters".

The privacy LoRA provides by design is the wrong privacy for an organization

Malekmohammadi and Farnadi, "LoRA Provides Differential Privacy by Design via Random Sketching" (arXiv:2409.17538, revised 2026-02-10), prove that low-rank adaptation is equivalent to training with noisy batch gradients, the noise decreasing in the rank, and derive an inherent differential privacy guarantee when the adaptation matrices A are frozen, with the level set by rank and batch size. They offer it as the reason LoRA-tuned models resist privacy attacks.

Exact match earns its registration: the quieter metrics lose more signal than noise

The sensitivity analysis puts the design's resolution at about two exact-match points, which is where the observed effects are, so the obvious lever is a less noisy outcome. Exact match is binary and maximally variable; the run already records a normalised exact match and an edit similarity. Read over the three seeds under the crossed interval, on the same clusters:

Mixed rounds, and a detector that was reading its own reference

Extends the entry above to the deployment question: not "was this named client in the round" with the other participants drawn from other organizations, but "did this organization take part" with the round drawn from every client. The organization's clients are split once into the attacker's reference and the participants it may contribute, so no round is scored against itself.

Secure aggregation does not hide which source was in the round

sphragis/measure/aggregate.py, scripts/aggregate_attack.py, datasets/results/aggregate-attack.json. The per-client attack assumes the server sees each update; secure aggregation shows it only the round's mean, which is what a federated deployment would claim as its protection. Both detectors below are what an honest-but-curious server could run with reference updates of its own, computed exactly from the Gram matrix adapter_geometry already recorded, without touching the weights.

Organization beyond project, tested with the project as the unit

The client-level permutation treated clients as exchangeable, and clients share their project. The honest test leaves each client's own project out of every class mean, so an organization has to be recognised from its other projects, and permutes organization labels across projects, not clients (attribution.group_permutation_p, exact over all distinct relabelings when few enough). On the 34 clients of job 148513:

Review of the RQ2 and power code: one packing flaw, four small ones

Commits 38936f3 to 405462b reviewed, every finding reproduced and fixed. The one that touches a result: clients.partition could get stuck behind a client no remaining change completed, losing every client after it, so client counts depended on the shuffle. The executed run (148513) was affected in count only, its clients disjoint and exactly sized: starlingx/docs gave 4 where 5 are possible. The packer is now first-fit decreasing over open clients, which reaches the maximum for every corpus but starlingx/docs (5 of 6, where very large changes cannot pack exactly). The next client run, with AOSP added, uses it. The others: a skipped micro-batch now stops a client as a skipped step does, since it leaves the client short; conjunctive_power refuses a seed effect with one seed instead of recording one it did not simulate; seed_effect no longer crashes on a pair with no noise; adapter geometry skips the zero-norm initial state.