Skip to content

Knowledge or Capability? Choosing the Model and Its Document as One Decision

Nov 2026 · 0 citations
Computer Science

TL;DR

This paper proposes Knowcap, a framework that makes the two choices as one purchase and is designed to wrap around any existing router and retriever, and estimates what a document adds to each LLM, not only how relevant it looks, for documents seen in training and new ones.

Abstract

Efficiency is the key to making agentic systems built on large language models (LLMs) affordable at scale. In this paper, we tackle a combination that is crucial to this goal: routing each request to a suitable LLM, and loading the right knowledge into its prompt, such as a document or a skill file. The two interact, because the same document can help one LLM and harm another. However, existing systems face two key limitations: (i) a router chooses the LLM before it sees the document's effect; and (ii) joint methods judge a new document by its description alone, or always load it, even when it harms the chosen LLM. To address these limitations, we propose Knowcap, a framework that makes the two choices as one purchase and is designed to wrap around any existing router and retriever. We estimate what a document adds to each LLM, not only how relevant it looks, for documents seen in training and new ones. We prove that, under stated assumptions, our loss against the best choice vanishes as every choice gathers data, while a two-step design keeps a loss where its first step rules out that choice. We evaluate Knowcap in twelve settings across six domains. Wrapped around the strongest of four published routers, it gains up to 17.5 points of accept rate over that router followed by a threshold. A stronger router does not close this gap, because it ranks the LLMs without the document. When new documents arrive, Knowcap still gains up to 9.5 points over a router followed by a threshold.

View source

Similar papers

#artificial intelligence Preprint Jul 2024

The Llama 3 Herd of Models

It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.

Aaron Grattafiori, Abhimanyu Dubey, Abhinav Jauhri et al. · 21,082 citations · ⚡3,832
#artificial intelligence Conference Open access Jun 2018

Gibson Env: Real-World Perception for Embodied Agents

This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.

F. Xia, Amir Zamir, Zhi-Yang He et al. · 1,069 citations · ⚡112
#artificial intelligence Open access May 2023

Evaluating the Performance of Large Language Models on GAOKAO Benchmark

GAOKAO-Bench is introduced, an intuitive benchmark that employs questions from the Chinese GAOKAO examination as test samples, including both subjective and objective questions that contribute a robust evaluation benchmark for future large language models and offers valuable insights into the advantages and limitations...

Xiaotian Zhang, Chun-yan Li, Yi Zong et al. · 216 citations · ⚡17

KTO: Model Alignment as Prospect Theoretic Optimization

This work proposes a HALO that directly maximizes the utility of generations instead of maximizing the log-likelihood of preferences, and suggests that the best loss depends on the inductive biases most appropriate for a given setting, an oft-overlooked consideration.

Kawin Ethayarajh, Winnie Xu, Niklas Muennighoff et al. · 195 citations · ⚡28
#artificial intelligence Open access Jul 2024

Gender, Race, and Intersectional Bias in Resume Screening via Language Model Retrieval

This work investigates the possibilities of using LLMs in a resume screening setting via a document retrieval framework that simulates job candidate selection and finds that the MTEs are biased, significantly favoring White-associated names in 85% of cases and female-associated names in only 11.1% of cases.

Kyra Wilson, Aylin Caliskan · 131 citations · ⚡8

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.