Code Monkey home page Code Monkey logo

Comments (3)

caiyuchen-ustc avatar caiyuchen-ustc commented on May 18, 2024

Looking forward to the author's reply!

from laser.

dkmisra avatar dkmisra commented on May 18, 2024

Thanks a lot for your comment.

  1. Evaluating the other metrics is on our TODO list. I think it shouldnt be hard to compute them and we certainly plan to do so.

  2. Your point about finding LASER hyperparameters that work across a range of tasks is also very relevant. One question would be, what model selection criterion does one use? We can take 20% of each datasets and use that as a validation set and compute an aggregate metric. But what metric would make most sense? One can compute average accuracy but the scaling factors and difficulty might be different. Or, one can compute a score that measures the number of datasets we outperform.

    We did notice a common trend which is that typically one needs to do LASER on later MLP layers with a significant amount of reduction to get the best performance. This is mostly but not always true for the results in Table 1 (see selected hyperparameters in Table 3). I recently tested this hypothesis for the Phi-1.5 LLM on the Counterfact dataset. The base model gives an 10% accuracy and I tried just two choices for LASER: the last transformer layer, keeping just 0.01 of the original rank, and using the first or the second layer of the MLP. This choice is guided by the above pattern in Table 3. And this already gave a performance boost of 16%. Therefore, I am somewhat optimistic that we can find a general choice for LASER that outperforms the base model in the majority of settings. The code for running the Phi-1.5 experiment is here: https://github.com/pratyushasharma/laser/blob/main/src/intervention_phi15_counterfact.py

Thanks a lot for your comments and the reference to the Meng et al paper which we cited and which we really like. Please let us know if we can help you in using this codebase.

from laser.

dkmisra avatar dkmisra commented on May 18, 2024

Closing this issue. Please feel free to reopen it up, or send us an email. We will update the README.md once we have more results (adding @pratyushasharma to this thread as well).

from laser.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.