Vibeleaderboard
← All Intel
Intel / video

Backtest Your Agent Against Yesterday's Web — Ryan Ahern, Exa

Source
youtube.com
Author
AI Engineer
Date

Context

Exa, a search engine built for AI agents, has a feature called Exa Snapshot that runs a search as if it were happening on a past date. In an AI Engineer workshop, Ryan Ahern, a forward deployed engineer at Exa, shows what that is for: testing whether an would have made the right call using only what was on the web at the time. A live search always includes the latest news. If an agent asked whether a company will be acquired finds the deal announcement, it scores perfectly while predicting nothing. That leak of later information into a test of the past is look-ahead bias, and setting the search date to just before the announcement keeps the answer out of the results.

The mechanism comes from how Exa crawls. Each time it finds a new version of a page, it stores that version, so a request can return a known URL as it stood on a given date, or the nearest earlier copy Exa holds, and a search can return only results that would have been served then. Ahern puts the index at roughly 100 billion documents. He outlines three ways teams use it: gathering historical inputs for an existing that never searches, which matters because publishers often change an article's publish date after the fact; testing a single search-based input, such as a scan for negative press about a business partner, before adding it to a conventional model; and limiting what a fully agentic system can see when it decides for itself what to search. For a coding model, he suggests freezing search just before a pull request in an outside repository was solved, so a success reflects the model rather than a fix it found online.

In the hands-on part, participants wrote yes-or-no questions meant to predict acquisitions, and Snapshot checked them against ten companies at one, seven and 30 days before each acquisition, or on a random date for companies that were not acquired. A correct acquisition call earned a point, a false alarm lost one, and a miss cost nothing. Ahern's own demo showed why one signal is weak: a question about losing a CEO or CFO flagged Delivery Hero, which was acquired, and also Quadient, which was not. Adding a question about reports that the company was exploring a sale, and requiring both answers to be yes, improved the score a little over accepting either one.

The winning entries made his larger point for him. The top one asked whether a company was publicly listed and excluded several companies by name, and another paired an activist-investor or share-price test with a check on whether the company was named Dominion. Ahern had dropped the holdout set, a group of cases kept back to test a rule after it has been tuned, to keep the exercise simple, and the contestants fit their rules to the ten visible companies. A date cutoff keeps future web pages out of the search, but it does not stop a person or an agent from tuning a rule to known answers; testing on cases the rule never saw is what catches that. Ahern describes Snapshot as an enterprise feature with some public usage, and the workshop reports no results from real backtests. This explanation is based on a machine transcript of the workshop.

Terms in this piece · Glossary
  • Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
  • Model — A computational system that uses learned patterns to produce an output from information supplied to it.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source www.youtube.com
More from AI Engineer
Recommended reads