I'm not sure how much is actually known to write about, but what I'd like to see explained is how transformer-based LLMs/AI really work - not at the mechanistic level of the architecture, but in terms of what they learn (some type of world model ? details, not hand waving!) and how do they utilize this when processing various types of input ? What type of representations are being used internally in these models ? We…
> not at the mechanistic level of the architecture, but in terms of what they learn (some type of world model ? details, not hand waving!) https://imgs.xkcd.com/comics/tasks.png
Show HN: Visual intuitive explanations of LLM concepts (LLM University)
21–30 of 37 posts
Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#22I'm not sure how much is actually known to write about, but what I'd like to see explained is how transformer-based LLMs/AI really work - not at the mechanistic level of the architecture, but in terms of what they learn (some type of world model ? details, not hand waving!) and how do they utilize this when processing various types of input ? What type of representations are being used internally in these models ? We…
One of the most interesting presentations in the last session of the workshop is this talk by David Bau titled "Direct Model Editing and Mechanistic Interpretability". David and his team locate exact information in the model, and edit it. So for example they edit the location of the Eiffel Tower to be in Rome. So whenever the model generates anything involving location (e.g., the view from the top of the tower), it actually describes Rome
Talk: https://www.youtube.com/watch?v=I1ELSZNFeHc
Paper: https://rome.baulab.info/
Follow-up work: https://memit.baulab.info/
There is also work on "Probing" the representation vectors inside the model and investigating what information is encoded at the various layers. One early Transformer Explainability paper (BERT Rediscovers the Classical NLP Pipeline https://arxiv.org/abs/1905.05950) found that "the model represents the steps of the traditional NLP pipeline in an interpretable and localizable way: POS tagging, parsing, NER, semantic roles, then coreference". Meaning that the representations in the earlier layers encode things like whether a token is a verb or noun, and later layers encode other, higher-level information. I've made an intro to these probing methods here: https://www.youtube.com/watch?v=HJn-OTNLnoE
A lot of applied work doesn't require interpretability and explainability at the moment, but I suspect the interest will continue to increase.
Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#23Jay, I liked your tutorial on Transformer models. Helped me a lot when I read it in 2020. One of the best resources on a topic then. Thanks for your work! Fingers crossed for your new endeavour.
Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#24From what I've seen so far, it looks awesome. I'm excited to dive in. Thanks!
Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#25I'm not sure how much is actually known to write about, but what I'd like to see explained is how transformer-based LLMs/AI really work - not at the mechanistic level of the architecture, but in terms of what they learn (some type of world model ? details, not hand waving!) and how do they utilize this when processing various types of input ? What type of representations are being used internally in these models ? We…
This is a field I find fascinating. It's generally the research field of Machine Learning Interpretability. The BlackboxNLP workshop is one of the main places for investigating this and is a very popular academic workshop https://blackboxnlp.github.io/ One of the most interesting presentations in the last session of the workshop is this talk by David Bau titled "Direct Model Editing and Mechanistic Interpretability".…
I wasn't aware of that BERT explainability paper - will be reading it, and watching your video.
Are there any more recent Transformer Explainability papers that you would recommend - maybe ones that build on this and look at what's going on in later layers?
Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#26I’ve also made some visual explanations for ml for Amazon, available at https://mlu-explain.github.io/
Big fan of your early work, Jay, a big inspiration for me!
Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#27Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#28Earlier quoted context omitted.
This is a field I find fascinating. It's generally the research field of Machine Learning Interpretability. The BlackboxNLP workshop is one of the main places for investigating this and is a very popular academic workshop https://blackboxnlp.github.io/ One of the most interesting presentations in the last session of the workshop is this talk by David Bau titled "Direct Model Editing and Mechanistic Interpretability".…
Thanks, Jay! I wasn't aware of that BERT explainability paper - will be reading it, and watching your video. Are there any more recent Transformer Explainability papers that you would recommend - maybe ones that build on this and look at what's going on in later layers?
Transformer Feed-Forward Layers Are Key-Value Memories https://arxiv.org/abs/2012.14913
The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attention https://arxiv.org/abs/2202.05798
Re: Show HN: Visual intuitive explanations of LLM concepts (LLM University)
#29Earlier quoted context omitted.
Thanks, Jay! I wasn't aware of that BERT explainability paper - will be reading it, and watching your video. Are there any more recent Transformer Explainability papers that you would recommend - maybe ones that build on this and look at what's going on in later layers?
Additional ones that come to mind now are: Transformer Feed-Forward Layers Are Key-Value Memories https://arxiv.org/abs/2012.14913 The Dual Form of Neural Networks Revisited: Connecting Test Time Predictions to Training Patterns via Spotlights of Attention https://arxiv.org/abs/2202.05798 https://github.com/neelnanda-io/TransformerLens