paper-with-me

Papers

LeanContext: Cost-Efficient Domain-Specific Question Answering Using LLMs

2023-09-02 · Md Adnan Arefeen, Biplob Debnath, Srimat Chakradhar

Question-answering (QA) is a significant application of Large Language Models (LLMs), shaping chatbot capabilities across healthcare, education, and customer service. However, widespread LLM integration presents a challenge for small businesses due to the high expenses of LLM API usage. Costs rise rapidly when domain-specific data (context) is used alongside queries for accurate domain-specific LLM responses. One option is to summarize the context by using LLMs and reduce the context. However, this can also filter out useful information that is necessary to answer some domain-specific queries. In this paper, we shift from human-oriented summarizers to AI model-friendly summaries. Our approach, LeanContext, efficiently extracts $k$ key sentences from the context that are closely aligned with the query. The choice of $k$ is neither static nor random; we introduce a reinforcement learning technique that dynamically determines $k$ based on the query and context. The rest of the less important sentences are reduced using a free open source text reduction method. We evaluate LeanContext against several recent query-aware and query-unaware context reduction approaches on prominent datasets (arxiv papers and BBC news articles). Despite cost reductions of $37.29\%$ to $67.81\%$, LeanContext's ROUGE-1 score decreases only by $1.41\%$ to $2.65\%$ compared to a baseline that retains the entire context (no summarization). Additionally, if free pretrained LLM-based summarizers are used to reduce context (into human consumable summaries), LeanContext can further modify the reduced context to enhance the accuracy (ROUGE-1 score) by $13.22\%$ to $24.61\%$.

📄 PDF Abstract BibTeX arXiv:2309.00841

Code (0)

등록된 구현이 없습니다.

Tasks

ArticlesChatbotQuestion Answering

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

Transferring Domain-Agnostic Knowledge in Video Question Answering

2021-10-26 · Tianran Wu, Noa Garcia, Mayu Otani, Chenhui Chu 외

Video question answering (VideoQA) is designed to answer a given question based on a relevant video clip. The current available large-scale datasets have made it possible to formulate VideoQA as the joint understanding o…

Question AnsweringTransfer LearningVideo Question Answering

CoG-DQA: Chain-of-Guiding Learning with Large Language Models for Diagram Question Answering

2024-01-01 · CVPR 2024 1 · Shaowei Wang, Lingling Zhang, Longji Zhu, Tao Qin 외

Diagram Question Answering (DQA) is a challenging task requiring models to answer natural language questions based on visual diagram contexts. It serves as a crucial basis for academic tutoring technical support and …

Question AnsweringVisual Question Answering

Assessment of RAG and Fine-Tuning for Industrial Question-Answering-Applications

2026-05-10 · Jakob Sturm, Josef Pichlmeier, Christian Bernhard, Maka Karalashvili 외 arxiv

Large Language Models (LLMs) are increasingly employed in enterprise question-answering (QA) systems, requiring adaptation to domain-specific knowledge. Among the most prevalent methods for incorporating such knowledge a…

Architecture of an Ontology-Based Domain-Specific Natural Language Question Answering System

2013-11-13 · Athira P. M., Sreeja M., P. C. Reghu Raj

Question answering (QA) system aims at retrieving precise information from a large collection of documents against a query. This paper describes the architecture of a Natural Language Question Answering (NLQA) system for…

Question Answering

Answering Ambiguous Questions via Iterative Prompting

2023-07-08 · Weiwei Sun, Hengyi Cai, Hongshen Chen, Pengjie Ren 외

In open-domain question answering, due to the ambiguity of questions, multiple plausible answers may exist. To provide feasible answers to an ambiguous question, one approach is to directly predict all valid answers, but…

DiversityOpen-Domain Question AnsweringQuestion Answeringvalid