Two-Sided Dialog Modeling With Hidden-State Federated Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing dialogue systems face challenges in training neural models with private datasets due to privacy concerns and high communication costs, particularly when using federated learning, which can compromise user privacy and overwhelm limited computational resources.

Innovation Solution

A two-sided modeling framework using GPT models, such as GPT-2 and GPT-3, trains neural dialog systems in a federated learning setting by transferring only hidden states and sparsified gradients, avoiding raw data transmission and optimizing communication costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If federated learning is used to train neural models with private datasets, then user privacy is protected, but communication costs increase and computational resources are overwhelmed

Engineering Contradiction:
Improveprivacy protectionVSAvoidcommunication costs
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts only the essential gradient information needed for model training while discarding redundant data. Specifically, it uses gradient sparsification to select and transmit only the most important gradient components from client devices to the central server, significantly reducing communication overhead while maintaining training effectiveness and privacy protection

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of having the central server send large model parameters to all clients for updating (traditional federated learning), the patent inverts the approach by having clients compute gradients locally and send only these compressed gradient updates to the server for model aggregation. This reversal dramatically reduces communication costs while preserving privacy

Inventive Principle:
Principle #13The other way round (Inversion)

2Manufacturing precision

If large pre-trained language models are used for dialogue generation, then performance is improved, but computational resource requirements increase

Engineering Contradiction:
Improvedialogue generation performanceVSAvoidcomputational resource consumption
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The patent segments the dialogue system into two distinct components: a large pre-trained language model for generating high-quality responses, and a smaller adapter model for task-specific adaptations. This segmentation allows the system to maintain high performance while reducing the computational burden on client devices, as the heavy lifting is done by the pre-trained model and only lightweight updates are transmitted

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary training on large-scale datasets to pre-train the language model before deployment. This preliminary action allows the model to learn general language patterns and knowledge in advance, so that during federated learning, only task-specific fine-tuning is needed, significantly reducing the computational resources required at client devices

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12493791B2Dialog agents with two-sided modeling
Publication Date: 2025.12.09 THE HONG KONG UNIV OF SCI & TECH
  • US12493791B2 patent drawing
  • US12493791B2 patent drawing
  • US12493791B2 patent drawing

AI summary

A central learning model is deployed as a user model and as an assistant model. Sensitive information utterances from a corpus of previously stored conversation language corresponding to user queries and chat agent responses thereto are used to train the user model to become an updated user model and to train the assistant model to become an updated assistant model, respectively. The user model provides user contexts corresponding to user queries to the assistant model and the assistant model provides assistant contexts corresponding to chat agent responses to the user model. During training, the user model does not provide plain-text queries to the assistant model and the assistant model does not provide plain-text responses to the user model. The updated assistant model may facilitate a federated training process produce an updated central model. An updated central model may be used to provide real-time chat agent responses to live user queries.