Method and device for acceleration of artificial intelligence and machine learning training in wireless communication system
The method optimizes AI/ML training in wireless communication systems by leveraging SMF and UPF to perform gradient aggregation, addressing the limitations of existing technologies and enhancing training speed and efficiency while ensuring privacy preservation.
Patent Information
- Application Number
- PCT/KR2024/002157
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2024-02-20
- Publication Date
- 2024-09-06
AI Technical Summary
Current technologies for accelerating artificial intelligence and machine learning training in wireless communication systems, particularly in mobile communication networks, face challenges due to the limitations of existing gradient aggregation methods which are designed for homogeneous and symmetric data center environments, and lack support for privacy preservation and efficient processing in mobile settings.
The method involves operating a session management function (SMF) to manage federated learning in wireless communication systems by acquiring information about terminals, selecting a user plane function (UPF) that supports gradient aggregation, and performing gradient aggregation either in the UPF or a parameter server, using arithmetic operations or XOR operations, to optimize AI/ML training processes.
This approach enhances the speed and efficiency of distributed AI learning by shifting gradient aggregation operations from application servers to programmable switches within the UPF, reducing network volume and computing resource consumption, and supporting privacy preservation in mobile communication systems.
Smart Images

Figure KR2024002157_06092024_PF_FP
Abstract
Description
Method and device for accelerating artificial intelligence and machine learning training in wireless communication systems
[0001] The present disclosure relates to a technology for supporting federated learning, and more particularly, to a method and apparatus for applying a method for accelerating artificial intelligence (AI) / machine learning (ML) training in a wireless communication system.
[0002] Looking back at the evolution of wireless communication over successive generations, technologies have primarily been developed for human-facing services such as voice, multimedia, and data. With the commercialization of the 5G (5th Generation) communication system, an explosive increase in connected devices is expected to be connected to communication networks. Examples of networked objects include vehicles, robots, drones, home appliances, displays, smart sensors installed in various infrastructures, construction equipment, and factory equipment. Mobile devices are also expected to evolve into diverse form factors, such as augmented reality glasses, virtual reality headsets, and holographic devices. In the 6G (6th Generation) era, efforts are being made to develop improved 6G communication systems to connect hundreds of billions of devices and objects and provide diverse services. For this reason, 6G communication systems are often referred to as "beyond 5G."
[0003] The 6G communication system, expected to be realized around 2030, will have a maximum transmission speed of terabytes (i.e., 1,000 gigabits) per second (bps) and a wireless latency of 100 microseconds (μsec). In other words, compared to 5G, the transmission speed in a 6G communication system will be 50 times faster and the wireless latency will be reduced to one-tenth.
[0004] To achieve these high data rates and ultra-low latency, 6G communication systems are being considered for implementation in the terahertz (THz) band (e.g., from 95 gigahertz (GHz) to 3 terahertz (THz)). Compared to the millimeter wave (mmWave) band introduced in 5G, the terahertz band is expected to have more severe path loss and atmospheric absorption, making it more important to develop technologies that can guarantee signal reach, or coverage. Key technologies to ensure coverage include Radio Frequency (RF) components, antennas, new waveforms that offer better coverage than Orthogonal Frequency Division Multiplexing (OFDM), beamforming, and multiple antenna transmission technologies such as massive Multiple-Input and Multiple-Output (MIMO), Full Dimensional MIMO (FD-MIMO), array antennas, and large-scale antennas. In addition, new technologies such as metamaterial-based lenses and antennas, high-dimensional spatial multiplexing using Orbital Angular Momentum (OAM), and Reconfigurable Intelligent Surface (RIS) are being discussed to improve the coverage of terahertz band signals.
[0005] In addition, in order to improve frequency efficiency and system network, 6G communication systems are developing full duplex technology that utilizes the same frequency resources at the same time for uplink and downlink; network technology that integrates satellites and HAPS (High-Altitude Platform Stations); network structure innovation technology that supports mobile base stations and enables optimization and automation of network operation; dynamic spectrum sharing technology through collision avoidance based on spectrum usage prediction; AI-based communication technology that utilizes AI (Artificial Intelligence) from the design stage and internalizes end-to-end AI support functions to realize system optimization; and next-generation distributed computing technology that realizes services with complexity that exceeds the limits of terminal computing capabilities by utilizing ultra-high-performance communication and computing resources (Mobile Edge Computing (MEC), cloud, etc.). In addition, efforts are being made to further strengthen connectivity between devices, further optimize networks, promote softwareization of network entities, and increase the openness of wireless communications through the design of new protocols to be used in 6G communication systems, the implementation of hardware-based security environments, the development of mechanisms for the safe use of data, and the development of technologies for maintaining privacy.
[0006] Research and development of these 6G communication systems are expected to enable a new level of hyper-connected experience through the hyper-connectivity of 6G communication systems, which encompass not only connections between things but also connections between people and things. Specifically, 6G communication systems are expected to enable services such as truly immersive eXtended Reality (XR), high-fidelity mobile holograms, and digital replicas. Furthermore, services such as remote surgery, industrial automation, and emergency response, which are provided through 6G communication systems through enhanced security and reliability, will be applied in diverse fields such as industry, medicine, automobiles, and home appliances.
[0007] Meanwhile, research on accelerating computing using programmable hardware (in-network computing, INC) is actively underway in data centers. INC utilizing programmable hardware can reduce power and costs while processing the same amount of traffic compared to existing technologies, and can accelerate AI learning speeds. However, existing technologies have only considered homogeneous and symmetric data center environments for gradient aggregation, necessitating a new design for application to mobile communication systems (or wireless communication systems). Consequently, there is a growing need for a framework to support distributed AI / ML (machine learning) learning, such as federated learning, which requires privacy preservation in mobile communication systems (or wireless communication systems).
[0008] The disclosed embodiments are intended to provide a device and method for supporting AI (artificial intelligence) / ML (machine learning) acceleration.
[0009] According to various embodiments disclosed in the present document, a method of operating a session management function (SMF) for supporting federated learning in a wireless communication system includes the steps of: obtaining information about a plurality of terminals in a federated learning group; obtaining first information about a user plane function (UPF) that supports gradient aggregation performance for federated learning from a network repository function (NRF); obtaining second information about a placement position of a programmable switch that supports the gradient aggregation performance of the UPF from the NRF; and selecting a UPF for a plurality of terminals in the federated learning group based on at least one of the first information and the second information, when the gradient aggregation performance is supported. The gradient aggregation is performed in the UPF, and if the gradient aggregation performance is not supported, the gradient aggregation is performed in the PS (parameter server), and the gradient aggregation may be performed by performing at least one of an arithmetic operation or an XOR (exclusive or) operation on the gradients of the plurality of terminals.
[0010] According to various embodiments disclosed in the present document, a method of operating a user plane function (UPF) for supporting federated learning in a wireless communication system includes the steps of: receiving a control message for a plurality of terminals in a federated learning group from a session management function (SMF); receiving a gradient from the plurality of terminals based on the control message; performing an aggregation on the gradient based on whether aggregation is supported; and transmitting the gradient to a parameter server (PS) or the plurality of terminals based on a postprocessing capability of the plurality of terminals, wherein the gradient aggregation may be performing at least one of an arithmetic operation or an exclusive or (XOR) operation on the gradients of the plurality of terminals.
[0011] According to various embodiments disclosed in the present document, a session management function (SMF) for supporting federated learning in a wireless communication system comprises at least one transceiver, and at least one processor operably coupled to the at least one transceiver, wherein the at least one processor obtains information about a plurality of terminals in a federated learning group, obtains first information about a user plane function (UPF) that supports gradient aggregation performance for federated learning from a network repository function (NRF), obtains second information about a placement location of a programmable switch that supports the gradient aggregation performance of the UPF from the NRF, and selects a UPF for a plurality of terminals in the federated learning group based on at least one of the first information and the second information, wherein the UPF supports the gradient aggregation performance. The gradient aggregation is performed in the UPF, and if the gradient aggregation performance is not supported, the gradient aggregation is performed in the PS (parameter server), and the gradient aggregation may be performed by performing at least one of an arithmetic operation or an XOR (exclusive or) operation on the gradients of the plurality of terminals.
[0012] According to various embodiments disclosed in the present document, a user plane function (UPF) for supporting federated learning in a wireless communication system comprises at least one transceiver, and at least one processor operably coupled to the at least one transceiver, wherein the at least one processor receives a control message for a plurality of terminals in a federated learning group from a session management function (SMF), receives a gradient from the plurality of terminals based on the control message, performs an aggregation on the gradient based on whether aggregation is supported, and transmits the gradient to a parameter server (PS) or the plurality of terminals based on a postprocessing capability of the plurality of terminals, wherein the gradient aggregation may be performing at least one of an arithmetic operation or an exclusive or (XOR) operation on the gradients of the plurality of terminals.
[0013] Methods and devices according to various embodiments of the present disclosure can improve the speed of distributed AI learning, such as federated learning, compared to server-based processing, such as application servers, by providing a change in a protocol for processing some of the update operations of a distributed AI (artificial intelligence) model in a switch rather than an application server and a procedure for performing gradient aggregation operations in the switch.
[0014] The effects that can be obtained from the present disclosure are not limited to the effects mentioned above, and other effects that are not mentioned can be clearly understood by a person having ordinary skill in the art to which the present disclosure belongs from the description below.
[0015] FIG. 1 illustrates a communication network including core network entities (or core network functions) in a wireless communication system according to various embodiments of the present disclosure.
[0016] FIG. 2 illustrates a wireless environment including a core network in a wireless communication system according to various embodiments of the present disclosure.
[0017] FIG. 3 illustrates the configuration of a core network object in a wireless communication system according to various embodiments of the present disclosure.
[0018] FIG. 4 illustrates a configuration of a base station in a wireless communication system according to various embodiments of the present disclosure.
[0019] FIG. 5 illustrates a configuration of a terminal in a wireless communication system according to various embodiments of the present disclosure.
[0020] FIG. 6 illustrates the concept of a PS (parameter server)-based gradient aggregation method related to various embodiments of the present disclosure.
[0021] FIG. 7 illustrates the concept of a ring all reduce (RAR) based gradient aggregation method related to various embodiments of the present disclosure.
[0022] FIG. 8 illustrates the structure of a federated learning scenario of terminals related to various embodiments of the present disclosure.
[0023] FIG. 9 illustrates the flow of signals in a federated learning scenario of terminals related to various embodiments of the present disclosure.
[0024] FIG. 10 illustrates the flow of signals in a terminal group selection procedure related to various embodiments of the present disclosure.
[0025] FIG. 11 illustrates the structure of a federated learning scenario of terminals according to various embodiments of the present disclosure.
[0026] FIG. 12 illustrates the structure of a header including weight values of each terminal according to various embodiments of the present disclosure.
[0027] FIG. 13 illustrates the operation sequence of the SMF (session management function) according to various embodiments of the present disclosure.
[0028] FIG. 14 illustrates a procedure for accelerating AI (artificial intelligence) / ML (machine learning) updates according to various embodiments of the present disclosure.
[0029] FIG. 15 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0030] FIG. 16 illustrates an operation sequence of a smart switch to support acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0031] FIG. 17 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0032] FIG. 18 illustrates the operation sequence of a smart switch to support acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0033] FIG. 19 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0034] FIG. 20 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0035] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the attached drawings.
[0036] In describing the embodiments, descriptions of technical details that are well known in the technical field to which the present disclosure pertains and are not directly related to the present disclosure will be omitted. This is to ensure that the gist of the present disclosure is conveyed more clearly without obscuring it by omitting unnecessary explanations.
[0037] For the same reason, some components in the attached drawings are exaggerated, omitted, or schematically depicted. Furthermore, the dimensions of each component do not entirely reflect its actual size. Identical or corresponding components in each drawing are assigned the same reference numbers.
[0038] The advantages and features of the present disclosure, and methods for achieving them, will become clearer with reference to the embodiments described below in detail together with the accompanying drawings. However, the present disclosure is not limited to the embodiments disclosed below and may be implemented in various different forms. These embodiments are provided only to ensure that the disclosure of the present disclosure is complete and to fully inform those skilled in the art of the scope of the disclosure, and the present disclosure is defined only by the scope of the claims. Like reference numerals designate like elements throughout the specification. In addition, when describing the present disclosure, if a specific description of a related function or configuration is determined to unnecessarily obscure the gist of the present disclosure, a detailed description thereof will be omitted. In addition, the terms described below are terms defined in consideration of the functions of the present disclosure, and may vary depending on the intention or custom of the user or operator. Therefore, their definitions should be made based on the contents throughout the specification.
[0039] Hereinafter, the base station is an entity that performs resource allocation of the terminal, and may be at least one of a gNode B, an eNode B, a Node B, a BS (Base Station), a wireless access unit, a base station controller, or a node on a network. The terminal may include a UE (User Equipment), an MS (Mobile Station), a cellular phone, a smartphone, a computer, or a multimedia system capable of performing a communication function. In the present disclosure, downlink (DL) refers to a wireless transmission path of a signal transmitted from a base station to a terminal, and uplink (UL) refers to a wireless transmission path of a signal transmitted from a terminal to a base station. In addition, although the LTE or LTE-A system may be described below as an example, the embodiments of the present disclosure may also be applied to other communication systems having a similar technical background or channel type. For example, the 5th generation mobile communication technology (5G, new radio, NR) developed after LTE-A may be included here, and the 5G below may also be a concept that includes existing LTE, LTE-A, and other similar services. In addition, the present disclosure may be applied to other communication systems with some modifications within a scope that does not significantly deviate from the scope of the present disclosure, as judged by a person having skilled technical knowledge.
[0040] At this time, it will be understood that each block of the processing flowchart drawings and combinations of the flowchart drawings can be performed by computer program instructions. These computer program instructions can be installed in a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing equipment, so that the instructions executed by the processor of the computer or other programmable data processing equipment create a means for performing the functions described in the flowchart block(s). These computer program instructions can also be stored in a computer-available or computer-readable memory that can direct a computer or other programmable data processing equipment to implement the functions in a specific manner, so that the instructions stored in the computer-available or computer-readable memory can also produce a manufactured item that includes an instruction means for performing the functions described in the flowchart block(s). Since the computer program instructions may be installed on a computer or other programmable data processing device, a series of operational steps may be performed on the computer or other programmable data processing device to create a computer-executable process, and the instructions that cause the computer or other programmable data processing device to perform the steps for performing the functions described in the flowchart block(s) may also provide steps for performing the functions described in the flowchart block(s).
[0041] Additionally, each block may represent a module, segment, or portion of code that contains one or more executable instructions for performing a specific logical function(s). It should also be noted that in some alternative implementation examples, the functions described in the blocks may occur out of order. For example, two blocks depicted in succession may actually be executed substantially concurrently, or the blocks may sometimes be executed in reverse order, depending on their respective functions.
[0042] The term 'unit or part' used in this disclosure means a software or hardware component such as a field-programmable gate array (FPGA) or an application specific integrated circuit (ASIC), and the 'unit' may be configured to perform specific roles. However, the 'unit' is not limited to software or hardware. The 'unit' may be configured to reside in an addressable storage medium and may be configured to execute one or more processors. Thus, as an example, the 'unit' includes components such as software components, object-oriented software components, class components, and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, and variables. The functionality provided within the components and 'units' may be combined into a smaller number of components and 'units' or further separated into additional components and 'units'. Additionally, the components and '~parts' may be implemented to activate one or more CPUs within a device or secure multimedia card. In addition, in an embodiment, the '~parts' may include one or more processors and / or devices.
[0043] For convenience of explanation below, some terms and names defined in communication standards based on 3GPP (3rd Generation Partnership Project Long Term Evolution) (e.g., standards for 5G, NR, LTE, or similar systems) may be used. However, the present disclosure is not limited by these terms and names, and can be equally applied to systems conforming to other standards.
[0044] The terms used in the following description to identify connection nodes, terms referring to network entities, terms referring to messages, terms referring to interfaces between network objects, or terms referring to various identification information are provided for convenience of explanation. Therefore, the present disclosure is not limited to the terms described below, and other terms referring to objects with equivalent technical meanings may be used.
[0045] Meanwhile, as deep learning based on artificial neural networks (e.g., AI (artificial intelligence) / ML (machine learning)) is utilized in various fields, the size of training data used in deep learning may become increasingly large for more sophisticated training. Therefore, discussions are ongoing on data parallel distributed deep learning based on parameter servers, which divide data into multiple devices for training rather than processing data on a single device and combine the generated gradients through a parameter server. However, a method (e.g., gradient aggregation) that sends gradients from multiple devices to a small number of parameter servers and combines (or merges) them may cause a bottleneck by concentrating traffic on the parameter servers. Therefore, methods to solve the bottleneck problem of the gradient aggregation method are being discussed.
[0046] Additionally, the embodiments of the present disclosure below propose a protocol modification to process some of the operations for updating a distributed AI model in a private network containing personal information in a switch rather than an application server (AS) (e.g., a parameter server). The modified protocol may be referred to as gradient aggregation offloading. Path control, procedures, and the format of the GTP (general packet radio service (GPRS) tunneling protocol)-U extension header that enable gradient (e.g., weight or parameter) aggregation operations to be processed in the switch may be described.
[0047] That is, in the embodiments of the present disclosure below, methods for solving the bottleneck problem of gradient aggregation in a private network (e.g., a mobile communication network) and accelerating the training of an AI / ML model can be described.
[0048] FIG. 1 illustrates a communication network (100) including core network entities (or core network functions) in a wireless communication system according to various embodiments of the present disclosure. A 5G mobile communication network may be configured to include a 5G user equipment (UE) (110), a 5G radio access network (RAN) (120), and a 5G core network (200).
[0049] The 5G core network may be configured to include network functions such as an access and mobility management function (AMF) (150) that provides a mobility management function of UE, a session management function (SMF) (160) that provides a session management function, a user plane function (UPF) (170) that performs a data transfer role, a policy control function (PCF) (180) that provides a policy control function, a unified data management (UDM) (153) that provides a data management function such as subscriber data and policy control data, or a unified data repository (UDR) that stores data of various network functions.
[0050] Referring to FIG. 1, a user equipment (UE) (110) may communicate with a base station (e.g., an eNB, a gNB) via a wireless channel, i.e., an access network. In some embodiments, the UE (110) may be a device used by a user and configured to provide a user interface (UI). As an example, the UE (110) may be a terminal mounted (equipment) on a vehicle for driving. In some other embodiments, the UE (110) may be a device that performs machine type communication (MTC) that operates without user intervention, or may be an autonomous vehicle. UE may be referred to as a 'terminal', 'vehicle terminal', 'user equipment (UE)', 'mobile station', 'subscriber station', 'remote terminal', 'wireless terminal', or 'user device' or other terms having equivalent technical meanings, other than electronic devices.
[0051] Referring to FIG. 1, the AMF (150) provides a function for connection and mobility management per terminal (110), and basically, one AMF (150) can be connected to one terminal (110). Specifically, the AMF (150) can perform at least one of signaling between core network nodes for mobility between 3GPP access networks, an interface (N2 interface) between wireless access networks (e.g., 5G RAN) (120), NAS signaling with the terminal (110), identification of the SMF (160), and provision of transmission of session management (SM) messages between the terminal (110) and the SMF (160). Some or all of the functions of the AMF (150) can be supported within a single instance of one AMF (150).
[0052] Referring to FIG. 1, the SMF (160) provides a session management function, and when the terminal (110) has multiple sessions, each session can be managed by a different SMF (160). Specifically, the SMF (160) can perform at least one of the following functions: session management (e.g., session establishment, modification, and release, including tunnel maintenance between the UPF (170) and the access network node), selection and control of UP (user plane) functions, traffic steering setup for routing traffic to an appropriate destination in the UPF (170), termination of the SM portion of NAS messages, downlink data notification (DDN), and initiation of AN-specific SM information (e.g., delivery to the access network via the N2 interface via the AMF (150)). Some or all of the functions of the SMF (160) can be supported within a single instance of one SMF (160).
[0053] DN (140) (data network) may refer to a network outside the 5G system, such as an operator service, Internet access, or a third-party service. The DN may transmit a downlink protocol data unit (PDU) to the UPF or receive a PDU transmitted from a terminal from the UPF.
[0054] The AF (130) can interact with the 3GPP core network to provide services (e.g., support functions such as application impact on traffic routing, access to network capability exposure, and interaction with policy frameworks for policy control).
[0055] Although not illustrated in Figure 1, the 5G core network may include an NWDAF. NWDAF includes at least one of the analytics logical function (AnLF) and the model training logical function (MTLF), and can collect data within the 5G system and provide analytics services based on the collected data. For example, a machine learning model can be trained based on the data, and the trained model can be used to provide analytics data necessary for network operation and behavior.
[0056] In the 3GPP system, the conceptual links connecting network functions (NFs) within a 5G system can be referred to as reference points. Reference points can also be referred to as interfaces. The following illustrates reference points included in the 5G system architecture depicted in Figures 1 through 7.
[0057] - N1: Reference point between UE (110) and AMF (150)
[0058] - N2: Reference point between (R)AN(120) and AMF(150)
[0059] - N3: Reference point between (R)AN(120) and UPF(170)
[0060] - N4: Reference point between SMF (160) and UPF (170)
[0061] - N5: Reference point between PCF (180) and AF (130)
[0062] - N6: Reference point between UPF (170) and DN (140)
[0063] - N7: Reference point between SMF (160) and PCF (180)
[0064] - N8: Reference point between UDM (153) and AMF (150)
[0065] - N9: Reference point between two core UPFs (170)
[0066] - N10: Reference point between UDM (153) and SMF (160)
[0067] - N11: Reference point between AMF (150) and SMF (160)
[0068] - N12: Reference point between AMF (150) and authentication server function (AUSF) (151)
[0069] - N13: Reference point between UDM (153) and authentication server function (151)
[0070] - N14: Reference point between two AMFs (150)
[0071] - N15: For non-roaming scenarios, reference point between PCF (180) and AMF (150), for roaming scenarios, reference point between PCF (180) and AMF (150) within the visited network.
[0072] All or part of the NFs within the aforementioned 3GPP 5G system may constitute a private enterprise network, as described in the embodiments of the present disclosure below. Specifically, all or part of the NFs within the 3GPP 5G system may be interconnected with the enterprise's data network, and 5G system functions may be provided according to the enterprise's needs. However, only some of the functions of the NFs within the 5G system may be required, and it may be necessary to define new network entities to provide some of the functions. The new network entities that provide only some of the functions required according to the enterprise's needs are specifically described in the embodiments of the present disclosure below.
[0073] FIG. 2 illustrates a wireless environment including a core network in a wireless communication system according to various embodiments of the present disclosure.
[0074] Referring to FIG. 2, the wireless communication system includes a radio access network (RAN) (120) and a core network (CN) (200).
[0075] The wireless access network (120) is a network that is directly connected to a user device, for example, a terminal (110), and is an infrastructure that provides wireless access to the terminal (110). The wireless access network (120) includes a set of a plurality of base stations including a base station (125), and the plurality of base stations can communicate through interfaces formed between each other. At least some of the interfaces between the plurality of base stations can be wired or wireless. The base station (125) can have a structure that is divided into a central unit (CU) and a distributed unit (DU). In this case, one CU can control a plurality of DUs. The base station (125) can be referred to as an 'access point (AP)', 'next generation node B (gNB)', '5th generation node (5G node)', 'wireless point', 'transmission / reception point (TRP)', or other terms having an equivalent technical meaning thereto in addition to the base station. The terminal (110) connects to a wireless access network (120) and communicates with a base station (125) via a wireless channel. The terminal (110) may be referred to as a 'user equipment (UE)', a 'mobile station', a 'subscriber station', a 'remote terminal', a 'wireless terminal', a 'user device', or other terms having an equivalent technical meaning.
[0076] The core network (200) is a network that manages the entire system, controls the wireless access network (120), and processes data and control signals for terminals (110) transmitted and received through the wireless access network (120). The core network (200) performs various functions, such as controlling the user plane and the control plane, processing mobility, managing subscriber information, billing, and interworking with other types of systems (e.g., long term evolution (LTE) systems). In order to perform the various functions described above, the core network (200) may include a number of functionally separated entities having different NFs (network functions). For example, the core network (200) may include an AMF (150), an SMF (160), an UPF (170), a PCF (180), a network repository function (NRF) (159), a user data management (UDM) (153), a network exposure function (NEF) (155), and a UDR (157).
[0077] The terminal (110) is connected to the wireless access network (120) and accesses the AMF (150) that performs the mobility management function of the core network (200). The AMF (150) is a function or device that is responsible for both accessing the wireless access network (120) and managing the mobility of the terminal (110). The SMF (160) is an NF that manages sessions. The AMF (150) is connected to the SMF (160), and the AMF (150) routes session-related messages for the terminal (110) to the SMF (160). The SMF (160) is connected to the UPF (170) to allocate user plane resources to be provided to the terminal (110), and establishes a tunnel for transmitting data between the base station (125) and the UPF (170). PCF (180) controls information related to policies and charging for sessions used by terminal (110). NRF (159) stores information on NFs installed in a mobile communication operator network and performs a function of notifying the stored information. NRF (159) can be connected to all NFs. When each NF starts operating in the operator network, it registers with NRF (159) to notify NRF (159) that the corresponding NF is operating within the network. UDM (153) is an NF that performs a role similar to HSS (home subscriber server) of a 4G network, and stores subscription information of terminal (110) or context used by terminal (110) within the network.
[0078] The NEF (155) connects a third-party server and an NF within the 5G mobile communication system. It also provides data to, updates, or acquires data from the UDR (157). The UDR (157) stores subscription information for the terminal 120, policy information, data exposed externally, or information required for a third-party application. Furthermore, the UDR (157) provides stored data to other NFs.
[0079] FIG. 3 illustrates a configuration of a core network object in a wireless communication system according to various embodiments of the present disclosure. The configuration (200) illustrated in FIG. 3 may be understood as a configuration of a device having at least one function among those (150, 153, 155, 157, 160, 170, 180, 190) of FIG. 1 . Terms such as "unit" and "unit" used herein refer to a unit that processes at least one function or operation, and may be implemented by hardware, software, or a combination of hardware and software.
[0080] Referring to FIG. 3, the core network object is configured to include a communication unit (310), a storage unit (320), and a control unit (330).
[0081] The communication unit (310) provides an interface for communicating with other devices within the network. That is, the communication unit (310) converts a bit string transmitted from a core network object to another device into a physical signal, and converts a physical signal received from another device into a bit string. That is, the communication unit (310) can transmit and receive signals. Accordingly, the communication unit (310) may be referred to as a modem, a transmitter, a receiver, or a transceiver. In this case, the communication unit (310) enables the core network object to communicate with other devices or systems via a backhaul connection (e.g., a wired backhaul or a wireless backhaul) or via a network.
[0082] The storage unit (320) stores data such as basic programs, application programs, and configuration information for the operation of the core network object. The storage unit (320) may be composed of volatile memory, non-volatile memory, or a combination of volatile and non-volatile memory. In addition, the storage unit (320) provides the stored data upon request from the control unit (330).
[0083] The control unit (330) controls the overall operations of the core network object. For example, the control unit (330) transmits and receives signals through the communication unit (310). In addition, the control unit (330) records and reads data from the storage unit (320). For this purpose, the control unit (330) may include at least one processor. According to various embodiments of the present disclosure, the control unit (330) may control synchronization using a wireless communication network. For example, the control unit (330) may control the core network object to perform operations according to various embodiments described below.
[0084] FIG. 4 illustrates the configuration of a base station in a wireless communication system according to various embodiments of the present disclosure. The configuration illustrated in FIG. 4 can be understood as the configuration of a base station (125). Terms such as "~unit" and "~unit" used hereinafter refer to a unit that processes at least one function or operation, and may be implemented using hardware, software, or a combination of hardware and software.
[0085] Referring to FIG. 4, the base station (125) includes a wireless communication unit (410), a backhaul communication unit (420), a storage unit (430), and a control unit (440).
[0086] The wireless communication unit (410) performs functions for transmitting and receiving signals via a wireless channel. For example, the wireless communication unit (410) performs a conversion function between baseband signals and bit streams according to the physical layer specifications of the system. For example, when transmitting data, the wireless communication unit (410) encodes and modulates the transmitted bit stream to generate complex symbols. Furthermore, when receiving data, the wireless communication unit (410) restores the received bit stream by demodulating and decoding the baseband signal.
[0087] In addition, the wireless communication unit (410) upconverts a baseband signal into an RF (radio frequency) band signal and transmits it through an antenna, and downconverts an RF band signal received through the antenna into a baseband signal. To this end, the wireless communication unit (410) may include a transmission filter, a reception filter, an amplifier, a mixer, an oscillator, a digital to analog convertor (DAC), an analog to digital convertor (ADC), etc. In addition, the wireless communication unit (410) may include a plurality of transmission and reception paths. Furthermore, the wireless communication unit (410) may include at least one antenna array composed of a plurality of antenna elements.
[0088] In terms of hardware, the wireless communication unit (410) may be composed of a digital unit and an analog unit, and the analog unit may be composed of a plurality of sub-units depending on operating power, operating frequency, etc. The digital unit may be implemented with at least one processor (e.g., a digital signal processor (DSP)).
[0089] The wireless communication unit (410) transmits and receives signals as described above. Accordingly, all or part of the wireless communication unit (410) may be referred to as a "transmitter," a "receiver," or a "transceiver." Furthermore, in the following description, transmission and reception performed via a wireless channel are used to mean that the wireless communication unit (410) performs the processing described above.
[0090] The backhaul communication unit (420) provides an interface for communicating with other nodes within the network. That is, the backhaul communication unit (420) converts a bit string transmitted from a base station to another node, such as another access node, another base station, an upper node, a core network, etc., into a physical signal, and converts a physical signal received from another node into a bit string.
[0091] The storage unit (430) stores data such as basic programs, application programs, and setting information for the operation of the base station. The storage unit (430) may be composed of volatile memory, nonvolatile memory, or a combination of volatile and nonvolatile memory. In addition, the storage unit (430) provides stored data upon request from the control unit (440).
[0092] The control unit (440) controls the overall operations of the base station. For example, the control unit (440) transmits and receives signals through the wireless communication unit (410) or the backhaul communication unit (420). In addition, the control unit (440) records and reads data in the storage unit (430). In addition, the control unit (440) can perform the functions of the protocol stack required by the communication standard. According to another implementation example, the protocol stack can be included in the wireless communication unit (410). For this purpose, the control unit (440) can include at least one processor. According to various embodiments, the control unit (440) can control the base station to perform operations according to various embodiments described below.
[0093] FIG. 5 illustrates the configuration of a terminal in a wireless communication system according to various embodiments of the present disclosure. The configuration illustrated in FIG. 5 can be understood as the configuration of a terminal (110). Terms such as "~unit" and "~unit" used hereinafter refer to a unit that processes at least one function or operation, which can be implemented using hardware, software, or a combination of hardware and software.
[0094] Referring to FIG. 5, the terminal includes a communication unit (510), a storage unit (520), and a control unit (530).
[0095] The communication unit (510) performs functions for transmitting and receiving signals via a wireless channel. For example, the communication unit (510) performs a conversion function between a baseband signal and a bit stream according to the physical layer specifications of the system. For example, when transmitting data, the communication unit (510) generates complex symbols by encoding and modulating a transmission bit stream. In addition, when receiving data, the communication unit (510) restores a reception bit stream by demodulating and decoding the baseband signal. In addition, the communication unit (510) upconverts a baseband signal to an RF band signal and transmits it through an antenna, and downconverts an RF band signal received through the antenna to a baseband signal. For example, the communication unit (510) may include a transmission filter, a reception filter, an amplifier, a mixer, an oscillator, a DAC, an ADC, etc.
[0096] In addition, the communication unit (510) may include a plurality of transmission and reception paths. Furthermore, the communication unit (510) may include at least one antenna array composed of a plurality of antenna elements. In terms of hardware, the communication unit (510) may be composed of digital circuits and analog circuits (e.g., a radio frequency integrated circuit (RFIC)). Here, the digital circuits and analog circuits may be implemented in a single package. In addition, the communication unit (510) may include a plurality of RF chains. Furthermore, the communication unit (510) may perform beamforming.
[0097] The communication unit (510) transmits and receives signals as described above. Accordingly, all or part of the communication unit (510) may be referred to as a "transmitter," a "receiver," or a "transmitting and receiving unit." Furthermore, in the following description, transmission and reception performed via a wireless channel are used to mean processing performed by the communication unit (510) as described above.
[0098] The storage unit (520) stores data such as basic programs, application programs, and setting information for the operation of the terminal. The storage unit (520) may be composed of volatile memory, non-volatile memory, or a combination of volatile and non-volatile memory. In addition, the storage unit (520) provides stored data upon request from the control unit (530).
[0099] The control unit (530) controls the overall operations of the terminal. For example, the control unit (530) transmits and receives signals through the communication unit (510). In addition, the control unit (530) records and reads data in the storage unit (520). In addition, the control unit (530) can perform the functions of the protocol stack required by the communication standard. To this end, the control unit (530) may include at least one processor or microprocessor, or may be a part of a processor. In addition, a part of the communication unit (510) and the control unit (530) may be referred to as a CP (communication processor). According to various embodiments, the control unit (530) may control the terminal to perform operations according to various embodiments described below.
[0100] Hereinafter, a method for accelerating the update of a local AI / ML (machine learning) model is described in embodiments of the present disclosure. Hereinafter, a local (or global) model may refer to a local (or global) AI / ML model, and a global model may refer to an AI / ML model applied to all local models. Furthermore, the term "updating" (or "renewing") of an AI / ML model may be used synonymously with "training" of an AI / ML model.
[0101] FIG. 6 illustrates the concept of a PS (parameter server)-based gradient aggregation method related to various embodiments of the present disclosure.
[0102] Referring to Figure 6, one embodiment of a gradient aggregation method for distributed AI / ML learning in a data center can be described. Each worker may represent an entity capable of collecting and learning data. Each worker can train an AI / ML model based on the collected data and transmit updated AI / ML model data to an application server (e.g., a parameter server).
[0103] Specifically, each worker can update a local model (e.g., each local AI / ML model) by calculating a gradient based on the collected data. At this time, the data collected by each worker can include weight values received from a plurality of end nodes (e.g., UEs), and the gradient can be a concept including the amount of change (or degree of change) in the weight values of the plurality of end nodes (e.g., UEs). For example, the amount of change (or degree of change) in the local weight values transmitted by the plurality of end nodes (e.g., UEs) can be referred to as a gradient. Accordingly, each worker can transmit the gradient obtained based on the weight values received from the plurality of end nodes (e.g., UEs) to the parameter server.
[0104] The parameter server can perform a gradient aggregation operation based on the gradients received from the workers. For example, the parameter server can perform operations such as arithmetic operations, XOR (exclusive or), mean, median, or mode on the gradients received from the workers, and the aforementioned operation operation can be referred to as gradient aggregation. In this case, the mode can mean the most frequently observed number, that is, the value that appears most frequently among the given values. The parameter server can perform an update (e.g., training of the global model) of a global model (e.g., an integrated AI / ML model for application to all local AI / ML models) through gradient aggregation. In addition, the parameter server can perform an update on all local AI / ML models by transmitting data on the updated global model to each worker. That is, in the above-described embodiment, gradient aggregation for updating the AI / ML model can be a method performed in a data center (e.g., an application server).
[0105] FIG. 7 illustrates the concept of a ring all reduce (RAR) based gradient aggregation method related to various embodiments of the present disclosure.
[0106] Referring to Figure 7, one embodiment of a gradient aggregation method for distributed AI / ML learning in a data center can be described. Each worker can perform AI / ML updates based on a ring topology. The ring topology-based AI / ML update technique may also be referred to as a collective communications technique.
[0107] Specifically, each worker can perform a gradient aggregation operation using weight values received from at least one end node (e.g., UE). At this time, the gradient aggregation operation may be the same operation as the gradient aggregation operation performed by the parameter server in FIG. 6 described above. Accordingly, each worker can update each local AI / ML model and exchange data regarding the updated AI / ML models with each other. That is, the embodiment of FIG. 7 may be a method in which gradient aggregation for updating an AI / ML model is performed between each worker without a parameter server.
[0108] However, the gradient aggregation method for distributed AI / ML learning of FIG. 6 or FIG. 7 described above may be a method of performing aggregation by transmitting local gradients to a parameter server or a coordinator server using SwitchML. In this case, SwitchML may refer to a distributed ML system that accelerates data-parallel training using a P4 (programming protocol-independent packet processor) switch.
[0109] On the other hand, the method proposed in the embodiments of the present disclosure below may be a method of performing aggregation while transmitting a local gradient by selecting a specific aggregation point (e.g., a logical UPF). Accordingly, a method of performing gradient aggregation by performing a plurality of operations (e.g., including at least one of the four basic operations and XOR) in a switch included in the logical UPF (e.g., a programmable switch) may be described. Hereinafter, a programmable switch capable of performing gradient aggregation in the embodiments of the present disclosure may be referred to as a smart switch or a switch, and a UPF including a smart switch may be referred to as a logical UPF or UPF.
[0110] FIG. 8 illustrates the structure of a federated learning (FL) scenario of terminals related to various embodiments of the present disclosure.
[0111] Referring to FIG. 8, an embodiment of a terminal federated learning scenario in which the gradient aggregation method for distributed AI / ML learning of FIG. 6 or 7 described above is applied to a mobile communication system (or wireless communication system) may be illustrated. The gradient aggregation method for distributed AI / ML learning of FIG. 6 or 7 described above may be a method of performing aggregation by transmitting local gradients to a parameter server or a coordinator server using SwitchML. In this case, SwitchML may refer to a distributed ML system that accelerates data parallel training using a P4 (programming protocol-independent packet processor) switch.
[0112] Specifically, multiple terminals participating in federated learning can transmit training data for updating AI / ML models to each base station (e.g., gNB) providing the service. Each base station can transmit the collected training data to a network entity (e.g., UPF) of the 5G system. For example, the UPF, NFs of other control planes (CPs), and AI agents can perform integrated communication and computing with the FL PS via a P4 switch. In the integrated communication and computing operations, the UPF can organically operate with NFs and AI agents of other CPs.
[0113] FIG. 9 illustrates the flow of signals in a federated learning scenario of terminals related to various embodiments of the present disclosure.
[0114] Referring to FIG. 9, signaling between each node (or network entity) according to the terminal federated learning scenario of FIG. 8 described above can be explained.
[0115] At step 910, terminals to participate in federated learning can be selected by the parameter server, and the selected terminals can establish a protocol data unit (PDU) session via the SMF. Furthermore, the selected terminals can participate in federated learning and / or distributed AI / ML member groups.
[0116] At step 920, the application function (AF) can initiate federated learning and / or distributed AI / ML training. The specific details of steps 910 to 920 described above are described below in FIG. 10.
[0117] Hereinafter, specific operations of the local model training procedure (e.g., steps 930 to 960) can be described.
[0118] At step 930, multiple terminals participating in federated learning can transmit uplink (UL) data to a parameter server via UPF. The uplink data may include local weights for each terminal's learning data.
[0119] At step 940, the parameter server can perform a gradient aggregation operation based on local weights received from each of the multiple terminals participating in the federated learning.
[0120] At step 950, the parameter server can transmit downlink (DL) data including weight values merged through gradient aggregation to multiple terminals participating in federated learning.
[0121] At step 960, multiple terminals participating in federated learning can update their local models based on the weight values merged through gradient aggregation. Furthermore, multiple terminals participating in federated learning can transmit uplink data to the parameter server via UPF. The uplink data may include updated local weight values based on the local model update.
[0122] At step 970, the parameter server can update the global model based on updated local weight values received from multiple terminals participating in federated learning.
[0123] In steps 910 to 980 described above, signaling between a plurality of terminals participating in federated learning and the parameter server may be performed through switches included between a base station (e.g., gNB), a network entity of the 5G system, and each node (or network entity). At this time, the switches included between each node (or network entity) may not perform separate operations on the local weights transmitted by the plurality of terminals participating in federated learning in the process of transmitting the local weights to the next layer. However, when using a switch, the operations of the AI / ML update procedure based on the parameter server may be reduced. Therefore, when using a switch, the time required to perform the AI / ML update procedure and the signaling overhead may be reduced. Therefore, the embodiments proposed in the present disclosure below (e.g., FIGS. 11 to 22) may include methods for reducing the operations of the local model training procedure based on the parameter server.
[0124] FIG. 10 illustrates the flow of signals in a terminal group selection procedure related to various embodiments of the present disclosure.
[0125] Referring to FIG. 10, the prerequisite operations of the procedure for updating the local model (e.g., steps 910 to 920 of FIG. 9 described above) can be specifically described.
[0126] At step 1010, the AF can send a message (e.g., Analytics_Subscribe) to the NWDAF via the NEF to request an analytics service. Specifically, the ASP (Application Service Provider) can request QoS (Quality of Service) for the transmission of federated learning traffic from terminals participating in federated learning to the 5G system. Furthermore, the ASP can provide the 5G system with a list of terminals participating in federated learning and their QoS requirements. The AF can assign QoS flows to the PCF based on the QoS requirements received from the ASP via the NEF and request terminal selection. Furthermore, the AF can request the PCF to update the QoS requirements and the list of terminals within the federated learning group via the NEF.
[0127] At step 1020, the 5G system can select terminals that can participate in the federated learning group.
[0128] At step 1030, the AF can trigger the establishment of a PDU session. The AF can also request the UDM to create, update, or delete parameters for the federated learning service. During the PDU session creation or modification process, the PCF can determine that the terminal corresponding to the PDU session belongs to a federated learning group through the UDM and determine QoS parameters based on the QoS requirements received from the UDM. At this time, a QoS flow with identical QoS parameters can be created for each selected terminal.
[0129] At step 1040, terminals selected as eligible for participation within the federated learning group can establish PDU sessions and join the federated learning member group.
[0130] At step 1050, AF can initiate the performance of federated learning.
[0131] At step 1060, NWDAF may send an analytics service notification message (e.g., Analytics_Notify) to AF in response to an analytics service request via NEF.
[0132] FIG. 11 illustrates the structure of a federated learning scenario of terminals according to various embodiments of the present disclosure.
[0133] Referring to FIG. 11, an embodiment of a terminal federated learning scenario that applies the gradient aggregation method for distributed AI / ML learning proposed in the present disclosure to a mobile communication system (or wireless communication system) can be illustrated. Multiple terminals participating in the federated learning can transmit learning data for updating an AI / ML model to each base station (e.g., gNB) providing a service. Each base station can transmit the collected learning data to a network entity (e.g., UPF) of a 5G system. For example, the UPF, NFs of other CPs, and AI agents can perform integrated communication and computing with the FL PS via a smart switch, and in the integrated communication and computing operations, the UPF can organically operate with NFs of other CPs and AI agents.
[0134] At this time, the smart switch that can be included in the UPF may refer to a programmable switch, unlike the P4 switch of FIG. 8 described above. The smart switch may refer to a switch that can perform multiple operations (e.g., including at least one of the four basic operations and XOR) through programming. Accordingly, all or part of the operations for updating the AI / ML model proposed in the present disclosure may be performed in the smart switch, not in the parameter server.
[0135] FIG. 12 illustrates the structure of a header including weight values of each terminal according to various embodiments of the present disclosure.
[0136] Referring to FIG. 12, the structure of a GTP-U extension header that can be used in a procedure for accelerating the update of a distributed AI / ML model according to an embodiment of the present disclosure can be described.
[0137] A GTP-U extension header may include at least one of a T-PDU (transport-PDU), a GTP-U header, a GTP-U extension header classifier (for example, a classifier for distinguishing gradients, which are AI / ML data of a terminal, may be referred to as T), a SW-GA, or a UDP (User Datagram Protocol) / IP / SwitchML layer. At this time, the T-PDU may be a transport protocol data unit specified in octet 2, and the SW-GA is a data format defined for gradient aggregation, and a base station (for example, gNB) may move the gradient (for example, degree) of the terminal to the SW-GA of the GTP extension header. In addition, UDP is a transport layer protocol that uses the IP (internet protocol) protocol, which is a protocol of a network layer, and SwitchML may be based on UDP.
[0138] FIG. 13 illustrates the operation sequence of SMF according to various embodiments of the present disclosure.
[0139] Referring to FIG. 13, the operation sequence of SMF in the method for accelerating the update of a distributed AI / ML model proposed in the present disclosure can be explained.
[0140] At step 1310, the SMF can obtain information about a plurality of terminals within the federated learning group. The information about the plurality of terminals within the federated learning group may include at least one of identifiers of the plurality of terminals, allocation information about QoS flows, or information about post-processing capabilities of the plurality of terminals. In this case, the information about the post-processing capabilities of the terminal may be information indicating whether the terminal can perform at least one of operations to obtain an average, median, or mode for a result value of gradient aggregation (e.g., aggregated weight) received from a smart switch included in the UPF.
[0141] At step 1320, the SMF can obtain first information about a UPF that supports gradient aggregation performance for federated learning from the NRF. At this time, the UPF supporting aggregation for federated learning may be a UPF that includes a smart switch. Accordingly, the first information may include information about a UPF that includes a smart switch.
[0142] At step 1330, the SMF can obtain second information about the placement locations of smart switches that support UPF's gradient aggregation performance from the NRF. The placement locations may be obtained from the NRF, directly from the UPF, or from another entity. Of course, the above examples are not limited thereto.
[0143] In one embodiment, when a smart switch is located between a base station (e.g., gNB) and a UPF, local weight values transmitted by multiple terminals may be stored in the SW-GA of a GTP-U extension header by the base station (e.g., gNB). In one embodiment, when a smart switch is located between a UPF and a parameter server, local weight values transmitted by multiple terminals may be stored in a SwitchML header based on UDP.
[0144] At step 1340, a UPF for multiple terminals within a federated learning group may be selected based on the first information and the second information. In one embodiment, if the UPF supports aggregation, gradient aggregation may be performed in the UPF. In one embodiment, if the UPF does not support aggregation, gradient aggregation may be performed in the parameter server, similar to that described in FIG. 9 above. The SMF may select a UPF so that multiple terminals within a federated learning group can communicate through a single logical UPF, and may perform session management, QoS allocation, etc. for multiple terminals within the multiple federated learning groups. Of course, the operation of the SMF is not limited to the above example.
[0145] In one embodiment, when multiple terminals have post-processing capabilities, the result value of gradient aggregation (e.g., aggregated weight) in UPF may be transmitted to the multiple terminals. The multiple terminals may perform a post-processing operation on the result value of gradient aggregation (e.g., aggregated weight) they have received. In one embodiment, when multiple terminals do not have post-processing capabilities, the result value of gradient aggregation (e.g., aggregated weight) in UPF may be transmitted to a parameter server. The parameter server may perform a post-processing operation on the result value of gradient aggregation (e.g., aggregated weight).
[0146] FIG. 14 illustrates a procedure for accelerating AI (artificial intelligence) / ML (machine learning) updates according to various embodiments of the present disclosure.
[0147] Referring to FIG. 14, the operational sequence of a 5G system in the method for accelerating the update of a distributed AI / ML model proposed in the present disclosure may be described. The following operational steps may include procedures for updating a local model.
[0148] At step 1405, the ASP may provide the 5G system with a list of terminals to participate in federated learning and QoS requirements. At this time, the information provided to the 5G system may further include information regarding the post-processing capability of the terminal after the smart switch performs gradient aggregation. At this time, the information regarding the post-processing capability of the terminal may be information indicating whether the terminal can perform at least one of the operations of calculating the average, median, or mode for the result value of the gradient aggregation (e.g., aggregated weight) received from the smart switch included in the UPF. As described above, the information transmitted from the ASP to the 5G system may include at least one of an aggregated QoS request indicator (e.g., an aggregated QoS request indicator), a list of terminal addresses, QoS requests (and / or alternative requirements), an identifier of the federated learning group, single-network slice selection assistance information (S-NSSAI), a date network name (DNN), and a post-processing capability indicator (e.g., U_CAP) of the terminal. In addition, in a 5G system, a PDU session can be established for terminals that can participate within a federated learning group, and a QoS flow can be allocated for terminals that can participate within the federated learning group.
[0149] At step 1410, the SMF can verify the UPF capability. The UPF capability may indicate whether the UPF can include a smart switch that supports gradient aggregation. At this time, whether the UPF includes a smart switch can be determined based on information received by the SMF from the NRF. The information received by the SMF from the NRF may include at least one of S-NSSAI, DNN, information indicating the UPF capability, or information regarding the deployment of a smart switch that supports gradient aggregation. Accordingly, the SMF can select a UPF based on an identifier regarding the UPF capability (e.g., aggregation capability, AGG) and an identifier regarding the deployment of the smart switch (e.g., POS). In other words, the SMF can support UPF provisioning for federated learning.
[0150] In step 1415, if the UPF does not include a smart switch that supports gradient aggregation (e.g., if the AGG value is N), parameter server-based federated learning may be performed. At this time, local weight values transmitted from terminals of the federated learning group may be transmitted to the parameter server, and gradient aggregation operations may be performed in the parameter server. Accordingly, the operation of step 1430 may include the same or similar operations as the local model update procedure of FIG. 9 described above (e.g., steps 920 to 960).
[0151] At step 1420, if the UPF includes a smart switch that supports gradient aggregation (e.g., if the AGG value is Y), the SMF may select the UPF that includes the smart switch that supports gradient aggregation. The UPF including the smart switch that supports gradient aggregation may be located between the aforementioned UPF and the server, or between the UPF and the gNB. At this time, the SMF may configure a group of terminals that can participate in federated learning to be mapped to the same logical UPF. In addition, the SMF may confirm the placement of the smart switch that supports gradient aggregation based on information received from the NRF (e.g., information about the placement of the smart switch that supports gradient aggregation).
[0152] However, the AGG value may be indicated by a value greater than 1 bit (e.g., 0 or 1) depending on whether a smart switch is included, and is not necessarily limited to Y or N.
[0153] At step 1425, if the smart switch is located between the base station (e.g., gNB) and the UPF (e.g., if the POS value is a), the base station (e.g., gNB) can transmit the gradients of the terminals within the federated learning group by including them in the GTP-U extension header (e.g., SW-GA). According to one embodiment of the present disclosure, the deployment of the smart switch may be deployment within the UPF or may mean deployment in a separate node connected to the UPF.
[0154] At step 1430, the UPF may perform aggregation on the gradients of the terminals within the federated learning group included (or stored) in the GTP-U extension header (e.g., SW-GA). Specifically, gradient aggregation may be performed on a smart switch included in the UPF. At this time, the gradient aggregation may include at least one operation of the four arithmetic operations and XOR on the gradients. At this time, the method in which the gradients included in the GTP-U extension header (e.g., gradients received from distributed workers or terminals) are merged through gradient aggregation on the smart switch may be referred to as a streaming method. For example, the smart switch may perform an addition operation (G1+G2) on the gradients (G1 and G2) received from the first terminal and the second terminal within the federated learning group, respectively. The smart switch can then transmit the calculated values (G1+G2) to each terminal or parameter server, depending on the terminal's post-processing capabilities. In the embodiments of the present disclosure, the gradient aggregation operation (or calculation) performed by the smart switch can be performed in a streaming manner.
[0155] At step 1435, if a smart switch is located between the UPF and the parameter server (e.g., if the POS value is b), the UPF may perform a hooking operation based on an uplink classifier (ULCL). At this time, the ULCL (Uplink Classifier) function of the UPF (e.g., a hooking operation based on the ULCL) may be a function that enables traffic matching a traffic filter provided by the SMF to be switched to an AF such as multi-access edge computing (MEC), and the ULCL may be controlled by the SMF through the N4 interface. According to one embodiment of the present disclosure, the deployment of the smart switch may be deployment within the UPF or may mean deployment in a separate node connected to the UPF.
[0156] In step 1440, the UPF can perform gradient aggregation based on the SwitchML header of the QoS flow for federated learning. Specifically, since GTP-U decapsulation (dacap.) can be performed in the UPF, it may be difficult for the smart switch to verify the gradient (or perform gradient aggregation) if the gradient is included in the GTP-U header. Therefore, unlike step 1430, if the smart switch is located between the UPF and the parameter server, the gradient may be included (or stored) in the SwitchML header. At this time, the gradient aggregation may include at least one of the four arithmetic operations and XOR on the gradient. At this time, the gradient included in the switchML header (e.g., the gradient received from distributed workers or terminals) can perform gradient aggregation in a streaming manner on the smart switch.
[0157] However, the POS value may be indicated by a value of more than 1 bit (e.g., 0 or 1) depending on the layout of the smart switch, and is not necessarily limited to a or b.
[0158] At step 1445, the 5G system can verify the post-processing capability for gradient aggregation of terminals within the federated learning group based on the information (e.g., U_CAP) received from the ASP at step 1405.
[0159] At step 1450, if a terminal within the federated learning group has post-processing capabilities for gradient aggregation (e.g., if the U_CAP value is Y), the smart switch can perform gradient aggregation and then multicast the resulting value (e.g., the aggregated weight) to the terminals within the federated learning group via piggybacking. At this time, the resulting value can be included in downlink data.
[0160] At step 1455, terminals within the federated learning group may perform postprocessing operations on the gradient aggregation results received from the smart switches included in the UPF. For example, terminals within the federated learning group may utilize their internal resources (e.g., a neural processing unit (NPU) or a central processing unit (CPU)) to perform at least one of the following operations: calculating the mean, median, or mode of the gradient aggregation results.
[0161] At step 1460, if a terminal within the federated learning group does not have post-processing capabilities for gradient aggregation (e.g., if the U_CAP value is N), the smart switch may perform gradient aggregation and then transmit the resulting value (e.g., aggregated weight) to the parameter server. The parameter server may then perform post-processing operations on the resulting value. For example, the parameter server may perform at least one of the operations of calculating the mean, median, or mode of the resulting value of gradient aggregation.
[0162] At step 1465, the parameter server can perform post-processing operations on the result values of gradient aggregation and then transmit the information to terminals within the federated learning group in a multicast manner.
[0163] However, the U_CAP value may be indicated as a value of 1 bit (e.g., 0 or 1) or more depending on the capabilities of the terminals within the federated learning group, and is not necessarily limited to Y or N.
[0164] Terminals within the federated learning group can update their local models based on the values post-processed through steps 1455 or 1465 described above. Furthermore, terminals within the federated learning group can transmit the updated local weight values to the parameter server, thereby enabling the parameter server to update the global model.
[0165] FIG. 15 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0166] Referring to FIG. 15, the flow of signals can be described in the case where the UPF includes a smart switch that supports gradient aggregation in the operation sequence according to the aforementioned FIG. 14 (e.g., AGG=Y), the smart switch is located between a base station (e.g., gNB) and the UPF (e.g., POS=a), and terminals within the federated learning group have post-processing capabilities (e.g., U_CAP=Y).
[0167] At step 1510, a PDU session between terminals participating in federated learning can be established by the SMF. Additionally, selected terminals can participate in federated learning and / or distributed AI / ML member groups.
[0168] At step 1520, the application function (AF) may initiate federated learning and / or distributed AI / ML training.
[0169] At step 1530, uplink data including local weight values of each terminal of the federated learning group can be transmitted to the UPF through a base station (e.g., gNB).
[0170] At step 1540, for uplink data transmitted to UPF, the base station (e.g., gNB) can move the gradients of terminals within the federated learning group to a GTP-U extension header (e.g., SW-GA).
[0171] At step 1550, a smart switch included in the UPF can perform aggregation (e.g., streaming) on gradients received from terminals of a federated learning group. Specifically, since the smart switch included in the UPF can be located between the UPF and a base station (e.g., gNB), the smart switch can perform aggregation on gradients stored in GTP-U (e.g., SW-GA) by the base station (e.g., gNB) before decapsulation of the GTP-U extension header is performed in the UPF. At this time, the smart switch included in the UPF can perform an operation including at least one of an arithmetic operation and an XOR on the gradient.
[0172] At step 1560, the smart switch included in the UPF can multicast downlink data including the result value of gradient aggregation (e.g., aggregated weight) to terminals within the federated learning group through piggybacking.
[0173] At step 1570, the terminals within the federated learning group can update their local models based on the gradient aggregation results (e.g., aggregated weights) received from the smart switches included in the UPF. Specifically, the terminals within the federated learning group can perform post-processing operations on the gradient aggregation results received from the smart switches included in the UPF. For example, the terminals within the federated learning group can utilize resources within the terminal (e.g., NPU or CPU) to perform at least one operation of calculating the mean, median, or mode for the gradient aggregation results. In addition, the terminals within the federated learning group can transmit uplink data including the updated local weight values to the parameter server for updating the global model.
[0174] At step 1580, the parameter server can update the global model based on the updated local weight values received from the terminals within the federated learning group.
[0175] The method of FIG. 15 described above can reduce computing resource consumption on network volume and application servers compared to cases where gradient aggregation is performed on a parameter server (e.g., the embodiment of FIG. 9 described above). Furthermore, the update speed of AI / ML models can be improved compared to cases where gradient aggregation is performed on a parameter server, and there may be an advantage in that AI / ML gradient data can be accessed through the UP packet route.
[0176] FIG. 16 illustrates an operation sequence of a smart switch to support acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0177] Referring to FIG. 16, the operation sequence of the smart switch included in the UPF in FIG. 15 described above can be explained.
[0178] At step 1610, a smart switch included in the UPF can receive uplink data including local weight values of each terminal from terminals in the federated learning group.
[0179] At step 1620, a smart switch included in the UPF can perform aggregation on gradients received from terminals of a federated learning group. Since the smart switch included in the UPF can be located between the UPF and a base station (e.g., gNB), the smart switch can perform aggregation on gradients stored in a GTP-U (e.g., SW-GA) by the base station (e.g., gNB) before decapsulation of a GTP-U extension header is performed in the UPF. At this time, the smart switch included in the UPF can perform an operation including at least one of an arithmetic operation and an XOR on the gradient.
[0180] At step 1630, the smart switches included in the UPF can multicast downlink data containing the gradient aggregation results (e.g., aggregated weights) to terminals within the federated learning group via piggybacking. The local model can be updated based on the gradient aggregation results (e.g., aggregated weights).
[0181] FIG. 17 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0182] Referring to FIG. 17, the flow of signals can be described in the case where the UPF includes a smart switch that supports gradient aggregation in the operation sequence according to the aforementioned FIG. 14 (e.g., AGG=Y), the smart switch is located between the base station (e.g., gNB) and the UPF (e.g., POS=a), and terminals within the federated learning group do not have post-processing capabilities (e.g., U_CAP=N).
[0183] At step 1710, terminals to participate in federated learning can be selected by the parameter server, and the selected terminals can establish PDU sessions through the SMF. Furthermore, the selected terminals can participate in federated learning and / or distributed AI / ML member groups.
[0184] At step 1720, the application function (AF) may initiate federated learning and / or distributed AI / ML training.
[0185] At step 1730, uplink data including local weight values of each terminal of the federated learning group can be transmitted to the UPF through a base station (e.g., gNB).
[0186] At step 1740, for uplink data transmitted to UPF, the base station (e.g., gNB) can move the gradients of terminals within the federated learning group to a GTP-U extension header (e.g., SW-GA).
[0187] At step 1750, a smart switch included in the UPF can perform aggregation (e.g., streaming) on gradients received from terminals of a federated learning group. Specifically, since the smart switch included in the UPF can be located between the UPF and a base station (e.g., gNB), the smart switch can perform aggregation on gradients stored in GTP-U (e.g., SW-GA) by the base station (e.g., gNB) before decapsulation of the GTP-U extension header is performed in the UPF. At this time, the smart switch included in the UPF can perform an operation including at least one of an arithmetic operation and an XOR on the gradient. The smart switch included in the UPF can transmit a result value of the gradient aggregation (e.g., an aggregated weight) to a parameter server through the UPF.
[0188] At step 1760, the parameter server can update the local model based on the result value of gradient aggregation (e.g., aggregated weight) received from the smart switch included in the UPF. Specifically, the parameter server can perform a post-processing operation on the result value of gradient aggregation received from the smart switch included in the UPF. For example, the parameter server can perform at least one of the operations of calculating the mean, median, or mode for the result value of gradient aggregation. In addition, the parameter server can multicast downlink data including the updated weight value (e.g., updated weight) to the terminals in the federated learning group through the UPF for updating the local model. As described above, whether the parameter server performs the post-processing may be determined based on whether the terminal can perform the post-processing, or may be determined by another entity such as the UPF, SMF, or AF, and is not limited to the above example.
[0189] At step 1770, terminals within the federated learning group can update their local models based on updated weight values (e.g., updated weights) received from the parameter server. Furthermore, terminals within the federated learning group can transmit uplink data containing the updated local weight values to the parameter server to update the global model.
[0190] At step 1780, the parameter server can update the global model based on the updated local weight values received from the terminals within the federated learning group.
[0191] The method of FIG. 17 described above may be an embodiment in which a post-processing operation on the result value of gradient aggregation is performed in a parameter server when at least one terminal among the terminals in the federated learning group does not have a post-processing capability.
[0192] FIG. 18 illustrates the operation sequence of a smart switch to support acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0193] Referring to FIG. 18, the operation sequence of the smart switch included in the UPF in the aforementioned FIG. 17 can be explained.
[0194] At step 1810, a smart switch included in the UPF can receive uplink data including local weight values of each terminal from terminals in the federated learning group.
[0195] At step 1820, a smart switch included in the UPF can perform aggregation on gradients received from terminals of a federated learning group. Since the smart switch included in the UPF can be located between the UPF and a base station (e.g., gNB), the smart switch can perform aggregation on gradients stored in a GTP-U (e.g., SW-GA) by the base station (e.g., gNB) before decapsulation of a GTP-U extension header is performed in the UPF. At this time, the smart switch included in the UPF can perform an operation including at least one of an arithmetic operation and an XOR on the gradient.
[0196] At step 1830, the smart switch included in the UPF can transmit the resulting gradient aggregation value (e.g., aggregated weight) to the parameter server. Accordingly, post-processing operations on the resulting gradient aggregation value (e.g., aggregated weight) can be performed in the parameter server.
[0197] As mentioned above, if the terminals within the federated learning group are not capable of post-processing, the gradient aggregation results can be sent to the parameter server, where post-processing can be performed. Of course, this is not limited to the above example, and whether or not post-processing is performed on the parameter server may be determined by other entities, such as UPF, SMF, or AF.
[0198] FIG. 19 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0199] Referring to FIG. 19, the flow of signals can be described in the case where the UPF includes a smart switch that supports gradient aggregation in the operation sequence according to the aforementioned FIG. 14 (e.g., AGG=Y), the smart switch is located between the UPF and the parameter server (e.g., POS=b), and the terminals within the federated learning group have post-processing capabilities (e.g., U_CAP=Y).
[0200] At step 1910, terminals to participate in federated learning can be selected by the parameter server, and the selected terminals can establish PDU sessions through the SMF. Furthermore, the selected terminals can participate in federated learning and / or distributed AI / ML member groups.
[0201] At step 1920, the application function (AF) can initiate federated learning and / or distributed AI / ML training.
[0202] At step 1930, uplink data including local weight values of each terminal in the federated learning group may be transmitted to the UPF. At this time, the base station (e.g., gNB) may not transfer the gradients of the terminals in the federated learning group included in the uplink data to the GTP-U extension header (e.g., SW-GA).
[0203] At step 1940, UPF can perform a hooking operation based on ULCL on the gradients received from the terminals of the federated learning group and then transmit them to the smart switch.
[0204] At step 1950, a smart switch included in the UPF may perform aggregation (e.g., streaming) on the gradients received from the UPF. Specifically, the smart switch included in the UPF may perform gradient aggregation based on the SwitchML header of the QoS flow for federated learning. Specifically, since GTP-U decapsulation may be performed in the UPF, if the gradient is included in the GTP-U header, it may be difficult for the smart switch to verify the gradient. Therefore, if the smart switch is located between the UPF and the parameter server, the gradient may be included in the SwitchML header. In this case, the gradient aggregation may include at least one of the four arithmetic operations and XOR on the gradient.
[0205] At step 1960, the smart switches included in the UPF can multicast downlink data containing the result value of gradient aggregation (e.g., aggregated weight) to terminals within the federated learning group through piggybacking.
[0206] At step 1970, the terminals within the federated learning group can update their local models based on the gradient aggregation results (e.g., aggregated weights) received from the smart switches included in the UPF. Specifically, the terminals within the federated learning group can perform post-processing operations on the gradient aggregation results received from the smart switches included in the UPF. For example, the terminals within the federated learning group can utilize resources within the terminal (e.g., NPU or CPU) to perform at least one operation of calculating the mean, median, or mode for the gradient aggregation results. In addition, the terminals within the federated learning group can transmit uplink data including the updated local weight values to the parameter server for updating the global model.
[0207] At step 1980, the parameter server can update the global model based on the updated local weight values received from the terminals within the federated learning group.
[0208] FIG. 20 illustrates a signal flow for supporting acceleration of AI / ML updates according to various embodiments of the present disclosure.
[0209] Referring to FIG. 20, the flow of signals can be described in the case where the UPF includes a smart switch that supports gradient aggregation in the operation sequence according to the aforementioned FIG. 14 (e.g., AGG=Y), the smart switch is located between the UPF and the parameter server (e.g., POS=b), and the terminals within the federated learning group do not have post-processing capabilities (e.g., U_CAP=N).
[0210] In step 2010, terminals participating in federated learning can be selected by the parameter server, and the selected terminals can establish PDU sessions through the SMF. Furthermore, the selected terminals can participate in federated learning and / or distributed AI / ML member groups.
[0211] At step 2020, the application function (AF) can initiate federated learning and / or distributed AI / ML training.
[0212] At step 2030, uplink data including local weight values of each terminal in the federated learning group may be transmitted to the UPF. At this time, the base station (e.g., gNB) may not transfer the gradients of the terminals in the federated learning group included in the uplink data to the GTP-U extension header (e.g., SW-GA).
[0213] At step 2040, UPF can perform a hooking operation based on ULCL on the gradients received from the terminals of the federated learning group and then transmit them to the smart switch.
[0214] At step 2050, a smart switch included in the UPF may perform aggregation (e.g., streaming) on the gradients received from the UPF. Specifically, the smart switch included in the UPF may perform gradient aggregation based on the SwitchML header of the QoS flow for federated learning. Specifically, since GTP-U decapsulation may be performed in the UPF, if the gradient is included in the GTP-U header, it may be difficult for the smart switch to verify the gradient. Therefore, if the smart switch is located between the UPF and the parameter server, the gradient may be included in the SwitchML header. In this case, the gradient aggregation may include at least one of the four arithmetic operations and XOR on the gradient. In addition, the smart switch included in the UPF may transmit the result value (e.g., aggregated weight) of performing the gradient aggregation to the parameter server.
[0215] At step 2060, the parameter server can update the local model based on the result values (e.g., aggregated weights) of gradient aggregation received from the smart switches included in the UPF. Specifically, the parameter server can perform a post-processing operation on the result values of gradient aggregation received from the smart switches included in the UPF. For example, the parameter server can perform at least one operation of calculating the mean, median, or mode of the result values of gradient aggregation. In addition, the parameter server can multicast downlink data including the updated weight values (e.g., updated weights) to terminals within the federated learning group through the UPF for updating the local model.
[0216] At step 2070, terminals within the federated learning group can update their local models based on updated weight values (e.g., updated weights) received from the parameter server. Furthermore, terminals within the federated learning group can transmit uplink data containing the updated local weight values to the parameter server to update the global model.
[0217] At step 2080, the parameter server can update the global model based on the updated local weight values received from the terminals within the federated learning group.
[0218] A method of operating a session management function (SMF) for supporting federated learning in a wireless communication system according to an embodiment of the present disclosure as described above, comprising: a step of obtaining information about a plurality of terminals in a federated learning group; a step of obtaining first information about a user plane function (UPF) that supports gradient aggregation performance for federated learning from a network repository function (NRF); a step of obtaining second information about a placement position of a programmable switch that supports the gradient aggregation performance of the UPF from the NRF; and a step of selecting a UPF for a plurality of terminals in the federated learning group based on at least one of the first information and the second information, in the case where the gradient aggregation performance is supported. The gradient aggregation is performed in the UPF, and if the gradient aggregation performance is not supported, the gradient aggregation is performed in the PS (parameter server), and the gradient aggregation can perform at least one of the four basic operations or the XOR (exclusive or) operation on the gradients of the plurality of terminals.
[0219] According to one embodiment, information about a plurality of terminals within the federated learning group includes at least one of identifiers of the plurality of terminals, allocation information about quality of service (QoS) flows, or information about post-processing capabilities of the plurality of terminals, wherein the post-processing capabilities may be whether to perform at least one of operations for obtaining an average, a median, or a mode for the result values of the gradient aggregation.
[0220] According to one embodiment, when the plurality of terminals have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the plurality of terminals, and a post-processing operation may be performed on the result value of the gradient aggregation in the plurality of terminals.
[0221] According to one embodiment, when the plurality of terminals do not have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the PS, and a post-processing operation may be performed on the result value of the gradient aggregation in the PS.
[0222] In one embodiment, when the programmable switch is located between the base station and the UPF, the gradient may be stored in a GTP (general packet radio service (GPRS) tunneling protocol)-U extension header, and when the programmable switch is located between the UPF and the PS, the gradient may be stored in a SwitchML header.
[0223] A method of operating a user plane function (UPF) for supporting federated learning in a wireless communication system according to an embodiment of the present disclosure as described above, comprising the steps of: receiving a control message for a plurality of terminals in a federated learning group from a session management function (SMF); receiving a gradient from the plurality of terminals based on the control message; performing an aggregation on the gradient based on whether aggregation is supported; and transmitting the gradient to a parameter server (PS) or the plurality of terminals based on a postprocessing capability of the plurality of terminals, wherein the gradient aggregation may perform at least one of an arithmetic operation or an exclusive or (XOR) operation on the gradients of the plurality of terminals.
[0224] According to one embodiment, the control message includes at least one of identifiers of the plurality of terminals, allocation information for quality of service (QoS) flows, or information regarding post-processing capabilities of the plurality of terminals.
[0225] According to one embodiment, information about the post-processing capability is obtained from a network repository function (NRF), and the post-processing capability may be whether to perform at least one of operations for finding an average, a median, or a mode for the result values of the gradient aggregation.
[0226] In one embodiment, whether the aggregation is supported is determined based on a programmable switch of the UPF, and when the programmable switch is located between the base station and the UPF, the gradient may be stored in a GTP (GPRS (general packet radio service) tunneling protocol)-U extension header, and when the programmable switch is located between the UPF and the PS, the gradient may be stored in a SwitchML header.
[0227] According to one embodiment, when the plurality of terminals have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the plurality of terminals, and a post-processing operation may be performed on the result value of the gradient aggregation in the plurality of terminals. When the plurality of terminals do not have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the PS, and a post-processing operation may be performed on the result value of the gradient aggregation in the PS.
[0228] As a session management function (SMF) for supporting federated learning in a wireless communication system according to an embodiment of the present disclosure as described above, the SMF comprises at least one transceiver and at least one processor operably coupled to the at least one transceiver, wherein the at least one processor obtains information about a plurality of terminals in a federated learning group, obtains first information about a user plane function (UPF) that supports gradient aggregation performance for federated learning from a network repository function (NRF), obtains second information about a placement position of a programmable switch that supports the gradient aggregation performance of the UPF from the NRF, and selects a UPF for a plurality of terminals in the federated learning group based on at least one of the first information and the second information, and supports the gradient aggregation performance. The gradient aggregation is performed in the UPF, and if the gradient aggregation performance is not supported, the gradient aggregation is performed in the PS (parameter server), and the gradient aggregation can perform at least one of the four basic operations or the XOR (exclusive or) operation on the gradients of the plurality of terminals.
[0229] According to one embodiment, information about a plurality of terminals within the federated learning group includes at least one of identifiers of the plurality of terminals, allocation information about quality of service (QoS) flows, or information about post-processing capabilities of the plurality of terminals, wherein the post-processing capabilities may be whether to perform at least one of operations for obtaining an average, a median, or a mode for the result values of the gradient aggregation.
[0230] According to one embodiment, when the plurality of terminals have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the plurality of terminals, and a post-processing operation may be performed on the result value of the gradient aggregation in the plurality of terminals.
[0231] According to one embodiment, when the plurality of terminals do not have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the PS, and a post-processing operation may be performed on the result value of the gradient aggregation in the PS.
[0232] In one embodiment, when the programmable switch is located between the base station and the UPF, the gradient may be stored in a GTP (general packet radio service (GPRS) tunneling protocol)-U extension header, and when the programmable switch is located between the UPF and the PS, the gradient may be stored in a SwitchML header.
[0233] As a user plane function (UPF) for supporting federated learning in a wireless communication system according to an embodiment of the present disclosure as described above, the UPF comprises at least one transceiver, and at least one processor operably coupled to the at least one transceiver, wherein the at least one processor receives a control message for a plurality of terminals in a federated learning group from a session management function (SMF), receives a gradient from the plurality of terminals based on the control message, performs an aggregation on the gradient based on whether aggregation is supported, and transmits the gradient to a parameter server (PS) or the plurality of terminals based on a postprocessing capability of the plurality of terminals, and the gradient aggregation can perform at least one of an arithmetic operation or an exclusive or (XOR) operation on the gradients of the plurality of terminals.
[0234] According to one embodiment, the control message may include at least one of identifiers of the plurality of terminals, allocation information for quality of service (QoS) flows, or information regarding post-processing capabilities of the plurality of terminals.
[0235] According to one embodiment, information about the post-processing capability is obtained from a network repository function (NRF), and the post-processing capability may be whether to perform at least one of operations for finding an average, a median, or a mode for the result values of the gradient aggregation.
[0236] In one embodiment, whether the aggregation is supported is determined based on a programmable switch of the UPF, and when the programmable switch is located between the base station and the UPF, the gradient may be stored in a GTP (GPRS (general packet radio service) tunneling protocol)-U extension header, and when the programmable switch is located between the UPF and the PS, the gradient may be stored in a SwitchML header.
[0237] According to one embodiment, when the plurality of terminals have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the plurality of terminals, and a post-processing operation may be performed on the result value of the gradient aggregation in the plurality of terminals; and when the plurality of terminals do not have the post-processing capability, the result value of the gradient aggregation in the UPF may be transmitted to the PS, and a post-processing operation may be performed on the result value of the gradient aggregation in the PS.
[0238] The methods according to the embodiments described in the claims or specification of the present disclosure may be implemented in the form of hardware, software, or a combination of hardware and software.
[0239] When implemented in software, a computer-readable storage medium storing one or more programs (software modules) may be provided. The one or more programs stored in the computer-readable storage medium are configured for execution by one or more processors within an electronic device. The one or more programs include instructions that cause the electronic device to execute methods according to the embodiments described in the claims or specification of the present disclosure.
[0240] These programs (software modules, software) may be stored in random access memory, non-volatile memory including flash memory, read only memory (ROM), electrically erasable programmable read only memory (EEPROM), magnetic disc storage devices, compact disc-ROM (CD-ROM), digital versatile discs (DVDs) or other forms of optical storage devices, magnetic cassettes, or may be stored in memories formed by a combination of some or all of these. In addition, each configuration memory may include multiple copies.
[0241] Additionally, the program may be stored on an attachable storage device that is accessible via a communication network, such as the Internet, an intranet, a local area network (LAN), a wide area network (WAN), a storage area network (SAN), or a combination thereof. Such a storage device may be connected to a device performing an embodiment of the present disclosure via an external port. Additionally, a separate storage device on the communication network may be connected to a device performing an embodiment of the present disclosure.
[0242] In the specific embodiments of the present disclosure described above, components included in the disclosure are expressed in the singular or plural form, depending on the specific embodiment presented. However, the singular or plural expressions are selected to suit the presented situation for convenience of explanation, and the present disclosure is not limited to singular or plural components. Components expressed in the plural form may be composed of singular elements, or components expressed in the singular form may be composed of plural elements.
[0243] While the detailed description of this disclosure has described specific embodiments, it should be understood that various modifications are possible without departing from the scope of this disclosure. Therefore, the scope of this disclosure should not be limited to the described embodiments, but should be defined not only by the scope of the claims described below, but also by equivalents thereof.
Claims
1. An operation method of an SMF (session management function) entity to support federated learning in a wireless communication system. A step of obtaining information about multiple terminals within a federated learning group; A step of obtaining first information about a user plane function (UPF) entity that supports gradient aggregation performance for federated learning from an NRF (network repository function) entity; A step of obtaining second information about the placement location of a programmable switch supporting the gradient aggregation performance of the UPF entity from the NRF entity; and A step of selecting a UPF entity for a plurality of terminals within the federated learning group based on at least one of the first information and the second information, If the above gradient aggregation performance is supported, the gradient aggregation is performed in the above UPF entity, If the above gradient aggregation performance is not supported, the gradient aggregation is performed in the PS (parameter server). A method wherein the above gradient aggregation performs at least one of the four basic operations or the XOR (exclusive or) operation on the gradients of the plurality of terminals.
2. In claim 1, Information about a plurality of terminals within the above-mentioned federated learning group includes at least one of identifiers of the plurality of terminals, allocation information for QoS (quality of service) flows, or information about post-processing capabilities of the plurality of terminals. A method wherein the above post-processing capability is performing at least one of operations for finding an average, a median, or a mode for the result values of the gradient aggregation.
3. In claim 2, When the above plurality of terminals have the post-processing capability, the result value of the gradient aggregation is transmitted from the UPF entity to the plurality of terminals, A method in which a post-processing operation is performed on the result values of the gradient aggregation in the plurality of terminals.
4. In claim 2, If the above multiple terminals do not have the post-processing capability, the result value of the gradient aggregation is transmitted from the UPF entity to the PS, A method in which a post-processing operation is performed on the result value of gradient aggregation in the above PS.
5. A method of operation of a UPF (user plane function) entity to support federated learning in a wireless communication system. A step of receiving a control message for multiple terminals within a federated learning group from an SMF (session management function) entity; A step of receiving a gradient from the plurality of terminals based on the above control message; A step of performing aggregation on the gradient based on whether aggregation is supported; and A step of transmitting to a PS (parameter server) or the plurality of terminals based on the post-processing capabilities of the plurality of terminals is included. A method wherein gradient aggregation performs at least one of an arithmetic operation or an XOR (exclusive or) operation on the gradients of the plurality of terminals.
6. In claim 5, A method, wherein the control message includes at least one of identifiers of the plurality of terminals, allocation information for a quality of service (QoS) flow, or information regarding a post-processing capability of the plurality of terminals.
7. In claim 5, Information about the above post-processing capabilities is obtained from the NRF (network repository function) entity. A method wherein the above post-processing capability is performing at least one of operations for finding an average, a median, or a mode for the result values of the gradient aggregation.
8. In claim 5, Whether the above aggregation is supported is determined based on the programmable switch of the UPF entity, When the above programmable switch is located between the base station and the UPF entity, the gradient is stored in the GTP (GPRS (general packet radio service) tunneling protocol)-U extension header, A method wherein the gradient is stored in a SwitchML header when the programmable switch is located between the UPF entity and the PS.
9. As an SMF (session management function) entity to support federated learning in a wireless communication system, at least one transceiver; and comprising at least one processor coupled to at least one transceiver; At least one processor of the above, Obtain information about multiple terminals within a federated learning group, Obtain first information about a user plane function (UPF) entity that supports gradient aggregation performance for federated learning from an NRF (network repository function) entity, Obtain second information about the placement location of a programmable switch that supports the gradient aggregation performance of the UPF entity from the NRF entity, and It is set to select a UPF entity for a plurality of terminals within the federated learning group based on at least one of the first information and the second information, If the above gradient aggregation performance is supported, the gradient aggregation is performed in the above UPF entity, If the above gradient aggregation performance is not supported, the gradient aggregation is performed in the PS (parameter server). An SMF entity wherein the above gradient aggregation performs at least one of the four basic operations or the XOR (exclusive or) operation on the gradients of the plurality of terminals.
10. In claim 9, Information about a plurality of terminals within the above-mentioned federated learning group includes at least one of identifiers of the plurality of terminals, allocation information for QoS (quality of service) flows, or information about post-processing capabilities of the plurality of terminals. An SMF entity wherein the above post-processing capability is whether to perform at least one of operations for finding an average, a median, or a mode for the result values of the gradient aggregation.
11. In claim 10, When the above plurality of terminals have the post-processing capability, the result value of the gradient aggregation is transmitted from the UPF entity to the plurality of terminals, An SMF entity in which a post-processing operation is performed on the result values of the gradient aggregation in the above multiple terminals.
12. In claim 10, If the above multiple terminals do not have the post-processing capability, the result value of the gradient aggregation is transmitted from the UPF entity to the PS, An SMF entity in which a post-processing operation is performed on the result value of gradient aggregation in the above PS.
13. As a user plane function (UPF) entity for supporting federated learning in a wireless communication system, at least one transceiver; and comprising at least one processor coupled to at least one transceiver; At least one processor of the above, Receives control messages for multiple terminals within a federated learning group from an SMF (session management function) entity, Receive gradients from the plurality of terminals based on the above control message, Perform aggregation on the gradient based on whether aggregation is supported, and It is set to transmit to the PS (parameter server) or the plurality of terminals based on the post-processing capabilities of the plurality of terminals. A UPF entity in which gradient aggregation performs at least one of an arithmetic operation or an exclusive or (XOR) operation on the gradients of the plurality of terminals.
14. In claim 13, A UPF entity, wherein the control message includes at least one of identifiers of the plurality of terminals, allocation information for a QoS (quality of service) flow, or information regarding post-processing capabilities of the plurality of terminals.
15. In claim 13, Information about the above post-processing capabilities is obtained from the NRF (network repository function) entity. A UPF entity wherein the above post-processing capability is whether to perform at least one of operations for finding an average, a median, or a mode for the result values of the gradient aggregation.
Citation Information
Patent Citations
Dynamic gradient aggregation for training neural networks
US20220036178A1
MPE handling in over-the-air gradient vector aggregation for federated learning
US20220104142A1
Byzantine-robust federated learning
US20220292387A1
