English | 简体中文
Sedna is an edge-cloud synergy AI project incubated in KubeEdge SIG AI. Benefiting from the edge-cloud synergy capabilities provided by KubeEdge, Sedna can implement across edge-cloud collaborative training and collaborative inference capabilities, such as joint inference, incremental learning, federated learning, and lifelong learning. Sedna supports popular AI frameworks, such as TensorFlow, Pytorch, PaddlePaddle, MindSpore.
Sedna can simply enable edge-cloud synergy capabilities to existing training and inference scripts, bringing the benefits of reducing costs, improving model performance, and protecting data privacy.
Sedna has the following features:
-
Provide the edge-cloud synergy AI framework.
- Provide dataset and model management across edge-cloud, helping developers quickly implement synergy AI applications.
-
Provide edge-cloud synergy training and inference frameworks.
- Joint inference: under the condition of limited resources on the edge, difficult inference tasks are offloaded to the cloud to improve the overall performance, keeping the throughput.
- Incremental training: For small samples and non-iid data on the edge, models can be adaptively optimized over time on the cloud or edge.
- Federated learning: For those scenarios that the data being too large, or unwilling to migrate raw data to the cloud, or high privacy protection requirements, models are trained at the edge and parameters are aggregated on the cloud to resolve data silos effectively.
- Lifelong learning: Confronted with the challenge of heterogeneous data distributions in complex scenarios and small samples on the edge, the edge-cloud synergy lifelong learning:
- leverages the cloud knowledge base which empowers the scheme with memory ability, which helps to continuously learn and accumulate historical knowledge to overcome the catastrophic forgetting challenge.
- is essentially the combination of another two learning schemes, i.e., multi-task learning and incremental learning, so that it can learn unseen tasks with shared knowledge among various scenarios over time.
- etc..
-
Compatibility
- Compatible with mainstream AI frameworks such as TensorFlow, Pytorch, PaddlePaddle, and MindSpore.
- Provides extended interfaces for developers to quickly integrate third-party algorithms, and some necessary algorithms for edge-cloud synergy have been preset, such as hard sample discovering, aggregation algorithm.
- Unified orchestration of across edge-cloud applications.
- Router: across edge-cloud message channel in management plane.
- EdgeMesh: across edge-cloud microservice discovery and traffic governance in data plane.
Sedna consists of the following components:
- Unified edge-cloud synergy AI task management
- Cross edge-cloud synergy management and collaboration
- Central Configuration Management
- Local process control of edge-cloud synergy AI tasks
- Local general management: model, dataset, and status synchronization
- Do inference or training, based on existing ML framework.
- Launch on demand, imagine they are docker containers.
- Different workers for different features.
- Could run on edge or cloud.
- Expose the Edge AI features to applications, i.e. training or inference programs.
Follow the Sedna installation document to install Sedna.
Example1:Using Joint Inference Service in Helmet Detection Scenario.
Example2:Using Incremental Learning Job in Helmet Detection Scenario.
Example3:Using Federated Learning Job in Surface Defect Detection Scenario.
Example4:Using Lifelong Learning Job in Thermal Comfort Prediction Scenario.
Regular Community Meeting:
- Pacific Time: Thursday at 10:00-11:00 Beijing Time (weekly, starting from Nov. 12th 2020). (Convert to your timezone)
Resources:
If you have questions, feel free to reach out to us in the following ways:
Sedna is under the Apache 2.0 license. See the LICENSE file for details.