Hello World Dev Conference
      • 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
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners 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

      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.
      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
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
Menu
Options
Engagement control 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
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners 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

    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.
    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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Enhanced EC Recommendations: Trustworthy Validation with Large Language Models for Two-Tower Model - 陳峻廷(Dan Chen) {%hackmd @HWDC/BJOE4qInR %} >#### 》[議程介紹](https://hwdc.ithome.com.tw/2024/session-page/3315) >#### 》[填寫議程滿意度問卷|回饋建言給辛苦的講者](https://forms.gle/nRK1NgFqS1s2qmg29) --- [TOC] --- # 01-What is Trustworthy ## Trustworthy > Element of trustworthy * Robustness - Fault-tolerant * Fairness - Remove bias * [韓國酷澎案例,手調參數被罰錢](https://www.bnext.com.tw/article/79446/coupang-korea-accusation) * Transparency/Explainability - Reduce risks ## Trustworthy Recommendation > four Persepective - Flow: Data Preparation -> Data Representation -> Recommendation Generation -> **Performance Evaluation** --- # 02-Evaluation Framework > How to Correctly Evaluate AI ## [Brickmaster](https://medium.com/twdsmeetup/brickmaster-scenario-wise-recommendation-system-engine-validation-ba3f663c930a) > Two - stage Recommendation system - Scalable - 痛點:訓練很快,推論很慢 - Trustwotthy - Secenario-wise - KPI-Oriented = Ranking - 每個場景的 KPI 不同,常用 [CTR](https://www.wordstream.com/click-through-rate) - line today 場景會使用 retention,跳轉率等 ## Evaluation Framework(1/2) | ![FigureA](https://hackmd.io/_uploads/ry7_-UZaR.png) | |:--:| |*Figure A: A conceptual framework for building TRSs*| **Stage-4** 特別注重在Technical Evaluation [Ref-Trustworthy Recommender Systems: An Overview](https://arxiv.org/pdf/2208.06265) | ![FigureB](https://hackmd.io/_uploads/HyjeG8bTR.jpg) | |:--:| |*Figure B-Evalution Framework(1/2)*| --- # 03-Offline & Online Evaluation | ![FigureC](https://hackmd.io/_uploads/r1AzGL-6C.jpg) | |:--:| |*Figure C - Offline Evaluation*| **Business**: 指標上的驗證雖然很重要,但要判斷指標的是否為落後指標,或是先行指標 - 快速驗證指標:CTR、CVR - 落後指標:可能需要時間累積資料,難以迭代評估 | ![FigureD](https://hackmd.io/_uploads/HkANX8baA.jpg) | |:--:| |*Figure D - Online Evalution*| 1. **Setting Goal** : 2. **Setting Metrics** : AA test → Make sure metrics is 有意義的 3. **Decide Minimun Experimental unit** (通常是ID) 4. **Estimate Sampling Size**,related to : - alpha - power - variance - min diff (e.g. CTR:+2%) 5. **Random Grouping** (50%,50%) - make sure AB group is indept. - 流量沒有固定或是分配獨立的話,實驗可能是沒有效果的 ## A/B test > Key points show how your algorithms can contribute to your business * if experiment isn't significant * 推薦系統本身有問題 * 量化方向或方法有誤 * PSM * sample ratio mismatch * [Simpson’s paradox](https://medium.com/sherry-ai/%E6%95%B8%E6%93%9A%E7%9C%9F%E7%9A%84%E6%9C%83%E8%AA%AA%E8%A9%B1-%E6%B7%BA%E8%AB%87%E8%BE%9B%E6%99%AE%E6%A3%AE%E6%82%96%E8%AB%96-22c067f6a535) * novelty effect |![image](https://hackmd.io/_uploads/BJ8J8U-6A.png)| |:--:| |*Figure E - Case - EC Shop Recommendation*| --- # 04- LLM on Recommendation ## Feature engineering (Produced by Julia Intern) * tokenization (prompt engineering) * temperature 0.4 比較好的取出商品規格 * text embedding generation (o.s. 改變世界的都是Intern) ## Evaluate embedding - RankMe/ a-ReQ Metrics 可以透過 LLM 來建構雙塔模型 [Ref01](http://arxiv.org/pdf/2305.07961) [Ref02](https://arxiv.org/pdf/2308.16505) ## Conclusion & Challenge - Data Quality - Multiple-Metrics evaluation - Conduct A/B test Experiment - Human Perception --- # 05-Q&A --- ==閒聊區==

    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

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    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