Professional Documents
Culture Documents
Juice Recipe
Recommendation System
Using Machine Learning
in MEC Environment
Juyong Lee and Jihoon Lee
Sangmyung University
& TODAY, NEW KINDS of mobile services are that follow the original usage pattern in which
emerging with the appearance of various smart users simply consume content data, new kinds
devices.1 In particular, interest in artificial intel- of services that provide additional useful infor-
ligence, machine learning, and healthcare has mation on the basis of either user-generated
recently increased. Thus, in addition to services data or data processed by mean of artificial
intelligence are receiving increasing attention.2
A typical example of such a service is a health-
Digital Object Identifier 10.1109/MCE.2020.2986812 care service utilizing user-specific data. Such a
Date of current version 10 August 2020. service provides user-specific guidance, such as
September/October 2020 Published by the IEEE Consumer Technology Society 2162-2248 ß 2020 IEEE
79
Authorized licensed use limited to: Carleton University. Downloaded on August 07,2020 at 15:26:56 UTC from IEEE Xplore. Restrictions apply.
Special Section on Machine Learning for End Consumers
Authorized licensed use limited to: Carleton University. Downloaded on August 07,2020 at 15:26:56 UTC from IEEE Xplore. Restrictions apply.
Morphological analysis is applied to the user recipe. When a user inputs a juice name into the
input in order to perceive the desired meaning chatbot to search for a recipe, the user input is
by comparing only verbs, without creating a sep- transmitted to the chatbot server. The chatbot
arate rule. By means of morphological analysis, server that receives the message delivers the
it is possible to simultaneously recognize both contents to the MEC server located near the
the root of a verb and diverse variants, thereby user. The data sent to the MEC server are pre-
enabling quick recognition. After recognizing the sented in the JavaScript object notation (JSON)
meaning in the manner described above, we format. The MEC server performs a tag check
send the input to the proposed MEC server. operation on the received contents to distin-
When it receives user input, the MEC server per- guish text searches from photo requests. The
forms a recipe search and then sends the MEC server performs a juice recipe search oper-
retrieved recipe to the chatbot server. Subse- ation using a database. The contents of the inter-
quently, the chatbot presents the juice recipe to nal database are based on recipes provided by a
the user. juice manufacturer. If a suitable juice recipe is
found in the database, that juice recipe will be
Recognition for the ML-Based Image converted into the JSON format and sent to the
Detection Image-based recognition method is chatbot server. After receiving JSON data con-
implemented to provide juice recipe recommen- taining a juice recipe, the chatbot server gener-
dations based on photographs that users have ates a recipe message and delivers it to the user.
sent to the chatbot. The image-based recogni- Unlike existing recipe recommendation serv-
tion scheme is based on a convolutional neural ices, the proposed system does not require rec-
network (CNN)-based machine learning model. ipes to be stored on the user’s device to enable a
With this model, the proposed system can recog- local search. Instead, the computational opera-
nize ingredients in photographs, allowing the tions required for the recipe search are trans-
user to request a recommendation of a juice rec- ferred to the local MEC server for processing,
ipe simply by sending a photograph to the chat- thus greatly reducing the computational burden
bot. Because the proposed system is required to on the user device and improving the energy
distinguish between cases of text and photo consumption efficiency.
requests, a tag is utilized to identify the type of Because the MEC server is located within the
data that the chatbot server transmits to the user’s home, personal information such as indi-
MEC server when a user sends input to the chat- vidual health data and eating habits is not deliv-
bot. When a user takes a picture and sends it to ered outside the local area of the consumer,
the chatbot, the local MEC server analyzes the facilitating the protection of user privacy.
user’s picture and then informs the chatbot of
juice recipes containing the ingredient in the pic- Operation for the Ingredient Image The
ture sent by the user. proposed system can handle photo-based
multimedia input through the use of machine
MEC-Based Recipe Recommendation Server learning technology. First, a user takes a picture
To offer the juice recipe recommendation of a fruit and sends it to the chatbot server. After
service to users with a short response latency, receiving the image, the chatbot server transfers
the proposed system uses a server based on the the photograph to the local MEC server. Then,
MEC technology. The proposed server system the MEC server performs the operation to recog-
performs two main functions: The first is to pro- nize the juice ingredient contained in the photo-
vide juice recipes on the basis of text input, and graph. Once the juice ingredient has been
the second is to recommend juice recipes based recognized, juice recipes related to the recog-
on the recognition of ingredients in pictures nized ingredient are retrieved from the database
taken by users. in the MEC server. If it finds a suitable juice
recipe in its database, the MEC server sends that
Operation for User Text Input A user can recipe to the chatbot server in JSON format.
employ the chatbot to retrieve a desired juice When the user selects the desired recipe, the
September/October 2020
81
Authorized licensed use limited to: Carleton University. Downloaded on August 07,2020 at 15:26:56 UTC from IEEE Xplore. Restrictions apply.
Special Section on Machine Learning for End Consumers
Authorized licensed use limited to: Carleton University. Downloaded on August 07,2020 at 15:26:56 UTC from IEEE Xplore. Restrictions apply.
Figure 3. Implementation and overall operation of the proposed system.
with each other by using a representational state authorized users to access the local MEC server.
transfer API. Tensorflow, a machine learning After the registration process, the chatbot sends
library, is used for juice ingredient learning. a greeting message to the users in the chat win-
The learned data are stored in the MEC dow. The user’s joining process is complete at
server to reduce computational complexity and this time.
to enable rapid distribution. It is possible to
quickly search for the juice recipes among the Text-Based Recipe Recommendation
learned data stored in the MEC server database. When a user inputs a juice name or sentence
To use the chatbot service, users search for the in the chat window of the KakaoTalk messenger
name of our system, BLUE-FI, in the user search platform to initiate a search, the KakaoTalk mes-
window of the messenger platform. When a user senger server delivers a JSON-format message to
registers for the proposed chatbot service, the the proposed MEC server. The tag included in
proposed system performs an authentication the received message is confirmed by the MEC
process between the user and the chatbot ser- server.
vice. Only authorized users both obtain access After verifying the text tag, the MEC server
to the chatbot service and request the juice rec- extracts the meaning of the message through
ipe recommendation service. The system also morphological analysis. The morphological
protects user privacy because only a registered analysis function of the MEC server extracts
user can access his or her own information. the meaning and retrieves a recipe from the
In addition, to enhance the security between the database.
user and the MEC server, the proposed system The retrieved recipe is sent to the chatbot
uses an access control list, which allows only server in the JSON format. Then, the chatbot
September/October 2020
83
Authorized licensed use limited to: Carleton University. Downloaded on August 07,2020 at 15:26:56 UTC from IEEE Xplore. Restrictions apply.
Special Section on Machine Learning for End Consumers
server transmits the juice recipe in text form to resulting in a short response latency and reduced
the user. computational overhead on the user device.
Authorized licensed use limited to: Carleton University. Downloaded on August 07,2020 at 15:26:56 UTC from IEEE Xplore. Restrictions apply.