Open-Source Interpretability for Generative Language Models 🔎 🐛

Europe
Joined November 2022
Model Internals-based RAG Evaluation (MIRAGE) 🌴 is accepted to #EMNLP2024 Main! ➡️ To celebrate, here's our new MIRAGE demo combining @InseqLib and Transformers-specific LRP: huggingface.co/spaces/gsarti…. Reach out if you want to catch up in Miami! 🤗🏖️
[1/8] Struggling with verifying the trustworthiness of RAG outputs? Check our latest work where we utilize *model internals* as a powerful and faithful tool for attributing answers to retrieved docs! (w/ @gsarti_ @AriannaBisazza @raquel_dmg) 📄: arxiv.org/abs/2406.13663 #NLProc
5
58
3,283
Very hyped for the new beautiful viz that just landed in the @InseqLib main branch! 🔥 This will empower users to explore attribution tensors more flexibly and intuitively. h/t to @_ddjohnson for his awesome work on the treescope toolkit powering this release!
Thanks to the new treescope integration, @InseqLib now supports interactive visualizations for multidimensional attributions (show_granular), token highlights (show_tokens) and improved viz for attribute_context CLI! 🚀 Install main, will appear in v0.7 xitter.cf/_ddjohnson/status/1821…
3
23
960
🎓 We're thrilled to host Gabriele Sarti (@gsarti_) in our PhD seminar series tomorrow, July 16th, from 12:00-13:00 in Oe67 BU 101! Join us for his talk on interpreting context usage in generative language models, featuring the Inseq toolkit and PECoRe framework. 🕛Don't miss it!
1
5
1
36
4,842
Today, we had the first seminar of our #XAI course! @gsarti_ presented the @InseqLib to interpret LMs and the PECORE framework to identify & attribute context dependence in LMs! 🚀🌟 Thank you, it was so interesting! 🤗 Great start to our series! gsarti.com/talk/polito-inseq…
5
41
2,214
[1/4] Introducing “A Primer on the Inner Workings of Transformer-based Language Models”, a comprehensive survey on interpretability methods and the findings into the functioning of language models they have led to. ArXiv: arxiv.org/pdf/2405.00208
7
126
9
556
87,984
🐑 PECoRe repository is now public (github.com/gsarti/pecore) and all model/datasets are available on @huggingface (huggingface.co/collections/g…)! 🐑Interested in using PECoRe on your models? Have a look at the @InseqLib implementation (`inseq attribute-context`)!
[1/8] Our new work (w/ @AriannaBisazza @gchrupala @MalvinaNissim) is finally out! 🎉 We introduce PECoRe, an interpretability framework using model internals to identify & attribute context dependence in language models. 📄Paper: arxiv.org/abs/2310.01188 #NLProc #neuralempty
10
40
2,796
Excited to present my recent work on @InseqLib and the #ICLR2024 PECoRe interpretability framework for the @SheffieldNLP group this afternoon! Many thanks @casszzx for inviting me! 🤗 🐛 Inseq: github.com/inseq-team/inseq 🐑🐑 PECoRe: openreview.net/forum?id=XTHf…
9
49
3,746
Wow!! This is great news🥳 Thanks @InseqLib! I’m excited to try it out!
Value Zeroing, a faithful approach for analyzing context mixing in Transformers, is now available on @InseqLib main branch for all @huggingface text generation models! 🔀 🔍Paper introducing VZ: aclanthology.org/2023.eacl-m… 🐛VZ in Inseq: tinyurl.com/inseq-vz
2
4
637
Very proud of this release and all the amazing new contributors working towards democratizing interpretability research tools for the NLP community! 🚀
2
18
1,224
Join us at the @BlackboxNLP poster session today at 11:00 (in-person at #EMNLP2023) for our PECoRe presentation and to grab some @InseqLib stickers! 🐛 #nlproc
5
23
1,467
[1/8] Our new work (w/ @AriannaBisazza @gchrupala @MalvinaNissim) is finally out! 🎉 We introduce PECoRe, an interpretability framework using model internals to identify & attribute context dependence in language models. 📄Paper: arxiv.org/abs/2310.01188 #NLProc #neuralempty
2
21
6
115
31,347
Excited to see the tools that leverage features of Petals (e.g. backprop through the distributed model) in creative ways. Thanks to @InseqLib devs, we now have an easy way to interpret predictions of LLMs without actually running them on your PC — give it a try!
Want to analyze LLMs with >50B params, but they're so huge that even quantization fails? 🤯 Fear not, attribution for petals 🌸 distributed LLMs has just landed in the @InseqLib main branch! 🚀 Tutorial: tinyurl.com/inseq-petals cc @m_ryabinin @sasha_borzunov @BigscienceW
4
17
5,039
Working on interpretability? Trying to gain a better insight into *how* a model came to a prediction? Consider submitting to BlackboxNLP! Submission deadline: Sep 1 Workshop date: Dec 7 @ EMNLP We also accept work-in-progress in a non-archival track! blackboxnlp.github.io/
16
5
41
14,589
Replying to @InseqLib
@InseqLib 🐛 is a new toolkit built on top of the @huggingface ecosystem to enable easy and reproducible interpretability analyses of generative LMs! @nfelnlp and I will present Inseq today at #ACL2023NLP Demo Session 5 (16:15-17:30). Come say hi and get a sticker! 😄
2
14
49
2,403
Heading to Toronto to attend ACL with the @GroNlp squad! 🍁 Will present: - Inseq, interpretability tool for generative LMs (arxiv.org/abs/2302.13942) - RAMP prompting for ACT (arxiv.org/abs/2305.17131) First ACL, or want to talk about LM interpretability? DMs open! 🤗
6
55
3,364
Glad to be part of the @eScienceCenter Fellows cohort of 2023! 🎉 This generous fellowship will contribute to the development and promotion of @InseqLib to make interpretability research on generative LMs more simple and reproducible. #nlproc
5
22
1,304
While RAMP relies on attribute-marked examples for retrieval, I'm especially excited about the potential of feature attribution (w/ @InseqLib) as an unsupervised attribute extractor! Find me at ACL to talk about attribute-controlled MT and interpretability for NLG! 🍁
1
3
255
There is a new library to aid in LLM interpretability. arxiv.org/abs/2302.13942
1
2
1
34
1,781
The nicest part is how @InseqLib a super easy extraction of layer gradients obtained from a contrastive attribution target from a quantized LM using just a few lines of code 🤩 looking forward to new amazing NLP interpretability research powered by Inseq 🐛! 4/4
2
1
6
694
I'm looking forward to exploring new ways that Inseq can be used for studying social biases in MT models!
1
6
707