Internet-of-Things (IoT) companies strive to get feedback from users to improve their products and services . However, traditional surveys cannot reflect the actual conditions of customers' due to the limited questions. Besides, survey results are affected by various subjective factors. In contrast, the recorded usages of IoT devices reflect customers' behaviours more comprehensively and accurately. We design an intelligent system to help IoT device manufacturers to take advantage of customers' data and build a machine learning model to predict customers' requirements and possible consumption behaviours with federated learning (FL) technology. The FL consists of two stages: in the first stage, customers train the initial model using the phone and the edge computing server collaboratively. The mobile edge computing server's high computation power can assist customers' training locally. Customers first collect data from various IoT devices using phones, and then  download and train the initial model with their data. During the training, customers first extract features using their mobiles, and then add the Laplacian noise to the extracted features based on differential privacy, a formal and popular notion to quantify privacy. After achieving the local model , customers sign on their models respectively and send them to the blockchain. We use the blockchain to replace the centralized aggregator which belongs to the third party in FL. In the second stage, miners calculate the averaged model using the collected models sent from customers. By the end of the crowdsourcing job , one of the miners, who is selected as the temporary leader, uploads the model to the blockchain. Besides, to attract more customers to participate in the crowdsourcing FL  , we design an incentive mechanism , which awards participants with coins that can be used to purchase other services provided by the company .
Home appliance manufacturers strive to obtain feedback from users to improve their products and services to build a smart home system. To help manufacturers develop a smart home system, we design a federated learning (FL) system leveraging the reputation mechanism to assist home appliance manufacturers to train a machine learning model based on customers' data. Then, manufacturers can predict customers' requirements and consumption behaviors in the future. The working flow of the system includes two stages: in the first stage, customers train the initial model provided by the manufacturer using both the mobile phone and the mobile edge computing (MEC) server. Customers collect data from various home appliances using phones, and then they download and train the initial model with their local data. After deriving local models , customers sign on their models and send them to the blockchain. In case customers or manufacturers are malicious, we use the blockchain to replace the centralized aggregator in the traditional FL system. Since records on the blockchain are untampered, malicious customers or manufacturers' activities are traceable. In the second stage, manufacturers select customers URLanizations as miners for calculating the averaged model using received models from customers. By the end of the crowdsourcing task , one of the miners, who is selected as the temporary leader, uploads the model to the blockchain. To protect customers' privacy and improve the test accuracy, we enforce differential privacy on the extracted features and propose a new normalization technique. We experimentally demonstrate that our normalization technique outperforms batch normalization when features are under differential privacy protection. In addition, to attract more customers to participate in the crowdsourcing FL task , we design an incentive mechanism to award participants .
R
Internet-of-Things (IoT) companies strive to get
Home appliance manufacturers strive to obtain
D
. However, traditional surveys cannot reflect the actual conditions of customers' due to the limited questions. Besides, survey results are affected by various subjective factors. In contrast, the recorded usages of IoT devices reflect customers' behaviours more comprehensively and accurately. We design an intelligent system
R
help IoT device manufacturers to take advantage of customers' data and build
build a smart home system. To help manufacturers develop a smart home system, we design a federated learning (FL) system leveraging the reputation mechanism to assist home appliance manufacturers to train
R
to
based on customers' data. Then, manufacturers can
R
possible consumption behaviours with federated learning (FL) technology. The FL consists of
consumption behaviors in the future. The working flow of the system includes
R
using the
provided by the manufacturer using both the mobile
D
edge computing server collaboratively. The
R
server's high computation power can assist customers' training locally. Customers first
(MEC) server. Customers
R
IoT devices
home appliances
A
they
R
data. During the training, customers first extract features using their mobiles, and then add the Laplacian noise to the extracted features based on differential privacy, a formal and popular notion to quantify privacy. After achieving the local model
local data. After deriving local models
D
respectively
R
We
In case customers or manufacturers are malicious, we
R
which belongs to the third party in FL.
in the traditional FL system. Since records on the blockchain are untampered, malicious customers or manufacturers' activities are traceable.
R
miners calculate
manufacturers select customers URLanizations as miners for calculating
R
the collected models sent
received models
R
job
task
R
Besides,
To protect customers' privacy and improve the test accuracy, we enforce differential privacy on the extracted features and propose a new normalization technique. We experimentally demonstrate that our normalization technique outperforms batch normalization when features are under differential privacy protection. In addition,
A
task
R
, which awards participants with coins that can be used to purchase other services provided by the company
to award participants