Advancing the Search Frontier with AI Agents

Paper · arXiv 2311.01235 · Published November 2, 2023
Question Answering and Search

As many of us in the information retrieval (IR) research community know and appreciate, search is far from being a solved problem. Millions of people struggle with tasks on search engines every day. Often, their struggles relate to the intrinsic complexity of their task and the failure of search systems to fully understand the task and serve relevant results [62]. The task motivates the search, creating the gap/problematic situation that searchers attempt to bridge/resolve and drives search behavior as they work through different task facets. Complex search tasks require more than support for rudimentary fact finding or re-finding. Research on methods to support complex tasks includes work on generating query and website suggestions [23, 66], personalizing and contextualizing search [4], and developing new search experiences, including those that span time and space [1, 68]. The recent emergence of generative artificial intelligence (AI) and the arrival of assistive agents, based on this technology, has the potential to offer further assistance to searchers, especially those engaged in complex tasks [45, 65]. There are profound implications from these advances for the design of intelligent systems and for the future of search itself. This article, based on a keynote by the author at the 2023 ACM SIGIR Conference, explores these issues and how AI agents are advancing the frontier of search system capabilities, with a special focus on information interaction and complex task completion.

Introduction. 1 TAKING SEARCH TO TASK Tasks are a critical part of people’s daily lives. The market for dedicated task applications that help people with their “to do” tasks is likely to grow significantly (effectively triple in size) over the next few years.1 There are many examples of such applications that can help both individuals (e.g., Microsoft To Do, Google Tasks, Todoist) and teams (e.g., Asana, Trello, Monday.com) tackle their tasks more effectively. Over time, these systems will increasingly integrate AI to better help their users capture, manage, and complete their tasks [64]. In information access scenarios such as search, tasks play an important role in motivating searching via gaps in knowledge and problematic situations [3, 15]. AI can be central in these search scenarios too, especially in assisting with complex search tasks.

1.1 Tasks in Search Tasks drive the search process. The IR and information science communities have long studied tasks in search [46] and many information seeking models consider the role of task directly [3, 15]. Prior research has explored the different stages of task execution (e.g., pre-focus, focus formation, post-focus) [57], task levels [43], task facets [32], tasks defined on intents (e.g., informational, transactional, and navigational [8]; well-defined or ill-defined [25]; lookup, learn, or investigate [36]), the hierarchical structure of tasks [73], the characteristics of tasks, and the attributes of task-searcher interaction, e.g., task difficulty and, of course, a focus in this article, task complexity [11, 28]. As a useful framing device to help conceptualize tasks and develop system support for them, tasks can be represented as trees comprising macrotasks (high level goals), subtasks (specific components of those goals), and actions (specific steps taken by searchers toward the completion of those components) [46]. Figure 1 presents an example of a “task tree” for a task involving an upcoming vacation to Paris, France. Examples of macrotasks, subtasks, and actions 1.2 Complex Search Tasks Recent estimates suggest that half of all Web searches are not answered.2 Many of those searches are connected to complex search tasks. These tasks are ill-defined and/or multi-step, span multiple queries, sessions, and/or devices, and require deep engagement with search engines (many queries, backtracking, branching, etc.) to complete them [23]. Complex tasks also often have many facets and cognitive dimensions, and are closely connected to searcher characteristics such as domain expertise and task familiarity [42, 62]. To date, there have been significant attempts to support complex search tasks via humans (e.g., librarians, subject matter experts) and search systems (both general Web search engines and those tailored to specific industry verticals or domains). The main technological progress so far has been in areas such as query suggestion and contextual search, with new experiences also being developed that utilize multiple devices, provide cross-session support, and enable conversational search. We are now also seeing an emerging wave of search-related technologies in the area of generative AI [39]. Before proceeding, let us dive into these different types of existing and emerging search support for complex tasks in more detail.

Related work. • Suggestions, personalization, and contextualization: Researchers and practitioners have long developed and deployed support such as query suggestion and trail suggestion, e.g., [23, 49], including providing guided tours [55] and suggesting popular trail destinations [66] as ways to find relevant resources. This coincides with work on contextual search and personalized search, e.g., [4, 51, 67], where search systems can use data from the current searcher such as session activity, location, reading level, and so on, and the searcher’s long-term activity history, to provide more relevant results. Search engines may also use cohort activities to help with cold-start problems for new users and augment personal profiles for more established searchers [52, 74].

• Multi-device, cross-device, and cross-session: Devices have different capabilities and can be used in different settings. Multidevice experiences, e.g., [68], utilize multiple devices simultaneously to better support complex tasks such as recipe preparation, auto repair, and home improvement that have been decomposed into steps manually or automatically [78]. Cross-device and cross-session support [1, 60] can help with ongoing/background searches for complex tasks that persist over space and time. For example, being able to predict task continuation can help with “slow search” applications that focus more on result quality than the near instantaneous retrieval of search results [50]. • Conversational experiences and generative AI: Natural language is an expressive and powerful means of communicating intentions and preferences with search systems. The introduction of clarification questions on search engine result pages (SERPs) [76], progress on conversational search [21], and even “conversations” with documents (where searchers can inquire about document content via natural language dialog) [53], enable these systems to engage more fully with searchers to better understand their tasks and goals. There are now many emerging opportunities to better align search systems and their users, and support more tasks, via large-scale foundation models such as OpenAI’s GPT,3 Google’s Gemini,4 and Meta’s Llama,5 including offering conversational task assistance via chatbots such as ChatGPT.6 All of these advances, and others, have paved the way for the emergence of a new class of generative-AI-powered assistive agents that can help people make progress in their complex search tasks.

Method. 2 AI AGENTS Agents are applications of modern AI (foundation models, etc.) to help people with complex cognitive tasks. At Microsoft, we refer to these as copilots, which work alongside humans to empower them and amplify their cognitive capabilities.7 Copilots have conversational user interfaces and their users engage with them via natural language, they are powered by foundation models such as GPT-4, they are extensible with skills/tools/plugins, and they are scoped to specialized domains or applications (including search). Copilots are designed to to keep humans at the center of the task completion process and augment human capabilities to help them complete a broader range of tasks in less time and with less effort. The general AI agent stack (Figure 2) contains four layers: (1) The frontend, covering the user experience and extensibility with plugins, enabling developers to provide additional visible tools to the agent; (2) The AI orchestration layer that handles the internal information flows, prompting, grounding, executing the plugins and processing their responses, among other things; (3) Agents leverage the power of large foundation models that can be provided to the developer as is, specialized to specific tasks, domains, or applications, or developers can bring their own models to use to power agent functionality, and; (4) This all runs on top of massive scale AI infrastructure hosted in the cloud on platforms such as Microsoft Azure, Google Cloud, and Amazon Web Services. Underpinning all Figure 2: AI agent stack depicting the various layers and the important role of AI safety and security across the stack. Foundation models can be either large language models (LLMs), with trillions of parameters, or small language models (SLMs), with just a few billion parameters. The star (*) symbolizes that there can be multiple cooperating agents as discussed later in Section 4.1.7.

2.1 Agents in Search Agents and chat experiences are a complement not a replacement to traditional search engines. Search engines have existed for decades and serve a valuable purpose: providing near instantaneous access to answers and resources for a broad range of search requests. These existing and emerging modalities can and should work well together to help searchers tackle a wider range of tasks. The ability of agents to better understand intentions and provide assistance beyond fact finding and basic learning/investigation will advance the search frontier (i.e., what search systems are capable of and what types of tasks they can support), broadening the range of tasks that searchers can complete, e.g., direct support for tasks requiring creative inspiration, summarizing existing perspectives, or synthesizing those perspectives to generate new insight (Figure 3). This all moves us toward more intelligent search systems that can help with all-task completion, covering the full universe of tasks for which people might need search support, including actuation capabilities to act on tasks in the digital and physical worlds. One way to define the range of tasks that agents can support is though Bloom’s taxonomy of learning objectives [29]. Creation is at the pinnacle of that taxonomy and we have only scratched the surface in creativity support with next-word prediction through transformer models [16]. We are already seeing expansions into content types beyond text (images, video, audio, and so on) and could consider support for other creative tasks including planning, analysis, and invention. There are also many other layers in Bloom’s taxonomy (e.g., evaluation - help searchers make judgments and decisions, application - help searchers complete new tasks, understanding - explain ideas and concepts to accelerate learning) that could form the basis for future search frontiers. Beyond greater capabilities, the introduction of AI agents into search will also change how people will engage with search systems. In agents, the mode of interaction is primarily natural language, with some recent expansion toward other content types for both 2.2 Adding Agents to Search Engines It is not practical nor necessary to deploy AI agents for all search tasks.

Discussion. For some time, scholars have argued that the future of information interaction will involve personal search assistants with advanced capabilities, including natural language input, rich sensing, user/task/world models, and reactive and proactive experiences [61]. Technology is catching up with this vision. Opportunities going forward can be grouped into four areas: (1) Model innovation; (2) Next-generation experiences; (3) Measurement, and; (4) Broader implications. The opportunities are summarized in Figure 6. There are likely more such opportunities that are not listed here, but the long list shown in the figure is a reasonable starting point for scientists and practitioners interested in working in this area.

There are many opportunities to better model search situations and augment and adapt foundational models to better align with searchers’ tasks and goals, and provide more accurate answers. Agents can leverage these model enhancements to improve the support that they provide for complex search tasks. We now present more detail on each opportunity, including a one sentence summary (shown in italics at the beginning of each subsection).

4.1.1 Task modeling. Build richer task models that more fully represent tasks and task contexts. This includes how we infer tasks and intent (e.g., from textual content of search process, from usersystem interactions, from other situational and contextual information such as location, time, and application usage) and how we represent those tasks internally (e.g., as a hierarchy (Figure 1) or a more abstract representation (semantic vectors, graph embeddings, Markov models, and so on)). We also need to be able to estimate key task characteristics, such as task complexity, which, in one use, can help search systems route requests to the most appropriate interaction modality. In addition, we need to find ways for agents to collect more (and more accurate) user/world knowledge, both in general and specifically related to the task at hand. A better understanding of the short- and long-term task context will help agents more accurately model the tasks themselves.

4.1.3 Augmentation. Enhance agents with relevant external knowledge and enhanced tools and capabilities. As mentioned earlier, RAG is a common form of knowledge injection for foundation models. Relevance models are tuned to maximize user benefit, not for agent consumption. We need to evaluate whether this difference is meaningful practically and if so, develop new ranking criteria that consider the intended consumer of the search results (human or machine). Despite their incredible capabilities, foundation models still have shortcomings that manifest in the agents that use them. We need to understand these shortcomings through principled evaluation and find ways to leverage external skills/plugins to address them. Agents must find and recommend skills per task demands [63], e.g., invoking Wolfram for computational assistance. We can also integrate tool use directly into tool-augmented models, e.g., Toolformer [44], that can teach themselves to use tools. Models of task context may also be incomplete and we should invest in ways to better ground agent responses via context, e.g., richer sensing, context filtering, and dynamic prompting.

4.1.5 Personalization. Develop personal agents that can understand searchers and their tasks, using personal data, privately and securely. Searchers bring their personal tasks to search systems and agents will be no different. Here are some example personal prompts that describe the types of personal tasks that searchers might expect an agent to handle: (1) Write an e-mail to my client in my personal style with a description of the quote in the attached doc.

Conclusion. AI agents will transform how we search. Tasks are central to people’s lives and more support is needed for complex tasks in search settings. Some limited support for these tasks already exists in search engines, but agents will advance the search frontier to make more tasks actionable and help to make inroads in the “last mile” in search interaction: task completion [62]. Moving forward, search providers should invest in “better together” experiences that utilize agents plus traditional search (plus more modalities going forward), make these joint experiences more seamless for searchers, and add more support for their use in practice, e.g., help people to quickly understand agent capabilities and potential and/or recommend the best modality for the current task or task stage. This also includes experiences where both modalities are offered separately and can be selected by searchers and those where there is unification and the selection happens automatically based on the task and the conversation context. The foundation models that power AI agents have other searchrelated applications, e.g., for generating and applying intent taxonomies [47] or for evaluation [20]. We must retain a continued focus on human-AI cooperation, where searchers stay in control while the degree of system support increases as needed [48], and on AI safety and security. Searchers need to be able to trust agents but also be able to verify their answers with minimal effort. Overall, the future is bright for IR, and AI research in general, with the advent of generative AI and the agents that build upon it. Agents will help augment, empower, and inspire searchers on their task journeys. Computer science researchers and practitioners should embrace this new era of assistive AI agents and engage across the full spectrum of exciting practical and scientific opportunities, both within search as we focused on in this article, and onwards into other important domains such as personal productivity [5] and scientific discovery [24].

Limitations. Despite the promise of AI agents to dramatically improve information literacy, there are significant challenges in deploying them in search systems at scale and we must find ways to overcome these challenges. Those include issues with the agent output shown in response to searcher requests, the impacts that the agents can have on searchers, and shifts in the degree of control that humans have in the search process that come from introducing agents.

• Hallucinations: Searchers rely a lot on the answers from agents, but those answers can be erroneous or non-sensical. So-called “hallucination” is a well-studied problem in foundation models [26]. Agents can hallucinate for many reasons. One of the main reasons being gaps in the training data. RAG, discussed earlier, is a way to help address this by ensuring that the agent has access to up-to-date, relevant information at inference time to help ground its responses. Injection of knowledge from other external sources, such as knowledge graphs and Wikipedia, can also help improve the accuracy of agent responses.

Lines of inquiry this paper opens 24

Research framings built by reading the notes related to this paper — the questions it feeds into.

How do AI search overviews affect publisher traffic and source discovery? How does generative AI reshape the structure of knowledge work? How do we balance AI agent autonomy with meaningful user oversight? What conditions and architecture enable effective agent ecosystems? Should LLMs ask clarifying questions when faced with ambiguous inputs? How should retrieval policies adapt to optimize model reasoning at inference? How much do LLMs rely on surface-level prompt characteristics rather than semantic meaning? What limits the reliability of retrieval-augmented generation? How do training data, curriculum, and scale affect capability development? What are the distinctive characteristics of language models at different scales? What mechanistic structures underlie the reasoning traces that language models produce? Can model routing deliver better performance than training larger models? Can agent-created code become persistent, reusable infrastructure that improves over time? Can vector embeddings distinguish task relevance from semantic similarity?