A knowledge retention and prototyping cross-pollination multi-modal distributed machine learning system

By collaboratively optimizing knowledge retention training and prototype cross-aggregation modules, the problems of modal missingness and non-independent and identically distributed data in visually impaired VQA systems are solved, enabling visually impaired users to access efficient, reliable, and privacy-secure multimodal visual question answering services in different scenarios.

CN123178541APending Publication Date: 2026-11-27SHANGHAI JIAOTONG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611168977.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-03
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Visually impaired VQA systems face problems of modality loss and non-independent and identically distributed data in federated learning, leading to model performance degradation and instability in cross-scenario use, which existing methods cannot effectively solve.

Method used

By employing a knowledge retention training module combined with modal prototype masks and joint loss functions, and optimizing model training on both the client and server sides through a prototype cross-aggregation module, cross-modal semantic consistency and knowledge complementarity are achieved.

Benefits of technology

Significantly improves model accuracy and stability under high modality missing rate, ensuring reliable question-and-answer services for visually impaired users in different scenarios and meeting privacy protection requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178541A_ABST
    Figure CN123178541A_ABST
Patent Text Reader

Abstract

The application discloses a kind of knowledge reservation and prototype cross-aggregation multimodal distributed machine learning systems, it is related to visual artificial intelligence field.The knowledge reservation training module of the present application is combined with modal prototype mask and joint loss function optimization, realize local key semantic knowledge reservation under the condition of modal loss in visual impairment VQA scene, alleviate semantic information loss, task drift and class forgetting problem from bottom. Prototype cross-aggregation strategy, through fine-grained collaborative prototype screening and weighted cross-aggregation, construct robust cross-scene semantic association, significantly improve the generalization ability of prototype between different visual impairment application scene clients such as home identification, travel navigation, realize efficient knowledge complementation across user groups.The present application simultaneously solves the double challenge of modal loss and data non-independent and identically distributed in visual impairment VQA federated learning, provides reliable, privacy-safe multimodal visual question answering service for visual impairment population.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of visual artificial intelligence, and more particularly to a multimodal distributed machine learning system that combines knowledge preservation and prototype cross-aggregation. Background Technology

[0002] Visual Question Answering (VQA) systems for the visually impaired are an important application of artificial intelligence in serving society. Visually impaired users take pictures of their surroundings using terminal devices (such as smart glasses or smartphones) and input voice or text questions (such as "What object is in front of me?" or "What is the expiration date of this medicine?"). The system automatically analyzes the image content and provides voice answers, helping visually impaired individuals perceive and understand their environment. This application has significant social value in improving the quality of life for the visually impaired and is also an important technological support for the construction of accessible environments in China.

[0003] However, the large-scale deployment of VQA systems for the visually impaired faces severe challenges in data privacy and collaborative training. VQA systems rely on large amounts of image-text pairing data for model training, while images taken by visually impaired users often contain highly sensitive information such as personal life scenes, home environments, and medical items. Traditional centralized training models require aggregating user images and problem data to a central server, which can easily lead to serious privacy leaks. Federated Learning (FL), as a distributed machine learning paradigm, can achieve multi-client collaborative model training without sharing raw data, fundamentally solving the data privacy protection problem and becoming the core technical solution for training visually impaired VQA systems.

[0004] In practical applications of VQA federated learning for the visually impaired, two core challenges have remained unresolved: First, the problem of missing modalities is extremely common. In actual use, visually impaired users are often limited by factors such as poor lighting conditions (camera cannot capture clear images), user unfamiliarity with operation (not aiming at the target object), limited device storage space (only audio is saved), or users only describe the scene by voice without taking pictures. As a result, the client often can only provide single-modal data—some samples only have images without corresponding text questions, or only voice / text questions without corresponding images. This leads to the break in cross-modal semantic dependencies and a significant degradation in model performance.

[0005] Second, the client-side data exhibits significant non-independent and identically distributed (non-iID) characteristics. The usage scenarios for different visually impaired users vary greatly: elderly visually impaired users may primarily use the system in their home environment (identifying medicine and food packaging), while younger visually impaired users may use it more for outdoor travel (identifying traffic signs and buildings). Users from different regions also encounter completely different categories of environmental objects. This significant difference in data distribution among clients further exacerbates the semantic information loss caused by modality deficiency, leading to model "task drift"—drastic performance fluctuations when switching between different user scenarios—and "category forgetting"—after training on data from one type of user, the model's ability to identify other types of users drops sharply, severely impacting the generalization ability and practical usability of the overall model.

[0006] Existing multimodal federated learning frameworks have significant technical limitations: most methods assume that the client has complete image-text pairing data, which cannot adapt to the common modality loss situation in visually impaired VQA scenarios; some methods use simple masking strategies such as zero-filling and random initialization to handle missing modalities, failing to capture the deep semantic relationships between images and text, resulting in severe loss of semantic information; and some methods rely on public auxiliary datasets to complete modalities, violating the core privacy protection principle of federated learning. Furthermore, most existing methods cannot simultaneously address the dual challenges of modality loss and non-independent, identically distributed data. In the highly heterogeneous real-world scenario of visually impaired VQA, coarse-grained model or prototype aggregation strategies have extremely poor generalization ability, and model performance drops precipitously under high modality loss rates, failing to meet the actual deployment needs of visually impaired assistive products.

[0007] Therefore, those skilled in the art are dedicated to developing a multimodal distributed machine learning system that combines knowledge preservation and prototype cross-aggregation. This system simultaneously addresses the dual challenges of modality loss and non-independent, identically distributed data in visually impaired VQA federated learning, providing reliable and privacy-secure multimodal visual question answering services for the visually impaired. Summary of the Invention

[0008] In view of the above-mentioned deficiencies of the prior art, the technical problem to be solved by the present invention is the lack of modality and the non-independent and identically distributed data in VQA federated learning for the visually impaired.

[0009] To achieve the above objectives, the present invention provides a multimodal distributed machine learning system for knowledge preservation and prototype cross-aggregation, including a knowledge preservation training module and a prototype cross-aggregation module; The knowledge retention training module combines modality prototype masking and joint loss function optimization to achieve local semantic knowledge retention under modality missing conditions in visually impaired VQA scenarios. The prototype cross-aggregation module constructs cross-scenario semantic associations through fine-grained collaborative prototype screening and weighted cross-aggregation.

[0010] Furthermore, the knowledge retention training module first constructs a category-level local prototype based on the client's non-missing modal data. This local prototype, along with the server-issued cross-prototype, serves as a mask for the missing modalities, injecting global prior semantic information into them. This directly compensates for information loss caused by modal missingness and avoids cross-modal semantic breaks caused by the simple zero-filling strategy. Simultaneously, a joint loss function is constructed, fusing task calibration mean squared error (MSE) loss and cross-loss. This joint loss is obtained by a weighted sum of the task calibration loss and cross-loss, with the weight coefficients being knowledge retention strength hyperparameters (ranging from 0 to 1, with 0.3 in this embodiment). The task calibration loss measures the difference between the model's predicted output and the true answer label on the complete data after modal completion. The cross-loss constrains the consistency of the predicted distribution between the local prototype and the cross-prototype using KL divergence. Through this joint loss, external knowledge of the global visually impaired user data distribution is retained, mitigating the forgetting phenomenon in category prediction under non-independent and identically distributed scenarios. This maintains the model's cross-modal semantic consistency during local training, preventing task drift when switching between different visually impaired user scenarios.

[0011] Furthermore, the prototype cross-aggregation module first uses a minimum similarity strategy to filter collaborative prototypes (collaborative prototypes refer to prototypes from other clients whose data distribution differs most from the current client's, used to introduce complementary knowledge) for the local prototypes uploaded by each visually impaired user's client. It then uses the Pearson correlation coefficient to quantify the degree of difference between prototypes in different scenarios, matching the collaborative prototype with the lowest similarity to the target prototype. This proactively matches knowledge from other visually impaired users with the greatest differences in usage scenarios, maximizing the amount of knowledge acquired in each training round and achieving knowledge complementarity between different visually impaired application scenarios. Next, it performs fine-grained cross-aggregation of local prototypes and collaborative prototypes through weighted fusion, generating new cross-prototypes that are sent to the client. Simultaneously, on the client's local machine, it dynamically weights and fuses local prototypes and cross-prototypes through cross-loss to generate a local prototype for upload, balancing the semantic uniqueness of the user's local scenario with global cross-scenario semantic consistency, ultimately constructing a unified cross-modal semantic space suitable for all visually impaired users.

[0012] Furthermore, the prototype cross-aggregation module is executed on the server side.

[0013] Furthermore, in the knowledge retention training module, the server broadcasts the global VQA model and cross-prototype to all visually impaired user clients participating in the training; after receiving them, each visually impaired user client generates a low-dimensional embedding vector based on its existing local non-missing modal data through a modality encoder.

[0014] Furthermore, the knowledge retention training module uses the BEiTv3 architecture for its encoder.

[0015] Furthermore, in the knowledge retention training module, the image encoder uses a ViT-Large backbone network to extract features of the surrounding environment images taken by visually impaired users.

[0016] Furthermore, in the knowledge retention training module, the question text encoder uses a multi-layer Transformer to extract features of the speech-to-text questions or input text questions of visually impaired users.

[0017] Furthermore, the workflow includes: At the start of each round of federated communication, the server broadcasts the global model and cross-prototype to all participating clients; After receiving the data, each client generates a low-dimensional embedding vector based on the local non-missing modal data through a modal encoder, and calculates the mean by category to construct a local prototype. For training samples with missing modalities, the client uses the local prototype or cross prototype of the corresponding modality as a semantic mask to replace the input of the missing modality and compensate for the loss of semantic information caused by the missing modality. During local training, the client constructs a joint loss function that integrates task calibration loss and cross loss. It uses KL divergence to constrain the consistency of the prediction distribution of the local prototype and the cross prototype, and completes the gradient update of the local model based on the joint loss function. While retaining the key local semantic knowledge, it incorporates global distribution knowledge. After each client completes local training, the local prototype and the cross prototype are dynamically weighted and fused using cross loss (the fusion weight is calculated based on the cross loss value; the smaller the cross loss, the more consistent the prototype is with global knowledge, and the higher the fusion weight is assigned). This generates a local prototype to be uploaded and transmits it to the server along with the local model parameters. The original data is always stored locally on each client, and no plaintext data is uploaded throughout the process. After receiving the local prototypes uploaded by all clients, the server uses a minimum similarity strategy to select collaborative prototypes for each target prototype, thereby maximizing knowledge complementarity among heterogeneous clients. Subsequently, the server performs cross-aggregation of local prototypes and corresponding collaborative prototypes through weighted fusion to generate new cross prototypes. At the same time, based on the sample size of each client's local dataset, the server performs a weighted average of all local models to update the global model. At the start of a new round of communication, the server broadcasts the updated global model and cross-prototype to each client, forming a complete closed-loop training process, continuously optimizing cross-modal semantic associations, and improving the model's generalization ability among heterogeneous clients.

[0018] Furthermore, the similarity strategy uses the Pearson correlation coefficient as the similarity metric.

[0019] In real-world VQA federated learning scenarios for visually impaired users, clients commonly suffer from missing image or text modalities. Furthermore, the non-independent and identically distributed nature of data across different user scenarios (home recognition, outdoor travel, etc.) exacerbates the semantic information loss caused by modal missingness. This leads to models performing well in one user scenario but exhibiting "task drift" and "category forgetting" when switching to other scenarios, severely impacting the cross-scenario user experience for visually impaired users. Existing methods cannot effectively preserve cross-modal semantic dependencies between images and text while protecting user privacy, resulting in a sharp decline in model accuracy under high missing rates. This invention proposes a Knowledge Preservation Training (KPT) module, combining modal prototype masking and joint loss function optimization to achieve local key semantic knowledge preservation under modal missing conditions in visually impaired VQA scenarios, mitigating semantic information loss, task drift, and category forgetting problems from the ground up. This invention's KPT mechanism first constructs category-level local prototypes (such as semantic centers of objects like "traffic lights," "medicine bottles," and "tactile paving") based on client-side non-missing modal data (image-only or text / speech-only questions). These local prototypes and server-delivered cross-prototypes are then used as masks for missing modalities, injecting global prior semantic information into them. This directly compensates for information loss due to modality absence and avoids cross-modal semantic breaks caused by simple strategies like zero-filling. Simultaneously, a joint loss function fusing task calibration MSE loss and cross-loss is constructed. KL divergence constrains the consistency of prediction distributions between local and cross-prototypes, preserving external knowledge of the global visually impaired user data distribution. This alleviates category prediction forgetting in non-independent, identically distributed scenarios and continuously maintains cross-modal semantic consistency during local training, preventing task drift when switching between different visually impaired user scenarios. Through the KPT mechanism, this invention significantly improves the semantic information preservation capability and training stability of visually impaired VQA models in modality-missing scenarios, effectively addressing the core pain points of cross-scenario task drift and category forgetting. On the tiny-VizWiz-VQA dataset (which was specifically designed for visually impaired users), when the modality missing rate is 0.8, the model with only KPT introduced achieves a 6.28% improvement in accuracy compared to the baseline FedAvg (from 32.58% to 38.86%). Under the total missing rate gradient of 0.2-0.8, the overall Sum score of the model improves by 13.27% compared to the baseline FedAvg (from 195.58 to 206.05). It can still maintain stable performance in high missing rate scenarios, ensuring that visually impaired users can obtain reliable question-answering services in different usage scenarios.

[0020] Existing multimodal federated learning methods mostly employ coarse-grained local prototype aggregation strategies. In client environments where visually impaired users experience highly heterogeneous usage scenarios (different regions, ages, and lifestyles), the generated prototypes lack generality, fail to construct unified cross-scene semantic associations for home / outdoor environments, and struggle to adapt to visually impaired users with varying data distributions. This further exacerbates model performance degradation in modality-deficient scenarios and hinders effective knowledge sharing among different visually impaired user groups. This invention proposes a Prototype Cross-Aggregation (PCA) strategy. Through fine-grained collaborative prototype selection and weighted cross-aggregation, it constructs robust cross-scene semantic associations, significantly improving the generalization ability of prototypes across different visually impaired application scenarios such as home recognition and navigation, achieving efficient knowledge complementarity across user groups. The PCA strategy of this invention is executed on the server side. First, for the local prototypes uploaded by visually impaired users' clients, a minimum similarity strategy is used to select collaborative prototypes. The Pearson correlation coefficient is used to quantify the differences between prototypes in different scenarios, matching the target prototype with the collaborative prototype with the lowest similarity—that is, actively matching the knowledge of other visually impaired users with the greatest differences in usage scenarios—maximizing the amount of knowledge acquired in each training round and achieving knowledge complementarity between different visually impaired application scenarios. Then, a weighted fusion method is used to perform fine-grained cross-aggregation of local prototypes and collaborative prototypes, generating new cross prototypes that are sent to the client. Simultaneously, on the client side, local prototypes and cross prototypes are dynamically weighted and fused using cross-loss to generate the local prototype for upload, balancing the semantic uniqueness of the user's local scenario with global cross-scenario semantic consistency. Finally, a unified cross-modal semantic space adapted to all visually impaired users is constructed. This invention's PCA strategy effectively enhances the universality of prototypes across clients in different visually impaired application scenarios such as home, outdoor, and medical settings, constructing a more robust cross-scenario semantic association. On the tiny-VizWiz-VQA dataset, when the modality missing rate is 0.8, the model with PCA alone improves accuracy by 7.69% compared to the baseline FedAvg (from 32.58% to 40.27%). When KPT and PCA work together, the model achieves an accuracy of 44.28% in visually impaired VQA scenarios with a modality missing rate of 0.8, which is an improvement of 11.7% compared to FedAvg and 10.44% compared to FedProx. The overall Sum score under the full missing rate gradient is 216.07, which is a significant improvement over all baseline methods. The performance advantage is particularly prominent in high missing rate scenarios, effectively ensuring the system usability for visually impaired users under various real-world usage conditions.

[0021] This invention proposes a multimodal distributed machine learning framework (KPPC) that combines knowledge preservation and prototype cross-aggregation, aiming to simultaneously address the dual challenges of modality missingness and non-independent, identically distributed data in multimodal federated learning. KPPC consists of two core modules: knowledge preservation training and prototype cross-aggregation. The workflow of KPPC is as follows:Figure 1 As shown: At the start of each round of federated communication, the server broadcasts the global model and cross-prototype to all participating clients.

[0022] After receiving the data, each client generates a low-dimensional embedding vector based on the local non-missing modal data through a modality encoder, and calculates the mean by category to construct a local prototype.

[0023] For training samples with missing modalities, the client uses the local prototype or cross-prototype of the corresponding modality as a semantic mask to replace the input of the missing modality, compensating for the semantic information loss caused by the missing modality. During local training, the client constructs a joint loss function that integrates task calibration loss and cross-loss, constrains the consistency of the prediction distribution of the local prototype and the cross-prototype through KL divergence, and completes the gradient update of the local model based on the joint loss function. While retaining key local semantic knowledge, it incorporates global distribution knowledge to avoid task drift and category forgetting in the model.

[0024] After each client completes local training, it dynamically weights and fuses the local prototype and the cross prototype using cross-loss to generate the local prototype to be uploaded, which is then transmitted to the server along with the local model parameters. The raw data remains stored locally on each client, with no plaintext data uploaded throughout the process, strictly protecting user privacy.

[0025] After receiving all local prototypes uploaded by clients, the server employs a minimum similarity strategy (using Pearson correlation coefficient as the similarity metric) to select collaborative prototypes for each target prototype, maximizing knowledge complementarity among heterogeneous clients. Subsequently, the server performs weighted fusion to cross-aggregate local prototypes with their corresponding collaborative prototypes, generating new cross prototypes. Simultaneously, based on the sample size of each client's local dataset, the server updates the global model by performing a weighted average of all local models.

[0026] At the start of a new round of communication, the server broadcasts the updated global model and cross-prototype to each client, forming a complete closed-loop training process, continuously optimizing cross-modal semantic associations, and improving the model's generalization ability among heterogeneous clients.

[0027] Compared with the prior art, the present invention has the following obvious substantive features and significant advantages: 1. Technical Advantages of this Invention: The KPPC framework proposed in this invention, through the collaboration of two core modules, KPT and PCA, simultaneously solves the dual challenges of modal missingness (users only upload images or only input voice questions) and non-independent and identically distributed data (different visually impaired users have vastly different usage scenarios) in visually impaired VQA federated learning for the first time, filling a technological gap in the field of accessibility assistive AI; the missing modality compensation mechanism based on prototype mask does not rely on any public assistive datasets, and sensitive data such as images and voice questions from the personal life scenarios of visually impaired users do not need to be uploaded throughout the process, fully complying with the requirements for protecting the personal information of the visually impaired community; the modular design can be plugged and plugged into mainstream federated learning architectures, and the lightweight prototype aggregation and knowledge preservation training will not bring excessive communication and computing overhead, and can be directly deployed on visually impaired assistive terminal devices (smart glasses, smartphones, etc.); it achieves stable performance improvement under a full modal missing rate gradient of 0.2-0.8, and still maintains excellent accuracy and robustness, especially in scenarios with high missing rates (such as visually impaired users only input voice questions without images), making up for the performance shortcomings of existing technologies in extreme missing scenarios of visually impaired assistance. The server-side prototype aggregation overhead is minimal; a typical aggregation of 50 visually impaired user clients can be completed in just 2.3 seconds, fully meeting the needs of real-time collaborative training.

[0028] 2. Performance metrics of the invention: The invention has been fully experimentally validated on the VizWiz-VQA real dataset, which is specially designed for visually impaired people, and its performance comprehensively surpasses existing mainstream federated learning baseline methods. On the tiny-VizWiz-VQA dataset, with modality missing rates of 0.2 / 0.4 / 0.6 / 0.8, the model accuracy reached 62.51%, 57.14%, 52.14%, and 44.28%, respectively, and the full gradient Sum score reached 216.07, an improvement of 20.49 over the baseline FedAvg and 25.92 over FedProx. On the full-scale VizWiz-VQA dataset (real image-question pairs from 110,000 visually impaired users), KPPC's performance degradation was minimal (less than 0.5 percentage points), validating its practicality in real-world visually impaired assistive big data environments. Even with an extremely high modality missing rate of 80% (a large number of visually impaired users only provided voice questions), the model's performance degradation was significantly lower than all baseline methods, demonstrating strong scene robustness and ensuring that visually impaired users can still obtain reliable question-answering services under adverse conditions such as insufficient lighting and camera malfunction.

[0029] 3. This invention facilitates production and implementation: The invention adopts a modular and decoupled architecture design. The KPT and PCA modules can be deployed independently and flexibly combined, directly adapting to the federated learning system architecture of existing visually impaired assistive products (such as smart canes, guide glasses, and accessible mobile applications) without requiring large-scale modifications to existing hardware and software systems. During training, the client only needs to upload local model parameters and low-dimensional prototype vectors (dimension d=256), with communication overhead comparable to traditional federated learning methods. This results in minimal bandwidth and power consumption for visually impaired terminal devices, without affecting their daily assistive functions. It can natively adapt to various visually impaired VQA data combinations, such as image-text and image-speech, without requiring large-scale architectural adjustments for specific modal types, demonstrating strong scenario adaptability. The training mode ensures that the visually impaired user's personal data remains locally throughout the entire process, fully meeting the privacy protection requirements for sensitive data of the visually impaired group. It can be seamlessly implemented in practical application scenarios such as disability service organizations, assistive device manufacturers, and accessible internet platforms.

[0030] 4. Industrial Application Prospects of this Invention: KPPC can be widely applied in the field of accessibility assistance for visually impaired individuals. Specifically, based on visually impaired VQA scenarios such as VizWiz, a collaborative multimodal visual question-answering system can be built across devices and user groups, while protecting the privacy of visually impaired users' personal lives. Various visually impaired assistive terminals can jointly train VQA models without centrally uploading users' personal image and voice data, significantly improving the recognition accuracy and robustness of visually impaired assistive tools in different usage scenarios and under extreme conditions.

[0031] This invention can be extended to rehabilitation service institutions for the disabled, building a distributed visual impairment assistive model training platform across different rehabilitation centers. Without disclosing the privacy data of visually impaired patients in each center, it aggregates knowledge from multiple sources to train a more universal and accurate visual impairment assistive VQA model. This invention can also be adapted to smart home device manufacturers, collaboratively training home assistive recognition models for visually impaired users in different home environments, helping visually impaired individuals more accurately identify everyday items, food packaging, medicine instructions, and other key information in their lives.

[0032] This invention can significantly improve the recognition accuracy and scene adaptability of visually impaired VQA systems while protecting the privacy of visually impaired users. It has enormous social benefits and market potential, and can effectively improve the quality of life for the visually impaired community, promoting the development of information accessibility. In summary, this invention can promote the large-scale implementation of multimodal AI-assisted technology in the field of visually impaired services, creating significant economic and social value.

[0033] The following will further explain the concept, specific structure, and technical effects of the present invention in conjunction with the accompanying drawings, so as to fully understand the purpose, features, and effects of the present invention. Attached Figure Description

[0034] Figure 1 This is a preferred embodiment of the KPPC framework of the present invention. Detailed Implementation

[0035] The following description, with reference to the accompanying drawings, illustrates several preferred embodiments of the present invention to make its technical content clearer and easier to understand. The present invention can be embodied in many different forms, and the scope of protection of the present invention is not limited to the embodiments mentioned herein.

[0036] In the accompanying drawings, components with the same structure are indicated by the same numerical designation, and components with similar structures or functions are indicated by similar numerical designations. The dimensions and thicknesses of each component shown in the drawings are arbitrary, and the present invention does not limit the dimensions and thicknesses of each component. To make the illustrations clearer, the thickness of some components has been appropriately exaggerated in the drawings.

[0037] This invention, KPPC, is a multimodal distributed machine learning framework that combines knowledge preservation and prototype cross-aggregation. It aims to simultaneously address the dual challenges of modality loss and non-independent, identically distributed data in visual question answering (VQA) federated learning for the visually impaired, providing reliable and privacy-secure multimodal visual question answering services. KPPC consists of two core modules: Knowledge Preservation Training (KPT) and Prototype Cross-Aggregation (PCA). The following are specific implementations of KPPC in visually impaired VQA scenarios: Example 1: Knowledge Retention Training (KPT) Module Knowledge retention training is a core module of the KPPC framework, used to address semantic information loss, cross-scene task drift, and category forgetting issues caused by modality absence in VQA scenarios for visually impaired users. In practical use, visually impaired users may encounter situations where they only have captured images without audio or text questions, or only have audio or text questions without corresponding images.

[0038] First, the server broadcasts the global VQA model and cross-prototype to all visually impaired user clients participating in the training. Upon receiving the data, each visually impaired user client generates a low-dimensional embedding vector based on its existing local non-missing modal data (either images only or question text only), using a modality encoder. In this embodiment, the encoder adopts the BEiTv3 architecture: the image encoder uses a ViT-Large backbone network to extract features from the surrounding environment images captured by the visually impaired user; the question text encoder uses a multi-layer Transformer to extract features from the visually impaired user's speech-to-text question or input text question. Both are mapped to a shared prototype space through modality-specific linear projection layers, allowing image semantics and question semantics to be compared in the same space.

[0039] The client calculates the mean of the embedding vectors for each VQA answer category and constructs a local prototype. The image prototype represents the visual semantic center of that type of object in the user scenario, and the text prototype represents the semantic center of that type of question in the user scenario.

[0040] For training samples with missing modalities, the client uses the local prototype or cross-prototype of the corresponding modality as a semantic mask to replace the input of the missing modality. Specifically, when a visually impaired user only has an image and no text question, the missing question semantics are completed using the text prototype of that category; when a visually impaired user only has a text question and no image, the missing image semantics are completed using the image prototype of that category. The task calibration loss uses mean squared error (MSE) loss to measure the difference between the model's predicted output and the true answer label on the complete data after modality completion (including the real modality and the prototype-completed modality). Because the inherent continuity of mean squared error in the embedding space can effectively maintain the semantic relative relationship between object categories such as "traffic light" and "medicine bottle" when the prototype replaces the missing modality, it prevents the semantic distortion of the feature space caused by classification losses such as cross-entropy under the missing modality, so that the image-question semantics after completion remain coherent.

[0041] During local training, the client constructs a joint loss function that integrates task calibration loss and cross-prototype loss. The joint loss is obtained by weighted summation of the task calibration loss and cross-prototype loss, with the weights being the knowledge retention strength hyperparameters (0.3 in this embodiment). The cross-prototype loss is defined as the KL divergence between the prediction vector based on the local prototype and the prediction vector based on the cross-prototype. Soft label prediction with a temperature coefficient is used, and the temperature coefficient (4 in this embodiment) is used for the softmax operation in the KL divergence calculation. The larger the value of this coefficient, the smoother the prediction probability distribution, which can retain richer relative relationship information (dark knowledge) between different answer categories in visually impaired VQA. For example, it retains the semantic association between outdoor travel-related categories such as "tactile paving" and "pedestrian crossing," helping users in different usage scenarios benefit from each other. By constraining the consistency of the prediction distribution between the local prototype and the cross-prototype through KL divergence, while retaining the key semantic knowledge of the local visually impaired user scenario, it incorporates the distribution knowledge of the global visually impaired user group, avoiding task drift and category forgetting when the model switches between different visually impaired user groups.

[0042] Example 2: Prototype Cross-Aggregation (PCA) Module

[0043] In the KPPC framework, the prototype cross-aggregation module and the knowledge preservation training module work together to solve the problems of poor prototype universality and inability to build unified cross-modal semantic associations in heterogeneous client scenarios.

[0044] After each client completes local training, it dynamically weights and fuses the local prototype and the cross prototype using cross loss to generate the local prototype to be uploaded. The dynamic fusion weights are calculated from the cross loss. This mechanism ensures that when there is a conflict between local and global semantics, the fusion weights are dynamically adjusted to avoid performance loss caused by extreme aggregation.

[0045] Each client transmits its generated local prototype to the server. After receiving all the local prototypes uploaded by the clients, the server employs a minimum similarity strategy to select collaborative prototypes for each target prototype—that is, actively seeking out and fusing knowledge from other clients with the greatest differences in data distribution. The similarity metric used is the Pearson correlation coefficient, which measures the linear correlation between two vectors while eliminating the influence of differences in vector means, exhibiting better robustness in scenarios where they are not independent and identically distributed.

[0046] The server uses minimum similarity filtering to match a specified number of co-prototypes with the lowest similarity for each target prototype, maximizing knowledge complementarity among heterogeneous clients. Subsequently, the server performs weighted fusion to cross-aggregate local prototypes with their corresponding co-prototypes, generating new cross-prototypes to balance local specificity and co-generalization. Simultaneously, the server updates the global model by performing a weighted average of all local models based on the sample size of each client's local dataset.

[0047] At the start of a new round of communication, the server broadcasts the updated global model and cross-prototypes to each client, forming a complete closed-loop training process. This closed loop continuously optimizes cross-modal semantic associations, retains key semantics from each client through knowledge preservation training, and integrates heterogeneous knowledge through cross-prototype aggregation, significantly improving the model's generalization ability across heterogeneous clients and under high modality missing rates.

[0048] This embodiment has been thoroughly validated on the visually impaired VQA dataset. The dataset is divided into multiple clients using a Dirichlet distribution to simulate non-independent and identically distributed data from different user groups, with missing rates set to 0.2, 0.4, 0.6, and 0.8 for each modality. The AdamW optimizer is used for training, employing a step-down learning rate decay strategy and gradient pruning to stabilize local training. Experimental results show that KPPC significantly outperforms all baseline methods, including FedAvg, FedProx, FedPAC, FedLC, FedALA, FedIoT, FedDAT, and FedMAC, across all modality missing rates, achieving an accuracy of 44.28% and an overall score of 216.07 at a missing rate of 0.8. Furthermore, validation results on a full-scale dataset demonstrate that KPPC maintains consistently superior performance in real-world industrial big data environments, validating its feasibility for practical product deployment.

[0049] The preferred embodiments of the present invention have been described in detail above. It should be understood that those skilled in the art can make numerous modifications and variations based on the concept of the present invention without creative effort. Therefore, all technical solutions that can be obtained by those skilled in the art based on the concept of the present invention through logical analysis, reasoning, or limited experimentation on the basis of existing technology should be within the scope of protection defined by the claims.

Claims

1. A multimodal distributed machine learning system that combines knowledge preservation and prototype cross-aggregation, characterized in that, This includes a knowledge retention training module and a prototype cross-aggregation module; The knowledge retention training module combines modality prototype masking and joint loss function optimization to achieve local semantic knowledge retention under modality missing conditions in visually impaired VQA scenarios. The prototype cross-aggregation module constructs cross-scenario semantic associations through fine-grained collaborative prototype screening and weighted cross-aggregation.

2. In the knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 1, the knowledge retention training module first constructs a category-level local prototype based on the client's non-missing modality data. The local prototype and the cross-prototype issued by the server are used as masks for the missing modalities, injecting global prior semantic information into the missing modalities to directly compensate for the information loss caused by modality missingness and avoid cross-modal semantic breaks caused by the simple zero-filling strategy. Simultaneously, a joint loss function is constructed that integrates task calibration MSE loss and cross-loss. KL divergence is used to constrain the consistency of the prediction distribution of the local prototype and the cross-prototype, preserving external knowledge of the global visually impaired user data distribution, alleviating the forgetting phenomenon in category prediction under non-independent and identically distributed scenarios, and continuously maintaining the model's cross-modal semantic consistency during local training to avoid task drift when the model switches between different visually impaired user scenarios.

3. In the knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 1, the prototype cross-aggregation module first uses a minimum similarity strategy to screen collaborative prototypes for the local prototypes uploaded by each visually impaired user's client. It then uses the Pearson correlation coefficient to quantify the differences between prototypes in different scenarios, matching the collaborative prototype with the lowest similarity to the target prototype. This proactively matches the knowledge of other visually impaired users with the greatest differences in usage scenarios, maximizing the amount of knowledge acquired in each training round and achieving knowledge complementarity between different visually impaired application scenarios. Next, it performs fine-grained cross-aggregation of local prototypes and collaborative prototypes through weighted fusion to generate new cross-prototypes that are sent to the client. Simultaneously, on the client's local machine, it dynamically weights and fuses local prototypes and cross-prototypes through cross-loss to generate a local prototype for upload, balancing the semantic uniqueness of the user's local scenario with global cross-scenario semantic consistency, ultimately constructing a unified cross-modal semantic space suitable for all visually impaired users.

4. In the knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 1, the prototype cross-aggregation module is executed on the server side.

5. In the knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 1, the knowledge retention training module involves the server broadcasting the global VQA model and cross-prototype to all visually impaired user clients participating in the training; upon receiving the data, each visually impaired user client generates a low-dimensional embedding vector based on its existing local non-missing modal data using a modality encoder.

6. In the knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 4, the encoder of the knowledge retention training module adopts the BEiTv3 architecture.

7. In the knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 4, the knowledge retention training module uses a ViT-Large backbone network to extract features of the surrounding environment images taken by visually impaired users.

8. In the knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 4, the knowledge retention training module uses a multi-layer Transformer to extract features of the speech-to-text questions or input text questions of visually impaired users.

9. The knowledge preservation and prototype cross-aggregation multimodal distributed machine learning system as described in claim 1, the workflow includes: At the start of each round of federated communication, the server broadcasts the global model and cross-prototype to all participating clients; After receiving the data, each client generates a low-dimensional embedding vector based on the local non-missing modal data through a modal encoder, and calculates the mean by category to construct a local prototype. For training samples with missing modalities, the client uses the local prototype or cross prototype of the corresponding modality as a semantic mask to replace the input of the missing modality and compensate for the loss of semantic information caused by the missing modality. During local training, the client constructs a joint loss function that integrates task calibration loss and cross loss. It uses KL divergence to constrain the consistency of the prediction distribution of the local prototype and the cross prototype, and completes the gradient update of the local model based on the joint loss function. While retaining the key local semantic knowledge, it incorporates global distribution knowledge. After each client completes local training, it dynamically weights and fuses the local prototype and the cross prototype through cross loss to generate the local prototype to be uploaded and transmits it to the server along with the local model parameters; the raw data is always stored locally on each client and no plaintext data is uploaded throughout the process. After receiving the local prototypes uploaded by all clients, the server uses a minimum similarity strategy to select collaborative prototypes for each target prototype, thereby maximizing knowledge complementarity among heterogeneous clients. Subsequently, the server performs cross-aggregation of local prototypes and corresponding collaborative prototypes through weighted fusion to generate new cross prototypes. At the same time, based on the sample size of each client's local dataset, the server performs a weighted average of all local models to update the global model. At the start of a new round of communication, the server broadcasts the updated global model and cross-prototype to each client, forming a complete closed-loop training process, continuously optimizing cross-modal semantic associations, and improving the model's generalization ability among heterogeneous clients.

10. The knowledge retention and prototype cross-aggregation multimodal distributed machine learning system as described in claim 9, wherein the similarity strategy uses the Pearson correlation coefficient as the similarity metric.