Jakub Grudzień
    • 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

      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
    • 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 Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
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
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

    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
    1
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # DPO Rebuttal ## Reviewer KEqn **Q1** Is it possible that the optimal learning mechanism (i.e., the optimal drift function) is different for every environment? > **A1** It is definitely possible. However, meta-learning becomes practical when a mechanism that is meta-learnt in some domains transfers to unseen ones. In the most desirable, extreme scenario, it suffices to meta-learn a mechanism in one environment only. Our LPO achieves this goal---it is trained on Ant, but performs great in all environments. **Q2** Why your drift function uses inputs defined in line 180? > **A2** Firstly, we wanted to use inputs which are invariant for all possible environments and policy designs (discrete/continuous). A drift function with such inputs, after being meta-learnt on one task, can be deployed in other ones. The policy ratio can always be obtained when stochastic policies are considered, and the normalised advantage function commonly appears in deep-RL implementations. Information like *state* can vary from one environment to another, thus we did not include it as an input. Secondly, the input vector is constructed so that it is zero when the old and candidate policies are the same, which helps us meet the drift condition 1. Thirdly, we used different non-linear transformations of the ratio and advantage, to help learning more complex mappings. ## Reviewer H27p **Q1** If the inputs to the drift function from line 180 are changed, does the resulting algorithm still work well? > **A1** Our choice of the input arguments was deliberate. The choice of invariant quantities---the policy ratio $r$ and the (normalised) advantage function $A_{\pi}$---enabled us to learn a drift function that is applicable to multiple environments. The nonlinear mappings of these (line 180) helped us learn more complex features. We considered increasing the maximal degreee of the polynomial in $r$ (from quadratic to cubic) but it did not bring any improvement. Lastly, finding alternative, invariant inputs to the drift function is an interesting alley of future research. **Q2** Is the presence of $\bar{\pi}$ in line 137 a typo? > **A2** Yes, it is. Thank you for pointing it out. **Q3** The variable $r$ is used for both the reward and the policy ratio. That it confusing. > **A3** We will change the reward notation to $R$. **Q4** I suggest moving the training of LPO-Zero to the appendix. It is not an important part of the paper/ > **A4** **Here CHRIS** >## Response to Response >> **Followup for A1** You should run and include experiments confirming your intuition about other inputs not making much difference. >> **Our Answer** As we elluded in A1, currently we do not know other inputs that would guarantee us invariance across environments other than the ratio $r$ and advantage $A_{\pi}$. We already tried polynomials in $r$ of higher order, but it did not bring improvements. This suggests that other smooth functions would not bring much improvement either, as such functions can be approximated with polynomials by Taylor's theorem. We are running some experiments to confirm that. >>**Followup for A4** You can move the results on LPO-Zero to the appendix. >>**Our Answer** Another reason for which we would like to keep it is that its objective is similar to that of LPO (see Figures 2 & 3). We think it is an important finding that shows that our meta-learning method indeed leads to a discovery of RL concepts. >>**More Experiments** To verify robustness and improvement of LPO/DPO with respect to PPO, you should run experiments in other domains where PPO is known to work. Also, what do you mean by that you struggle to make Brax's PPO work? >>**Our Answer** Following the reviewer's advice, we implemented DPO in PyTorch and tested it in MuJoCo. Unfortunately, it did not work that well (at least with PPO hyperparameters). Although it is possible that more extensive hyperparameter tuning would improve the performance, it is likely that in the meta-learning process LPO has learnt an algorithm (and discovered DPO) that is optimal for the specific implementation and testing frameworks, just as PPO for Brax works poorly in MuJoCo. We chose JAX and Brax because they enabled us to train multiple inner-loop agents fast and in parallel [Freeman et al., 2021]. Once other development tools, like PyTorch and MuJoCo, will allow for it, our method can be easily applied in them. [Freeman et al., 2021] C. Daniel Freeman, Erik Frey, Anton Raichuk, Sertan Girgin, Igor Mordatch, Olivier Bachem; "Brax -- A Differentiable Physics Engine for Large Scale Rigid Body Simulation". 2021. ## Reviewer XLZN **Q1** It would be interesting to visualise and analyse what does the drift function $\tilde{f}_{\phi}$ converge to, and contrast it with PPO. > **A1** We believe that this question is addressed in the paper already. Although we did not explicitly visualise $\tilde{f}_{\phi}$, we visualised the optimisation objective of LPO, which involves both advantage and the converged drift function (see Figure 3). Specifically, we plot the derivative with respect to the policy ratio, which explicitly informs how the objective affects learning. We believe that such a plot is more informative that a naive plot of the objective, as that would potentially involve "noisy" components that are independent of the policy variable. The same visualisation was conducted for PPO (Figure 1), whose objective was contrasted with LPO in Section 6. **Q2** How would a fine-tuned PPO perform in comparison to a fine-tuned DPO? > **A2** As we have not fine-tuned DPO, we cannot answer this question. However, as we used Brax's fine-tuned PPO, and simply adopted the same hyperparameters to DPO and obtained better performance, we deduce that fine-tuning DPO would perform even better. **Q3** Can the authors add the corresponding PPO heat map to Figure 5? > **A3** That heat map has already been plotted in Figure 1. However, if the reviewer suggests that it would help to copy it, we can add it. **Q4** The inputs to the drift function of LPO are cherry-picked. > **A4** We chose policy ratio and the (normalised) advantage function as inputs because they are invariant to many environments. Indeed, we trained such a drift on Ant only, and transfered it to other environments. The nonlinear transformations in line 180, which we chose quite arbitrarily, were supposed to help the drift function learn complicated mappings. Designing other, transferable inputs to the drift function is an interesting avenue of future research. **Q5** Why DPO does not use $(r-1)^n$ as input? > **A5** DPO is no-longer a meta-trainable (like LPO) algorithm. It is, instead, an analytical approximation of $LPO$. The functions that it uses (line 302) were chosen to reproduce the LPO opitimisation objective. Mappings like $(r-1)^n$ were not necessary. **Q6** Can you provide some studies on how different values of $\alpha$ and $\beta$ affect the performance of DPO? > **A6** Although we write the variables $\alpha$ and $\beta$ symbolically for clarity, it is important that these take the values $\alpha=2 \ \&\ \beta=0.6$ to reproduce LPO accurately. We do not consider them hyperparameters to tune (at least, not in this paper), but rather elements of our analytical model. **Q7** There were too few experiments conduceted to justify the generalisation claims about LPO. Can you run some experiments on Procgen? >**A7** We believe that it is an unfair comment. We provided experiments on 8 tasks in total, with a remarkably high unseen:seen reatio ($7:1$). Other works usually use less---for example [Kirsch et al., 2020] use $4$ tasks in total, with the unseen:seen ratio of only up to $2:1$. We will include more experiments on **Q8** Could you add a properly referenced appendix and include equation numbering? >**A8** Lack of these is a clerical mistake on our behalf. We apologise and fill address this concern in the paper's final version.

    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