Skip to content

Latest commit

 

History

History
61 lines (38 loc) · 3 KB

collaborative_learning.rst

File metadata and controls

61 lines (38 loc) · 3 KB

Collaborative Learning Scenario

In this Scenario, Model Manager Receiver and Model Manager Sender nodes working on the same problem share their locally obtained models with each other, without having to share the private datasets with which they were trained on. This intends to lead towards a more complex and accurate model. It leverages the protocols_dds_rpc communication protocol/paradigm in order to exchange all required information (model requests/replies) in an efficient way.

The Model Manager Sender Nodes publish user_manual_scenarios_collaborative_learning_statistics 's while the Model Manager Receiver Nodes listen to them. When a user_manual_nodes_model_receiver is interested in a model based on its user_manual_scenarios_collaborative_learning_statistics, it sends a user_manual_scenarios_collaborative_learning_model_request request to the Model Manager Sender Node that sent the user_manual_scenarios_collaborative_learning_statistics. The user_manual_nodes_model_sender will respond with a user_manual_scenarios_collaborative_learning_model_reply.

Model Request Data Type

The Model Request Data Type represents a problem request. Internally, requests sent from a Model Manager Receiver Node to a Model Manager Sender Node are treated as byte arrays of arbitrary size. So far, the interaction with this class could be done from a void*, a byte array or a string.

Note

A more specific Data Type will be implemented in future releases for efficiency improvements.

Model Reply Data Type

The Model Reply Data Type represents a problem reply with the requested model. The replies sent from a Model Manager Sender Node to a Model Manager Receiver Node are treated as a bytes array of arbitrary size. So far, the interaction with this class could be done from a void*, a byte array or a string.

Note

A more specific Data Type will be implemented in future releases for efficiency improvements.

Model Statistics Data Type

The Statistics Data Type represents the statistics of models, such as their number of parameters or the datasets they were trained on. The messages sent from a Model Manager Sender Node to a Model Manager Receiver Node are treated as a bytes array of arbitrary size. So far, the interaction with this class could be done from a void*, a byte array or a string.

Note

A more specific Data Type will be implemented in future releases for efficiency improvements.