2024-03-01 09:15:25 +08:00
2024-01-05 10:13:31 +08:00
2024-01-05 10:13:31 +08:00
2023-12-18 10:29:32 +08:00
2023-12-17 19:43:55 +08:00
2024-03-01 09:15:25 +08:00
2024-01-05 10:13:31 +08:00

Adapters are end-to-end probes

Typically, most Language Learning Model (LLM) probes train a linear classifier on the LLM's residual stream or use a sparse autoencoder. However, an alternative approach is to utilize an adapter, such as LoRA. Instead of only training the hidden states, this method involves end-to-end backpropagation. The key questions are: How does this function? How well does it generalize?

Refer to the branches for details on my experiments.

Stylized Facts:

  • Implementing an adapter as an importance matrix in a Sparse Autoencoder (SAE) does not seem beneficial.
  • Utilizing the activations from adapters as counterfactual residual streams does not significantly improve results.
  • The use of Sparse Autoencoders or VQ-VAE (tokenized autoencoders) does not noticeably enhance the outcome in this context (although the VQ-VAE interpretability project appears promising).

Future Work:

  • I've been applying Phi-2 on datasets where it returns incorrect answers. To advance this, I believe a more reliable and natural method to generate and measure deception is necessary.

Related work:

S
Description
Experiment to see if low rank adapters can work as interventions for lie detection on LLM's
Readme
9 MiB
Languages
Jupyter Notebook 92.3%
Python 7.5%
Jinja 0.2%