Joel Rorseth (@joelrorseth) profile picture

PhD @ UWaterloo, former intern @llama_index. Focused on LLMs and RAG, especially to understand and explain their behaviors.

Waterloo, Ontario
Joined May 2023
Photo by Joel Rorseth (@joelrorseth)
Last week at #EDBT2025, I presented our latest demo, LADYBUG โ€” an interactive debugger for LLM agents ๐Ÿž LLM agents are powerful, but when they fail, debugging can be a nightmare. LADYBUG helps you trace agent steps, intervene, and even repair issues with LLM assistance. ๐Ÿงต๐Ÿ‘‡
1
1
91
LADYBUG is like a software debugger, but built for LLM agents. ๐Ÿ” Step-by-step execution traces ๐Ÿ› ๏ธ Intervene at any step & re-run only whatโ€™s affected ๐Ÿค– LLM-powered self-reflection to find & fix errors ๐Ÿ“ˆ Inspect intermediate state & metrics in complex workflows
1
30
For more details, please see our paper and demo video: ๐Ÿ“„ Paper: openproceedings.org/2025/conโ€ฆ ๐ŸŽฅ Demo video: vimeo.com/1036113298 Thanks to my co-authors Parke Godfrey, Lukasz Golab, Divesh Srivastava, and Jarek Szlichta! #AI #LLM #DevTools #Debugging #Agents
56
๐ŸŽŠAs we ring in the New Year, check out our 2024 roundup story! ๐ŸŒŸFrom revolutionizing healthcare to unravelling the secrets of AI, #UWaterloo's Computer Science is pushing the boundaries of human curiosity. ๐Ÿ”—Read more: cs.uwaterloo.ca/news/recap-2โ€ฆ
1
4
8
1,968
Had a great time chatting with @WCDSBInnovates on their Deep Learning Dialogues podcast! We discussed my recent LLM-focused #ExplainableAI research and its implications for AI trust and safety. Check it out! ๐ŸŽ™๏ธ
New episode! ๐ŸŽง "RAGE: Bringing Clarity to the Fuzzy World of AI Sources" featuring @JoelExplainsAI from @UWaterloo uncovers how the RAGE tool demystifies LLM sources, reshaping AI trust in education. Listen now on all podcast platforms or our website! #WCDSBInnovates
2
125
Check out this great article about RAGE, our latest research innovation that helps explain LLMs!
A team of #UWaterloo researchers have created a new tool โ€“ nicknamed โ€œRAGEโ€ โ€“ that reveals where large language models (LLMs) like ChatGPT are getting their information and whether that information can be trusted. More: bit.ly/3RfAJm2 | #UWaterlooNews
1
8
463
6/ ๐Ÿง‘โ€๐Ÿ”ฌ This work is a collaboration between @UWaterloo, @YorkUniversity, and @ATT. Huge thanks to my co-authors for their incredible contributions! ๐Ÿ™Œ
1
1
206
7/ ๐Ÿ”ฎ There are many aspects of LLMs, RAG, and beyond that remain unexplained. We're currently researching many of these, with several extensions in the works. Stay tuned for more updates and an open-source RAGE code release in the near future! ๐Ÿš€๐Ÿ’ก
1
193
Ever wonder how exactly your knowledge sources are being used during RAG? We did too. I'm excited to share our early work in explaining LLMs, "RAGE Against the Machine: Retrieval-Augmented LLM Explanations"! ๐ŸŽธโœจ ๐Ÿ“„ Paper: arxiv.org/abs/2405.13000 ๐Ÿงต [Thread]
3
19
1
69
8,053
5/ ๐Ÿ’ป Dive into our demo paper to explore the technical details and implications of our findings. Link: arxiv.org/abs/2405.13000 ๐ŸŒ๐Ÿ“–
1
4
164
4/ ๐Ÿ“ˆ Whether it's determining the greatest tennis player or answering your own unique questions, RAGE supports various use cases. Our code (coming soon) is designed with interfaces, making it highly adaptable to any LLM, retriever, or text data source! ๐ŸŽพ๐Ÿ†
1
2
165
3/ ๐ŸŒŸ Key features include: - Source Combination Tests: Which sources lead to which answers? ๐Ÿ” - Source Permutation Tests: How does the answer change if sources are reordered? ๐Ÿ”€ - Interactive Demo: Explore behaviors of real LLMs using real data. ๐Ÿ“š
1
3
191
2/ ๐Ÿ› ๏ธ RAGE helps users understand how LLMs generate answers by identifying parts of the input context that, when moved or removed, change the LLM's response. This counterfactual approach makes AI decision-making more transparent, and allows us to derive a form of citation. ๐Ÿ”„๐Ÿ“Š
1
2
192
1/ ๐Ÿ” Our paper introduces RAGE, an interactive tool designed to explain the outputs of LLMs augmented with retrieval capabilities (RAG). RAG needs explaining since it is unclear how the presence and order of knowledge sources (among other things) affects the LLM's answer! ๐Ÿค–๐Ÿ’ก
1
4
244
Joel Rorseth retweeted
Being able to interpret an #ML modelโ€™s hidden representations is key to understanding its behavior. Today we introduce Patchscopes, an approach that trains #LLMs to provide natural language explanations of their own hidden representations. Learn more โ†’ goo.gle/4aS5epd
26
327
18
1,296
162,452