Manuscript Offprint
arXiv:2611.09277Federated Forensics: Jurisdictional constraints as a design driver for multi-agency federated learning
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
Digital forensic investigations increasingly cross borders, and law enforcement agencies need to build analytical models together without centralizing their data. Federated Learning (FL) keeps data local, yet neither FL nor its frameworks enforce the jurisdictional, governance, and accountability rules that multi-agency forensic work requires. This paper takes a design-first approach to that gap. First, we derive seven requirements that a federated learning system must meet in a forensic setting. Second, we propose Federated Forensics, a three-layer reference architecture whose middle layer, unlike in existing hierarchical FL designs, sits at a jurisdictional border and can use a model update locally while blocking it from crossing that border. Third, we build a prototype of the architecture and test it on a malware-family classification task. In a prototype evaluation, the policy gate blocked every restricted update at the border with zero violations, and restricted-class accuracy rose from 0% under today's compliant alternative to 93.0%, only 4.4 points below ignoring the restriction.
Keywords: Federated forensics, Federated learning, Digital forensics, Jurisdictional compliance, Multi-agency, Law enforcement
1. Introduction
Law enforcement agencies (LEAs) rely on digital evidence, and many investigations now cross national borders (Hargreaves et al., 2024). Legal instruments already allow agencies to exchange evidence across borders (European Union, 2014, 2023; Casino et al., 2022). Training a machine learning model together is a different matter: a model trained on data from several agencies may reveal patterns that no single agency can see, but the training data is sensitive and often cannot be collected in one place (Scanlon et al., 2023; Breitinger & Jotterand, 2023). Federated Learning (FL) addresses this technically, since each agency keeps its data and only model updates are shared (McMahan et al., 2017a). However, existing FL frameworks were not built for forensic work: auditability, governance across organizational levels, explainability (Solanke, 2022), and evidentiary accountability are rarely design goals (Riedel et al., 2024).
Some legal requirements can be met through system design, for example by minimizing data, logging processing, and restricting access. Others, such as the legal basis, purpose limitation, and lawful further use, require legal assessment (European Union, 2016a; Molder et al., 2023). Cross-border cooperation adds a specific question. In FL, evidence is always analyzed locally, so the question is whether information derived from it may contribute to a model that other jurisdictions receive.
Here, a flat FL topology reaches a limit. It can comply with a restriction by leaving the restricted material out of training. But it produces only one shared model, so the material is then also missing from the model used inside the jurisdiction, where its use is lawful and often most valuable. A flat topology can exclude restricted material, but it cannot scope where its influence travels. Scoping requires an aggregation point at the border of the jurisdiction, which is a property of the topology, not a setting (Liu et al., 2020).
This paper therefore asks: which federated learning topologies allow a jurisdictional restriction to be enforced at the point where it legally applies, and what does enforcing it cost in model quality?
We make three contributions. First, we derive seven requirements (R1 to R7) for FL in forensic settings, state what the forensic context adds beyond other regulated domains, identify a conflict between two of them, and assess the open-source FL ecosystem against them. Second, we propose Federated Forensics, a three-layer reference architecture whose middle layer sits at the border of legal competence and can withhold a contribution from further aggregation. Third, we evaluate a prototype in a controlled experiment: the gate blocked every restricted update, and accuracy on the restricted classes rose from 0% under the compliant flat alternative to 93.0%, 4.4 points below ignoring the restriction.
Two delimitations apply. First, our results are intelligence, not evidence: a model update loses its link to specific items of raw evidence once it leaves the agency, so a finding can direct evidence collection under chain-of-custody procedures but never replaces it. Second, we do not design the audit mecha-
*Corresponding author Email addresses: aruna.withanage@uni-a.de (Aruna Withanage), jessica.herrmann@uni-a.de (Jessica Herrmann), hudan@its.ac.id (Hudan Studiawan), frank.breitinger@uni-a.de (Frank Breitinger) nism. The architecture fixes where audit records must be written, but their format, verification, and conflict with differential privacy (Sec. 3.4) are treated in separate work.
Sec. 2 positions the work, Sec. 3 derives the requirements, Sec. 4 presents the architecture, Sec. 5 evaluates it, and Secs. 6 and 7 discuss limitations and conclude.
2.1. Federated learning in privacy-sensitive domains
In FL, participants share model updates instead of data, and an aggregator combines them into a global model. Raw data stays local, so FL fits domains where regulation or ethics prevent central collection. In healthcare, ten institutions jointly trained models that reached 99% of the performance of a centrally trained model and generalized to external institutions (Sheller et al., 2020). Similar deployments exist in finance (Long et al., 2020) and in cybersecurity, notably intrusion and IoT malware detection (Hernandez-Ramos et al., 2025; Albanbay et al., 2025). The standard way to combine updates is Federated Averaging (FedAvg), which takes a weighted average of them (McMahan et al., 2017a). FedAvg assumes that all participants behave honestly. Otherwise, a single manipulated update can distort the shared model, so robust methods discard updates that deviate too far from the rest (Blanchard et al., 2017; Yin et al., 2018). Further work deals with participants whose data differs strongly from one another, with reducing how much is sent per round (Konečný et al., 2016), and with hiding individual updates from the aggregator. Consequently, one can say that FL is technically mature, but it rests on assumptions. Most research assumes cooperative participants, homogeneous governance, and evaluation aimed at model performance (Riedel et al., 2024), scalability, and privacy. Organizational accountability, legal admissibility, evidentiary traceability, and procedural transparency are often outside the scope of framework design. This follows from the settings FL was built for, with assumed trust, cooperative data owners, and flat governance, none of which holds in multi-agency law enforcement.
2.2. Hierarchical federated learning
Multi-tier federated learning is well established. Liu et al. (2020) introduced the client-edge-cloud design, in which edge servers aggregate before a cloud server produces the global model. Related designs distribute aggregation across heterogeneous cellular networks (Abad et al., 2020) or cluster clients by update similarity to reduce the effect of non-IID data (Briggs et al., 2020). In all of these designs, the middle tier exists for engineering reasons. Edge aggregation reduces uplink traffic to the cloud, exploits locality and latency, lowers the frequency of expensive global synchronization, and improves convergence under heterogeneous data. The intermediate aggregator is therefore a performance optimization. It is assumed to be
cooperative; it is not an authority, and it forwards whatever it has aggregated. Our topology is therefore not novel; what differs is why the middle tier exists and what it must therefore be able to do. If the middle tier is placed where legal authority over a jurisdiction sits, it must be able to restrict, scope, or withhold what it forwards, and it must be able to justify that decision afterwards. Neither capability has a counterpart in designs built for communication efficiency, because there an intermediate aggregator never has a reason to refuse. We develop this in Sec. 4 and evaluate it in Sec. 5.5.
2.3. Federated learning in digital forensics and law enforcement
Digital investigations differ from other FL domains. Law enforcement agencies (LEAs) must preserve evidence integrity, maintain the chain-of-custody, and keep analytical processes defensible in court. Organizational hierarchies, jurisdictional boundaries, and legal mandates shape their workflows.
FL has been proposed for forensic-adjacent tasks, but only on research data. Parra et al. (2022) presented an interpretable federated transformer for threat detection and triage in cloud environments, and Mohamed et al. (2023) proposed an FL framework for IoT forensics analysis, evaluated on IoT attack data and silent on FL process governance and auditability. Dangi et al. (2025) introduced LIFT for live memory forensics and real-time malware detection, with little attention to explainability, legal admissibility, or multi-agency governance. None of these works show FL used by LEAs on evidentiary material in an investigation.
A second line of work helps law enforcement and judicial authorities access cross-border electronic evidence, for example, Europol and the SIRIUS¹ project. These initiatives support lawful access, provide standardized cooperation guidelines, and enable knowledge sharing. They concern data access and exchange rather than collaborative model training.
Both lines come close without covering our problem. Forensic FL work targets single tasks and assumes equal, cooperative participants; evidence-exchange initiatives govern access to data, not joint model training. In both, the law is something to comply with afterwards rather than something that shapes the design. What is missing is an FL architecture in which jurisdictional rules are part of training itself.
3. Forensic-specific requirements for federated learning
This section derives the requirements that a federated learning system must satisfy in a law enforcement setting and examines the tensions between them.
3.1. Rationale and scope
The requirements give a shared vocabulary for FL in law enforcement, make explicit what framework design usually leaves out, and inform the architecture in Sec. 4. They are neither
¹https://www.europol.europa.eu/hov-we-work/sirius-project a checklist nor a scoring system. Several of the requirements below also appear in FL for healthcare and finance. Privacy preservation and auditability, in particular, are common to any regulated domain, so we do not claim the individual requirements as novel. Our contribution is threefold. We consolidate them into one set for the forensic setting, we state what the forensic setting adds to each of them (Table 1), and we show that two of them conflict under conditions that do not arise in the comparison domains (Sec. 3.4).
3.2. Methodology
Requirements were derived from prior work in three areas:
FL frameworks and mechanisms. Comparative studies of FL systems (Riedel et al., 2024), foundational work on FL architectures (Bonawitz et al., 2019; Kairouz et al., 2021), privacy-preserving mechanisms including secure aggregation (Bonawitz et al., 2017) and differential privacy (McMahan et al., 2017b; Geyer et al., 2017), and communication-efficient protocols (McMahan et al., 2017a). This gave us the core architectural, privacy, and communication design principles.
Regulated domains. FL deployments in healthcare (Sheller et al., 2020; Rieke et al., 2020; Xu et al., 2021) and finance (Long et al., 2020; Yang et al., 2019). We chose these two because, among non-LEA deployments, they are close to the LEA context in three respects: strict regulatory oversight, collaboration across organizational boundaries, and high cost of errors. Mobile analytics and IoT were excluded because their FL deployments are mostly cross-device, with many devices under one operator, whereas multi-agency collaboration is cross-silo between independent organizations (Kairouz et al., 2021). This literature informed the requirements on governance, auditability, and compliance with sector regulations such as GDPR (Voigt & Von dem Bussche, 2017) and HIPAA (Annas, 2003).
Law enforcement and digital forensics. We looked at empirical studies of investigative workflows and system requirements (Skipanes et al., 2026), knowledge management in policing (Gottschalk & Dean, 2010), hybrid intelligence systems that use open-source intelligence (Maio, 2025), forensic process models (Carrier, 2003; Palmer et al., 2001), chain-of-custody (Casey, 2011), and forensic readiness (Rowlingson et al., 2004). We supplemented this literature with direct practitioner input: one of the authors works for a law enforcement agency and contributed first-hand knowledge of investigative workflows, organizational structures, and operational constraints. This helped us interpret and apply the literature to real law-enforcement settings.
We coded recurring concepts, kept those appearing in more than one source, and grouped them into requirements, excluding those mainstream frameworks already handle well, such as convergence or communication efficiency.
3.3. Core requirements
The seven requirements (R1 to R7) are unranked, because their relative importance depends on the investigative context and the legal environment. The list is not exhaustive. It is scoped to requirements that existing FL frameworks either do not address or address insufficiently for forensic use.
R1. Privacy Preservation and Data Locality: Raw data must stay under the control of the originating agency and must not be exposed to unauthorized parties. This includes jurisdictional boundaries, purpose limitation, and data minimization. Under Article 5(1)(b) GDPR and Directive (EU) 2016/680, purpose limitation binds at the level of the individual investigation (European Union, 2016b,a). R1 is often equated with the use of Secure Aggregation and Differential Privacy. In this setting, that equation is wrong. The two mechanisms address different threats, and neither is needed everywhere. Differential Privacy protects data subjects against inference by the aggregator, so its motivation depends on whether the aggregator has a lawful claim to the underlying data. Secure Aggregation hides a participant's contribution from the other participants and from the aggregator, so its motivation is operational rather than data-protective. In the deployments that FL practice comes from, the aggregator is a commercial operator with no legal relationship to the data subjects, and the first threat is acute. A regional hub that aggregates updates from its own subordinate agencies is in a different position. What R1 demands is therefore not a fixed set of mechanisms, but a decision, taken per layer, about which protection is owed to whom. Sec. 4.2 takes that decision for the proposed architecture.
R2. Auditability and Traceability: Forensic processes need end-to-end auditability. The system must record, reconstruct, and verify the training activity, including model updates, aggregation steps, and who participated. The standard is not internal reproducibility but external examinability. The relevant ISO standards give guidance rather than binding requirements, but the expectation is clear. ISO/IEC 27041 covers the assurance that an investigative method is suitable for its purpose and that its implementation can be shown to meet that purpose; ISO/IEC 27042 covers the analysis and interpretation of digital evidence, and ISO/IEC 27043 sets out the principles and processes that an investigation should follow and document across its lifecycle. In court, the record may be challenged by other parties, and it may need to remain verifiable long after the underlying analysis was conducted.
R3. Governance and Organizational Control: LEA collaboration follows hierarchical and inter-agency governance structures. The system must support explicit governance mechanisms that define roles, responsibilities, and decision-making authority, including the management of participation, the control of model dissemination, and the enforcement of organizational policy. A key difference from consortium-based FL in other domains is that participation may be constrained by statutory competence rather than being determined solely by contractual agreement. An agency may be legally unable to contribute to a given aggregate, however willing it is. R3 is the requirement this paper concentrates on: the architecture in Sec. 4 is derived from it, and the policy gate implements it.
R4. Explainability and Interpretability: Models may inform investigative decisions and, indirectly, judicial proceedings. Investigators must be able to reason about model behavior, limitations, and error sources, since outputs that cannot be interpreted have limited operational and legal use (Solanke, 2022; Michelet et al., 2026). The required level of explainability may depend on how the output is used. Where outputs serve only as investigative intelligence and the resulting evidence is verified independently, it remains unclear to what extent the model itself must be explainable to a court. Where outputs feed into a legal assessment, technical transparency alone is not sufficient; the reasoning must follow the structure of the legal evaluation it supports (Herrmann & Breitinger, 2026b,a). Black-box decision-making may also raise concerns under the fair trial guarantees of Article 6 ECHR and Article 47 of the Charter of Fundamental Rights (Council of Europe, 1950; European Union, 2012), and the EU AI Act emphasizes transparency for high-risk AI systems used in law enforcement (European Parliament and Council of the European Union, 2024).
R5. Interoperability and Extensibility: LEAs run heterogeneous technical environments. The system must work with existing forensic toolchains and data formats and must accommodate changing investigative needs without architectural change. A relevant constraint in this setting is that forensic IT environments are typically separated, physically or logically, from operational networks. Federated learning therefore requires controlled mechanisms for transferring model updates across these boundaries without compromising the isolation of the forensic environment.
R6. Integration with Forensic Workflows: FL should extend established workflows rather than disrupt them. The system must fit evidence management, case handling, and analytical pipelines, and must allow incremental adoption where that is useful. Integration must also preserve the distinction between intelligence and evidence. A model output may direct the collection of evidence following the forensic procedures described in ISO/IEC 27037, but it does not replace that collection.
R7. Usability and Operational Practicality: The system must be usable by non-specialists within normal agency resource constraints. This includes deployment: installation, configuration, and maintenance must be feasible for an agency IT department without specialist machine learning support, because a system that cannot be set up will not be adopted, whatever its properties. Excessive complexity is also more than an adoption barrier in this setting. It can make the system harder to operate reliably and its behavior more difficult to explain or review. This is particularly relevant where model outputs influence investigative decisions and may later require scrutiny.
3.4. Tensions between requirements
The requirements cannot be met independently of one another; three tensions arise:
One conflict is between R1 and R2. Differential privacy adds calibrated noise to model updates so that individual contributions cannot be inferred, and secure aggregation hides individual updates from the aggregator. Both degrade exactly the property that R2 needs, namely the ability to attribute a contribution to a specific participant afterwards. In healthcare and finance, this tension stays latent, because no external party has an interest in contesting the provenance of one institution's contribution.
The conflict is narrower than it looks because R1 is interpreted differently at each layer. It only appears where a privacy
Table 1: Additional demands placed on each requirement by the forensic setting, relative to its formulation in federated learning for healthcare and finance.
| Req. | Formulation in regulated domain FL | Additional demand in the forensic setting |
|---|---|---|
| R1 | Raw data remains local; secure aggregation and differential privacy protect individual records against an aggregator with no claim to them. | Purpose limitation may apply at the level of the individual investigation; the protection required may therefore differ by layer depending on the applicable legal and operational requirements (European Union, 2016b,a). |
| R2 | Logging for reproducibility, model governance and regulatory reporting. | The record must remain verifiable over time and withstand independent or critical examination (ISO/IEC 27041 and 27043). |
| R3 | Consortium agreements between voluntarily cooperating institutions. | Participation may be constrained by statutory competence rather than determined solely by voluntary agreement. |
| R4 | Explanations addressed to domain experts and regulators. | Explainability requirements may extend beyond the system operator where model outputs influence investigative or judicial processes; the required level of court-facing explainability remains context-dependent (Council of Europe, 1950; European Union, 2012). |
| R5 | Integration with existing institutional data infrastructure. | Integration across networks that are deliberately separated from operational infrastructure for security reasons. |
| R6 | Integration with clinical or business processes. | Preservation of the boundary between intelligence and evidence; outputs may direct evidence collection following established forensic procedures rather than replacing it (ISO/IEC 27037). |
| R7 | Usability for domain specialists. | System complexity must remain manageable for reliable operation, review, and explanation, particularly where outputs influence investigative decisions. |
mechanism is needed, and it may become particularly relevant where the aggregate leaves the jurisdiction. Inside a jurisdiction the aggregating body may itself be a competent authority, but the protection required still depends on the purpose and legal basis of the processing and on what information is necessary for that purpose. Privacy-preserving mechanisms can minimize the information disclosed, but they do not replace the legal basis required for the underlying processing. The open question is therefore not how to reconcile privacy and auditability in general. It is whether attribution can be kept across those aggregation steps where additional privacy protection is needed. We raise the question here and do not answer it. Designing an audit mechanism that satisfies both requirements is a problem of its own and is treated in separate work.
Two further tensions are less severe but relevant for deployment. R4 partly opposes R1, because explanations of model behavior can themselves disclose information about the training data. R2 also conflicts with R7, as comprehensive audit trails burden agencies already short of resources.
3.5. Federated learning framework landscape: Screening and forensic readiness
The architecture in Sec. 4 needs hierarchical aggregation and a point to inspect contributions before forwarding. Most maintained FL frameworks offer the first, and the second can be built wherever aggregation is user-definable, so the architecture is not tied to one framework.
For completeness, we screened twelve widely used open-source frameworks on maintenance indicators taken from pub-lic repository metadata, and then assessed one of them, Flower, against R1 to R7. The screening procedure, the statistics, the reasons for choosing Flower, and the assessment itself are in Appendix B and Appendix C. Its indicators measure public community activity, a poor proxy when adopting organizations do not contribute publicly, and they also depend on project age and the developer community's location.
One finding from that assessment belongs here, because it bears on the argument and not on the framework. Flower provides secure aggregation and differential privacy, but both are configured globally rather than per aggregation step, which reflects the flat deployment model the framework assumes. As argued under R1, the question for a forensic deployment is which protection is required at each layer based on the applicable legal and operational requirements. A framework with a single privacy setting for all aggregation steps cannot express it, and enabling either mechanism everywhere may trigger the conflict with auditability described in Sec. 3.4 at layers where the same level of protection is not required.
The remaining findings agree: several frameworks are mature, but none offers inter-agency governance, forensic-grade audit trails, or case-management integration. Standard FL frameworks were not designed for the hierarchies, oversight, and accountability demands of law enforcement, and this mismatch motivates the architecture in the next section.
4. Federated Forensics: A reference architecture for law enforcement collaboration
Federated Forensics works with existing FL technology and mirrors the structure of law enforcement organizations (Bürger & Thielmann, 2023), because that structure defines responsibility boundaries. It is deliberately minimal: it fixes where coordination and enforcement happen, not how each requirement is implemented, and specifies no mechanisms for auditability or explainability.
4.1. Three-layer Federated Forensics architecture
We propose three logical layers, shown in Fig. 1. The Local Agency Layer contains the individual LEAs that collect, store, and analyze evidence. All raw data stays here. Agencies train models on their own evidence and share only model updates upwards, so FL extends existing forensic workflows rather than replacing local analysis.
The State/Regional Coordination Layer corresponds to intermediate entities such as state police units, inter-agency task forces, or regional forensic hubs. It receives updates from local agencies, aggregates them, and produces two outputs: the regional model, which may draw on every contribution the layer is permitted to use, and the outward contribution, which carries only what may cross the jurisdictional boundary. The outward contribution is not a usable model of its own. It is an intermediate aggregate, passed on for further aggregation at the national layer. The component that separates the two is the policy gate. It reads the policy label of an update and decides, per round and per recipient, whether the update may enter the aggregate.

Figure 1: Conceptual architecture for Federated Forensics. Local nodes train models and send protected updates to regional hubs, which validate, aggregate, and forward to the national coordinator with privacy guards and audit mechanisms.
Sec. 4.3 explains why this decision belongs at this layer and where the labels come from.
Models return the same way in reverse: national to regional to local. A region that forwarded everything passes the national model down unchanged. A region that withheld something first combines the national model with its regional model, so its agencies still benefit from the withheld knowledge without it leaving the region (Sec. 5 gives the combination rule). Each agency then trains its next round on the received model, and the resulting updates are labeled and gated again.
The National/International Coordination Layer aggregates the regional contributions for strategic intelligence and cross-border pattern detection, under existing national or international governance. It sees only what a region forwarded, not what it withheld. Reporting exclusions upwards would reveal that a region runs operations of a restricted category, the very inference Sec. 4.2 guards against, so exclusions are recorded only at the regional layer.
4.2. Trust assumptions and threat model
Local agencies are semi-trusted: they follow the protocol under normal circumstances, but they are subject to insider threat, credential compromise, and coercion. The regional and national layers are honest-but-curious: they aggregate correctly, but they may try to derive information from what they see, and they are high-value targets. The communication between layers is authenticated and encrypted. Consequently, Table 2 states what each party observes, what it can infer beyond that, and what it can influence. The inference column matters most, because it describes what an agency discloses by taking part at all.
Three points deserve attention. First, metadata stays informative even when update contents are protected. Participation timing and declared sample counts let a regional hub infer the relative caseload of its members, and a long absence can itself indicate a sensitive ongoing operation. Encrypting the updates does not help against this.
Second, the protection owed depends on the layer. A local agency and its regional hub belong to the same jurisdiction and often stand in a relationship of subordination. The legal basis and the protection required still depend on the specific processing purpose. What matters here additionally is operational secrecy: an agency may accept that the hub processes its contribution, but not that a neighboring agency learns which operations it runs. Hiding contributions from peers serves this; adding noise does not.
At the next layer, the recipient may be a foreign or supranational body, so the legal basis for any transfer must be assessed separately, and data minimization may demand extra protection. If noise is justified anywhere, it is here. The structure already helps, since this layer receives only multi-agency aggregates, never an individual site's update. One risk remains at every layer: a model that has memorized rare training examples can leak them when redistributed, which matters for sensitive investigative material.
Third, the last row of Table 2 has no counterpart in healthcare or finance. Forensic training data comes largely from the subjects of the investigation: seized devices, intercepted communications, and material published by criminal groups themselves. These subjects are adversaries who may change their behavior if they suspect they are being modeled. A patient does not alter a radiograph to mislead a diagnostic model; a criminal group has both the motive and the means to alter its communications. This threat originates outside the system boundary, and no mechanism inside the system can address it.
4.3. Jurisdictional policy enforcement
Consider a restriction found in practice. Under the national implementation of Directive (EU) 2016/680, a German agency may hold cases whose material must not contribute to a model received by other jurisdictions (European Union, 2016a). A flat topology can comply only by leaving that material out of training. Since a flat deployment has one shared model, the material then also disappears from every model used inside the jurisdiction, where its use may be lawful and neighboring agencies work on related cases. Compliance thus discards more than the restriction requires. The withholding is also invisible: it happens inside each agency, so no agency can show the others that it complied.
The three-layer structure separates what an agency trains on from how far the resulting signal travels: restricted material improves the regional model, and the policy gate withholds it from the global one (Fig. 2).
The gate needs labels with a clear origin and granularity. One workable choice is the case category, the level at which legal rules are often written and case management systems already classify holdings, so labels come from the case file rather than an ad hoc decision at training time. Other levels, such as the investigation or data source, work the same way; our prototype uses a two-valued label per data item (Sec. 5). Each update carries exactly one scope, so an agency submits one update per scope and round. This costs local training effort and shrinks each training set, but a mixed update would have to be treated under its most restrictive label, losing the utility the architecture exists to preserve.
Two limits apply. Mapping legal rules to case categories is a legal decision made once per jurisdiction; the architecture makes it explicit and reviewable but does not make it. And the gate depends on its inputs: a mislabeled case is processed under the wrong policy, and the regional layer cannot detect this. The gate's decisions are inspectable; the labels' correctness is not guaranteed.
The more important argument concerns authority. A lawful-transfer decision must be taken by a competent body. A flat topology offers two enforcement points, and both fail: the agency is competent but cannot scope or demonstrate compliance, and the global server could enforce visibly but may be controlled by another jurisdiction or an international body, which lacks the authority to decide. The regional layer is the only point that is both competent and a single place where each decision is recorded. This alignment, not the aggregation algorithm, is what the architecture contributes. Its cost, reduced information for the global model, is quantified in Sec. 5.5.
4.4. Architectural implications for forensic requirements
The seven requirements are not properties of the same kind, so they cannot all be assessed against an architecture in the same way. Two of them are settled by the structure alone. Raw data cannot leave the local layer because no higher layer receives it (R1), and the authority over each aggregation step is fixed by the layer that performs it, which is where the policy gate acts (R3). For two more, the structure says where, but not how. The aggregation points fix where audit records must be produced, but say nothing about what such a record should contain or how it is verified (R2), and the boundary between intelligence and evidence sits at the local layer, but integration with evidence management systems is not demonstrated (R6). For the remaining three, the structure makes no difference: explainability follows from the choice of model (R4), interoperability from the toolchain and deployment decisions (R5), and usability from implementation, interface design, and training (R7). No topology can deliver usability or explainability, and claiming otherwise would overstate what an architecture contributes.
4.5. Alternative architectural approaches
We judge other topologies by one test: does an aggregation point sit at a legal boundary, and can it hold updates back?
Flat cross-silo architectures fail the criterion twice, as shown in Sec. 4.3: their one aggregation point lies outside every participating jurisdiction's competence, and agency-side withholding cannot scope.
Parallel flat federations obtain the scoping effect without a hierarchy: an agency joins one federation inside its jurisdiction and a second one across borders, and contributes restricted material only to the first. Where two federations are enough, this is a legitimate alternative, with three drawbacks. Training and coordination run twice, and the cost grows with the number of scopes. The two federations never meet, so the inner model
Table 2: What each party observes, can infer, and can influence in the three-layer architecture.
| Party | Observes directly | Can infer | Can influence |
|---|---|---|---|
| Local agency | Own evidence and local model; global model received | Aggregate properties of other regions, from successive global models | Own update; own declared sample count |
| Regional hub | Member identities; per-agency updates; sample counts; participation timing | Relative caseload per agency; properties of local training data from gradients; sensitive operations, from participation gaps | Regional aggregate; inclusion, exclusion and weighting of members |
| National hub | Regional aggregates; region identity; aggregate weights | Relative data volume per region, but not individual contributions | Global model redistributed to all participants |
| Network adversary | Encrypted traffic; timing and volume | Participation patterns; periods of regional activity | Availability |
| Insider at agency | Local raw evidence; credentials | Contents of the global model | Poisoned updates; exfiltration of the global model |
| Investigated party | Nothing within the system | None | The training data itself, by adapting behavior if monitoring is suspected |
gains nothing from what the cross-border model learns. And the decision of which federation a contribution enters is still taken inside each agency, so the enforcement point stays away from the competent authority and outside any single point of record. Parallel federations rebuild the hierarchy by hand, without its enforcement point.
Two-layer architectures, in which agencies report directly to a national or international coordinator, are sufficient where the relevant boundary of competence is national. Where oversight sits at state or regional level, as in federal police structures (Bürger & Thielmann, 2023), the enforcement point and the competent authority no longer coincide.
Fully decentralized approaches have no distinguished aggregation point at all, so there is no place at which a restriction can be applied and no party responsible for applying it.
The three-layer structure is therefore not optimal in general. It is the minimal structure that aligns an enforcement point with legal competence in the federal and cross-border settings we consider. Where the competence structure has more levels, further layers follow by the same argument, though we have not examined their cost.
5. Prototype implementation and empirical results
This section tests, in a controlled proof-of-concept experiment, whether the policy gate keeps restricted updates inside their jurisdiction, and at what cost. Malware classification is only the vehicle; we propose no new classifier. The codebase is available in the repository. ² BB
5.1. Setup
Prototype layout. The system runs as a single-process simulation with four local agency nodes (A1 to A4), grouped into two regions (R1 = {A1, A2}, R2 = {A3, A4}), reporting to one national node. Each node keeps its own model; the regional and national nodes aggregate, and the regional nodes also apply the policy gate. In the proposed condition the two agencies holding restricted data (A1, A2) each send two separate update streams per round, while A3 and A4 send one each; so the regional node in R1 receives four update streams per round and the regional node in R2 receives two, six in total across the federation.

(a) Flat federation: A1's restricted data (r) is excluded from training and improves no model.

(b) Policy-gated hierarchy: r improves the regional model, the gate stops U_r at the boundary, and agencies start the next round from the combined model.
Figure 2: Update (U) flow and return path for a restricted contribution. Agency A1 holds material of a global scope (g) and of a restricted scope (r) and trains one update per scope. In a flat federation (a), compliance forces A1 to exclude r from training entirely. In the gated hierarchy (b), U_r enters the regional model, the policy gate withholds it from the outward contribution at the jurisdictional boundary, and the returned model, national combined with regional, is the starting point of the next round.
Dataset. We use BODMAS (Blue Hexagon Open Dataset for Malware Analysis; Yang et al. (2021)), a public dataset for malware research. It contains 134'435 rows (57'293 malware, 77'142 benign). We use only the malware rows and classify each sample's feature vector into its family. Of the 582 families, we use eight, chosen because each has enough samples to fill every entitled agency's 400-row budget and each REGIONAL_ONLY family has a GLOBAL sibling in the same category (Table 3; Sec. 5.2). The dataset only serves to demonstrate the gate. Realistic digital forensic datasets are rarely available (Breitinger & Jotterand, 2023), since evidentiary material is legally protected and seldom shared, whereas BODMAS is public, large, and labeled. The results therefore make no claim about any real investigation, but show that the architecture enforces a jurisdictional restriction as designed and at a measurable cost.
Splitting into agencies and regions. The data is distributed in three steps. First, each family receives a propagation scope (Table 3): GLOBAL updates may reach the national level; REGIONAL_ONLY updates may not leave their region. Second, each family's rows are shuffled and cut into disjoint blocks of 400 rows. Every agency receives one block of each GLOBAL family, but only A1 and A2 receive a block of each
²https://github.com/ArunaSanjeewa/federated-forensics
Table 3: Eight classes; trojan and worm each contain both a GLOBAL and a REGIONAL_ONLY family, so restricting gepys/silyp2p removes two specific families, not the trojan/worm categories. The mapping is a design choice made before any run.
| Propagation scope | Family (category) | Samples in BODMAS |
|---|---|---|
| GLOBAL | wacatac (trojan) | 4'694 |
| GLOBAL | dinwood (trojan) | 2'057 |
| GLOBAL | sfone (worm) | 4'729 |
| GLOBAL | mira (worm) | 1'960 |
| GLOBAL | wabot (backdoor) | 3'673 |
| GLOBAL | berbew (backdoor) | 1'749 |
| REGIONAL_ONLY | gepys (trojan) | 1'124 |
| REGIONAL_ONLY | silyp2p (worm) | 1'616 |
REGIONAL_ONLY family. A1 and A2 thus hold eight families (3'200 rows); A3 and A4 hold six (2'400 rows). This assignment is fixed by one partition seed, so every agency owns the same rows in every run. Third, each agency splits every block into 300 training and 100 test rows. This split is redrawn in each of the five repetitions (seeds 42 to 46), so A1 and A2 always have restricted rows in both training and test sets.
Model and training. Every condition in Sec. 5.3 trains the same machine learning model from scratch: a multi-layer perceptron, a simple neural network, with layer widths 2'381, 256, 64, and 8, matching the input features and the eight families. It has 626'760 parameters, uses ReLU activations and dropout of 0.1, and is trained in 32-bit floating point. The whole network is trained and exchanged every round. Features are z-score normalized with statistics computed over each seed's pooled training rows (Sec. 6). Training uses the AdamW optimizer with learning rate , batch size 32, three local epochs per round, and gradient-norm clipping at 1.0. Federation runs for five rounds with sample-weighted FedAvg, identical for B2 to B4 except for one step in B4 (Sec. 5.2). Each condition runs with five seeds (42 to 46).
Technical stack used. The federated learning framework is Flower (f1wr 1.36.0), with PyTorch 2.14.0 and scikit-learn 1.9.1 on Python 3.13.5; paired t-tests use SciPy 1.18.1. Runs use an Apple M4 Pro machine (48 GB memory).
5.2. Policy configuration
What “restricted” means here. Two of the eight malware families are REGIONAL_ONLY, i.e., updates trained on them may reach regional partners but not the national level. Each has a GLOBAL sibling in its category (gepys with the trojan wacatac, silyp2p with the worm sfone), so excluding them does not remove the trojan or worm categories from a compliant model.
Who holds it. Only the two Region 1 agencies, A1 and A2, hold restricted material, 25% of their data (800 of 3'200 rows).
How the label is attached to an update. Each agency declares the scope of its data on every update it sends, together with an update id, agency, region, round, number of training examples, and a parameter hash. A1 and A2 send two updates per round, from their GLOBAL rows and from their REGIONAL_ONLY rows. The regional hub applies the gate to the declared scope, excluding only REGIONAL_ONLY updates bound for the national level, and records every decision, INCLUDE or EXCLUDE, in an append-only provenance log, so blocked updates are documented rather than silently dropped.
Return path. Region 2 agencies receive the national model unchanged. Region 1 agencies receive an equal (50/50) blend of the national model and their region's aggregate of the updates. We do not weight the blend by example count, because the national model never sees the two restricted families and therefore learns to rule them out. Only the aggregate knows them, and it is based on far fewer examples than the national model. Weighted by example count, it would be outvoted and the restricted families largely forgotten; equal weighting keeps them.
5.3. The four experiment run conditions
B1 - Local only. Each agency trains on its own data and never shares.
B2 - Flat FL, unrestricted. One flat federation over all data, including restricted data, shared everywhere. Not legally available in practice: it puts restricted knowledge into the national model.
B3 - Flat FL, restricted dropped. One flat federation, but A1 and A2 must leave their REGIONAL_ONLY data out of training entirely. This is what an agency can do today if it wants to join a flat federation and stay compliant.
B4 - Hierarchical, policy aware (our proposal). Three layers. Restricted data contributes to the Region 1 model through the separate stream; the gate blocks that stream at the region-to-national boundary; the return path keeps it inside Region 1.
Two comparisons matter, both measured at A1 and A2, the agencies holding restricted material: B4 against B3 shows what our architecture gains over the only compliant option today, and B2 against B4 shows what complying with the restriction costs. In addition, A3 and A4 show whether restricted knowledge leaks to agencies that never held it, and B1, where each agency trains alone, serves as a reference for whether collaboration pays off at all.
5.4. Evaluation protocol
We report results per agency rather than as one overall figure, since an investigator cares about what a model does for a specific agency, and the restricted material sits in only one region. Each agency's model is tested on two sets: the agency's own held-out samples (600 to 800), and the restricted samples of A1 and A2 combined (400). We apply the second set to A3 and A4 as well, to see whether restricted capability leaks to agencies that never held the material.
The main metric is macro-F1, which averages the F1 score over the malware families present in a test set, so that a rare family weighs as much as a common one. On the restricted set,
Table 4: Macro-F1 per agency (mean ± SD, five runs), on each agency's own test set and on the restricted test set of A1 and A2. A3 and A4 hold no restricted data; their restricted-set scores show leakage.
| Agency | B1 | B2 | B3 | B4 |
|---|---|---|---|---|
| Own test set | ||||
| A1 | 0.919 ± 0.009 | 0.930 ± 0.009 | 0.632 ± 0.012 | 0.913 ± 0.009 |
| A2 | 0.923 ± 0.005 | 0.917 ± 0.008 | 0.626 ± 0.007 | 0.891 ± 0.006 |
| A3 | 0.891 ± 0.018 | 0.896 ± 0.019 | 0.899 ± 0.021 | 0.896 ± 0.020 |
| A4 | 0.905 ± 0.020 | 0.905 ± 0.016 | 0.905 ± 0.015 | 0.907 ± 0.016 |
| Restricted test set | ||||
| A1 | 0.991 ± 0.006 | 0.986 ± 0.006 | 0.000 | 0.962 ± 0.014 |
| A2 | 0.994 ± 0.004 | 0.986 ± 0.006 | 0.000 | 0.962 ± 0.014 |
| A3 | 0.000 | 0.986 ± 0.006 | 0.000 | 0.000 |
| A4 | 0.000 | 0.986 ± 0.006 | 0.000 | 0.000 |
Table 5: Comparisons on the restricted test set (A1, A2; identical by construction, since they share the Region 1 model and the pooled test set; see Sec. 6). Five runs, paired t-test with four degrees of freedom. Macro precision is exactly 1.000 for both B2 and B4 in every run.
| Comparison | Metric | Difference | p |
|---|---|---|---|
| B4 – B3(main comparison) | accuracymacro-F1 | +0.930 ± 0.025+0.962 ± 0.014 | < 0.0001< 0.0001 |
| B2 – B4(cost of compliance) | accuracymacro-F1 | +0.044 ± 0.020+0.024 ± 0.012 | 0.0080.010 |
only the two restricted families are present, and only these are averaged. We also report accuracy.
For B4, we count every restricted update that reaches the regional node, and check against the provenance log whether the gate blocked it or let it through. Each condition is run five times with a new train/test split, and all runs use the same scoring code. We report the mean and standard deviation (SD) over the five runs and test differences between conditions with paired t-tests (p).
5.5. Empirical results
Policy enforcement. Across all five runs, the gate blocked each of the 50 restricted updates bound for the national level and passed all 100 GLOBAL updates, with a matching EXCLUDE record in the provenance log for every block. The implementation enforces the rule as specified, so the following results come from a system that actually complies.
Classification performance. Table 4 shows macro-F1 per agency and condition, on each agency's own test set and on the restricted test set; Table 5 gives the main comparisons.
Main result (B4 against B3). B3 cannot recognize the restricted families at all: it scores 0% accuracy on them in every run, because they were never part of its training. Since a quarter of A1's and A2's caseload belongs to these families, their macro-F1 on their own test sets drops from about 0.91 to 0.63. B4 restores this capability, reaching 93.0% accuracy and 0.962 macro-F1 on the restricted families (p < 0.0001). Its precision there is 1.000 in every run: it never confuses gepys with silyp2p, and its errors are misclassifications into one of the six non-restricted families.
In practical terms, both options obey the restriction, but they leave the agency with very different tools. In a flat federation, the agency's model cannot recognize the very cases the restriction concerns; with the gate, it recognizes them in 93% of cases.
Cost of compliance (B2 against B4). B2, which ignores the restriction, outperforms B4 on the restricted families by 4.4 percentage points in accuracy (p = 0.008) and 0.024 in macro-F1 (p = 0.010). On the agencies' own test sets, the cost is 0.017 macro-F1 for A1 (p = 0.0008) and 0.026 for A2 (p = 0.0002), and there is no measurable cost for A3 and A4.
In practical terms, respecting the restriction means that out of 100 samples from the restricted families, the agency's model misclassifies about four more than a model that ignores the rule would. Agencies without restricted material see no difference.
Leakage. B2's advantage comes at a price that the restriction exists to prevent. Because all agencies share one global model, A3 and A4, which hold no restricted material, recognize the restricted families as well as A1 and A2 do (0.986 macro-F1). Under B4, they score 0.000, so the capability stays inside Region 1.
In practical terms, ignoring the rule lets agencies that never held the restricted material recognize it anyway. With the gate, only the agencies entitled to that knowledge gain it.
Comparison with local training (B1). An agency training alone recognizes its own restricted families slightly better than under B4 (0.991 and 0.994 against 0.962; p < 0.01), since it uses all its data and blends in no outside model. On their own test sets, B4 is on par with B1 for A1 (difference 0.006, not significant) and 0.032 below it for A2 (p = 0.0016). But B1 gives up all collaboration: no agency benefits from another, and A3 and A4 cannot recognize anything they do not hold themselves.
In practical terms, an agency with enough data of its own may do slightly better alone on its own cases. But it then learns nothing from other agencies, and they learn nothing from it.
Summary. The gate blocked every restricted update with a complete audit trail. B4 restores recognition of the restricted families from 0% under B3 to 93.0%, 4.4 points below B2, costs two to three macro-F1 points on the restricted agencies' own test sets, and, unlike B2, keeps the restricted capability inside its region.
6. Limitations
Our experiment tests the policy gate under simplified conditions. We chose which two families count as restricted; no court or law made that choice. It is also expected that B3 scores zero on these families, because a model cannot recognize what it has never seen. The more meaningful results are what B3 loses on the agencies' full caseload, how close B4 comes to B2, and how B2 spreads restricted knowledge to agencies outside the region.
Some results are less independent than they look. A1 and A2 use the same regional model, so their scores on the restricted set are one measurement, not two. The model also only chooses among eight malware families and can never answer "benign" or "unknown". This makes all scores higher than they would be in practice, so the comparisons between conditions matter, not the scores themselves. Finally, we normalized the features using the training data of all agencies together, which a real federation would not permit.
The prototype runs in a single process on one machine. All agencies behave honestly, label their data correctly, and no encryption is used. The equal blend on the return path was only tested with two regions of similar size. The experiment therefore shows that updates are routed and blocked as intended, not that a real deployment complies with the law.
Beyond the experiment, the requirements come from the literature and from one author's work in law enforcement, not from structured interviews with investigators. The gate trusts the labels agencies declare and cannot detect wrong ones. The legal discussion stays general; a detailed analysis for specific jurisdictions needs legal experts.
7. Conclusion
We asked which federated learning topologies allow a jurisdictional restriction to be enforced where it legally applies, and at what cost. Our answer is that the topology matters more than the algorithm. A flat federation can only enforce such a propagation restriction by discarding restricted material completely, and it leaves the decision either with each agency, where compliance cannot be shown, or with a global server that lacks the authority to decide. Only an aggregation layer placed at the boundary of legal competence can use restricted material inside a jurisdiction and stop it at the border. In our prototype, this recovered almost all of the capability that the flat alternative loses, 93.0% instead of 0% accuracy on the restricted families, at a cost of 4.4 points compared to ignoring the restriction, and without spreading restricted knowledge to other regions.
This has consequences for practice. For agencies planning joint models, the first design question is not which framework or privacy mechanism to use, but where legal competence lies and whether an aggregation point coincides with it. For framework developers, the gap is concrete: privacy protection and forwarding decisions must be configurable per aggregation step, rather than globally across the federation. Existing frameworks provide relevant building blocks, but do not directly support this combination of layer-specific, policy-driven controls. Where a propagation restriction applies and agencies must still collaborate across the boundary it defines, we therefore recommend Federated Forensics, a policy-gated hierarchical architecture. It turns a complete loss into a small, measured cost; whether that cost is acceptable remains a policy decision.
Our results come from a single-process simulation on public malware data, with honest agencies and self-declared labels, and the requirements have not yet been validated with investigators. Three steps follow: structured validation of the requirements with practitioners, an audit mechanism that keeps contributions attributable where privacy protection is needed, and a deployment across separate infrastructures with real jurisdictional rules. More broadly, this work shows that legal constraints in federated learning are not something to verify after
the fact, but a design input that decides which systems can be built at all.
CRediT authorship contribution statement
Aruna Withanage: Conceptualization, Methodology, Software, Investigation, Writing - Original Draft, Visualization.
Jessica Herrmann: Conceptualization, Writing - Review & Editing.
Hudan Studiawan: Writing - Review & Editing.
Frank Breitinger: Conceptualization, Writing - Review & Editing, Supervision.
LLM usage statement
Some of the authors used Claude Opus 5.5 for language refinement and clarity improvement during the preparation of this manuscript. Figure 2 was also created with the assistance of Claude Opus 5.5. Claude Sonnet 5 was used for Python code improvement during prototype implementation. After using these tools, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.
Declaration of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
A. Data privacy protection laws
Table 6 lists several laws that require consideration when creating federated forensics.
Table 6: Data privacy protection laws of international organizations or countries (adapted from (Li et al., 2023))
| Time | Region | Law |
| 1996 | USA | HIPAA (Health Insurance Portability and Accountability Act) |
| 2000 | Canada | PIPEDA (The Personal Information Protection and Electronic Documents Act) |
| 2000 | Argentina | PDPA (Argentina's Personal Data Protection Act) |
| 2005/2017 | Japan | APPI (The Act on the Protection of Personal Information) |
| 2016 | EU | GDPR (The General Data Protection Regulation) |
| 2018 | California | CCPA (The California Consumer Privacy Act) |
| 2021 | China | PIPL (The Personal Information Protection Law) |
Table 7: Open-source FL frameworks: GitHub statistics as of 30-09-2026. Stars and contributors (Contri.) are counts.
| Framework(Maintainer) | Stars | Contri. | Created | Latestrelease | Lastactivity |
|---|---|---|---|---|---|
| Flower (Beutel et al., 2020) | 7149 | 190 | 17-02-2020 | 28-09-2026 | 30-09-2026 |
| FlowerPySyft (Ryffel et al., 2018) | 10041 | 432 | 18-07-2017 | 13-04-2025 | 30-09-2026 |
| OpenMinedFATE (Fan et al., 2023) | 6099 | 86 | 24-01-2019 | 31-07-2024 | 19-11-2024 |
| WeBankOpenFL (Reina et al., 2021) | 843 | 109 | 12-01-2021 | 23-06-2025 | 25-08-2026 |
| Linux FoundationTensorFlow FederatedGoogle | 2453 | 115 | 12-12-2018 | 26-09-2024 | 28-09-2026 |
| FedML (He et al., 2020) | 4067 | 66 | 21-07-2020 | 28-10-2023 | 28-10-2025 |
| TensorOperaPaddleFL (Ao et al., 2021) | 512 | 25 | 25-09-2019 | 06-12-2021 | 26-07-2023 |
| BaiduSubstra (Galtier & Marini, 2019) | 278 | 37 | 25-10-2019 | 14-10-2024 | 14-10-2024 |
| OwkinNVIDIA FLARE (Roth et al., 2023) | 975 | 78 | 23-07-2021 | 24-09-2026 | 30-09-2026 |
| NVIDIAAppFL (Li et al., 2025; Ryu et al., 2022) | 185 | 26 | 07-10-2021 | 25-08-2026 | 30-09-2026 |
| UCChicago ArgonneSecretFlowAnti Group | 2714 | 106 | 15-04-2022 | 26-09-2025 | 24-04-2026 |
| FederatedScope (Xie et al., 2023) | 1545 | 18 | 24-03-2022 | 03-04-2023 | 10-08-2024 |
| Alibaba |
B. Framework screening
Twelve open-source frameworks were screened on five indicators obtained from public repository metadata via the GitHub API³: stars, contributors, creation date, latest release date, and last activity date. All values were collected on 30-09-2026 and are shown in Table 7.
C. Assessment of Flower against R1 to R7
We examine one framework in detail, to show how the requirements of Sec. 3 translate into concrete capabilities and where they are not met. We use Flower, because its cross-silo deployment model matches the multi-agency setting and because it scored highest in a recent comparative study of FL frameworks (Riedel et al., 2024). Substra (Galtier & Marini, 2019) is built for regulated multi-party collaboration and would be the conceptually closer comparator, but it is far less maintained. That trade-off between architectural fit and adoption risk is the one agencies actually face. The assessment relies on published documentation⁴ rather than on a deployment, so it is indicative rather than definitive.
R1. Flower provides Secure Aggregation, with implementations of SecAgg and SecAgg+, and Differential Privacy. Both are configured globally rather than per aggregation step, which reflects the flat deployment model the framework assumes. This is the one finding that bears on the argument rather than on the framework, and it is discussed in Sec. 3.5.
R2. Flower offers audit logging based on content-addressable messaging, which assigns cryptographic hashes to model weights and gradients by content rather than by location. The logs allow training rounds to be reconstructed technically. They are designed for system verification and debugging, and it remains unclear how far they meet evidentiary chain-of-custody requirements or legal audit standards.
R3. Flower supports authentication through OpenID Connect and role-based access control through SuperLink⁵, OpenFGA, and OIDC providers. This gives a foundation for defining organizational roles and responsibilities. It does not provide the higher-level governance processes that forensic investigations need, such as inter-agency agreements, liability allocation, or procedural accountability.
R4. Flower integrates FedDebug (Gill et al., 2023) and TraceFL (Gill et al., 2025). FedDebug lets a developer inspect training round by round and client by client and identify faulty clients, using differential testing on neuron activations to detect unusual patterns or backdoors. TraceFL attributes a specific prediction of the global model to the clients that contributed to it. Flower also supports interpretable models such as XGBoost-FedXGBLlr. All of these tools address developers and researchers. How their output could be turned into an explanation that holds up in court is an open question.
R5. Flower works with PyTorch, TensorFlow, Hugging Face, and scikit-learn, supports Docker and Kubernetes deployment, and provides hook-based extensibility. This interoperability is oriented towards research and production ML environments, and it is unclear how it transfers to forensic toolchains.
R6. Flower does not integrate with forensic evidence management or case workflow systems, so forensic use requires manual integration. Integration with evidence acquisition, chain-of-custody management, or forensic analysis platforms has not been demonstrated.
R7. Flower provides extensive documentation, more than twelve quickstart tutorials, and a command-line interface. Usability for machine learning practitioners does not automatically mean usability for forensic analysts or investigators, who may have no ML background.
References
Abad, M. S. H., Ozfatura, E., GUndUz, D., & Ercetin, O. (2020). Hierarchical federated learning across heterogeneous cellular networks. In ICASSP 2020 - 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) (pp. 8866–8870). doi:10.1109/ICASSP40776.2020.9054634.
Albanbay, N., Tursynbek, Y., Graffi, K., Uskenbayeva, R., Kalpeyeva, Z., Abilkaiyr, Z., & Ayapov, Y. (2025). Federated learning-based intrusion detection in IoT networks: Performance evaluation and data scaling study. Journal of Sensor and Actuator Networks, 14. doi:10.3390/jsan14040078.
Annas, G. J. (2003). HIPAA Regulations — A new era of medical-record privacy? New England Journal of Medicine, 348, 1486–1490. doi:10.1056/NEJM1m035027.
³https://api.github.com/repos/{owner}\/{repository}
⁴https://flower.ai/docs/framework/index.html
⁵SuperLink is the server-side component in Flower that orchestrates communication between distributed clients.
Ao, Y., Wu, Z., Yu, D., Gong, W., Kui, Z., Zhang, M., Ye, Z., Shen, L., Ma, Y., Wu, T. et al. (2021). End-to-end adaptive distributed training on PaddlePaddle. arXiv preprint arXiv:2112.02752,.
Beutel, D. J., Topal, T., Mathur, A., Qiu, X., Fernandez-Marques, J., Gao, Y., Sani, L., Kwing, H. L., Parcollet, T., Gusmão, P. P. d., & Lane, N. D. (2020). Flower: A friendly federated learning research framework. arXiv preprint arXiv:2007.14390,.
Blanchard, P., El Mhamdi, E. M., Guerraoui, R., & Stainer, J. (2017). Machine learning with adversaries: Byzantine tolerant gradient descent. Advances in Neural Information Processing Systems, 30.
Bonawitz, K., Eichner, H., Grieskamp, W., Huba, D., Ingerman, A., Ivanov, V., Kiddon, C., Konečný, J., Mazzocchi, S., McMahon, B., Van Overveldt, T., Petrou, D., Ramage, D., & Roselander, J. (2019). Towards federated learning at scale: System design. In Proceedings of Machine Learning and Systems (pp. 374–388). volume 1.
Bonawitz, K., Ivanov, V., Kreuter, B., Marcedone, A., McMahon, H. B., Patel, S., Ramage, D., Segal, A., & Seth, K. (2017). Practical secure aggregation for privacy-preserving machine learning. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security CCS '17 (p. 1175–1191). doi:10.1145/3133956.3133982.
Breitinger, F., & Jotterand, A. (2023). Sharing datasets for digital forensic: A novel taxonomy and legal concerns. Forensic Science International: Digital Investigation, 45, 301562. URL: https://www.sciencedirect.com/science/article/pii/S2666281723000719. doi:https://doi.org/10.1016/j.fsidi.2023.301562.
Briggs, C., Fan, Z., & Andras, P. (2020). Federated learning with hierarchical clustering of local updates to improve training on non-iid data. In 2020 International Joint Conference on Neural Networks (IJCNN) (pp. 1–9). doi:10.1109/IJCNN48605.2020.9207469.
Bürger, B., & Thielmann, G. (2023). Police organization and the policing of assemblies in Germany. In B. Bürger, T. D. Herold, & R. Lee (Eds.), Public Order Policing: A Professional's Guide to International Theories, Case Studies, and Best Practices (pp. 169–200). doi:10.1007/978-3-031-43856-1_8.
Carrier, B. D. (2003). Defining digital forensic examination and analysis tool using abstraction layers. International Journal of Digital Evidence, 1, 1–12.
Casey, E. (2011). Digital Evidence and Computer Crime: Forensic Science, Computers, and the Internet. (3rd ed.). USA: Academic Press, Inc.
Casino, F., Dasaklis, T. K., Spathoulas, G. P., Anagnostopoulos, M., Ghosal, A., Borocz, I., Solanas, A., Conti, M., & Patsakis, C. (2022). Research trends, challenges, and emerging
topics in digital forensics: A review of reviews. IEEE Access, 10, 25464–25493. doi:10.1109/ACCESS.2022.3154059.
Council of Europe (1950). Convention for the protection of human rights and fundamental freedoms (European Convention on Human Rights), article 6: Right to a fair trial. Council of Europe Treaty Series, No. 005. URL: https://www.echr.coe.int/documents/convention_eng.pdf.
Dangi, S., Ghanshala, K., & Sharma, S. (2025). LIFT: Lightweight incremental and federated techniques for live memory forensics and proactive malware detection. International Journal of Advanced Computer Science and Applications, 16. doi:10.14569/IJACSA.2025.0160445.
European Parliament and Council of the European Union (2024). Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence (Artificial Intelligence Act). Official Journal of the European Union, L 2024/1689. URL: https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng.
European Union (2012). Charter of Fundamental Rights of the European Union, Article 47: Right to an effective remedy and to a fair trial. Official Journal of the European Union, C 326/391. URL: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:12012P/TXT.
European Union (2014). Directive 2014/41/EU of the European Parliament and of the Council of 3 April 2014 regarding the European Investigation Order in criminal matters. Official Journal of the European Union, L 130, 1 May 2014, pp. 1–36. URL: http://data.europa.eu/eli/dir/2014/41/oj.
European Union (2016a). Directive (EU) 2016/680 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data by competent authorities for the purposes of the prevention, investigation, detection or prosecution of criminal offences or the execution of criminal penalties, and on the free movement of such data, and repealing Council Framework Decision 2008/977/JHA. Official Journal of the European Union, L 119, 4 May 2016. URL: https://eur-lex.europa.eu/eli/dir/2016/680/oj.
European Union (2016b). Regulation (EU) 2016/679 of the European Parliament and of the Council (General Data Protection Regulation), Article 5(1)(b): Purpose Limitation. Official Journal of the European Union, L 119, 4 May 2016. URL: https://eur-lex.europa.eu/eli/reg/2016/679/oj specifies that personal data must be collected for specified, explicit, and legitimate purposes and not further processed in a manner incompatible with those purposes.
European Union (2023). Regulation (EU) 2023/1543 of the European Parliament and of the Council of 12 July 2023 on European Production Orders and European Preservation Orders for electronic evidence in criminal proceedings. Official Journal of the European Union, L 191, 28 July 2023, pp. 118–180. URL: http://data.europa.eu/eli/reg/2023/1543/oj.
Fan, T., Kang, Y., Ma, G., Chen, W., Wei, W., Fan, L., & Yang, Q. (2023). Fate-llm: A industrial grade federated learning framework for large language models. arXiv preprint arXiv:2310.10049,.
Galtier, M. N., & Marini, C. (2019). Substra: a framework for privacy-preserving, traceable and collaborative machine learning. arXiv preprint arXiv:1910.11567,.
Geyer, R. C., Klein, T., & Nabi, M. (2017). Differentially private federated learning: A client level perspective. CoRR, abs/1712.07557. URL: http://arxiv.org/abs/1712.07557. arXiv:1712.07557.
Gill, W., Anwar, A., & Gulzar, M. A. (2023). Feddebug: Systematic debugging for federated learning applications. In Proceedings of the 45th International Conference on Software Engineering ICSE '23 (p. 512–523). URL: https://doi.org/10.1109/ICSE48619.2023.00053. doi:10.1109/ICSE48619.2023.00053.
Gill, W., Anwar, A., & Gulzar, M. A. (2025). TraceFL: Interpretability-driven debugging in federated learning via neuron provenance. In Proceedings of the IEEE/ACM 47th International Conference on Software Engineering (p. 2264–2276). URL: https://doi.org/10.1109/ICSE55347.2025.00128.
Gottschalk, P., & Dean, G. (2010). Stages of knowledge management systems in policing financial crime. International Journal of Law, Crime and Justice, 38, 94–108. URL: https://www.sciencedirect.com/science/article/pii/S1756061610000297. doi:https://doi.org/10.1016/j.ijlcj.2010.09.001.
Hargreaves, C., Breitinger, F., Douthwaite, L., Webb, H., & Scanlon, M. (2024). Dfpulse: The 2024 digital forensic practitioner survey. Forensic Science International: Digital Investigation, 51, 301844.
He, C., Li, S., So, J., Zeng, X., Zhang, M., Wang, H., Wang, X., Vepakomma, P., Singh, A., Qiu, H. et al. (2020). Fedml: A research library and benchmark for federated machine learning. arXiv preprint arXiv:2007.13518,.
Hernandez-Ramos, J. L., Karopoulos, G., Chatzoglou, E., Kouliaridis, V., Marmol, E., Gonzalez-Vidal, A., & Kambourakis, G. (2025). Intrusion detection based on federated learning: a systematic review. ACM Computing Surveys, 57, 1–65.
Herrmann, J., & Breitinger, F. (2026a). Embedding doctrinal evaluation logic in legal AI: A constraint-based model of criminal offence evaluation. In Proceedings of the Workshop on Reasoning with Evidence in Law Enforcement and Forensics (RELAF 2026), co-located with ICAIL 2026 (pp. 93–106). CEUR-WS.org volume 4253 of CEUR Workshop
Proceedings. URL: https://ceur-ws.org/Vol-4253/paper8.pdf.
Herrmann, J., & Breitinger, F. (2026b). KI in der rechtsprüfung: Warum XAI allein nicht ausreicht. SIAK-Journal – Zeitschrift für Polizeiwissenschaft und polizeiliche Praxis, 23, 85–101. doi:10.7396/2026_1_G.
Kairouz, P., McMahan, H. B., Avent, B., Bellet, A., Bennis, M., Bhagoji, A. N., Bonawitz, K., Charles, Z., Cormode, G., Cummings, R. et al. (2021). Advances and open problems in federated learning. Foundations and trends® in machine learning, 14, 1–210.
Konečny, J., McMahan, H. B., Yu, F. X., Richtárik, P., Suresh, A. T., & Bacon, D. (2016). Federated learning: Strategies for improving communication efficiency. arXiv preprint arXiv:1610.05492,.
Li, H., Li, C., Wang, J., Yang, A., Ma, Z., Zhang, Z., & Hua, D. (2023). Review on security of federated learning and its application in healthcare. Future Generation Computer Systems, 144, 271–290. URL: https://www.sciencedirect.com/science/article/pii/S0167739X23000626. doi:https://doi.org/10.1016/j.future.2023.02.021.
Li, Z., He, S., Yang, Z., Ryu, M., Kim, K., & Madduri, R. (2025). Advances in applfl: A comprehensive and extensible federated learning framework. In 2025 IEEE 25th International Symposium on Cluster, Cloud and Internet Computing (CCGrid) (pp. 01–11). IEEE.
Liu, L., Zhang, J., Song, S., & Letaief, K. B. (2020). Client-edge-cloud hierarchical federated learning. In ICC 2020 - 2020 IEEE International Conference on Communications (ICC) (pp. 1–6). doi:10.1109/ICC40277.2020.9148862.
Long, G., Tan, Y., Jiang, J., & Zhang, C. (2020). Federated learning for open banking. In Q. Yang, L. Fan, & H. Yu (Eds.), Federated Learning: Privacy and Incentive (pp. 240–254). Cham: Springer International Publishing. URL: https://doi.org/10.1007/978-3-030-63076-8_17. doi:10.1007/978-3-030-63076-8_17.
Maio, A. F. C. (2025). Towards a hybrid ai-enhanced framework for integrated open-source intelligence in 2025: Conceptual design and methodological challenges. URL: https://doi.org/10.5281/zenodo.18069951. doi:10.5281/zenodo.18069951.
McMahan, B., Moore, E., Ramage, D., Hampson, S., & y Arcas, B. A. (2017a). Communication-efficient learning of deep networks from decentralized data. In Artificial intelligence and statistics (pp. 1273–1282). PMLR.
McMahan, H. B., Ramage, D., Talwar, K., & Zhang, L. (2017b). Learning differentially private language models without losing accuracy. CoRR, abs/1710.06963. URL: http://arxiv.org/abs/1710.06963. arXiv:1710.06963.
Michelet, G., Schneider, J., Withanage, A., & Breitinger, F. (2026). Hey GPT-OSS, looks like you got it – now walk me through it! an assessment of the reasoning language models chain of thought process for digital forensics. Forensic Science International: Digital Investigation, 56, 302052. doi:10.1016/j.fsidi.2026.302052.
Mohamed, H., Koroniotis, N., & Moustafa, N. (2023). Digital forensics based on federated learning in iot environment. In Proceedings of the 2023 Australasian Computer Science Week ACSW '23 (p. 92–101). New York, NY, USA: Association for Computing Machinery. URL: https://doi.org/10.1145/3579375.3579387. doi:10.1145/3579375.3579387.
Molder, R. T., Fedorova, M., Dubelaar, M., & Lestrade, S. (2023). The principle of purpose limitation in data-driven policing: A guiding light or an empty shell? New Journal of European Criminal Law, 14, 512–533. URL: https://doi.org/10.1177/20322844231212749. doi:10.1177/20322844231212749.
Palmer, G. et al. (2001). A road map for digital forensic research. In First digital forensic research workshop, utica, new york (pp. 27–30).
Parra, G. D. L. T., Selvera, L., Khoury, J., Irizarry, H., Bou-Harb, E., & Rad, P. (2022). Interpretable federated transformer log learning for cloud threat forensics. Proceedings 2022 Network and Distributed System Security Symposium. URL: https://api.semanticscholar.org/CorpusID: 248221052.
Reina, G. A., Gruzdev, A., Foley, P., Perepelkina, O., Sharma, M., Davidyuk, I., Trushkin, I., Radionov, M., Mokrov, A., Agapov, D., Martin, J., Edwards, B., Sheller, M. J., Pati, S., Moorthy, P. N., Wang, H. S., Shah, P., & Bakas, S. (2021). Openfl: An open-source framework for federated learning. CoRR, abs/2105.06413.
Riedel, P., Schick, L., von Schwerin, R., Reichert, M., Schaudt, D., & Hafner, A. (2024). Comparative analysis of open-source federated learning frameworks—a literature-based survey and review. International Journal of Machine Learning and Cybernetics, 15, 5257–5278.
Rieke, N., Hancox, J., Li, W., Milletari, F., Roth, H. R., Albarqouni, S., Bakas, S., Galtier, M. N., Landman, B. A., Maier-Hein, K. et al. (2020). The future of digital health with federated learning. NPJ Digital Medicine, 3, 119.
Roth, H. R., Cheng, Y., Wen, Y., Yang, I., Xu, Z., Hsieh, Y.-T., Kersten, K., Harouni, A., Zhao, C., Lu, K., Zhang, Z., Li, W., Myronenko, A., Yang, D., Yang, S., Rieke, N., Quraini, A., Chen, C., Xu, D., Ma, N., Dogra, P., Flores, M., & Feng, A. (2023). NVIDIA FLARE: Federated learning from simulation to real-world. IEEE Data Eng. Bull., 46.
Rowlingson, R. et al. (2004). A ten step process for forensic readiness. International Journal of Digital Evidence, 2, 1–28.
Ryffel, T., Trask, A., Dahl, M., Wagner, B., Mancuso, J., Rueckert, D., & Passerat-Palmbach, J. (2018). A generic framework for privacy preserving deep learning. arXiv preprint arXiv:1811.04017,.
Ryu, M., Kim, Y., Kim, K., & Madduri, R. K. (2022). APPFL: Open-source software framework for privacy-preserving federated learning. In 2022 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW) (pp. 1074–1083).
Scanlon, M., Breitinger, F., Hargreaves, C., Hilgert, J.-N., & Sheppard, J. (2023). ChatGPT for digital forensic investigation: The good, the bad, and the unknown. Forensic Science International: Digital Investigation, 46, 301609.
Sheller, M. J., Edwards, B., Reina, G. A., Martin, J., Pati, S., Kotrotsou, A., Milchenko, M., Xu, W., Marcus, D., Colen, R. R. et al. (2020). Federated learning in medicine: Facilitating multi-institutional collaborations without sharing patient data. Scientific Reports, 10, 12598.
Skipanes, M., Lorentzen, J. P., & Yayilgan, S. Y. (2026). Understanding the role of case management systems in criminal investigations. International Journal of Law, Crime and Justice, 84, 100805. doi:10.1016/j.ijlcj.2025.100805.
Solanke, A. A. (2022). Explainable digital forensics AI: Towards mitigating distrust in AI-based digital forensics analysis using interpretable models. Forensic Science International: Digital Investigation, 42, 301403.
Voigt, P., & Von dem Bussche, A. (2017). The EU General Data Protection Regulation (GDPR). A Practical Guide, 1st ed., Cham: Springer International Publishing, 10, 10–5555.
Xie, Y., Wang, Z., Gao, D., Chen, D., Yao, L., Kuang, W., Li, Y., Ding, B., & Zhou, J. (2023). FederatedScope: A flexible federated learning platform for heterogeneity. Proc. VLDB Endow., 16, 1059–1072. doi:10.14778/3579075.3579081.
Xu, J., Glicksberg, B. S., Su, C., Walker, P., Bian, J., & Wang, F. (2021). Federated learning for healthcare informatics. Journal of Healthcare Informatics Research, 5, 1–19.
Yang, L., Ciptadi, A., Laziuk, I., Ahmadzadeh, A., & Wang, G. (2021). BODMAS: An open dataset for learning based temporal analysis of PE malware. In 4th Deep Learning and Security Workshop.
Yang, Q., Liu, Y., Chen, T., & Tong, Y. (2019). Federated machine learning: Concept and applications. ACM Trans. Intell. Syst. Technol., 10. doi:10.1145/3298981.
Yin, D., Chen, Y., Kannan, R., & Bartlett, P. (2018). Byzantine-robust distributed learning: Towards optimal statistical rates. In International Conference on Machine Learning (pp. 5650–5659).