Federated-Split Learning Loss Function Modification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing approaches to training neural networks, such as federated and centralized training methods, face challenges in maintaining data privacy and preventing data leakage, as sensitive information can be inadvertently shared or discovered during the training process.

Innovation Solution

The proposed federated-split learning method involves splitting the deep learning architecture across clients and a server, where clients only access their local layers and the server handles the remaining layers, using a modified loss function that calculates a weighted average loss value without sharing weights, and employing secure multi-party computation to generate and distribute a weighted average client-side model, ensuring privacy through asynchronous forward propagation and encrypted data processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If federated training approach is used, then data privacy is improved, but data leakage risk increases due to weight sharing and synchronization between clients

Engineering Contradiction:
Improvedata privacyVSAvoiddata leakage risk
Core Design Contradiction:
Loss of informationVSObject-affected harmful factors

Solution Approach 1:

The neural network is divided into client-side layers and server-side layers. Clients train only their local layers independently without sharing weights or synchronization information with other clients. The server receives predictions from clients and computes server-side layers separately. This segmentation prevents direct data leakage between clients while maintaining collaborative training benefits.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The server acts as an intermediary that receives predictions from multiple clients, aggregates them to compute server-side layers, and returns results to clients. This intermediary structure enables collaborative training without requiring clients to share their local data or weights directly, thereby reducing data leakage risk while preserving privacy.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If centralized training approach is used, then model accuracy is improved through comprehensive data access, but data privacy deteriorates as all data must be shared with the server

Engineering Contradiction:
Improvemodel accuracyVSAvoiddata privacy
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The training process is segmented between clients and server. Clients keep their local data and model layers private, training only their portion locally. The server aggregates predictions from multiple clients to compute server-side layers without accessing individual client data. This segmentation maintains model accuracy through collaborative learning while preserving client data privacy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of sharing raw data, clients share copies of their model predictions and gradients with the server. The server uses these copies to compute server-side layers and return updated models to clients. This copying approach enables comprehensive data processing for accurate models without requiring actual data sharing, thus protecting privacy.

Inventive Principle:
Principle #26Copying

3Loss of information

If split learning is used, then data privacy is improved by preventing raw data sharing, but communication overhead increases due to multiple data transmissions between clients and server

Engineering Contradiction:
Improvedata privacyVSAvoidcommunication overhead
Core Design Contradiction:
Loss of informationVSLoss of energy

Solution Approach 1:

Clients perform partial training actions by training only their local layers independently rather than synchronizing all layers across clients. The server performs the computationally intensive server-side layer training using aggregated predictions. This partial action approach reduces the frequency and volume of communications while maintaining privacy benefits.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system continuously aggregates predictions from clients and updates server-side layers in an ongoing process. This continuous useful action eliminates the need for frequent full-model synchronization and weight sharing, reducing communication overhead while maintaining collaborative training effectiveness and privacy protection.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS11843586B2Systems and methods for providing a modified loss function in federated-split learning
Publication Date: 2023.12.12 SELFIIE CORP
  • US11843586B2 patent drawing
  • US11843586B2 patent drawing
  • US11843586B2 patent drawing

AI summary

Disclosed is a method that includes training, at a client, a part of a deep learning network up to a split layer of the client. Based on an output of the split layer, the method includes completing, at a server, training of the deep learning network by forward propagating the output received at a split layer of the server to a last layer of the server. The server calculates a weighted loss function for the client at the last layer and stores the calculated loss function. After each respective client of a plurality of clients has a respective loss function stored, the server averages the plurality of respective weighted client loss functions and back propagates gradients based on the average loss value from the last layer of the server to the split layer of the server and transmits just the server split layer gradients to the respective clients.