Comments (3)
Looking forward to the author's reply!
from laser.
Thanks a lot for your comment.
-
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.
-
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.
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)
- What is the ETA on the code HOT 2
- License HOT 6
- Mistral Support HOT 16
- Where to Get the Dataset HOT 5
- Question HOT 2
- Do you think it could work for MoE models like Mixtral? HOT 2
- Rank-reduced models? HOT 4
- Feature Request for Upcoming Refactoring
- Rank reduction using random matrix theory HOT 1
- what does the 'rate' parameters actually mean in code? HOT 2
- Potential improvements for evaluation HOT 1
- Application to three-dimensional tensors HOT 1
- Llama2-7B + TruthfulQA reproduce issue HOT 8
- method of composing reductions across layers HOT 2
- Generic model? HOT 3
- how to get base model accuracy HOT 2
- Problem Encountered During Reproduction HOT 2
- How to reproduce Figure 5 analysis in this paper?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laser.