Communication method and related apparatus
Through collaboration between devices and knowledge distillation technology, the problem of insufficient resources on the network side of artificial intelligence models is solved, the effective deployment and application of AI models is realized, and the application effect and resource utilization are improved.
Patent Information
- Application Number
- PCT/CN2024/079289
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-07
- Filing Date
- 2024-02-29
- Publication Date
- 2024-09-12
AI Technical Summary
The application of artificial intelligence models on the network side is limited by the computing power and storage capabilities of network equipment and cannot be effectively deployed and executed.
Through collaboration between devices, the first device sends a request message to the second device to assist in compressing and deploying the AI model, and uses knowledge distillation technology to implement the application of the AI model under limited resources, including the deployment, execution, and training of the AI model. and updates.
When the computing power and/or storage capacity of the first device is limited, the effective application of AI models is realized through collaboration, which improves the application effect and resource utilization of AI models.
Smart Images

Figure CN2024079289_12092024_PF_FP_ABST
Abstract
Description
Communication method and related device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on March 7, 2023, with application number 202310245214.4, and priority to the Chinese patent application entitled “Communication Methods and Related Devices,” all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of wireless communication technology, and in particular to a communication method and related devices. Background Art
[0003] Artificial intelligence (AI) is a technology that simulates the human brain to perform complex computations. In recent years, the integration of AI and wireless communication systems has become a growing trend. Leveraging big data from wireless networks, AI algorithms are expected to overcome performance bottlenecks inherent in traditional modular system modeling and approximation, particularly in channel estimation, pilot detection, signal equalization, and user scheduling. Furthermore, in terms of network deployment and optimization, AI algorithms can improve network performance in areas such as enhanced channel state information (CSI) feedback, beam management, enhanced positioning accuracy, energy conservation, mobility optimization, and load balancing.
[0004] AI models can usually be deployed on the network side, but the limited computing power and / or storage capacity of network devices may make it impossible to complete the application of AI models. Therefore, how to realize the application of AI models on the network side is an urgent problem to be solved.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a communication method and related devices that can implement the application of AI models on the network side.
[0007] In the first aspect, the present application provides a communication method, which can be applied to a first device, or to an apparatus in the first device (for example, a chip, or a chip system, or a circuit), or a device that can be used in combination with the first device. The following description is given using the application to the first device as an example. The first device may be a terminal device, a network device, a core network device, etc. The method may include: the first device determines a request message, the request message is used to request assistance in compressing the first AI model in the first device, and the required resources of the first AI model in the first device are greater than the resources of the first device; and sends the request message to the second device.
[0008] In the solution provided in the present application, a request message for requesting assistance in compressing the AI model in the first device can be sent by the first device to the second device, so that the second device can assist the first device in implementing the application of the AI model when the computing power and / or storage capacity of the first device is limited, including operations such as deployment, execution, training, reasoning or updating of the AI model, and improve the application effect of the AI model through collaboration between devices.
[0009] In one possible implementation, the request message includes requirement information of the first AI model in the first device, and the requirement information of the first AI model in the first device is used by the second device to select the first AI model in the second device.
[0010] In one possible implementation, the request message also includes requirement information or a first feedback time for the second AI model. The requirement information for the second AI model is used by the second device to select an initial second AI model in the second device. The second AI model is a model obtained by the second device training the initial second AI model in the second device based on the first AI model in the second device. The required resources of the second AI model are less than or equal to the resources of the first device. The first feedback time is used to indicate the maximum time threshold for the second device to feedback AI assistance information of the first AI model in the second device.
[0011] In one possible implementation, the communication method further includes: receiving a response message from the second device in response to the request message, wherein the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
[0012] In one possible implementation, the communication method further includes: sending assistance requirement information to the second device, where the assistance requirement information is used to train the initial second AI model in the second device, wherein the assistance requirement information includes one or more of the input data, labels, feedback information, and training conditions of the first AI model in the second device and the initial second AI model in the second device; and receiving the second AI model from the second device.
[0013] In the solution provided in this application, model compression (training the initial second AI model in the second device to obtain the second AI model) is performed on the second device side. Therefore, the first device needs to send assistance request information to the second device so that the second device can determine the second AI model based on the assistance request information from the first device, thereby enabling the second device to more accurately determine the second AI model. The first device receives the second AI model from the second device. Since the second device compresses the first AI model in the first device into the second AI model, the second AI model can meet the application conditions of the first device and can realize the functions of the first AI model in the first device. Therefore, the second device can assist the first device in realizing the application of the AI model when the computing power and / or storage capacity of the first device is limited.
[0014] In one possible implementation, the communication method also includes: determining an AI model compression scheme; determining assistance requirement information based on the AI model compression scheme; sending assistance requirement information to a second device; receiving AI assistance information from the second device, where the AI assistance information is determined by the second device based on the first AI model and the assistance requirement information in the second device; and training the initial second AI model in the first device based on the AI assistance information and the first AI model in the first device to obtain a trained second AI model.
[0015] In the solution provided in this application, a first device can send a request message to a second device requesting assistance in compressing a first artificial intelligence (AI) model in the first device. Based on the AI assistance information from the second device, the first device can compress the first AI model into a second AI model that meets the application requirements of the first device, and use the second AI model to implement the functions of the first AI model. This allows the first device to implement the application of the AI model even when the computing power and / or storage capacity of the first device is limited.
[0016] In one possible implementation, the communication method further includes: receiving first information from a second device, where the first information is used to indicate an identifier of the AI model corresponding to each AI assistance information in the AI assistance information, service type information, and assistance information type.
[0017] On the second aspect, the present application provides a communication method, which can be applied to a second device, or to an apparatus in the second device (for example, a chip, or a chip system, or a circuit), or a device that can be used in combination with the second device. The following description is given using the application to the second device as an example. The second device may be a terminal device, a network device, a core network device, etc. The method may include: the second device receives a request message from the first device, the request message is used to request assistance in compressing the first artificial intelligence AI model in the first device, and the required resources of the first AI model in the first device are greater than the resources of the first device.
[0018] In the solution provided in the present application, a second device can receive a request message from a first device for requesting assistance in compressing the first artificial intelligence (AI) model in the first device, so that the second device can assist the first device in implementing the application of the first AI model when the computing power and / or storage capacity of the first device is limited, including operations such as deployment, execution, training, reasoning or updating of the AI model, and improve the application effect of the AI model through collaboration between devices.
[0019] It should be understood that the executor of the second aspect can be the second device, the specific content of the second aspect corresponds to the content of the first aspect, the corresponding features of the second aspect and the beneficial effects achieved can refer to the description of the first aspect. To avoid repetition, the detailed description is appropriately omitted here.
[0020] In one possible implementation, the request message includes requirement information of the first AI model in the first device, and the communication method further includes: selecting the first AI model in the second device based on the requirement information of the first AI model in the first device.
[0021] In one possible implementation, the request message also includes requirement information of the second AI model or a first feedback time. The communication method further includes: selecting an initial second AI model in the second device based on the requirement information of the second AI model, where the required resources of the second AI model are less than or equal to the resources of the first device; and the first feedback time is used to indicate the maximum time threshold for the second device to feedback AI assistance information of the first AI model in the second device.
[0022] In one possible implementation, the communication method further includes: sending an AI assistance request message to a third device, where the AI assistance request message includes requirement information of the first AI model in the first device and a second feedback time, where the second feedback time is used to indicate a maximum time threshold for the third device to feed back AI assistance information of the first AI model in the third device; and receiving an AI assistance response message from the third device in response to the AI assistance request message, where the AI assistance response message is used to indicate whether the third device can assist in compressing the first AI model in the first device.
[0023] In the solution provided in the present application, if the second device cannot select the first AI model and / or the initial second AI model in the second device based on the requirement information of the first AI model and the requirement information of the second AI model in the request message, the second device can send an AI assistance request message to the third device.
[0024] In one possible implementation, the communication method further includes: determining an AI model compression scheme based on one or more of the request message, the AI assistance response message, and the resources of the second device.
[0025] In one possible implementation, the communication method further includes: sending a response message in response to the request message to the first device, where the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
[0026] In one possible implementation, the communication method also includes: receiving assistance requirement information from the first device, the assistance requirement information including one or more of the input data, labels, feedback information, and training conditions of the first AI model in the second device and the initial second AI model in the second device; training the initial second AI model in the second device according to the assistance requirement information to obtain a second AI model; and sending the second AI model to the first device.
[0027] In one possible implementation, the communication method also includes: sending assistance requirement information to a third device based on an AI model compression scheme; receiving AI assistance information from the third device, where the AI assistance information is determined by the third device based on the first AI model and the assistance requirement information in the third device; training the initial second AI model in the second device according to the assistance requirement information to obtain the second AI model includes: training the initial second AI model in the second device according to the assistance requirement information and the AI assistance information to obtain the second AI model.
[0028] In one possible implementation, the communication method further includes: receiving assistance requirement information from the first device; and determining AI assistance information based on the first AI model and the assistance requirement information in the second device.
[0029] In one possible implementation, the communication method further includes: sending first information to the first device, where the first information is used to indicate the identifier of the AI model corresponding to each AI assistance information in the AI assistance information, the service type information, and the assistance information type.
[0030] According to a possible implementation of the first aspect or the second aspect, the demand information of the first AI model in the first device includes one or more of the business type information of the first AI model in the first device, an identification list of the first AI model in the first device, and an assistance information type.
[0031] According to a possible implementation of the first aspect or the second aspect, the service type information is used to indicate the service type, and the service type includes one or more of AI-based load balancing, AI-based traffic prediction, AI-based mobile path prediction, AI-based load prediction, AI-based network energy saving and AI-based mobility optimization.
[0032] According to a possible implementation of the first aspect or the second aspect, the assistance information type includes one or more of response assistance information, feature assistance information, and relationship assistance information.
[0033] According to a possible implementation of the first aspect or the second aspect, the demand information of the second AI model includes one or more of the business type information of the second AI model, the identification list of the second AI model, and resource limitation information.
[0034] According to a possible implementation of the first aspect or the second aspect, the response message includes information about the first AI model in the second device and information about the initial second AI model in the second device.
[0035] In a third aspect, an embodiment of the present application provides a communication device. The communication device may be a first device, or may be applied to a device in the first device (e.g., a chip, or a chip system, or a circuit), or may be applied to a logic module or software that can implement all or part of the functions of the first device. For example, in one possible implementation, the communication device includes:
[0036] a processing unit, configured to determine a request message for requesting assistance in compressing a first AI model in a first device, where required resources of the first AI model in the first device are greater than resources of the first device;
[0037] The transceiver unit is configured to send the request message to the second device.
[0038] The communication device has the function of implementing the behavior in the method example of the first aspect above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. The beneficial effects can be found in the description of the first aspect and will not be repeated here.
[0039] In a fourth aspect, an embodiment of the present application provides a communication device. The communication device may be a second device, or may be applied to a device in the second device (e.g., a chip, or a chip system, or a circuit), or may be applied to a logic module or software that can implement all or part of the functions of the second device. For example, in one possible implementation, the communication device includes:
[0040] The transceiver unit is used to receive a request message from the first device, where the request message is used to request assistance in compressing a first artificial intelligence (AI) model in the first device, where the required resources of the first AI model in the first device are greater than the resources of the first device.
[0041] The communication device has the function of implementing the behavior in the method example of the second aspect above. The function can be implemented by hardware, or by hardware executing corresponding software implementation. The hardware or software includes one or more modules corresponding to the above functions. The beneficial effects can be found in the description of the second aspect and will not be repeated here.
[0042] In a fifth aspect, a communication device is provided, which may be a first device or a device in the first device (e.g., a chip, a chip system, or a circuit). The device may include a processor, a memory, an input interface, and an output interface, the input interface being used to receive information from other communication devices outside the communication device, the output interface being used to output information to other communication devices outside the communication device, and the processor calling a computer program stored in the memory to execute the communication method provided in the first aspect or any embodiment of the first aspect.
[0043] In a sixth aspect, a communication device is provided, which may be a second device or a device in the second device (e.g., a chip, a chip system, or a circuit). The device may include a processor, a memory, an input interface, and an output interface, the input interface being used to receive information from other communication devices outside the communication device, the output interface being used to output information to other communication devices outside the communication device, and the processor calling a computer program stored in the memory to execute the communication method provided in the second aspect or any embodiment of the second aspect.
[0044] In the seventh aspect, the present application provides a computer-readable storage medium having computer instructions stored thereon. When the computer program or computer instructions are executed, the method described in the above-mentioned first aspect and any possible implementation thereof, and the second aspect and any possible implementation thereof is executed.
[0045] In an eighth aspect, the present application provides a computer program product comprising executable instructions, which, when run on a communication device, enables the method described in the above-mentioned first aspect and any possible implementation thereof, and the second aspect and any possible implementation thereof to be executed.
[0046] In a ninth aspect, the present application provides a communication device, comprising a processor and further comprising a memory, for implementing the methods of the first aspect and any possible implementation thereof, and the second aspect and any possible implementation thereof. The communication device may be a system-on-a-chip (SoC), which may consist of a chip or include a chip and other discrete components.
[0047] In the tenth aspect, the present application provides a communication system, which includes at least one first device and at least one second device. When the at least one aforementioned first device and at least one aforementioned second device are operating in the communication system, it is used to execute any one of the communication methods described in the first to second aspects above. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments.
[0049] FIG1 is a schematic diagram of a network architecture provided in an embodiment of the present application;
[0050] FIG2 is a schematic diagram of a network architecture of a network device provided in an embodiment of the present application;
[0051] FIG3 is a schematic diagram of an application framework of an AI function in NR provided in an embodiment of the present application;
[0052] FIG4 is an interactive diagram of a communication method provided in an embodiment of the present application;
[0053] FIG5 is an interactive diagram of a communication method provided in an embodiment of the present application;
[0054] FIG6 is an interactive diagram of another communication method provided in an embodiment of the present application;
[0055] FIG7 is a schematic structural diagram of a communication device provided in an embodiment of the present application;
[0056] FIG8 is a schematic structural diagram of another communication device provided in an embodiment of the present application;
[0057] FIG9 is a schematic structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] In the description of this application, unless otherwise specified, “ / ” means “or”. For example, A / B can mean A or B. “And / or” in this application is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, “at least one” can refer to one or more, and “a plurality” can refer to two or more. “At least one of…” means each of the listed items and any combination thereof. For example, “at least one of A, B, and C” or “at least one of A, B, or C” can mean: A exists alone, B exists alone, C exists alone, A and B exist at the same time, B and C exist at the same time, A and C exist at the same time, and A, B, and C exist at the same time. “First”, “second”, etc. do not limit the quantity and execution order, and “first”, “second”, etc. do not necessarily limit them to be different.
[0059] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0060] In the description of this application, "indication" may include direct indication and indirect indication, and may also include explicit indication and implicit indication. The information indicated by a certain information (such as the indication information described below) is called information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated. For example, the information to be indicated can be directly indicated, such as indicating the information to be indicated itself or the index of the information to be indicated. For another example, the information to be indicated can also be indirectly indicated by indicating other information, and there is an association between the other indicated information and the information to be indicated. For another example, only a part of the information to be indicated can be indicated, while the other parts of the information to be indicated are known or agreed in advance. In addition, the indication of specific information can be achieved by means of the pre-agreed (such as specified in the protocol) order of arrangement of each information, thereby reducing the indication overhead to a certain extent.
[0061] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as long term evolution (LTE) networks, enhanced long term evolution (eLTE) networks, new radio (NR) networks, and fifth generation (5G) mobile communication systems, as well as sixth generation (6G) communication systems or other future-oriented communication systems. The communication system provided in the present application can be used for terrestrial networks (TN) and / or non-terrestrial networks (NTN). The communication system provided in the present application can adopt an open access network (open RAN, ORAN) architecture without limitation.
[0062] The following describes an example of a network architecture applicable to an embodiment of the present application. Please refer to Figure 1, which is a schematic diagram of a network architecture provided by an embodiment of the present application. As shown in Figure 1, the network architecture may include a terminal device 101, a network device 102, and a core network device 103. The terminal device 101 may be connected to the network device 102 wirelessly and access the core network device 103 through the network device 102. The terminal device 101 may be fixed or mobile.
[0063] Terminal device 101 is a user-side entity used to receive or transmit signals. Terminal devices can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; can also be deployed on water (such as ships); and can also be deployed in the air (such as aircraft, balloons, and satellites). Terminal devices can be mobile phones, tablets, computers with wireless transceiver functions, wearable devices, aerospace equipment, drones, etc. Terminal devices can be applied to various communication scenarios, such as device-to-device (D2D) communication, vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality (VR), augmented reality (AR), industrial control, self-driving, telemedicine, smart grid, smart furniture, smart office, smart wearables, smart transportation, smart city, etc. The terminal device may also be referred to as a terminal, user equipment (UE), mobile station, mobile terminal, etc.
[0064] The network device 102 may be an entity for transmitting or receiving signals, or may be a device for communicating with a terminal device. The network device may be a device in a radio access network, such as an access network device or a RAN node. In the present application, the access network device may be various base stations, such as an evolved NodeB (eNodeB) in an LTE system, a next generation NodeB (gNB) in an NR system, or a base station in other future-oriented communication systems. In addition, when the eNB is connected to a 5G core network (5G Core network, 5GC), the LTE eNB may also be referred to as an eLTE eNB, and the eLTE eNB may also be considered as a base station device in an NR system; the access network device may also be a wireless relay node, a wireless backhaul node, or other devices. The base station may be a macro base station, a micro base station, an indoor station, or the like.
[0065] The core network device 103 may be a core network (CN) device corresponding to different devices in different systems. For example, it may correspond to a serving GPRS support node (SGSN) of a general packet radio service (GPRS) and / or a gateway GPRS support node (GGSN) of GPRS. It may also correspond to a mobility management entity (MME) and / or a serving gateway (S-GW). It may also correspond to one or more network elements such as an access and mobility management function (AMF) network element, a session management function (SMF) network element, and a user plane function (UPF) network element.
[0066] Network devices and core network devices can be independent physical devices. They can also be integrated into the same physical device, which can be understood as the functions of the network device and the core network device being integrated into the same physical device, or as a single physical device having both the functions of a network device and a core network device. Network devices and core network devices can also have some of their functions integrated into the same physical device, with the remaining functions being located on independent physical devices. This can be understood as one physical device integrating some of the functions of both the network device and the core network device, with the remaining functions of the network device located on another physical device, and the remaining functions of the core network device located on yet another physical device.
[0067] As shown in Figure 2, in a network structure, the network device may be an access network device including a centralized unit (CU) node, a distributed unit (DU) node, or a CU node and a DU node. The CU and DU can be understood as a division of the access network device from a logical functional perspective. The CU and DU can be physically separated or deployed together, and this is not specifically limited in the embodiments of the present application. A CU can be connected to a DU, or multiple DUs can share a CU. The division of the CU and DU can be based on protocol stack functions, or based on service types or other system requirements. In one implementation, the CU may also have one or more functions of the core network. The functions of the CU may be implemented by one entity or by different entities. For example, the functions of the CU may be further divided, for example, by separating the control plane (CP) and the user plane (UP), i.e., the CU control plane (CU-CP) and the CU user plane (CU-UP). The CU-CP and CU-UP can be implemented by different functional entities and connected via the E1 interface. The CU-CP and CU-UP can be coupled with the DU to jointly perform the functions of the base station. The CU control plane CU-CP also includes a split architecture, that is, the CU-CP is further divided into CU-CP1 and CU-CP2. Among them, CU-CP1 includes various radio resource management functions, and CU-CP2 only includes RRC functions and PDCP-C functions (i.e., the basic functions of control plane signaling at the PDCP layer).
[0068] In different systems, CU (including CU-CP or CU-UP) or DU may have different names, but those skilled in the art will understand their meanings. For example, in an open radio access network (O-RAN) system, CU may also be referred to as O-CU (Open CU), DU may also be referred to as O-DU, CU-CP may also be referred to as O-CU-CP, and CU-UP may also be referred to as O-CU-UP.
[0069] Operations, administration, and maintenance (OAM) refers to the division of network management tasks into three categories: operations, administration, and maintenance, based on the actual needs of carriers' network operations. Operations primarily involve analyzing, forecasting, planning, and configuring daily network and service operations. Maintenance primarily involves day-to-day operational activities such as testing and troubleshooting the network and its services. OAM monitors network operational status, optimizes network connectivity and performance, improves network stability, and reduces maintenance costs.
[0070] The functions of the resource management center include resource management of each network device (or node), computing strategy formulation and distribution, etc. The resource management center can be deployed in the 5G core network or in network devices (such as gNBs) without restriction.
[0071] An AI model is a module with machine learning computing capabilities. In wireless communication systems, the AI model can be located in the OAM or in network equipment. If the network equipment adopts a CU-DU separation architecture, the AI model can be located in the CU. The AI model can also be located in the terminal device, or it can become a separate network element entity, such as the RAN Intelligent Control Center (RIC). The main function of the AI model in a wireless communication system is to perform a series of AI calculations such as model building, training approximation, and reinforcement learning based on input data (in wireless communication systems, input data generally refers to network operation data provided by the RAN or monitored by OAM, such as network load and channel quality). The trained model provided by the AI model has the ability to predict network changes on the RAN side and can generally be used for load prediction, terminal device path prediction, etc. In addition, the AI model can also perform policy reasoning from the perspectives of network energy saving and mobility optimization based on the predicted results of the trained model on RAN network performance, to obtain reasonable and efficient energy saving strategies and mobility optimization strategies. When the AI model is located in OAM, its communication with network devices can reuse the current interface; when the AI model is located in the network device or CU, the current F1, Xn, Uu and other interfaces can be reused; when the AI model becomes an independent network entity, it is necessary to re-establish communication links to the OAM and RAN sides, such as based on wired links or wireless links.
[0072] In an embodiment of the present application, a terminal device or a network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software. In addition, the embodiment of the present application does not specifically limit the specific structure of the execution subject of the method provided in the embodiment of the present application. As long as it is possible to communicate according to the method provided in the embodiment of the present application by running a program that records the code of the method provided in the embodiment of the present application, for example, the execution subject of the method provided in the embodiment of the present application can be a terminal device or a network device, or a functional module in the terminal device or the network device that can call a program and execute the program.
[0073] In addition, various aspects or features of the present application can be implemented as methods, apparatus, or articles of manufacture using standard programming and / or engineering techniques. The term "article of manufacture" as used in this application covers computer programs that can be accessed from any computer-readable device, carrier, or medium. For example, computer-readable media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes, etc.), optical disks (e.g., compact discs (CDs), digital versatile discs (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memories (EPROMs), cards, sticks, or key drives, etc.). In addition, the various storage media described herein may represent one or more devices and / or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.
[0074] It should be noted that the number and type of network devices, terminal devices and core network devices included in the network architecture shown in Figure 1 are merely examples, and the embodiments of the present application are not limited thereto. For example, more or fewer terminal devices that communicate with network devices may be included, for example, more or fewer core network devices that communicate with network devices may be included. For the sake of simplicity, they are not described one by one in the accompanying drawings. In addition, in the network architecture shown in Figure 1, although network devices, terminal devices and core network devices are shown, the application scenario may not be limited to including network devices, terminal devices and core network devices. For example, it may also include devices for carrying virtualized network functions, etc. These are obvious to those skilled in the art and will not be described one by one here.
[0075] The following is a description of the technical terms that may appear in the embodiments of this application. The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application. In the various embodiments of this application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other. The technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0076] (1) AI capabilities
[0077] Please refer to Figure 3, which is a schematic diagram of the application framework of the AI function in NR provided by an embodiment of the present application. As shown in Figure 3, data collection (data collection) storage can come from data input including network equipment, CU, DU, terminal equipment or other management entities, as a database for AI model training and data analysis and reasoning. Model training (model training) analyzes the training data (training data) provided by data collection to provide a suitable AI model. Model inference (model inference) uses the AI model to give a reasonable AI-based inference on the network operation based on the data provided by data collection, or guides the network to make policy adjustments. The relevant policy adjustments are executed by the triggering execution entity (Actor). At the same time, after the relevant policies are applied, the specific performance of the network, such as various performance parameters, will be entered into the database again for storage.
[0078] (2) AI use cases
[0079] AI application cases are also referred to as AI application scenarios or AI functions. AI application cases include, but are not limited to: channel status information (CSI) feedback enhancement, beam management enhancement, positioning accuracy enhancement, network energy saving, load balancing, and mobility optimization. These are described below. For example, an AI function may include multiple AI sub-functions.
[0080] 1. CSI feedback enhancement
[0081] CSI is a channel attribute of the communication link and is the channel quality information reported by the terminal device to the network device. The terminal device reports the channel quality information to the network device so that the appropriate modulation and coding scheme (MCS) can be selected for the terminal device to adapt to the changing wireless channel. For example, the terminal device performs channel estimation based on the received channel state information-reference signal (CSI-RS) and then feeds back the channel quality information to the network device. This information serves as the input of the network device's model, enabling the network device to implement AI model training. By applying AI to CSI feedback enhancement, it is possible to reduce overhead, improve accuracy, and achieve prediction.
[0082] CSI-RS feedback enhancement can include at least one sub-function, such as: CSI compression, CSI prediction, and CSI-RS configuration signaling reduction. CSI compression can be divided into CSI compression in at least one of the spatial, time, and frequency domains.
[0083] 2. Enhanced beam management
[0084] Beam management is mainly about finding the strongest transmit / receive beam pair. AI-based sparse beam prediction can improve accuracy. According to AI training and reasoning, it can be divided into AI sparse beam prediction on the network side and AI sparse beam prediction on the terminal device side. Taking AI sparse beam prediction on the terminal device side as an example, the pre-trained AI model on the terminal device side can be sent down by the network side or pre-stored on the terminal device side. During the training phase, the network device scans all possible beams, and then the network reports the need to tell the terminal device the transmit beam pattern. When the model training is completed, the network only needs to scan a small number of beams, and then the terminal device feeds back the inference results to the network. AI-based beam management can achieve beam prediction in the time and / or space domain, for example, to reduce overhead and delay and improve beam selection accuracy.
[0085] Beam management enhancement may include at least one sub-function, such as: beam scanning matrix prediction, optimal beam prediction.
[0086] 3. Positioning enhancement
[0087] In line-of-sight (LOS) or non-line-of-sight (NLOS) scenarios, AI-based positioning can improve positioning accuracy with a smaller number of TRP antennas. Positioning enhancement can include at least one sub-function, such as: positioning enhancement based on access network equipment, positioning enhancement based on positioning management function network elements, and positioning enhancement based on terminal devices.
[0088] 4. Network energy saving
[0089] Network energy conservation can be achieved through cell activation / deactivation, load reduction, coverage improvement, or other RAN configuration adjustments. AI technology can be used to optimize energy conservation decisions by leveraging data collected within the RAN network. AI algorithms can predict energy efficiency and load status for the next cycle, which can be used to assist in cell activation / deactivation decisions to save energy. Based on the predicted load, the system can dynamically configure energy conservation strategies to maintain a balance between system performance and energy efficiency, thereby reducing energy consumption.
[0090] 5. Load Balancing
[0091] Load balancing can evenly distribute load between cells and within different areas within a cell, shift some traffic away from congested cells, or distribute users across a single cell, carrier, or access standard to improve network performance. Improving load balancing performance based on AI models, such as incorporating various measurements and feedback from terminal devices and network nodes, as well as historical data, into AI models, can provide a higher-quality user experience and increase system capacity.
[0092] 6. Mobility Management
[0093] Mobility management ensures service continuity during device mobility by minimizing dropped calls, radio link failures (RLFs), unnecessary handoffs, and the ping-pong effect. AI can enhance mobility management, such as reducing the probability of unexpected events, predicting device location, mobility, and performance, and guiding traffic.
[0094] (3) Knowledge Distillation
[0095] Deep neural networks have achieved great success in many fields such as computer vision, natural language processing, and speech recognition. However, with the increasing complexity of network structures, neural network models require a large amount of computing resources and storage space, which seriously restricts the development of deep neural networks in resource-limited application environments and real-time online processing applications.
[0096] Knowledge distillation (KD) can be used to compress and accelerate the model without losing the performance of the complex deep neural network model as much as possible, thereby effectively reducing the computational complexity and storage space of the model. Specifically, knowledge distillation can migrate the knowledge learned by a complex model or multiple models integrated into another lightweight model, making the model lightweight while minimizing performance loss. That is, knowledge migration can be used to distill the knowledge in the large model into the small model, thereby improving the performance of the small model. An embodiment of the present application can be based on knowledge distillation technology to achieve compression of the AI model on the network side.
[0097] It should be understood that the definitions of the above technical terms are for illustrative purposes only. For example, with the continuous development of technology, the scope of the above definitions may also change, and the embodiments of this application are not intended to limit them.
[0098] As the preceding descriptions of AI application cases demonstrate, AI can be applied to a variety of wireless communication processes. AI models can be applied on the network side, but the limited computing power and / or storage capacity of network equipment may make their application impossible. Therefore, implementing AI models on the network side is a pressing issue.
[0099] This application proposes a communication method, which will be described below through the following embodiments. It should be understood that these communication methods can be used in combination with each other.
[0100] It should be understood that the evolution of AI may change with the evolution of technical solutions, and the technical solutions provided in this application are not limited to the process described below. Furthermore, the description of the scenarios in the embodiments of this application is only an example, and does not limit the solutions of the embodiments of this application to be applied only to the described scenarios. They are also applicable to scenarios with similar problems.
[0101] The first device in the embodiment of the present application (such as the embodiment corresponding to Figures 4 to 6 below) can be a terminal device, a network device or a core network device in the network architecture shown in Figure 2, and the function performed by the first device in this embodiment can also be performed by an apparatus in the first device (for example, a chip, or a chip system, or a circuit). The second device in this embodiment can be a terminal device, a network device or a core network device in the network architecture shown in Figure 2, and the function performed by the second device in this embodiment can also be performed by an apparatus in the second device (for example, a chip, or a chip system, or a circuit). The embodiment of the present application can be applicable to the various AI application cases described above, and can also be applicable to AI application cases proposed in the future. The embodiments of the present application are uniformly explained here and will not be repeated later.
[0102] In conjunction with the above network architecture, a communication method provided by an embodiment of the present application is described below. Please refer to Figure 4, which is an interactive schematic diagram of a communication method provided by an embodiment of the present application. As shown in Figure 4, the communication method may include S401-S402.
[0103] S401: The first device determines a request message, where the request message is used to request assistance in compressing a first AI model in the first device, where required resources of the first AI model in the first device are greater than resources of the first device.
[0104] In this embodiment, the demand node with AI use case computing needs can be referred to as the first device (such as node0), which can be, for example, a terminal device, a network device (access network device), and a core network device. In this embodiment, the assisting node on which the first AI model has been deployed can be referred to as the second device (such as node1) and the third device (such as node2 / 3...), which can be, for example, a terminal device, a network device (access network device), and a core network device, which can be used to assist the first device in compressing the first AI model. The selection of the assisting node can be obtained by the demand node requesting the resource management center, or it can be selected after the demand node broadcasts a request to the neighboring node. Among them, the functions of the resource management center include node resource management, computing strategy formulation and issuance, etc. The resource management center can be deployed in the core network device or in the access network device, and this application does not impose any restrictions on this.
[0105] Exemplarily, the second device can be regarded as the general assisting node of multiple assisting nodes. The first device can send a request message to the second device, and the second device can coordinate multiple assisting nodes to assist the first device in compressing the first AI model. For example, the second device can assist the first device in compressing the first AI model according to the request message, or the second device can request one or more third devices to assist the first device in compressing the first AI model, so that the second device can obtain AI assistance information that the second device does not have.
[0106] The first device may determine a request message for requesting assistance in compressing a first AI model in the first device. The request message may include requirement information for the first AI model in the first device, and the requirement information for the first AI model in the first device is used by the second device to select the first AI model configured on the second device.
[0107] In one implementation, in addition to the requirement information of the first AI model mentioned above, the request message may also include the requirement information of the second AI model or the first feedback time. The requirement information of the second AI model is used by the second device to select the initial second AI model in the second device. The second AI model is a model obtained by the second device training the initial second AI model in the second device based on the assistance information of the first AI model in the second device. The required resources of the second AI model are less than or equal to the resources of the first device. The first feedback time is used to indicate the maximum time threshold for the second device to feedback the AI assistance information of the first AI model in the second device.
[0108] The requirement information of the first AI model in the first device includes service type information of the first AI model in the first device, an identifier list of the first AI model in the first device, and one or more of the following assistance information types. The service type information indicates the service type, and service types include, for example, one or more of AI-based load balancing, AI-based traffic prediction, AI-based mobile path prediction, AI-based load prediction, AI-based network energy saving, and AI-based mobility optimization. Assistance information types include, for example, one or more of response assistance, feature assistance, and relationship assistance. Response assistance information may refer to the last layer of features of the first AI model, which enables the second AI model to learn the final prediction of the first AI model and achieve the same prediction performance as the first AI model. Feature assistance information may refer to feature information extracted from the intermediate network layer of the first AI model. Relationship assistance information may refer to the relationship between different layers of the first AI model and different data samples. It should be noted that the service type and assistance information type are not limited to the above examples.
[0109] The demand information of the second AI model includes one or more of the business type information of the second AI model, the identification list of the second AI model, and the resource limitation information. The business type information of the second AI model can refer to the business type information of the first AI model in the above-mentioned first device. Resource limitation information can be understood as information on restrictions on the storage, computing power and other resources of the device. Information, exemplarily, resource limitation information may include storage resource limitation values, computing power resource limitation values, etc. It should be noted that the business type and resource limitation information of the second AI model are not limited to the above examples.
[0110] In an embodiment of the present application, the first AI model can be understood as an original larger or integrated AI model, and can also be called a teacher model / large model; the second AI model can be understood as a lightweight model, and can also be called a student model / small model, which can be used to receive the knowledge of the teacher model. The size of the model can be measured based on the resources of the first device. For example, a model whose required resources are greater than the available resources of the first device can be called a first AI model, and vice versa. The resources may include computing and / or storage resources. The computing resources can be used to measure the computing power of the device, which can be a reserved computing power value, an available computing power value, etc., and the unit can be floating-point operations per second (FLOPs); the storage resources can be used to measure the memory status of the device, which can be a reserved capacity, an available capacity, etc., and the unit can be kilobytes (KB).
[0111] In one implementation, the application of the first AI model on the first device side can be implemented based on the knowledge distillation method, including operations such as execution, training, reasoning or updating of the AI model. The knowledge in the knowledge distillation method can be understood as model parameters, network extracted features, and model outputs, etc. In an embodiment of the present application, the knowledge in the knowledge distillation method can be referred to as auxiliary information. The deep neural network distillation method can be divided into a response-based distillation method, a feature-based distillation method, and a relationship-based distillation method according to the different learning positions. According to different learning methods, it can be divided into a self-learning-based distillation method and an adversarial learning-based distillation method. The embodiment of the present application does not limit the specific algorithm of knowledge distillation.
[0112] S402: The first device sends a request message to the second device. Correspondingly, the second device receives the request message from the first device.
[0113] After receiving the request message from the first device, the second device can assist the first device in compressing the first AI model based on the request message or request one or more third devices to assist the first device in compressing the first AI model.
[0114] In this embodiment, limited computing power and / or storage capacity of network devices may result in the inability to complete the application of the AI model. For example, insufficient storage capacity of the first device may affect the deployment of the AI model. Insufficient computing power of the first device may affect the execution, training, inference, or update of the AI model. In this embodiment, a request message for assistance in compressing the first artificial intelligence (AI) model in the first device may be sent to a second device by the first device, so that the second device can assist the first device in implementing the application of the first AI model even when the computing power and / or storage capacity of the first device is limited. Through collaboration between devices, the application effect of the AI model is improved.
[0115] For the method embodiment shown in Figure 4, some specific implementation methods and beneficial effects can be referred to the description of Figures 5 and 6 below. That is to say, the embodiments shown in Figures 5 and 6 are specific implementations of the embodiment shown in Figure 4. To avoid redundancy, they will not be repeated in the embodiment of Figure 4.
[0116] In conjunction with the embodiment of FIG4 above, a communication method provided by an embodiment of the present application is described below. It should be understood that the terminology explanations of different embodiments in this application can refer to each other. To avoid redundant descriptions, different embodiments may not repeat the same terminology. Please refer to FIG5, which is an interactive schematic diagram of a communication method provided by an embodiment of the present application. As shown in FIG5, the communication method may include S501-S511. Among them, S503-S504 and S508-S509 are optional steps.
[0117] S501: The first device determines a request message, where the request message is used to request assistance in compressing a first AI model in the first device, where required resources of the first AI model in the first device are greater than resources of the first device.
[0118] It can be understood that the description of the first device, the second device, the third device, the first AI model, the second AI model and the AI assistance information in the specific step S501 can refer to the above step S401.
[0119] When the first device is unable to provide resources (such as computing and / or storage resources) to apply the first AI model, the first device can determine a request message, which is used to request assistance in compressing the first AI model in the first device.
[0120] The request message may include the requirements information of the first AI model and the second AI model in the first device. Optionally, it may also include accuracy requirements, etc. The requirements information of the first AI model and the second AI model in the first device can refer to the description of step S401 above. Accuracy requirements can be understood as the AI model metric requirements required by the AI model compression solution. For classification tasks, for example, the accuracy requirements may include accuracy, precision, and recall. Accuracy is the ratio of all correctly predicted information to all predicted information. Precision, also known as accuracy, is the ratio of predicted positive information to actual positive information. Recall, also known as recall, is the ratio of actual positive information to all predicted positive information. For regression tasks, for example, the accuracy requirements may include mean square error (MSE), root mean square error (RMSE), and mean absolute error (MAE). MSE is the mean of the sum of squares of the errors between the predicted information and the true information. RMSE is the square root of MSE and is used to measure the deviation between the predicted information and the true information. MAE is the mean absolute error between the predicted information and the true information.
[0121] S502: The first device sends a request message to the second device. Correspondingly, the second device receives the request message from the first device.
[0122] After receiving the request message from the first device, the second device can select the first AI model in the second device based on the requirement information of the first AI model in the first device in the request message. For example, the first AI model in the second device can be selected based on the requirement information of the first AI model in the first device, which includes one or more of the following: service type information of the first AI model in the first device, an identifier list of the first AI model in the first device, and an assistance information type. Specific implementations may include one or more of the following:
[0123] In one possible implementation, a first AI model of the same or similar business type may be selected based on the business type information of the first AI model in the demand information of the first AI model in the first device. Optionally, the first device may specify whether the business type of the first AI model in the first device is one or more. If there are multiple business types, the priority of the business types or which of the multiple business types are required or optional may be specified. The second device selects the first AI model in the second device based on the business type of the first AI model in the first device specified by the first device.
[0124] In one possible implementation, the first AI model in the second device may be selected based on the list of identifiers of the first AI model in the first device in the requirement information of the first AI model in the first device. The first device may indicate to the second device which AI models are required by the first AI model in the first device, for example, specifying one or more models and the specific identifiers of one or more models. Optionally, if multiple models are specified, the priority of the multiple models or which models among the multiple models are required or optional may also be specified.
[0125] Optionally, the first AI model in the second device can also be selected based on the assistance information type included in the requirement information of the first AI model in the first device. Specifically, in the case where the requirement information of the first AI model in the first device includes the assistance information type, for example, the assistance information type includes response assistance and feature assistance, the second device can select the first AI model related to response assistance and feature assistance that has been configured on the second device. For another example, if the assistance information type includes response assistance, feature assistance and relationship assistance, the second device can select the first AI model related to response assistance, feature assistance and relationship assistance that has been configured on the second device. In the case where the requirement information of the first AI model in the first device does not include the assistance information type, the second device can select the first AI model in the second device based on the knowledge distillation algorithm.
[0126] After receiving the request message from the first device, the second device can select an initial second AI model configured on the second device based on the second AI model's requirement information in the request message. For example, the initial second AI model in the second device can be selected based on the second AI model's requirement information, which includes one or more of the following: the second AI model's service type information, a second AI model identifier list, and resource limitation information. The initial second AI model in the second device is then trained based on the first AI model in the second device to obtain a second AI model. The required resources of the second AI model are less than or equal to those of the first device.
[0127] The second device selects the initial second AI model in the second device according to the requirement information of the second AI model. Specifically:
[0128] In one possible implementation, the second device may select an initial second AI model of the same or similar service type based on the service type information of the second AI model. For example, if the service type information of the second AI model indicates that the service types include AI-based load balancing and AI-based traffic prediction, the second device may select an existing AI model in the second device that has the service types of AI-based load balancing and AI-based traffic prediction as the initial second AI model. Alternatively, if the requirement information of the second AI model does not include the service type information of the second AI model, the second device may independently determine the service type of the initial second AI model.
[0129] In one possible implementation, the second device may select an initial second AI model based on a list of second AI model identifiers. Alternatively, if the second AI model requirement information does not include the list of second AI model identifiers, the first device may indicate local resource limits to the second device, such as computing resource limits and / or storage resource limits. The second device may then select an initial second AI model based on the local resource limits of the first device.
[0130] Among them, the initial second AI model in the second device can be generated locally by the second device, or it can be issued by the first device, the core network, the neighboring station of the second device, or other nodes such as OAM.
[0131] S503: The second device sends an AI assistance request message to the third device. Correspondingly, the third device receives the AI assistance request message from the second device.
[0132] If the second device determines that the first AI model and / or the initial second AI model in the second device is not selected based on the first AI model requirement information and the second AI model requirement information in the request message, the second device may send an AI assistance request message to the third device. The AI assistance request message includes the requirement information of the first AI model in the first device and a second feedback time, where the second feedback time indicates the maximum time threshold for the third device to feedback the AI assistance information of the first AI model in the third device.
[0133] S504: The third device sends an AI assistance response message in response to the AI assistance request message to the second device. Correspondingly, the second device receives the AI assistance response message from the third device.
[0134] After receiving the AI assistance request message from the second device, the third device can determine whether to assist the second device based on the AI assistance request message and one or more of the computing resources, storage resources, and second feedback time of the local computing power resources of the third device, and send an AI assistance response message in response to the AI assistance request message to the second device. The AI assistance response message can be used to indicate whether the third device can assist the second device, that is, whether it can assist in compressing the first AI model in the first device.
[0135] The AI assistance response message may include: assistance confirmation, partial assistance confirmation, assistance failure indication or partial assistance failure indication, etc. For example, if the third device can meet the AI assistance request and determine to assist the second device, it can send an assistance confirmation message to the second device. If the third device can only assist with part of the information, for example, the second device sends an AI assistance request message including the requirement information of the first AI model in the first device to the third device, and the requirement information of the first AI model in the first device includes response assistance information and relationship assistance information, and the third device only has response assistance information but no relationship assistance information, then the third device can indicate to the second device the information that can be assisted (response assistance information) identifier, or indicate the information that cannot be assisted (relationship assistance information) identifier, or indicate the information that cannot be assisted identifier and reason and other information.
[0136] S505: The second device determines an AI model compression scheme according to one or more of the request message, the AI assistance response message, and the resources of the second device received from the first device.
[0137] After the second device selects the first AI model and the initial second AI model in the second device according to the request message (see the description of step S502 above for details), it can determine the AI model compression scheme based on the request message, the AI assistance response message, and one or more of the resources of the second device, and then train the initial second AI model according to the AI model compression scheme to obtain the second AI model. The AI model compression scheme may include at least one of the first AI model in the second device, the initial second AI model, the knowledge distillation algorithm used by the compression model, the compression accuracy, the AI assistance information used by the compression model, and whether there is assistance from a third device.
[0138] The second device determines an AI model compression scheme based on one or more of the request message, the AI assistance response message, and the resources of the second device. Specifically, the scheme may include one or more of the following implementations:
[0139] In one possible implementation, the second device may determine the AI model compression scheme based on the accuracy requirement information in the request message. For example, if the compression accuracy requirement is high, the second device may determine to use more AI assistance information to train the initial second AI model to obtain the second AI model.
[0140] In one possible implementation, if the second device receives an AI assistance response message from a third device, it can determine the AI model compression scheme based on the AI assistance response message. For example, the AI assistance response message includes AI assistance information of the first AI model in the third device, and it is determined that the AI assistance information of the first AI model in the third device is used to train the initial second AI model to obtain the second AI model.
[0141] In one possible implementation method, the second device can determine the AI model compression scheme based on the local computing power, storage and other resource information of the second device.
[0142] This application does not limit the implementation of the specific knowledge distillation algorithm in the AI model compression solution. For example, it can be response-based knowledge distillation, feature-based knowledge distillation, relationship-based knowledge distillation, etc. Optionally, if multiple AI models are involved, multiple teachers can assist in knowledge distillation.
[0143] S506: The second device sends a response message to the first device in response to the request message, where the response message indicates that the second device can assist in compressing the first AI model in the first device. Correspondingly, the first device receives the response message from the second device.
[0144] After the second device determines the AI model compression scheme, it can send a response message to the first device. The response message is used to indicate that the second device can assist in compressing the first AI model in the first device, and can also indicate the response information corresponding to the various types of requirement information in the request message of the second device. For example, the response message may include information about the first AI model in the second device and information about the initial second AI model in the second device. Optionally, the response message may also include accuracy requirement response information in response to the accuracy requirement information. The information about the first AI model in the second device may include at least one of the identification list, business type information, and assistance information type of the first AI model in the second device, and the information about the initial second AI model in the second device may include at least one of the identification list, business type information, calculation requirement value, and storage requirement value of the initial second AI model. The accuracy requirement response information may include specific accuracy indicators that meet the accuracy requirements, predicted values corresponding to the accuracy indicators, etc.
[0145] Optionally, if the second device determines not to assist in compressing the first AI model in the first device, the second device may send indication information indicating failed assistance to the first device, and no longer perform subsequent operation steps S507-S511.
[0146] S507: The first device sends assistance request information to the second device, where the assistance request information is used to train the initial second AI model in the second device. Correspondingly, the second device receives the assistance request information from the first device.
[0147] In this embodiment, model compression (training the initial second AI model in the second device to obtain the second AI model) is performed on the second device side, so the first device sends assistance requirement information to the second device so that the second device can determine the second AI model based on the assistance requirement information from the first device.
[0148] The assistance requirement information may include one or more of the input data, labels, and feedback information of the first AI model in the second device and the initial second AI model in the second device. In one possible implementation, if the input data, labels, and feedback information of the first AI model in the second device and the initial second AI model in the second device are consistent, the assistance requirement information may only include one or more of the input data, labels, and feedback information of the first AI model in the second device, or the assistance requirement information may only include one or more of the input data, labels, and feedback information of the initial second AI model in the second device, and indicate through indication information that the information of the two is the same. If one or more of the input data, labels, and feedback information of the first AI model in the second device and the initial second AI model in the second device are partially consistent, the assistance request information may include the consistent information of the two, and indicate that the information is the same through indication information, and also include different information of the two. For example, if the input data and labels of the first AI model in the second device and the initial second AI model in the second device are the same, the assistance request information includes indication information to indicate that the input data and labels are the same. In addition, the assistance request information may also include feedback information of the first AI model and feedback information of the initial second AI model. If one or more of the input data, labels, and feedback information of the first AI model in the second device and the initial second AI model in the second device are inconsistent, the assistance request information may include information of both separately. For example, the assistance request information may include one or more of the input data, labels, and feedback information of the first AI model in the second device and one or more of the input data, labels, and feedback information of the initial second AI model in the second device.
[0149] The assistance requirement information may also include training conditions determined by the first device. For example, the training conditions may include training termination conditions such as the number of training iterations and accuracy requirements, and training parameters such as the learning rate and batch size. The batch size refers to the number of samples selected for a training session, and its size affects the degree and speed of model optimization.
[0150] S508: The second device sends assistance request information to the third device. Correspondingly, the third device receives the assistance request information from the second device.
[0151] Optionally, if the AI model compression scheme determined by the second device contains information requiring assistance from a third device, the second device may send assistance requirement information to the third device based on the AI model compression scheme to request AI assistance information.
[0152] The assistance requirement information can be determined based on the knowledge distillation algorithm used in the compression model of the model compression scheme. For example, if the knowledge distillation algorithm is a response-based knowledge distillation algorithm, the assistance requirement information can be input data. For another example, if the knowledge distillation algorithm is a feature-based knowledge distillation algorithm, the assistance requirement information can be feature-level information. For another example, if the knowledge distillation algorithm is a relationship-based knowledge distillation algorithm, the assistance requirement information can be input data. It is understood that the assistance requirement information can vary depending on the knowledge distillation algorithm.
[0153] S509: The third device sends AI assistance information in response to the assistance request information to the second device. Correspondingly, the second device receives the AI assistance information from the third device.
[0154] After receiving the assistance request information from the second device, the third device may determine AI assistance information based on the first AI model and the assistance request information in the third device. Specifically, the AI assistance information may be generated by the third device based on the first AI model and the assistance request information. For example, the third device may input the assistance request information into the first AI model and obtain the AI assistance information based on a specific assistance information type. The third device may send the AI assistance information to the second device within the second feedback time (the second feedback time is included in the AI assistance request message sent by the second device to the third device in step S503 above), i.e., the maximum time threshold for feeding back the AI assistance information. For example, if the third device determines that it can assist the second device, it may select the first AI model in the third device based on the requirement information of the first AI model in the AI assistance request message, generate the AI assistance information using the first AI model in the third device, and then feed the AI assistance information back to the second device within the second feedback time. The selection of the first AI model in the third device based on the requirement information of the first AI model by the third device can refer to the description of the second device selecting the first AI model in the second device based on the requirement information of the first AI model in the first device in step S502 above.
[0155] Optionally, if the third device fails to obtain AI assistance information, it may send a failure indication to the second device and indicate the reason for the failure. For example, the reason for the failure may be timeout or invalidity of the first AI model in the third device, and step S509 is no longer executed.
[0156] S510: The second device determines a second AI model.
[0157] In one possible implementation, after receiving the assistance request information from the first device, the second device trains an initial second AI model in the second device based on the assistance request information to obtain a second AI model. Specifically, the first AI model in the second device obtains the assistance request information to generate local AI assistance information for the second device. The second device then trains the initial second AI model in the second device based on the local AI assistance information to obtain the second AI model.
[0158] In another possible implementation, the second device receives assistance request information from the first device and AI assistance information from a third device, and trains an initial second AI model in the second device based on the assistance request information and the AI assistance information to obtain a second AI model. Specifically, the first AI model in the second device obtains the assistance request information to generate local AI assistance information for the second device. The second device then trains the initial second AI model in the second device based on the local AI assistance information and the AI assistance information from the third device to obtain a second AI model.
[0159] The second device trains the initial second AI model in the second device and can stop training after reaching training conditions such as training accuracy.
[0160] S511: The second device sends a second AI model to the first device. Correspondingly, the first device receives the second AI model from the second device.
[0161] After determining the second AI model, the second device may send the second AI model to the first device.
[0162] Optionally, after the first device obtains the second AI model, since the second AI model can implement the functions of the first AI model in the first device and meet the resource conditions of the first device, the first device can use the second AI model to calculate AI tasks, which may be, for example, inference or training tasks.
[0163] In this embodiment, a first device can send a request message to a second device requesting assistance in compressing a first AI model on the first device. Based on knowledge distillation, the second device can compress the first AI model into a second AI model that meets the accuracy and deployment requirements of the first device and transmit the second AI model back to the first device. This allows the application of the AI model on the first device even when the computing power and / or storage capacity of the first device is limited, improving the application effectiveness of the AI model through collaboration between devices.
[0164] In conjunction with the embodiment of FIG4 above, another communication method provided by the embodiment of the present application is described below. Please refer to FIG6, which is an interactive diagram of another communication method provided by the embodiment of the present application. As shown in FIG6, the communication method may include S601-S607.
[0165] It should be noted that the embodiment shown in Figure 6 differs from the embodiment shown in Figure 5 above in that in the embodiment shown in Figure 5 , the second device compresses the first AI model into a second AI model that meets the accuracy and deployment requirements of the first device based on knowledge distillation, and then transmits the second AI model back to the first device. In contrast, in the embodiment shown in Figure 6 , the first device compresses the first AI model into a second AI model that meets the accuracy and deployment requirements of the first device based on knowledge distillation.
[0166] S601: The first device determines a request message, where the request message is used to request assistance in compressing a first AI model in the first device, where required resources of the first AI model in the first device are greater than resources of the first device.
[0167] It can be understood that the description of the first device, the second device, the first AI model, the second AI model and the AI assistance information in the specific step S601 can refer to the above step S401 and will not be repeated.
[0168] When the first device is unable to provide resources (such as computing and / or storage resources) to apply the first AI model, the first device can determine a request message, which is used to request assistance in compressing the first AI model in the first device.
[0169] The request message may include the requirements information of the first AI model in the first device and a first feedback time. The first feedback time indicates the maximum time threshold for the second device to feedback the AI assistance information of the first AI model in the second device. The requirements information of the first AI model in the first device can be described in the description of step S501 above and is not repeated here.
[0170] S602: The first device sends a request message to the second device. Correspondingly, the second device receives the request message from the first device.
[0171] It can be understood that the specific description of step S602 can refer to the above step S502 and will not be repeated here.
[0172] After receiving the request message from the first device, the second device can select the first AI model in the second device based on the requirement information of the first AI model in the first device in the request message. The specific implementation method can refer to the description of step S502 above and is not repeated here.
[0173] S603: The second device sends a response message to the first device in response to the request message, where the response message indicates that the second device can assist in compressing the first AI model in the first device. Correspondingly, the first device receives the response message from the second device.
[0174] After receiving the request message from the first device, the second device can determine whether to assist the first device based on the request message and local computing resources and / or storage resources and other resource information, and send a response message in response to the request message to the second device. The response message can be used to indicate that the second device can assist in compressing the first AI model in the first device, and can also indicate the second device's response information corresponding to various types of demand information in the request message. For example, the response message may include information about the first AI model in the second device. The information about the first AI model in the second device may include at least one of an identification list of the first AI model in the second device, service type information, and assistance information type.
[0175] Optionally, if the second device determines not to assist in compressing the first AI model in the first device, the second device may send indication information indicating failed assistance to the first device, and no longer execute step S603 and subsequent operation steps S604-S607.
[0176] S604: The first device determines an AI model compression scheme.
[0177] The first device can determine the AI model compression scheme based on local computing resources, storage resources and the response message from the second device. The AI model compression scheme may include the first AI model in the second device, the knowledge distillation algorithm used by the compression model, etc. The specific knowledge distillation algorithm in the AI model compression scheme can be response-based knowledge distillation, feature-based knowledge distillation, relationship-based knowledge distillation, etc., without limitation. Optionally, if multiple AI models are involved, multiple teachers can assist in knowledge distillation.
[0178] S605: The first device sends assistance request information to the second device. Correspondingly, the second device receives the assistance request information from the first device.
[0179] After the first device determines the AI model compression scheme, it can determine the assistance requirement information based on the AI model compression scheme, and send the assistance requirement information to the second device to request AI assistance information.
[0180] The assistance requirement information can be determined based on the knowledge distillation algorithm used in the compression model of the model compression scheme. For example, if the knowledge distillation algorithm is a response-based knowledge distillation algorithm, the assistance requirement information can be input data. For another example, if the knowledge distillation algorithm is a feature-based knowledge distillation algorithm, the assistance requirement information can be feature-level information. For another example, if the knowledge distillation algorithm is a relationship-based knowledge distillation algorithm, the assistance requirement information can be input data. It is understood that the assistance requirement information can vary depending on the knowledge distillation algorithm.
[0181] S606: The second device sends AI assistance information in response to the assistance request information to the first device. Correspondingly, the first device receives the AI assistance information from the second device.
[0182] After the second device receives the assistance requirement information from the first device, it can determine the AI assistance information based on the first AI model and the assistance requirement information in the second device. Specifically, the AI assistance information can be generated by the first AI model in the second device obtaining the assistance requirement information. The second device can send AI assistance information to the first device within the first feedback time (the first feedback time is included in the request message sent by the first device to the second device in the above step S601), that is, within the maximum time threshold for feedback AI assistance information. Exemplarily, the second device determines that it can assist the first device, and can select the first AI model in the second device based on the requirement information of the first AI model in the request message, obtain the assistance requirement information through the first AI model in the second device to generate AI assistance information, and the second device feeds back the AI assistance information to the first device within the first feedback time.
[0183] Optionally, the second device may send first information to the first device, where the first information is used to indicate at least one of an identifier of an AI model corresponding to each AI assistance information in the AI assistance information, business type information, and assistance information type.
[0184] Optionally, if the second device fails to obtain the AI assistance information, it may send a failure indication to the first device and indicate the reason for the failure. For example, the reason for the failure may be timeout or invalidity of the first AI model in the second device, and step S606 is no longer executed.
[0185] S607: The first device determines a second AI model.
[0186] After the first device receives the AI assistance information from the second device, it can train the initial second AI model in the first device based on the AI assistance information and the first AI model in the first device to obtain a trained second AI model.
[0187] Among them, the initial second AI model in the first device can be generated locally by the first device, or it can be issued by other nodes such as the second device, the core network, the neighboring station or OAM.
[0188] The first device may stop training the initial second AI model in the first device after reaching training conditions such as training accuracy.
[0189] Optionally, after the first device obtains the second AI model, since the second AI model can implement the functions of the first AI model in the first device and meet the resource conditions of the first device, the first device can use the second AI model to calculate AI tasks, for example, the AI task can be an inference or training task.
[0190] In this embodiment, a first device can send a request message to a second device requesting assistance in compressing a first AI model on the first device. Based on the AI assistance information from the second device, the first device can compress the first AI model into a second AI model that meets the accuracy and deployment requirements of the first device. This allows the application of the AI model on the first device even when the computing power and / or storage capacity of the first device is limited, improving the application effect of the AI model through collaboration between devices.
[0191] The above describes the method embodiments provided by the embodiments of the present application. The following describes the device embodiments involved in the embodiments of the present application.
[0192] Please refer to Figure 7, which is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device can be a first device or a device in the first device (for example, a chip, a chip system, or a circuit). As shown in Figure 7, the communication device 700 includes at least: a processing unit 701 and a transceiver unit 702; wherein:
[0193] Processing unit 701 is configured to determine a request message for requesting assistance in compressing a first AI model in a first device, where required resources of the first AI model in the first device are greater than resources of the first device;
[0194] The transceiver unit 702 is configured to send the request message to the second device.
[0195] In one embodiment, the request message includes requirement information of the first AI model in the first device, and the requirement information of the first AI model in the first device is used by the second device to select the first AI model in the second device.
[0196] In one embodiment, the request message also includes requirement information or a first feedback time of the second AI model. The requirement information of the second AI model is used by the second device to select an initial second AI model in the second device. The second AI model is a model obtained by the second device training the initial second AI model in the second device according to the first AI model in the second device. The required resources of the second AI model are less than or equal to the resources of the first device. The first feedback time is used to indicate the maximum time threshold for the second device to feedback AI assistance information of the first AI model in the second device.
[0197] In one embodiment, the transceiver unit 702 is further configured to receive a response message from the second device in response to the request message, where the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
[0198] In one embodiment, the transceiver unit 702 is further used to send assistance requirement information to the second device, where the assistance requirement information is used to train the initial second AI model in the second device, wherein the assistance requirement information includes one or more of the input data, labels, feedback information and training conditions of the first AI model in the second device and the initial second AI model in the second device; and receive the second AI model from the second device.
[0199] In one embodiment, the processing unit 701 is further configured to:
[0200] Determine the AI model compression solution;
[0201] determining assistance request information based on the AI model compression scheme; and sending the assistance request information to the second device;
[0202] The transceiver unit 702 is further configured to receive AI assistance information from the second device, where the AI assistance information is determined by the second device based on the first AI model and assistance requirement information in the second device;
[0203] The processing unit 701 is further configured to train an initial second AI model in the first device based on the AI assistance information and the first AI model in the first device to obtain a trained second AI model.
[0204] In one embodiment, the transceiver unit 702 is further used to receive first information from the second device, where the first information is used to indicate the identifier of the AI model corresponding to each AI assistance information in the AI assistance information, the service type information, and the assistance information type.
[0205] For a more detailed description of the processing unit 701 and the transceiver unit 702 , reference may be made to the relevant description of the first device in the method embodiments shown in FIG. 4 to FIG. 6 , which will not be repeated here.
[0206] Please refer to Figure 8, which is a schematic diagram of the structure of another communication device provided in an embodiment of the present application. The communication device can be a second device or a device in the second device (for example, a chip, a chip system, or a circuit). As shown in Figure 8, the communication device 800 includes at least: a transceiver unit 801 and a processing unit 802; wherein:
[0207] The transceiver unit 801 is used to receive a request message from a first device, where the request message is used to request assistance in compressing a first artificial intelligence (AI) model in the first device, where the required resources of the first AI model in the first device are greater than the resources of the first device.
[0208] In one embodiment, the request message includes requirement information of the first AI model in the first device, and the processing unit 802 is configured to select the first AI model in the second device according to the requirement information of the first AI model in the first device.
[0209] In one embodiment, the request message also includes requirement information of the second AI model or a first feedback time. The processing unit 802 is further used to select an initial second AI model in the second device based on the requirement information of the second AI model, and the required resources of the second AI model are less than or equal to the resources of the first device; the first feedback time is used to indicate the maximum time threshold for the second device to feedback AI assistance information of the first AI model in the second device.
[0210] In one embodiment, the transceiver unit 801 is further configured to:
[0211] Sending an AI assistance request message to the third device, where the AI assistance request message includes requirement information of the first AI model in the first device and a second feedback time, where the second feedback time is used to indicate a maximum time threshold for the third device to feedback AI assistance information of the first AI model in the third device;
[0212] An AI assistance response message is received from the third device in response to the AI assistance request message, where the AI assistance response message is used to indicate whether the third device can assist in compressing the first AI model in the first device.
[0213] In one embodiment, the processing unit 802 is further configured to determine an AI model compression scheme based on one or more of the request message, the AI assistance response message, and the resources of the second device.
[0214] In one embodiment, the transceiver unit 801 is further used to send a response message in response to the request message to the first device, where the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
[0215] In one embodiment, the transceiver unit 801 is further configured to receive assistance request information from the first device, where the assistance request information includes one or more of input data, labels, feedback information, and training conditions of the first AI model in the second device and the initial second AI model in the second device;
[0216] The processing unit 802 is further configured to train an initial second AI model in the second device according to the assistance requirement information to obtain a second AI model;
[0217] The transceiver unit 801 is further configured to send the second AI model to the first device.
[0218] In one embodiment, the transceiver unit 801 is further configured to:
[0219] Send assistance request information to a third device based on the AI model compression solution;
[0220] receiving AI assistance information from a third device, where the AI assistance information is determined by the third device based on the first AI model and assistance requirement information in the third device;
[0221] The processing unit 802 is specifically configured to train an initial second AI model in the second device according to the assistance requirement information and the AI assistance information to obtain a second AI model.
[0222] In one embodiment, the transceiver unit 801 is further configured to receive assistance request information from the first device;
[0223] The processing unit 802 is further configured to determine AI assistance information based on the first AI model and the assistance requirement information in the second device.
[0224] In one embodiment, the transceiver unit 801 is further used to send first information to the first device, where the first information is used to indicate the identifier of the AI model corresponding to each AI assistance information in the AI assistance information, the service type information, and the assistance information type.
[0225] For a more detailed description of the transceiver unit 801 and the processing unit 802 , reference may be made to the relevant description of the second device in the method embodiments shown in FIG. 4 to FIG. 6 , which will not be repeated here.
[0226] Based on the above network architecture, please refer to Figure 9, which is a structural diagram of another communication device provided in an embodiment of the present application. As shown in Figure 9, the device 900 may include one or more processors 901, which may also be referred to as a processing unit, and may implement certain control functions. The processor 901 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control a communication device (such as a base station, a baseband chip, a terminal, a terminal chip, a DU or a CU, etc.), execute software programs, and process data of software programs.
[0227] In an optional design, the processor 901 may also store instructions 903 and / or data, and the instructions 903 and / or data can be executed by the processor so that the device 900 performs the method described in the above method embodiment.
[0228] In another optional design, processor 901 may include a transceiver unit for implementing receiving and transmitting functions. For example, the transceiver unit may be a transceiver circuit, an interface, an interface circuit, or a communication interface. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or the transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.
[0229] In another possible design, the apparatus 900 may include a circuit that can implement the functions of sending, receiving, or communicating in the aforementioned method embodiments.
[0230] Optionally, the device 900 may include one or more memories 902, on which instructions 904 and / or data may be stored. The instructions 904 and / or data may be executed on the processor, so that the device 900 performs the method described in the above method embodiment. Optionally, the memory may also store data. Optionally, the processor may also store instructions and / or data. The processor and memory may be provided separately or integrated together. For example, the corresponding relationship described in the above method embodiment may be stored in the memory or in the processor.
[0231] Optionally, the apparatus 900 may further include a transceiver 905 and / or an antenna 906. The processor 901 may be referred to as a processing unit, which controls the apparatus 900. The transceiver 905 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, a transceiver device, or a transceiver module, etc., which is configured to implement transceiver functions.
[0232] Optionally, the device 900 in the embodiment of the present application can be used to execute the method described in Figures 4 to 6 in the embodiment of the present application.
[0233] In one embodiment, the communication device 900 may be a first device, or may be a device within the first device (e.g., a chip, a chip system, or a circuit). When the computer program instructions stored in the memory 902 are executed, the processor 901 is configured to perform the operations performed by the processing unit 701 in the above-described embodiment, and the transceiver 905 is configured to perform the operations performed by the transceiver unit 702 in the above-described embodiment. The transceiver 905 is further configured to send information to other communication devices outside the communication device. The above-described first device or device within the first device may also be configured to perform the various methods performed by the first device in the method embodiments of Figures 4 to 6 above, which will not be described in detail.
[0234] In one embodiment, the communication device 900 can be a second device, or a device in the second device (e.g., a chip, a chip system, or a circuit). When the computer program instructions stored in the memory 902 are executed, the processor 901 is used to perform the operations performed by the processing unit 802 in the above embodiment, and the transceiver 905 is used to perform the operations performed by the transceiver unit 801 in the above embodiment. The transceiver 905 is also used to receive information from other communication devices outside the communication device. The above-mentioned network device or the device in the network device can also be used to perform the various methods performed by the second device in the method embodiments of Figures 4 to 6 above, which will not be repeated here.
[0235] The processor and transceiver described in this application can be implemented on an integrated circuit (IC), an analog IC, a radio frequency interface chip (RFIC), a mixed-signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies.
[0236] The apparatus described in the above embodiments may be the first device or the second device, but the scope of the apparatus described in this application is not limited thereto, and the structure of the apparatus may not be limited to FIG9 . The apparatus may be an independent device or may be part of a larger device.
[0237] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the program can implement the process related to the first device or the second device in the communication method provided in the above method embodiment.
[0238] The present application also provides a computer program product that, when executed on a computer or processor, causes the computer or processor to perform one or more steps of any of the aforementioned communication methods. If the various components of the aforementioned devices are implemented as software functional units and sold or used as independent products, they may be stored in the computer-readable storage medium.
[0239] The present application also provides a chip system, including at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected via a circuit, and the at least one processor is configured to execute a computer program or instruction to perform some or all of the steps described in any of the method embodiments corresponding to Figures 4-6 above. The chip system can be composed of a chip or can include a chip and other discrete devices.
[0240] An embodiment of the present application further discloses a communication system, which includes a first device and a second device. For a specific description, reference may be made to the communication method shown in FIG. 4 to FIG. 6 .
[0241] It should be understood that the memory mentioned in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a hard disk drive (HDD), a solid-state drive (SSD), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), etc. Memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.
[0242] It should also be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0243] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated into the processor.
[0244] It should be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
[0245] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0246] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments provided herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0247] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0248] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0249] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0250] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0251] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0252] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.
[0253] The modules / units in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
Claims
1. A communication method, characterized in that: The method is used for a first device, and the method includes: Determine a request message, the request message being used to request assistance in compressing a first artificial intelligence (AI) model in the first device, where required resources of the first AI model in the first device are greater than resources of the first device; The request message is sent to the second device.
2. The method according to claim 1, characterized in that The request message includes requirement information of the first AI model in the first device, and the requirement information of the first AI model in the first device is used by the second device to select the first AI model in the second device.
3. The method according to claim 2, characterized in that The request message also includes requirement information of the second AI model or a first feedback time. The requirement information of the second AI model is used by the second device to select an initial second AI model in the second device. The second AI model is a model obtained by the second device training the initial second AI model in the second device according to the first AI model in the second device. The required resources of the second AI model are less than or equal to the resources of the first device. The first feedback time is used to indicate a maximum time threshold for the second device to feedback AI assistance information of the first AI model in the second device.
4. The method according to claim 2 or 3, characterized in that: The demand information of the first AI model in the first device includes one or more of business type information of the first AI model in the first device, an identification list of the first AI model in the first device, and an assistance information type.
5. The method according to claim 3, characterized in that: The demand information of the second AI model includes one or more of the business type information of the second AI model, an identification list of the second AI model, and resource limitation information.
6. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: Receive a response message from the second device in response to the request message, wherein the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
7. The method according to claim 6, characterized in that The response message includes information about the first AI model in the second device and information about the initial second AI model in the second device.
8. The method according to claim 6 or 7, characterized in that: The method further comprises: Sending assistance requirement information to the second device, where the assistance requirement information is used to train an initial second AI model in the second device, the assistance requirement information including one or more of input data, labels, feedback information, and training conditions of the first AI model in the second device and the initial second AI model in the second device; A second AI model is received from the second device.
9. The method according to claim 6 or 7, characterized in that: The method further comprises: Determine the AI model compression solution; Determining assistance requirement information based on the AI model compression scheme; sending the assistance request information to the second device; receiving AI assistance information from the second device, where the AI assistance information is determined by the second device according to the first AI model in the second device and the assistance requirement information; An initial second AI model in the first device is trained based on the AI assistance information and the first AI model in the first device to obtain a trained second AI model.
10. The method according to claim 9, characterized in that The method further comprises: Receive first information from the second device, where the first information is used to indicate an identifier of an AI model corresponding to each AI assistance information in the AI assistance information, business type information, and assistance information type.
11. A communication method, characterized in that: The method is used for a second device, and the method includes: A request message is received from a first device, wherein the request message is used to request assistance in compressing a first artificial intelligence (AI) model in the first device, and required resources of the first AI model in the first device are greater than resources of the first device.
12. The method according to claim 11, characterized in that The request message includes requirement information of the first AI model in the first device, and the method further includes: The first AI model in the second device is selected according to the requirement information of the first AI model in the first device.
13. The method according to claim 12, characterized in that The request message also includes requirement information of the second AI model or the first feedback time, and the method further includes: An initial second AI model in the second device is selected according to the requirement information of the second AI model, and the required resources of the second AI model are less than or equal to the resources of the first device; the first feedback time is used to indicate a maximum time threshold for the second device to feed back AI assistance information of the first AI model in the second device.
14. The method according to claim 12 or 13, characterized in that The demand information of the first AI model in the first device includes one or more of business type information of the first AI model in the first device, an identification list of the first AI model in the first device, and an assistance information type.
15. The method according to claim 13, characterized in that The demand information of the second AI model includes one or more of the business type information of the second AI model, an identification list of the second AI model, and resource limitation information.
16. The method according to any one of claims 13 to 15, characterized in that: The method further comprises: Sending an AI assistance request message to a third device, where the AI assistance request message includes requirement information of the first AI model in the first device and a second feedback time, where the second feedback time is used to indicate a maximum time threshold for the third device to feed back AI assistance information of the first AI model in the third device; An AI assistance response message is received from the third device in response to the AI assistance request message, where the AI assistance response message is used to indicate whether the third device can assist in compressing the first AI model in the first device.
17. The method according to claim 16, characterized in that The method further comprises: Determine an AI model compression scheme based on one or more of the request message, the AI assistance response message, and resources of the second device.
18. The method according to any one of claims 12 to 17, characterized in that: The method further comprises: Send a response message in response to the request message to the first device, where the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
19. The method according to claim 18, characterized in that The response message includes information about the first AI model in the second device and information about the initial second AI model in the second device.
20. The method according to claim 18 or 19, characterized in that The method further comprises: receiving assistance requirement information from the first device, the assistance requirement information including one or more of input data, labels, feedback information, and training conditions of the first AI model in the second device and the initial second AI model in the second device; Training an initial second AI model in the second device according to the assistance requirement information to obtain the second AI model; Send the second AI model to the first device.
21. The method according to claim 20, characterized in that The method further comprises: Sending assistance requirement information to a third device based on the AI model compression scheme; receiving AI assistance information from the third device, where the AI assistance information is determined by the third device according to the first AI model in the third device and the assistance requirement information; The step of training the initial second AI model in the second device according to the assistance requirement information to obtain the second AI model includes: An initial second AI model in the second device is trained according to the assistance requirement information and the AI assistance information to obtain the second AI model.
22. The method according to any one of claims 18 or 19, characterized in that: The method further comprises: receiving assistance request information from the first device; Determine AI assistance information according to the first AI model in the second device and the assistance requirement information.
23. The method according to claim 22, characterized in that The method further comprises: Send first information to the first device, where the first information is used to indicate an identifier of an AI model corresponding to each AI assistance information in the AI assistance information, service type information, and assistance information type.
24. A communication device, characterized in that: include: A processing unit, configured to determine a request message, wherein the request message is used to request assistance in compressing a first artificial intelligence (AI) model in the first device, and a required resource of the first AI model in the first device is greater than a resource of the first device; A transceiver unit is used to send the request message to the second device.
25. The device according to claim 24, characterized in that The request message includes requirement information of the first AI model in the first device, and the requirement information of the first AI model in the first device is used by the second device to select the first AI model in the second device.
26. The device according to claim 25, characterized in that The request message also includes requirement information of the second AI model or a first feedback time. The requirement information of the second AI model is used by the second device to select an initial second AI model in the second device. The second AI model is a model obtained by the second device training the initial second AI model in the second device according to the first AI model in the second device. The required resources of the second AI model are less than or equal to the resources of the first device. The first feedback time is used to indicate a maximum time threshold for the second device to feedback AI assistance information of the first AI model in the second device.
27. The device according to claim 25 or 26, characterized in that The demand information of the first AI model in the first device includes one or more of business type information of the first AI model in the first device, an identification list of the first AI model in the first device, and an assistance information type.
28. The device according to claim 26, characterized in that The demand information of the second AI model includes one or more of the business type information of the second AI model, an identification list of the second AI model, and resource limitation information.
29. The device according to any one of claims 25 to 28, characterized in that: The transceiver unit is also used to receive a response message from the second device in response to the request message, wherein the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
30. The device according to claim 29, characterized in that The response message includes information about the first AI model in the second device and information about the initial second AI model in the second device.
31. The device according to claim 29 or 30, characterized in that The transceiver unit is also used for: Sending assistance requirement information to the second device, where the assistance requirement information is used to train an initial second AI model in the second device, the assistance requirement information including one or more of input data, labels, feedback information, and training conditions of the first AI model in the second device and the initial second AI model in the second device; A second AI model is received from the second device.
32. The device according to claim 29 or 30, characterized in that The processing unit is also used for: Determine the AI model compression scheme; Determining assistance requirement information based on the AI model compression scheme; The transceiver unit is also used for: sending the assistance request information to the second device; receiving AI assistance information from the second device, where the AI assistance information is determined by the second device according to the first AI model in the second device and the assistance requirement information; The processing unit is also used to train an initial second AI model in the first device based on the AI assistance information and the first AI model in the first device to obtain a trained second AI model.
33. The device according to claim 32, characterized in that The transceiver unit is also used to receive first information from the second device, where the first information is used to indicate an identifier of an AI model corresponding to each AI assistance information in the AI assistance information, service type information, and assistance information type.
34. A communication device, characterized in that: include: A transceiver unit is used to receive a request message from a first device, wherein the request message is used to request assistance in compressing a first artificial intelligence (AI) model in the first device, and the required resources of the first AI model in the first device are greater than the resources of the first device.
35. The device according to claim 34, characterized in that The request message includes requirement information of the first AI model in the first device, and the apparatus further includes: A processing unit is used to select the first AI model in the second device according to the requirement information of the first AI model in the first device.
36. The device according to claim 35, characterized in that The request message also includes requirement information of the second AI model or a first feedback time. The processing unit is further used to select an initial second AI model in the second device according to the requirement information of the second AI model, and the required resources of the second AI model are less than or equal to the resources of the first device; the first feedback time is used to indicate a maximum time threshold for the second device to feedback AI assistance information of the first AI model in the second device.
37. The device according to claim 35 or 36, characterized in that The demand information of the first AI model in the first device includes one or more of business type information of the first AI model in the first device, an identification list of the first AI model in the first device, and an assistance information type.
38. The device according to claim 36, characterized in that The demand information of the second AI model includes one or more of the business type information of the second AI model, an identification list of the second AI model, and resource limitation information.
39. The device according to any one of claims 36 to 38, characterized in that: The transceiver unit is also used for: Send an AI assistance request message to a third device, where the AI assistance request message includes requirements for the first AI model in the first device information and a second feedback time, where the second feedback time is used to indicate a maximum time threshold for the third device to feed back AI assistance information of the first AI model in the third device; An AI assistance response message is received from the third device in response to the AI assistance request message, where the AI assistance response message is used to indicate whether the third device can assist in compressing the first AI model in the first device.
40. The device according to claim 39, characterized in that The processing unit is also used to determine an AI model compression scheme based on one or more of the request message, the AI assistance response message and the resources of the second device.
41. The device according to any one of claims 35 to 40, characterized in that: The transceiver unit is also used to send a response message in response to the request message to the first device, and the response message is used to indicate that the second device can assist in compressing the first AI model in the first device.
42. The device according to claim 41, characterized in that The response message includes information about the first AI model in the second device and information about the initial second AI model in the second device.
43. The device according to claim 41 or 42, characterized in that The transceiver unit is further used to receive assistance requirement information from the first device, where the assistance requirement information includes one or more of input data, labels, feedback information, and training conditions of the first AI model in the second device and the initial second AI model in the second device; The processing unit is further configured to train an initial second AI model in the second device according to the assistance requirement information to obtain the second AI model; The transceiver unit is also used to send the second AI model to the first device.
44. The device according to claim 43, characterized in that The processing unit is further configured to send assistance requirement information to a third device based on the AI model compression scheme; The transceiver unit is further used to receive AI assistance information from the third device, where the AI assistance information is determined by the third device according to the first AI model in the third device and the assistance requirement information; The processing unit trains an initial second AI model in the second device according to the assistance requirement information to obtain the second AI model, and is specifically used to: train an initial second AI model in the second device according to the assistance requirement information and the AI assistance information to obtain the second AI model.
45. The device according to claim 41 or 42, characterized in that The transceiver unit is further used to receive assistance requirement information from the first device; The processing unit is further configured to determine AI assistance information according to the first AI model in the second device and the assistance requirement information.
46. The device according to claim 45, characterized in that The transceiver unit is further used to send first information to the first device, where the first information is used to indicate an identifier of an AI model corresponding to each AI assistance information in the AI assistance information, service type information, and assistance information type.
47. A communication device, characterized in that: It includes a processor, a memory, an input interface and an output interface, wherein the input interface is used to receive information from other communication devices outside the communication device, and the output interface is used to output information to other communication devices outside the communication device. When the stored computer program stored in the memory is called by the processor, the method described in any one of claims 1 to 10 is implemented, or the method described in any one of claims 11 to 23 is implemented.
48. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program or a computer instruction. When the computer program or the computer instruction is executed by a processor, the method according to any one of claims 1 to 10 is implemented, or the method according to any one of claims 11 to 23 is implemented.
49. A computer program product, characterized in that The computer program product comprises instructions, and when the instructions are executed by a processor, the method according to any one of claims 1 to 10 is implemented, or the method according to any one of claims 11 to 23 is implemented.
50. A communication system, characterized in that: The method comprises a first device and a second device, wherein the first device is used to execute the method according to any one of claims 1 to 10, and the second device is used to execute the method according to any one of claims 11 to 23.
Citation Information
Patent Citations
Data processing method, end side device, cloud side device and end-cloud cooperative system
CN108243216A
Deep neural network compression method based on reinforcement learning
CN110728361A
Model deployment method and device, electronic equipment and storage medium
CN115049057A
Model processing method, communication device and system
CN115150847A
Edge inference for artifical intelligence (AI) models
US20210174163A1
Cited By
Resource coordination method and device, storage medium and chip system
CN121619600A
Resource coordination method and apparatus, storage medium, and chip system
CN121619600B
