Ranking-augmented generation for long documents
AssigneeInternational Business Machines Corporation
InventorsYosi Mass, Assaf Toledo, Asaf Yehudai, Boaz Carmeli, Danish Contractor
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsYosi Mass, Assaf Toledo, Asaf Yehudai, Boaz Carmeli, Danish Contractor
Estimating the term…
A computer-implemented method comprising: receiving, as input, a query and a source document intended for a content-grounded question-answering or multi-turn conversation task by a specified large language model (LLM) which has a context window size limit, wherein the source document has a size which exceeds the context window size limit; dividing the source document into a plurality of segments; applying a language model to each of the segments, to assign to each of the segments a relevance score; selecting the k-top segments having the highest the relevance scores; combining the selected k-top segments into a virtual document having a size which complies with the context window size limit; and feeding the virtual document as input to the specified LLM, to generate a response that is grounded in the content of the virtual document.
A computer-implemented method comprising:
A system comprising:
A computer program product comprising a non-transitory computer-readable storage medium having program code embodied therewith, the program code executable by at least one hardware processor to:
Dependencies are inferred from the claim text.