3 ms·
Totally agreed—this is a design choice that basically comes from our agent architecture, and the codegen-based architecture that we think will likely proliferat
by KhoomeiK 2y ago
Totally agreed—this is a design choice that basically comes from our agent architecture, and the codegen-based architecture that we think will likely proliferate for web agent tasks in the future. We provide Tarsier's text/screenshot to an LLM and have it write code with generically written selectors rather than the naive selectors that Tarsier assigns to each element.
It's sort of like when you (as a human) write a web scraper and visually click on individual elements to look at the surrounding HTML structure / their selectors, but then end up writing code with more general selectors—not copypasting the selectors of the elements you clicked.
- davedx 2y agoOoh that's a very neat approach, great idea! Chains of thought across abstraction layers. Definitely worth a blog post I reckon. Good luck!
- KhoomeiK 2y agoThanks! We might put out a paper about it with some Carnegie Mellon collaborators this summer.
- bryanrasmussen 2y agoYou might like to look at https://tsigalko18.github.io/assets/pdf/2016-Leotta-JSEP.pdf https://tsigalko18.github.io/assets/pdf/2016-Leotta-JSEP.pdf ROBULA+: An Algorithm for Generating Robust XPath Locators for Web Testing.