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.
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.
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.· 2018 IEEE/CVF Conference on...· 1,069 citations· ⚡112
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.· arXiv.org· 216 citations· ⚡17
An algorithm is proposed which leverages disentangled semantic factors to generate adversarial perturbation by altering controlled semantic attributes to fool the learner towards various "adversarial" targets.
Haonan Qiu, Chaowei Xiao, Lei Yang et al.· arXiv.org· 208 citations· ⚡17
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.
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.