The internet search engine of the future will be powered by artificial intelligence. One can already choose from a host of AI-powered or AI-enhanced search engines—though their reliability often still leaves much to be desired. However, a team of computer scientists at the University of Massachusetts Amherst recently published and released a novel system for evaluating the reliability of AI-generated searches.
Called “eRAG,” the method is a way of putting the AI and search engine in conversation with each other, then evaluating the quality of search engines for AI use. The work is published as part of the Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval.
“All of the search engines that we’ve always used were designed for humans,” says Alireza Salemi, a graduate student in the Manning College of Information and Computer Sciences at UMass Amherst and the paper’s lead author.
“They work pretty well when the user is a human, but the search engine of the future’s main user will be one of the AI Large Language Models (LLMs), like ChatGPT. This means that we need to completely redesign the way that search engines work, and my research explores how LLMs and search engines can learn from each other.”
The basic problem that Salemi and the senior author of the research, Hamed Zamani, associate professor of information and computer sciences at UMass Amherst, confront is that humans and LLMs have very different informational needs and consumption behavior.
For instance, if you can’t quite remember the title and author of that new book that was just published, you can enter a series of general search terms, such as, “what is the new spy novel with an environmental twist by that famous writer,” and then narrow the results down, or run another search as you remember more information (the author is a woman who wrote the novel “Flamethrowers”), until you find the correct result (“Creation Lake” by Rachel Kushner—which Google returned as the third hit after following the process above).
But that’s how humans work, not LLMs. They are trained on specific, enormous sets of data, and anything that is not in that data set—like the new book that just hit the stands—is effectively invisible to the LLM.
Furthermore, they’re not particularly reliable with hazy requests, because the LLM needs to be able to ask the engine for more information; but to do so, it needs to know the correct additional information to ask.
Computer scientists have devised a way to help LLMs evaluate and choose the information they need, called “retrieval-augmented generation,” or RAG. RAG is a way of augmenting LLMs with the result lists produced by search engines. But of course, the question is, how to evaluate how useful the retrieval results are for the LLMs?
So far, researchers have come up with three main ways to do this: the first is to crowdsource the accuracy of the relevance judgments with a group of humans. However, it’s a very costly method and humans may not have the same sense of relevance as an LLM.
One can also have an LLM generate a relevance judgment, which is far cheaper, but the accuracy suffers unless one has access to one of the most powerful LLM models. The third way, which is the gold standard, is to evaluate the end-to-end performance of retrieval-augmented LLMs.
But even this third method has its drawbacks. “It’s very expensive,” says Salemi, “and there are some concerning transparency issues. We don’t know how the LLM arrived at its results; we just know that it either did or didn’t.” Furthermore, there are a few dozen LLMs in existence right now, and each of them work in different ways, returning different answers.
Instead, Salemi and Zamani have developed eRAG, which is similar to the gold-standard method, but far more cost-effective, up to three times faster, uses 50 times less GPU power and is nearly as reliable.
“The first step towards developing effective search engines for AI agents is to accurately evaluate them,” says Zamani. “eRAG provides a reliable, relatively efficient and effective evaluation methodology for search engines that are being used by AI agents.”
In brief, eRAG works like this: a human user uses an LLM-powered AI agent to accomplish a task. The AI agent will submit a query to a search engine and the search engine will return a discrete number of results—say, 50—for LLM consumption.
eRAG runs each of the 50 documents through the LLM to find out which specific document the LLM found useful for generating the correct output. These document-level scores are then aggregated for evaluating the search engine quality for the AI agent.
While there is currently no search engine that can work with all the major LLMs that have been developed, the accuracy, cost-effectiveness and ease with which eRAG can be implemented is a major step toward the day when all our search engines run on AI.
This research has been awarded a Best Short Paper Award by the Association for Computing Machinery’s International Conference on Research and Development in Information Retrieval (SIGIR 2024). A public python package, containing the code for eRAG, is available at https://github.com/alirezasalemi7/eRAG.
More information: Alireza Salemi et al, Evaluating Retrieval Quality in Retrieval-Augmented Generation, Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval (2024). DOI: 10.1145/3626772.3657957
News
This Deadly Disease Was Wiping Out Humans 5,500 Years Ago
A new study suggests plague was already a deadly threat 5,500 years ago, striking small hunter-gatherer communities long before cities and agriculture emerged. For centuries, plague has been remembered as the disease that devastated [...]
China closing in but US leads in biotech quality, commercial reach, survey finds
SAN DIEGO, June 22 (Reuters) - China, which now conducts more clinical drug trials, opens new tab than the U.S., still lags in the quality and commercial reach of its biomedical science, according to a recent survey, opens new [...]
New method generates renewable supply of progenitor immune cells
In a paper published in Cell, a USC Stem Cell-led team reports a new way of generating a renewable and expandable supply of the progenitor cells that give rise to macrophages. These immune cells help [...]
Scientists Just Discovered a Cellular Survival System That Was Never Supposed To Exist
A surprising backup pathway allows cells to make a crucial amino acid when their primary machinery fails. For decades, biologists believed cells had only one way to access a molecule they cannot live without. New [...]
Artificial cells gain porous membranes, enabling lab reactions and drug release
Artificial cells created in the laboratory offer a wide range of potential applications. Until now, however, their membranes—unlike those of real cells—have been virtually impermeable. Researchers at the Max Planck Institute for Polymer Research, [...]
Popular Weight-Loss Drugs Like Ozempic Linked to Lower Breast Cancer Risk
Ozempic and similar weight-loss drugs were linked to a striking 30% reduction in breast cancer risk in a study of more than 110,000 women. Popular weight-loss and diabetes medications such as Ozempic, Wegovy, Mounjaro, [...]
Stanford Scientists Discover Explosive New Type of Immune Cell
Scientists studying the remarkable regenerative abilities of planarian flatworms have uncovered a previously unknown type of immune cell with an unusually destructive defense strategy. What if an immune cell could wipe out nearby threats [...]
Big Pharma-backed SonoThera sounds off with $125M series B for bubble-based genetic delivery
Bay Area biotech SonoThera is bubbling to a clinical boil after raising a $125 million series B with the backing of some of the biggest names in pharma. Vida Ventures led the raise, with the venture [...]
Joint initiative of 5 EU countries calls for ‘unified approach’ to pharma framework amid US drug pricing pressure
With drug pricing pressure building from the U.S., a healthcare-focused consortium of five European countries is calling for a “unified approach” to strengthen Europe’s pharmaceutical framework and access to innovative medicines. Belgium, the Netherlands, [...]
Our books now available worldwide!
Online Sellers other than Amazon, Routledge, and IOPP Indigo Global Health Care Equivalency in the Age of Nanotechnology, Nanomedicine and Artifcial Intelligence Global Health Care Equivalency In The Age Of Nanotechnology, Nanomedicine And Artificial [...]
Molecular Manufacturing: The Future of Nanomedicine – New book from NanoappsMedical Inc.
This book explores the revolutionary potential of atomically precise manufacturing technologies to transform global healthcare, as well as practically every other sector across society. This forward-thinking volume examines how envisaged Factory@Home systems might enable the cost-effective [...]
NanoMedical Brain/Cloud Interface – Explorations and Implications. A new book from Frank Boehm
New book from Frank Boehm, NanoappsMedical Inc Founder: This book explores the future hypothetical possibility that the cerebral cortex of the human brain might be seamlessly, safely, and securely connected with the Cloud via [...]
New book from Nanoappsmedical Inc. – Global Health Care Equivalency
A new book by Frank Boehm, NanoappsMedical Inc. Founder. This groundbreaking volume explores the vision of a Global Health Care Equivalency (GHCE) system powered by artificial intelligence and quantum computing technologies, operating on secure [...]
UCLA Scientists Uncover a “Hidden Weakness” in Some of the World’s Deadliest Cancers
A new study has uncovered an unexpected vulnerability in some of the deadliest cancers. Researchers at UCLA have identified a previously hidden weakness in some of the most aggressive cancers, pointing to a possible new way [...]
AI-designed universal coronavirus vaccine clears first human trial
Key Takeaways Super-Antigen Technology: Uses AI and machine learning to analyze viral genomes, creating a single vaccine that targets essential features across entire virus families, including coronaviruses and Ebola. Human Trials & Safety: Phase [...]
Researchers Discover a Hidden Vitamin D Problem That Persists Year-Round
A new study suggests that some groups may not experience the expected seasonal boost in vitamin D levels, even during the sunniest months of the year. Many people assume that spending more time outdoors [...]















