akmalns
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 6 July 2020 - Daily Report ## Summary ---- ### Expected Outcome : * Find information about ML model deployment in RIC * Study from O-RAN AI/ML workflow ___ ### Outcome : * Get a better understanding on AI/ML utilization in O-RAN * Get a better understanding on Acumos AI platform ### Further plan: * Read Acumos documentation ___ ### Daily Log #### 1. Study AI/ML workflow description and requirement resource from Kevin <mark> 09:00 </mark> * Write the ML model deployment scenario * Write about the ML model lifecycle implementation #### 2. Read acumos paper from Kevin <mark> 14:10 </mark> --- ## Study Notes ### AI/ML workflow description and requirement ::: info Reference : * https://www.o-ran.org/s/ORAN-WG2AIMLv0100.pdf ::: ![](https://i.imgur.com/57G8FHW.png) #### Types of Machine Learning Algorithm ##### Supervised learning In supervised learning the input data is labeled so that each of the data has its corresponding correct value. Supervised learning ias a machine learning task that aims to learn a mapping from the input to the output with a given labeled data set. Some supervised learning model are 1. Regression 2. Instance-based algorithm 3. Decision Tree Algorithm 4. Support Vector Machines 5. Bayesian Algorithm 6. Ensemble Algorithm Supervised learning can be further grouped into Regression and Classification problem. ![](https://i.imgur.com/UIxDWYH.png) The figure above is the training and host location within RIC. ML training host and ML model host/actor can be part of Non-RT RIC or Near-RT RIC. ##### Unsupervised learning Unsupervised learning do not has label in its input data. It is a machine learning task that aims to learn function to describe a hidden structure from unlabeled data. Some examples of unsupervised learning are K-means clustering and principal component analysis (PCA) ![](https://i.imgur.com/kcxNi8B.png) The figure above is the host location in RIC. Same as before, ML training host and ML model/actor can be part of Non-RT RIC or Near-RT RIC. ##### Reinforcement learning Reinforcement learning is a goal-oriented learning based on interaction with environment. It aims to optimize a long-term objective by interacting with the environments based on a trial and error process. There are several RL algorithms such as 1. Q-learning 2. Multi-armed bandit learning 3. Deep RL ![](https://i.imgur.com/CsVCme1.png) The figure above is the training and host location within RIC. We notice a difference here, the non-RT RIC and near-RT RIC is connected using O1 and A1 interface instead of only A1 interface in the previous learning process. The ML training host and ML model host/actor shall be co-located as part of Non-RT RIC or Near-RT RIC #### AI/ML functionalities into O-RAN control loops ![](https://i.imgur.com/JIgiRWZ.png) Picture above shows three different control loops in O-RAN There are three different control loops in O-RAN which can be assisted using AI/ML. Time scale of O-RAN control loops depend on what is being controlled i.e. system parameters, resources or radio resources management(RRM) algorithm parameters. We can see the control loops with its corresponding time scale. The locationn of the ML model training and the ML model inference for a use case depend on: * computation complexity * availability and quantity of data to be exchanged * Response time requirements * type of ML model There are three locations where the ML model training and the ML model inference can be located that are: 1. Non-RT RIC 2. Near-RT RIC 3. O-DU **In the first phase of O-RAN, ML model training will be considered in the Non-RT RIC and ML model inference will be considered in loops 2 and 3**. For loop2 the ML inference is running in Near-RT RIC. For loop1, the ML inference is running in an O-DU. ### AI/ML general procedure and interface framework ![](https://i.imgur.com/acG3DA4.png) There are 3 deployment scenarios that are considered for ML architecture/framework in O-RAN architecture are 1. Scenario 1.1: Non-RT RIC acts as both the ML training and inference host 2. Scenario 1.2: Non-RT RIC acts as the ML training host and the Near-RT RIC as the ML inference host 3. Scenario 1.2: Non-RT RIC acts as the ML training host and the O-CU/O-DU RIC as the ML inference host If the model is a reinforcement learning based, both ML training and inference host should be located in the same place. ![](https://i.imgur.com/7fDH5uT.png) ### ML Model lifecycle Implementation example ![](https://i.imgur.com/VbPaC6W.png) 1. ML modeller uses a designer environment along with ML toolkits to create the initial ML model 2. The initial model is sent to training host for training 3. The appropriate data sets are collected from the Near-RT RIC,O-CU and O-DU to a data lake and passed to the ML training host 4. The trained model/sub models are uploaded to the ML designer catalog (Such as Acumos). The final ML model is composed 5. The ML model is published to Non-RT RIC along with the associated license and metadata 6. Non-RT RIC creates a containerized ML application containing the necessary model artifacts (When using acumosAI, the ML model;s container is created in Acumos catalog itself) 7. Non-RT RIC deploys the ML application to the Near-RT RIC, O-DU and O-RU using O1 interface. Policies are also set using A1 interface. 8. PM data is sent back to ML training hosts from Near-RT RIC, O-DU and O-RU for retraining. ### Deployment Scenarios ![](https://i.imgur.com/E0OceMU.png) ![](https://i.imgur.com/hlF3Pje.png) ### Packaging and Sharing Machine Learning Models via the Acumos AI Open Platform :::info References : **Packaging and Sharing Machine Learning Models via the Acumos AI Open Platform** by Shuai Zhao, Manoop Talasila, Guy Jacobson, Cristian Borcea, Syed Anwar Aftab and John F Murray. ::: Machine learning has been growing rapidly in the past few years. It has shown its effectiveness in solving variety of practical problem such as disease detection, language translation, etc. However, in practice, it is challenging to integrate ML model into application development environment. There are many company and groups that developed machine learning model for their own specific purposes. This leads to duplicated effort and making reuse impossible. Acumos is an open platform capable of packaging ML models into portable containerized microservices which can be easily shared via platform's catalog and can be integrated into various business applications. Acumos platform reduces the technical burden on application developers when applying machine learning models to their businses applications. The platform also allows the reuse of readily available ML microservices in various business domain. #### Acumos Platform Advantages 1. Acumos offers a one-stop convenient deployment service On acumos, modeler and data scientist can freely design and test their model using readily available data. The model than can be stored in the repository as microservices for further applications. Microservices can be chained together to create a complete usable model and then can be placed in the catalog. Models that has been listed in the catalog are available for public to make use of it. 2. Acumos offers model-level isolation Real practices need to train multiple models over a single dataset for various tasks. For example, given a set of images, there may be multiple tasks, such as face detection, landmark detection,and mode detection. With Acumos, teams can work **independently** on different problems. Model-level isolation also facilitates the reuse and sharing of models with other similar applications without breaching model privacy. 3. Acumos can help to distribute the robust and runable models from model experts to common end-users In Acumos, we can treat ML models as black boxes which take welldefined inputs and generate output. End users do not require special knowledge on machine learning. **Comparison between different platforms** ![](https://i.imgur.com/suDpYSC.png) #### Acumos Design and Process ![](https://i.imgur.com/6HF79yt.png) The main flow is divided into three stages: 1. Uploading This stages is where the modeler upload their pre-trained model to the platform. Modeler can build their model using various languages and toolkit. 2. Publishing When the model are uploaded, they are stored in private area where only contributor can access them. The contributor then choose when and how to share their model. The model need to have model's metadata when published. Metadata contains function description, input and output format and model category. 3. Predicting The acumos platform will pack the uploaded model as a microservice in a docker image, whic is ready to be deployed and perform its function. Docker provides container virtualization and it has faster speed and better agility and portability compared with virtual machines. Consumers can download and directly deploy the Dockerized service to the cloud or any local hardware that supports Docker. Once deployed, users can send input to this running microservice and receive the output via RESTful API. ___ ## Conclusion * In the first phase of O-RAN, ML model training will be considered in the Non-RT RIC and ML model inference will be considered in the Near-RT RIC or O-CU * There are several AI/ML model deployment in O-RAN * Acumos is an open platform that help modeler to distribute their model or to get training data set. * Acumos also help user to get trained model that is ready to be deployed ###### tags: `Daily Report`

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully