6 Mechanisms for Interworking with ETSI MEC

6.1 Architecture for oneM2M and MEC

6.1.0 MEC Introduction

Figure 6.1.0-1: Deployment options for oneM2M and MEC integration
Figure 6.1.0‑1: Deployment options for oneM2M and MEC integration

Figure 6.1.0‑1: Deployment options for oneM2M and MEC integration

This clause looks at each of the deployments and identifies the unique components involved in integration of oneM2M and ETSI MEC. These four deployment options are reflected in Figure 6.1‑1 which shows the components that need to be defined in each deployment. This clause describes the components and the solutions that are needed are described in clause 7.

6.1.1 MEC IPE

A MEC Interworking Proxy Entity (IPE) that acts as a bridge between the ETSI MEC and oneM2M environments, facilitating seamless communication and data exchange. The MEC IPE is deployed as a MEC application that is hosted on the MEC platform or some other platform.

  • The MEC IPE will follow existing oneM2M IPE principles (see oneM2M TS-0033 IPE [i.3]) to convert data that comes from devices that use the MEC APIs to a oneM2M resource structure.
  • The MEC IPE will operate as a MEC application and register to the MEC platform.
  • The MEC IPE will support the discovery and use of MEC services and capabilities exposed by the MEC platform.
  • The MEC IPE may discover and provision devices that are connected to the MEC platform.

This is shown in deployment option A and B.

6.1.2 3rd Party IPE

A 3rd Party Interworking Proxy Entity (IPE) allows external applications or services to interact with the oneM2M and MEC environments. This IPE can be used to extend the capabilities of the MEC platform by integrating with external systems.

  • The 3rd Party IPE will follow existing oneM2M IPE principles (see oneM2M TS-0033 IPE [i.3]) to convert data that comes from external applications to a oneM2M resource structure.
  • The 3rd Party IPE will operate as a MEC application and register to the MEC platform.
  • The 3rd Party IPE may also provide additional functionality, such as data aggregation or analytics, to leverage the capabilities of the MEC platform.

This is shown in deployment option A.

6.1.3 Swarm Agent AE

A Swarm Compute Application Entity (AE) that performs local processing and participates in cooperative swarm behaviour. Additional AEs may facilitate the coordination and management of multiple devices working together to perform complex tasks.

  • The Swarm Agent AE will be implemented as a MEC application and register to the MEC platform.
  • The Swarm Agent AE will leverage MEC services and capabilities to enhance the performance and efficiency of swarm computing operations.

This is shown in deployment options B, C and D.

6.1.4 Federated Learning AEs

The FL Client and Trusted FL Client roles and the other Federated Learning AEs for both MEC-managed and other authorized edge deployments are developed in clause 7.3. No FL-specific resource or protocol definition is introduced by this architectural description.

  • FL Client AE: a deployable oneM2M application actor that performs participant-side FL training on data it is authorized to use, reports readiness and progress, and exchanges model references and permitted training results with the applicable training function. It may run on a capable device, gateway, non-MEC edge host, or MEC host. A client deployed and managed as a MEC application follows the applicable MEC application registration and lifecycle arrangements.
  • FL Service Orchestrator AE: a possible oneM2M AE realization of the logical Service Orchestration responsibility from clause 5.2.2. It handles FL service admission, participant and host selection, deployment requests, operation oversight, and adaptation; it does not thereby perform participant training, training-round scheduling, or model aggregation. An orchestration implementation may instead span existing authorized applications and platform functions without requiring a dedicated AE.
  • FL Training Coordinator: a logical application responsibility for participant tasks, training-round or asynchronous scheduling, model-version handoff, eligible update collection, and execution progress. It may be realized by a oneM2M AE and may be co-located with the orchestrator or aggregator.
  • FL Aggregator: a logical application responsibility that executes the selected FL algorithm's permitted update-combination or intermediate computation. It may be deployed as an AE-associated application on a cloud, gateway, MEC host, or other edge host, independently of Training Coordination. A host or CSE providing storage, signalling, or compute capacity is not itself the aggregator merely by hosting the application.
  • Trusted FL Client AE: an FL Client realization on a trusted gateway or edge host that processes authorized local observations on behalf of one or more constrained devices. The represented devices remain distinct data sources; accessing their raw observations is governed by their source policies and the local trust boundary, not by an assumption that raw data remains on each device.
  • Data Owner/Source: an existing or proposed application role that exposes or authorizes source metadata and applicable data-use conditions. A data-source application need not train, and discovery of it does not authorize data transfer. Its relation to a Trusted FL Client is explicitly governed as described in clause 7.3.

These responsibilities are logical separations, not a requirement for six independently deployed AEs. Example deployment option B illustrates a possible edge placement, not a mandatory placement, registration model, or actor inventory. The candidate oneM2M resource and procedure mappings are confined to clause 7.3.

The FL Client is shown in deployment options B, C and D.

6.1.5 3rd Party IPE MN-AE

A 3rd Party IPE (MN-AE) that acts as an intermediary between non-oneM2M devices and the oneM2M architecture. This IPE facilitates the interaction between non-oneM2M devices and oneM2M applications by converting data formats and managing communication protocols. The difference between the 3rd Party IPE (MN-AE) and the 3rd Party IPE (MEC APP) is that it is not managed by the MEC platform.

  • The 3rd Party IPE (MN-AE) will follow existing oneM2M IPE principles (see oneM2M TS-0033 IPE [i.3]) to convert data that comes from non-oneM2M devices to a oneM2M resource structure.
  • The 3rd Party IPE (MN-AE) will register to the MEC platform.
  • The 3rd Party IPE (MN-AE) will support the discovery of services and capabilities exposed by the MEC platform.

This is shown in deployment options B, C and D.

6.1.6 MEC CSF

A oneM2M Common Services Function (CSF) that provides a set of common services and APIs for MEC applications. The MEC CSF will enable seamless integration and interoperability between MEC applications and oneM2M services similar to that performed by the MEC IPE (clause 6.1.1).

  • The MEC CSF will be registered to the MEC platform.
  • The MEC CSF will leverage MEC services and capabilities to enhance the performance and efficiency of registered devices.
  • The MEC CSF will provide a unified API for oneM2M applications to access MEC services.

This is shown in deployment options C and D.

6.1.7 Federated Learning CSF

The FL CSF described here is a proposed architectural integration depicting a standardized oneM2M CSF. Its possible responsibilities and the candidate FL integration mechanisms are addressed in clause 7.3.

A dedicated FL CSF is a oneM2M extension, illustrated conceptually in deployment options C & D. Clause 7.3 identifies the candidate FL integration mechanisms and exposes common FL management and coordination support; it does not automatically execute training or aggregation algorithms or replace FL application actors. The baseline architecture requires existing IN-CSE and MN-CSE functions to support registration, discovery, resource management, access control, subscriptions/notifications, and applicable software management, while new FL methods, resources, APIs, or behavioural extensions remain candidates developed in clause 7.3.

6.1.8 oneM2M CSE as MEC Service

A oneM2M CSE that is deployed as a MEC service. This CSE will be tightly integrated with the MEC platform, allowing it to leverage MEC services and capabilities to enhance its performance and efficiency.

This is shown in deployment option D.

6.2 Orchestration of oneM2M CSE's and MEC platforms

When using a oneM2M and MEC edge platform the deployments include multiple oneM2M/MEC instances. This clause describes needed features for the management, orchestration and federation of edge platforms that include a oneM2M MN-CSE and the ETSI MEC platform. The federation and orchestration framework will explore the existing APIs for discovery and resource management principles defined in both standards, while proposing extensions to them with federation and synchronization capabilities. Before orchestrating handover, swarm computing, or federated learning mechanisms, MEC/oneM2M instances can discover, register and organize themselves into collaborative groups:

  • Instances Registration: A MEC/oneM2M node (e.g. IN-CSE, MN-CSE, MEC Platform, MEC Host, etc.) should be able to register to a federation registry, that may include the node's identity, capabilities, and available services.
  • Instances Discovery: A MEC/oneM2M node should be able to advertise its capabilities through standard discovery mechanisms (e.g. oneM2M Discovery resource, MEC location, etc.). This might be achieved by publishing metadata about the MEC/oneM2M node’s processing power, storage capabilities, network connectivity, and supported APIs.
  • Instances Federation: once discovered, MEC/oneM2M instances can be logically grouped into a federation group. Such a group might be a collection of MEC/oneM2M instances that are allowed to intercommunicate and cooperate in executing distributed tasks. Federation groups could be defined based on geographic proximity, application domain or QoS requirements.
  • Roles Assignment: based on their capabilities, the MEC/oneM2M nodes could be selected for specific roles such as handover anchor, swarm computing worker or federated learning participant. For the instance, MEC/oneM2M nodes with high processing power and storage capacity could be selected for swarm computing and federated learning training tasks, while nodes with good connectivity could be used for handover, service continuity and low-latency communications.

Therefore, the orchestration framework should:

  • Implement resource replication mechanisms to mirror or move device/application registration between MN-CSE instances or IN-CSE or across MEC hosts including the reference criteria for doing that.
  • Ensure a handover-safe mechanism for migrating subscriptions (first establish a new subscription and then terminate the old one).
  • Establish synchronization mechanisms between MN-CSE and IN-CSE to ensure that the recent device states are propagated upward and historical data are migrated asynchronous, when necessary.
  • Identify and discover MEC/oneM2M instances from a logical federation group.
  • Match available resources (e.g. storage, compute, connectivity, etc.) with service requirements (e.g. handover, swarm computing or federated learning).
  • Assign tasks to federation nodes.
  • Keep registrations, subscriptions and data synchronized across MN-CSEs/IN-CSEs and MEC nodes.
  • Continuously monitor node performance and workload and trigger handover when needed.

The orchestration framework should create a federated, service-aware, and resource-optimized environment where ETSI MEC and oneM2M instances jointly deliver advanced distributed computing and IoT data management by addressing handover continuity, swarm scalability, and federated learning privacy. It may also support dynamic service discovery and registration, load balancing across multiple instances, and failover and redundancy mechanisms.

6.3 Handover of IoT devices to oneM2M/MEC platforms

The Handover mechanism refers to the process of transferring control of a device or service from one MEC/oneM2M instance to another, ensuring seamless connectivity and service continuity. There three main scenarios where handover is essential:

  • Optimizing the connection of wireless IoT devices as they move geographically, ensuring they remain connected to the most appropriate edge node.
  • Maintenance of services or servers that need to be migrated between MEC/oneM2M instances due to load balancing, resource optimization, or fault tolerance.
  • Emergency scenarios where rapid handover is required to maintain service continuity during network disruptions or failures, such as a failure of an edge node or a sudden surge in demand.

This process, illustrated in Figure 6.3‑1, is critical when devices move between different edge nodes or when services are migrated to maintain low latency, reliability, and high availability.

Figure 6.3-1: IoT device handover
Figure 6.3‑1: IoT device handover

Figure 6.3‑1: IoT device handover

Depending on system design and device capability, handover control can follow one of two approaches:

  • Device-controlled handover: The device itself detects conditions that trigger a handover (e.g. deteriorating radio quality, mobility, policy changes). It initiates discovery, re-registration, and session updates with the target MEC/oneM2M instance. This approach offers autonomy but assumes the device has sufficient resources to evaluate conditions, make decisions, and handle signalling.
  • Network-controlled handover: The MEC/oneM2M infrastructure (e.g. MN-CSEs or gateways) monitors device connectivity and system load, then initiates or enforces a handover. The device simply follows the instructions (e.g. re-register to a new MN-CSE) without needing complex logic or extensive signalling capability. This approach could be suitable for constrained IoT devices with limited processing or decision-making capacity.

In practice, the chosen strategy should balance device capability, network intelligence, and the requirements of the application domain. For resource-constrained IoT devices, offloading decision-making to the MEC/oneM2M layer may reduce device complexity and power usage, while device-controlled handovers may provide faster reaction times and greater autonomy in heterogeneous deployments. To design an effective handover mechanism, the following high-level considerations should be addressed:

  • Identity & Security: The device maintains a consistent identity across MEC/oneM2M instances, with fast and secure re-authentication (e.g. token-based methods). Security credentials and keys should be managed automatically to ensure a smooth transition.
  • Session & State Continuity: Handover preserves session continuity and data consistency. This includes mechanisms for state replication (buffers, acknowledgments, sequence numbers), subscription reinstatement, downlink catch-up, and, where possible, context transfer of QoS or profiles between gateways.
  • Performance & Latency: Interruptions should be minimized with well-defined handover budgets (e.g. ≤200 ms for critical telemetry). Local buffering, ordering policies, duplicate suppression, and time synchronization help maintain low latency and reliable delivery.
  • Network Awareness & Adaptation: The mechanism should leverage network conditions such as bandwidth, signal strength, and congestion when selecting target gateways. Neighbour awareness, proactive discovery, and policy-based triggers (RSSI/SNR thresholds, cost/latency trade-offs) are key to ensuring optimal handover decisions. Admission control policies should be considered, allowing gateways to accept or defer connections gracefully.
  • Monitoring & Reliability: System reliability depends on the ability to measure and manage handovers. KPIs such as attach/authentication time, packet loss, and latency deltas should be tracked. Tracing, alarms for frequent or failed handovers, and robust retry/backoff logic ensure stability and resilience.
  • Device Constraints & Efficiency: IoT devices, often resource- or power-constrained, require lightweight solutions. Gateway-local registrations can reduce complexity, while power-aware scanning and cached neighbour reports minimize RF cost. Feature negotiation and versioned message contracts further improve compatibility and efficiency across heterogeneous deployments.

These considerations will be further analyzed in oneM2M and ETSI MEC.

6.4 oneM2M/MEC support of Swarm Computing

Swarm Computing refers to the coordination of multiple MEC/oneM2M instances so that cooperating applications can pursue a collective objective while remaining distributed across devices, gateways, edge hosts or cloud resources. In this paradigm, participating applications contribute sensing, actuation, computation, storage, connectivity or shared knowledge according to their capabilities and operating conditions. Cooperation can be decentralized and adaptive: agents may exchange local state or decisions directly, consume shared contextual information, or participate in coordinated task execution when the application requires it. When mapped onto MEC/oneM2M interworking, these participants are realized as Application Entities (AEs) hosted on Middle Nodes (MNs), Application Dedicated Nodes (ADNs), or MEC-managed execution environments. Nearby Common Service Entities (CSEs) may support registration, discovery, notifications and resource exchange, while ETSI MEC capabilities may provide hosting, lifecycle and network-context support. In this clause, the entities involved are described as follows:

  • Swarm Agent (Local/Edge): is a software entity running on a device, MEC host, or oneM2M Application Entity that performs local processing and participates in cooperative swarm behaviour. It may exchange local state, sensor data, decisions or intermediate results with peers. A Local Swarm Agent may run on constrained devices or ADNs, focusing on lightweight processing, sensing or control, while an Edge Swarm Agent may run on MEC hosts or MNs, providing heavier computation, context management, relaying or bridging functions.
  • Swarm Collector: an optional software function (e.g. associated with a CSE, AE, or MEC host) that aggregates results or observations from multiple swarm nodes and produces a unified output. It may collect partial results, perform application-defined aggregation or fusion, and provide the resulting output back to an orchestrator, consuming applications, or participating agents.
  • Swarm Orchestrator: is the coordination entity of the swarm that manages membership, role assignment, resource selection, adaptation, resilience, and policy enforcement. Depending on the application, it may also coordinate work assignment, software placement, or recovery actions, but it does not necessarily split every swarm activity into subtasks or directly control each agent's local decisions. It may operate centrally (e.g. cloud IN-CSE) or decentrally/cooperatively (e.g. in conjunction with edge coordination functions) depending on deployment.

Consistent with the deployment options described in clause 5, swarm computing may be implemented through the following options:

  • Option 1: In this configuration, the Swarm Orchestrator asks Swarm Agents to perform local tasks and interact with a Swarm Collector located nearby at the edge. The Swarm Orchestrator coordinates work assignment and resource allocation for an application that benefits from explicit task distribution. Swarm Agents execute application-specific work and may return intermediate or final results to the Swarm Collector, which consolidates outputs and sends them back to the Swarm Orchestrator or another consuming application. The Swarm Orchestrator and the Swarm Collector may be co-located or deployed separately on the edge. This option emphasizes low-latency collaboration between distributed Swarm Agents and is well-suited for scenarios where coordinated work execution and localized aggregation are useful, as illustrated in Figure 6.4‑1.

    Figure 6.4-1: Swarm Computing Implementation - Option 1
    Figure 6.4‑1: Swarm Computing Implementation - Option 1

    Figure 6.4‑1: Swarm Computing Implementation - Option 1

  • Option 2: Local Swarm Agent AEs may execute lightweight sensing, control or preprocessing functions on constrained devices, while Edge Swarm Agent AEs execute more demanding processing or coordination functions. The Swarm Orchestrator may apply work-assignment or offloading policies so that participating Swarm Agents act in accordance with their available capabilities. The Swarm Collector may aggregate results from multiple Swarm Agents and return a consolidated output to the Swarm Orchestrator and/or the originating Local Swarm Agent AE, which may perform application-specific post-processing, as shown in Figure 6.4‑2. In this option, the Swarm Collector and the Swarm Orchestrator may be co-located on the edge platform.

    Figure 6.4-2: Swarm Computing Implementation - Option 2
    Figure 6.4‑2: Swarm Computing Implementation - Option 2

    Figure 6.4‑2: Swarm Computing Implementation - Option 2

    EDITORIAL NOTE: Update the source artwork for Figure 6.4‑2 to replace any separate device/swarm actor labels with Local Swarm Agent AE and/or Edge Swarm Agent AE, as appropriate to the revised scenario. No additional swarm actor is intended.

  • Option 3: This option extends orchestration beyond the edge by combining local processing with cloud-level intelligence. Local Swarm Agent AEs exchange application information with Edge Swarm Agent AEs for latency-sensitive processing and may also use shared contextual information when making local decisions. In addition, a Swarm Collector or another analytics function located in a more centralized or cloud domain may perform high-level analytics such as large-scale pattern recognition or long-term optimization using datasets that have been previously collected. The Swarm Orchestrator coordinates the relationship between local results and global insights, as illustrated in Figure 6.4‑3. The resulting information may be returned to the originating Swarm Agent AE through the Swarm Orchestrator and any applicable Edge Swarm Agent AE.

    This hybrid model leverages the strengths of both edge and cloud: low latency at the edge and high computational power in the cloud, enabling scalable and adaptive swarm intelligence. The placement of functions depends on the type of analytics, latency constraints, and data-handling rules of each application.

    Figure 6.4-3: Swarm Computing Implementation - Option 3
    Figure 6.4‑3: Swarm Computing Implementation - Option 3

    Figure 6.4‑3: Swarm Computing Implementation - Option 3

    EDITORIAL NOTE: Update the source artwork for Figure 6.4‑3 to show exchanges between Local and Edge Swarm Agent AEs, the Swarm Orchestrator and the Swarm Collector; remove any separate device/swarm actor label.

To allow multiple MEC/oneM2M nodes to collaboratively perform distributed tasks or cooperative behaviours, the orchestration and coordination mechanisms should take into account the following aspects:

  • Cooperation arrangement: the application should determine whether cooperation relies primarily on direct peer exchanges, shared contextual information, explicit work assignment, or a combination of these patterns.
  • Optional task decomposition: where the application benefits from distributed work execution, a larger processing goal may be divided into smaller subtasks and assigned to participating nodes according to resource availability, connectivity, or other application-defined criteria.
  • Synchronization: appropriate synchronization mechanisms (e.g. publish/subscribe over oneM2M and MEC APIs) should ensure swarm nodes operate on sufficiently consistent views of the information relevant to their collective behaviour.
  • Task offloading: the orchestration mechanism may support offloading policies where swarm members dynamically delegate high-complexity processing to nearby MEC/oneM2M nodes.
  • Resilience and adaptation: in case of node failures, changing conditions or mobility, the swarm should support reassignment, peer adaptation, context refresh, or other recovery measures consistent with the application's coordination model.
  • Coordination and Aggregation: results or observations from swarm nodes may be aggregated at a designed MEC host, IN-CSE or MN-CSE which acts as a collector node. oneM2M group communication primitives and resource exchanges may be used to support coordination across swarm members, while MEC APIs may optimize routing and QoS for those exchanges where applicable.

The Swarm Orchestrator is a coordinator, load balancer, membership manager and fault manager for swarm computing. It does not always execute tasks itself, nor does it necessarily determine each local action of participating agents. Instead, it manages how, where, and when cooperative behaviour is established or adapted, ensuring that the swarm MEC/oneM2M nodes behave as a resilient and adaptive system.

6.5 oneM2M and MEC support for Federated Learning

6.5.0 Introduction

Clause 6.5 identifies architectural capability groups, concrete actors, and illustrative placements for oneM2M/MEC support of FL. Clause 7.3 describes FL-specific gaps, proposed requirements, candidate resources, procedures, and message flows.

Platform and actor boundaries. An IN-CSE or MN-CSE supplies oneM2M service-layer registration, discovery, access control, management, subscriptions, and status-correlation support; its existence does not imply that it executes FL training, coordination, or aggregation. FL Service Orchestration, Training Coordination, and Aggregation are logically distinct application functions (clause 6.1.4) that may be separately deployed or co-located. Data Owner/Source AEs govern eligible source descriptions and data access; native FL Client AEs train using authorized local data, while Trusted FL Client AEs may train on behalf of constrained sources within an approved trust domain.

A MEC host offers an execution environment; the MEC platform exposes applicable edge services; and MEC management (including MEO/MEPM as applicable) retains MEC application placement and lifecycle authority. A MEC IPE AE provides authorized oneM2M-to-MEC service interworking where needed. A Gateway Agent or Platform Interworking Function offers a oneM2M-facing host-capability and deployment interface and invokes the authorized lifecycle manager: MEC management for MEC-managed targets or a local adapter for other edge targets. Neither the IPE nor Gateway Agent is mandatory for every deployment; their use depends on whether interface translation or remote deployment integration is required. These actor relationships are elaborated as candidate FL integration solutions in clause 7.3; references to ETSI MEC functions denote existing general architectural roles, not verification of a particular FL-specific API or registration behaviour.

Federated Learning systems require more than model training and aggregation algorithms when deployed across heterogeneous IoT, edge, and cloud environments. A managed FL service may need to discover suitable data and execution resources, express the desired service outcome, deploy required software and models, coordinate distributed execution, and adapt to changes during operation.

The following generic capability groups provide a functional framework for analysing those needs. Putting these capability groups into practice across real-world IoT-to-edge-to-cloud deployments raises infrastructure challenges that sit outside the FL algorithm itself. Three such challenges are particularly relevant:

Discovering eligible participants and describing their capabilities (see clause 6.5.2). Before a round can start, the coordinating function needs to know which clients exist, whether their data is relevant and authorised for use, and whether they have adequate compute and connectivity. IoT device populations are large, heterogeneous, and constantly changing.

Deploying and managing FL components across the continuum (see clause 6.5.4). Where FL Clients and FL Coordinators run has a direct impact on communication cost, latency, and resilience, and their placement is rarely static: components may need to be instantiated, migrated, or retired at edge nodes as conditions change. Most FL frameworks assume a fixed, pre-configured deployment and lack standardized interfaces for this kind of dynamic lifecycle management, a limitation that becomes critical once edge nodes span multiple administrative domains.

Bringing non-FL-native devices into the process (see clause 6.5.7). Most deployed IoT endpoints - sensors, actuators, low-power wireless nodes, legacy PLCs - lack the resources to train locally, even though they are the source of the data FL is meant to learn from. Including them requires a Trusted FL Client that collects their raw data at the edge, trains on their behalf within the local trust domain, and forwards only the resulting model updates.

6.5.1 FL Deployment Orchestration Patterns

The deployment of FL functions across oneM2M and ETSI MEC infrastructure may combine different aggregation topologies with different placements of orchestration, training coordination, and aggregation functions.

The following options illustrate centralised and hierarchical aggregation using representative cloud and edge deployments. The physical placement of the functions shown in these examples is not a defining characteristic of the aggregation topology. Additional configurations may be realised by placing these functions on different execution hosts while preserving their logical relationships.

  • Option 1: In this option, the FL Coordinator's Orchestrator sub-component might be hosted in a cloud-based environment, while its Aggregator sub-component might run on the edge. FL Clients could be hosted on the edge or device, depending on the computational capabilities.

    Figure 6.5.1‑1 illustrates the model and update path in a centrally aggregated deployment. For the functional separation adopted in the present document, Service Orchestration authorizes and supervises the FL operation, Training Coordination initiates rounds and arranges model handoff to FL Clients, and the Aggregator combines eligible updates. The Training Coordinator reports progress to Service Orchestration and starts subsequent rounds as authorized. The existing figure labels require reconciliation with these role boundaries in editable artwork (see clause 7.3).

    In this configuration, a single logical Aggregator combines eligible client updates, Training Coordination schedules training rounds, and Service Orchestration supervises the managed operation.

    This option illustrates centralised FL aggregation, in which a single logical FL Aggregator combines model updates from the participating FL Clients. In the configuration shown, the FL Aggregator is hosted at the edge, while the FL Orchestrator is hosted in the cloud. The same aggregation topology may be realised with different placements of these functions.

    Edge-hosted aggregation may reduce communication latency and backhaul traffic when the participating FL Clients are located near the edge host. These benefits depend on the distribution of participants and the network connectivity between the clients and the aggregator.

    Figure 6.5.1-1: Federated Learning Orchestration - Option 1
    Figure 6.5.1‑1: Federated Learning Orchestration - Option 1

    Figure 6.5.1‑1: Federated Learning Orchestration - Option 1

  • Option 2: In this option, the FL Coordinator's Orchestrator and Aggregator (Global) sub-components might be hosted in a cloud-based environment, while a local Aggregator (Local) runs on the edge, closer to the FL Clients. FL Clients could be hosted on the edge or device, depending on the computational capabilities. Figure 6.5.1‑2 illustrates the model and update path in a hierarchically aggregated deployment. For the functional separation adopted here, Service Orchestration authorizes and supervises the operation; Training Coordination initiates rounds, arranges model handoff, and correlates completion; local Aggregators combine eligible client updates; and the global Aggregator combines authorized intermediate results. Training Coordination schedules subsequent rounds as authorized. The existing figure labels require reconciliation with these role boundaries in editable artwork (see clause 7.3).

    This option illustrates hierarchical FL aggregation, in which local FL Aggregators combine model updates from groups of FL Clients before forwarding intermediate results to a global FL Aggregator. In the configuration shown, local aggregation occurs at the edge and global aggregation occurs in the cloud.

    The hierarchical aggregation topology does not require a cloud-hosted global FL Aggregator. An alternative configuration may place both local and global aggregation functions on different edge hosts.

    Hierarchical aggregation may reduce communication overhead and improve scalability in geographically distributed deployments, depending on the number and distribution of FL Clients, aggregation frequency, and network conditions. This benefit does not, by itself, establish equivalence with a single-stage aggregation algorithm or with centralised training. For example, in sample-count-weighted FedAvg, equally averaging intermediate aggregator outputs may differ from weighting those outputs by the number of samples they represent. Relevant framework-specific considerations include the weighting of participating client updates, the local aggregation interval, client availability or exclusion, and non-identically distributed (non-IID) data. An FL aggregation configuration or profile may therefore identify how intermediate updates are weighted and when they are combined. oneM2M and ETSI MEC may support discovery and distribution of this configuration and reporting of aggregation status, while the FL framework remains responsible for the algorithm and its mathematical semantics.

    Figure 6.5.1-2: Federated Learning Orchestration - Option 2
    Figure 6.5.1‑2: Federated Learning Orchestration - Option 2

    Figure 6.5.1‑2: Federated Learning Orchestration - Option 2

At the architectural level, FL orchestration involves the following functional activities; the proposed oneM2M/MEC procedures and message sequences are developed in clause 7.3:

  • Candidate participant and host selection: the FL Service Orchestration function evaluates eligible FL Client applications, governed Data Sources, execution capabilities, trust boundaries, and available hosts. A host or CSE is not an FL participant unless an authorized FL Client application performs that role.
  • Model handoff: the Training Coordinator provides or references the approved initial or subsequent training model for authorized FL Clients. An IN-CSE or MEC management function may assist with signalling, storage, or deployment but does not initialize the model merely by being a platform component.
  • Local training: an FL Client or Trusted FL Client executes the selected training method on permitted data within its applicable trust domain. Only policy-permitted updates or intermediate values cross the boundary, consistent with the selected FL method; no universal device-local-only or weight-only rule is implied.
  • Aggregation and status correlation: authorized FL Aggregator applications process eligible model updates using the configured framework and algorithm, whether hosted in a cloud, MEC host, gateway, or another environment. Training Coordination manages update collection, model-version handoff, and progress; CSEs and MEC management may provide metadata, access-control, notifications, deployment status, or communications support without themselves carrying out aggregation.

6.5.2 FL Resource and Data Discovery

FL Resource and Data Discovery addresses the discovery challenge described above: before a training round can be planned, the FL Orchestration Function locates potential FL Clients, Data Sources, and execution hosts, and gathers enough information about each of them to judge whether they are eligible and suitable to participate. Existing oneM2M discovery and, where authorized and applicable, MEC service exposure can contribute to this capability; FL-specific suitability attributes and cross-platform mappings remain proposals in clause 7.3 rather than assumed existing standardized discovery semantics.

FL Resource and Data Discovery supports:

  • registration or representation of FL Clients and potential data sources;
  • publication of client execution capabilities and availability;
  • publication of privacy-preserving data suitability descriptions;
  • discovery of clients, data sources, hosts, and services using application-defined criteria;
  • evaluation of authorization, trust, administrative, and policy constraints;
  • creation of candidate participant pools;
  • selection of participants for an FL operation or training round; and
  • reselection when availability, policy, data, or execution conditions change.

Discovery of a data source does not imply transfer of its raw data; the purpose is only to determine whether a data source may be suitable and eligible for local processing. Candidate selection supports an already admitted FL operation and its subsequent training tasks (see clause 6.5.3). Admission of the service intent and creation of the operation precede candidate discovery; discovery alone does not create or authorize the operation.

6.5.3 FL Service Intent and Operation Management

This clause describes the separation of logical intent and operation responsibilities; candidate oneM2M resource representations, admission ordering, and lifecycle details are specified as proposals in clauses 7.3.2 and 7.3.5.1.

Following acceptance and admission of the FL service intent, an FL operation is established before participant discovery or deployment (see clause 6.5.2). The desired outcome of the FL service and the managed execution created to deliver it remain conceptually distinct. FL Service Intent and Operation Management supports separation of the requested service outcome from implementation-specific execution procedures.

An FL service intent may identify:

  • the requested FL operation;
  • the model, algorithm, framework or execution-profile requirements;
  • the required or preferred data characteristics;
  • participant-selection constraints;
  • start, pause, resume, and stopping conditions;
  • priority and scheduling constraints;
  • privacy, trust, and administrative policies;
  • expected result and status-notification requirements; and
  • model-deployment or inference objectives following training.

An FL operation is created when an accepted service intent is admitted, before candidate discovery, and represents the managed training execution undertaken to fulfil the intent. Its overall state may be pending, preparing, ready, running, paused, completed, failed, or cancelled. Discovery, deployment, adaptation, and rollback are separately tracked activities rather than mandatory sequential operation states. Keeping the intent and operation as distinct, correlated resources allows changes in participants, hosts, or deployments without losing the original requested outcome. Successful training completion is determined by the specified result and acceptance conditions, independently of subsequent inference deployment, which may reference the resulting model version and operation.

6.5.4 FL Application and Model Lifecycle Management

Turning an FL operation into a running training campaign requires the applicable FL Client, Trusted FL Client, Training Coordination, and Aggregation application components to be present and correctly configured on the selected hosts, and the model artifacts they operate on to be distributed and kept up to date. FL Application and Model Lifecycle Management supports:

  • selection of an execution environment;
  • deployment and configuration of required FL Client, Trusted FL Client, Training Coordinator, FL Service Orchestrator, and Aggregator applications as appropriate, using MEC lifecycle authority for MEC-managed applications or other authorized lifecycle mechanisms for non-MEC targets;
  • retrieval and validation of application and model packages;
  • distribution of initial, intermediate, and final model versions;
  • compatibility checking against target capabilities;
  • update, replacement, rollback, migration, and termination;
  • deployment of trained inference models to capable targets; and
  • correlation between deployed instances, model versions, targets, and FL operations.

Application lifecycle management and model lifecycle management may use different mechanisms, since a software application may remain installed while its model versions are updated independently. Once the required components are instantiated and reachable, FL Execution and Round Coordination (see clause 6.5.5) can proceed to organize them into actual training rounds.

6.5.5 FL Execution and Round Coordination

With FL components deployed and ready, Training Coordination organizes rounds or asynchronous participation, provides model handoff, and collects permitted updates; the distinct Aggregation function performs the configured algorithm-specific combination. FL Execution and Round Coordination supports:

  • FL Client registration and readiness;
  • creation of participant-specific FL tasks;
  • participant-set management;
  • training-round scheduling;
  • distribution of model references and training configuration;
  • collection of local model updates;
  • local and global aggregation coordination;
  • progress and completion reporting;
  • timeout, rejection, and straggler handling; and
  • synchronization of FL activities across multiple aggregation stages, coordination components, or geographically distributed execution hosts, as applicable to the selected aggregation topology and communication model.

The FL algorithm, aggregation method, and model format remain application-specific unless defined by another specification or profile. For hierarchical aggregation, coordination may include a reference to framework-specific aggregation configuration (e.g. update weighting, intermediate aggregation interval, and participation or exclusion policy) and status describing the participating updates. This capability group coordinates rounds and correlates their status; it does not determine how aggregation itself is computed. The resulting readiness, progress, and completion information is what FL Monitoring and Adaptation (see clause 6.5.6) observes to decide whether the operation can continue as planned.

6.5.6 FL Monitoring and Adaptation

FL operations run over extended periods across dynamic IoT and edge conditions, so discovery, deployment, and round-coordination decisions taken at the start of an operation cannot be assumed to remain valid throughout its lifetime. FL Monitoring and Adaptation closes the loop by observing the state of clients, deployments, and rounds, and by feeding changes back into the earlier capability groups so that an operation can be adjusted rather than simply failing. FL Monitoring and Adaptation supports:

  • monitoring of client availability and resource conditions;
  • monitoring of deployment, task, round, and operation status;
  • monitoring of model-version and inference-deployment state;
  • detection of changed data conditions using permitted metadata or reported metrics;
  • detection of failures, rejection, policy changes, or loss of eligibility;
  • participant reselection;
  • redeployment, retry, rollback, or replacement;
  • triggering of retraining or model update; and
  • preservation of traceability across adaptations.

The capability may use event-driven subscription and notification procedures to avoid continuous polling. Adaptation actions triggered here - reselecting a participant, redeploying a component, or rolling back a model version - loop back into FL Resource and Data Discovery (see clause 6.5.2) and FL Application and Model Lifecycle Management (see clause 6.5.4), closing the operational cycle described by this clause.

6.5.7 FL Support for Non-FL-Native and Constrained Devices

The capability groups above assume that a participant is able to act as an FL Client in its own right. Most deployed IoT endpoints cannot, since they lack the memory, compute, or software stack needed to train locally, even though they are often the source of the most relevant operational data. FL Support for Non-FL-Native and Constrained Devices extends the previous capability groups to this majority of devices through the Trusted FL Client, and supports:

  • identification of devices that hold relevant data but cannot execute local model training;
  • selection or deployment of a Trusted FL Client on a capable gateway, MEC host, or other local execution platform;
  • authorized local collection of raw data by the Trusted FL Client on behalf of the represented devices;
  • local training performed by the Trusted FL Client entirely within the local trust domain;
  • submission of permitted model updates or algorithm-specific intermediate information to the designated Training Coordinator/Aggregator according to policy; and
  • correlation between the Trusted FL Client and the Data Sources it represents.
Figure 6.5.7-1: FL Client vs. Trusted FL Client for Non-FL-Native Devices
Figure 6.5.7‑1: FL Client vs. Trusted FL Client for Non-FL-Native Devices

Figure 6.5.7‑1: FL Client vs. Trusted FL Client for Non-FL-Native Devices

Figure 6.5.7‑1 contrasts the two cases side by side. On an FL-native device, shown on the left, the FL Client is co-located on the device with its IoT logic and physical/IoT data: it exchanges raw data and triggers model execution locally, and exchanges the model or algorithm-specific permitted updates with the applicable training functions without transferring raw training data as part of the illustrated FL procedure. On a non-FL-native device, shown on the right, the same IoT logic and physical/IoT data remain on the constrained device, but local training is instead carried out by a Trusted FL Client hosted separately within the surrounding local edge domain: it retrieves raw data and triggers model execution across that device boundary, and exchanges the model or algorithm-specific permitted updates with the applicable training functions on the represented device's behalf. The trust boundary within which raw data stays therefore shifts from the device itself to the local edge domain as a whole, which defines the authorized data-locality boundary for this deployment, without itself guaranteeing privacy against information leakage from exchanged updates.

Raw data accessed from a represented device is confined to its authorized local trust domain under the applicable source governance and data-handling policy; a Trusted FL Client does not imply that raw data stays on the originating device. The Trusted FL Client is itself discovered, deployed, executed, and monitored through the same FL Resource and Data Discovery, FL Application and Model Lifecycle Management, FL Execution and Round Coordination, and FL Monitoring and Adaptation capabilities described above (see clauses 6.5.2 to 6.5.6), acting as the participant on behalf of the devices it represents.