• bitcoinBitcoin(BTC)$86,458.001.22%
  • ethereumEthereum(ETH)$2,753.460.79%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$791.180.53%
  • rippleXRP(XRP)$1.637.12%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$118.921.98%
  • tronTRON(TRX)$0.343978-1.41%
  • zcashZcash(ZEC)$1,619.158.34%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.031.77%
  • HyperliquidHyperliquid(HYPE)$97.113.08%
  • dogecoinDogecoin(DOGE)$0.1023392.23%
  • moneroMonero(XMR)$568.79-1.21%
  • whitebitWhiteBIT Coin(WBT)$86.881.14%
  • chainlinkChainlink(LINK)$13.050.82%
  • cardanoCardano(ADA)$0.2585645.37%
  • USDSUSDS(USDS)$1.000.01%
  • RainRain(RAIN)$0.013099-4.22%
  • leo-tokenLEO Token(LEO)$8.980.26%
  • stellarStellar(XLM)$0.2216094.59%
  • bitcoin-cashBitcoin Cash(BCH)$343.9229.72%
  • uniswapUniswap(UNI)$10.4117.34%
  • nearNEAR Protocol(NEAR)$4.483.76%
  • litecoinLitecoin(LTC)$64.395.85%
  • avalanche-2Avalanche(AVAX)$11.164.42%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • daiDai(DAI)$1.000.01%
  • CantonCanton(CC)$0.114605-3.71%
  • USD1USD1(USD1)$1.000.01%
  • hedera-hashgraphHedera(HBAR)$0.0998186.97%
  • suiSui(SUI)$1.031.07%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.472.71%
  • shiba-inuShiba Inu(SHIB)$0.0000062.47%
  • BittensorBittensor(TAO)$314.67-0.81%
  • crypto-com-chainCronos(CRO)$0.0684743.98%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • MemeCoreMemeCore(M)$1.30-5.54%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • tether-goldTether Gold(XAUT)$4,334.130.35%
  • okbOKB(OKB)$125.323.10%
  • BitwayBitway(BTW)$0.9316.62%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • aaveAave(AAVE)$152.296.83%
  • mantleMantle(MNT)$0.698.30%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.20%
  • EthenaEthena(ENA)$0.2177103.49%
  • OndoOndo(ONDO)$0.4394521.59%
  • pepePepe(PEPE)$0.000005-3.66%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

LongRAG: A New Artificial Intelligence AI Framework that Combines RAG with Long-Context LLMs to Enhance Performance

June 25, 2024
in AI & Technology
Reading Time: 5 mins read
A A
LongRAG: A New Artificial Intelligence AI Framework that Combines RAG with Long-Context LLMs to Enhance Performance
ShareShareShareShareShare

Retrieval-Augmented Generation (RAG) methods enhance the capabilities of large language models (LLMs) by incorporating external knowledge retrieved from vast corpora. This approach is particularly beneficial for open-domain question answering, where detailed and accurate responses are crucial. By leveraging external information, RAG systems can overcome the limitations of relying solely on the parametric knowledge embedded in LLMs, making them more effective in handling complex queries.

A significant challenge in RAG systems is the imbalance between the retriever and reader components. Traditional frameworks often use short retrieval units, such as 100-word passages, requiring the retriever to sift through large amounts of data. This design burdens the retriever heavily while the reader’s task remains relatively simple, leading to inefficiencies and potential semantic incompleteness due to document truncation. This imbalance restricts the overall performance of RAG systems, necessitating a re-evaluation of their design.

YOU MAY ALSO LIKE

OpenAI Releases GPT-6 Sol and Luna: 50% Cheaper API Pricing and Benchmarks

The Pros And Cons Of Using A Password Manager Over An Authenticator App

Current methods in RAG systems include techniques like Dense Passage Retrieval (DPR), which focuses on finding precise, short retrieval units from large corpora. These methods often involve recalling many units and employing complex re-ranking processes to achieve high accuracy. While effective to some extent, these approaches still need to work on inherent inefficiency and incomplete semantic representation due to their reliance on short retrieval units.

To address these challenges, the research team from the University of Waterloo introduced a novel framework called LongRAG. This framework comprises a “long retriever” and a “long reader” component, designed to process longer retrieval units of around 4K tokens each. By increasing the size of the retrieval units, LongRAG reduces the number of units from 22 million to 600,000, significantly easing the retriever’s workload and improving retrieval scores. This innovative approach allows the retriever to handle more comprehensive information units, enhancing the system’s efficiency and accuracy.

The LongRAG framework operates by grouping related documents into long retrieval units, which the long retriever then processes to identify relevant information. To extract the final answers, the retriever filters the top 4 to 8 units, concatenated and fed into a long-context LLM, such as Gemini-1.5-Pro or GPT-4o. This method leverages the advanced capabilities of long-context models to process large amounts of text efficiently, ensuring a thorough and accurate extraction of information.

In-depth, the methodology involves using an encoder to map the input question to a vector and a different encoder to map the retrieval units to vectors. The similarity between the question and the retrieval units is calculated to identify the most relevant units. The long retriever searches through these units, reducing the corpus size and improving the retriever’s precision. The retrieved units are then concatenated and fed into the long reader, which uses the context to generate the final answer. This approach ensures that the reader processes a comprehensive set of information, improving the system’s overall performance.

The performance of LongRAG is truly remarkable. On the Natural Questions (NQ) dataset, it achieved an exact match (EM) score of 62.7%, a significant leap forward compared to traditional methods. On the HotpotQA dataset, it reached an EM score of 64.3%. These impressive results demonstrate the effectiveness of LongRAG, matching the performance of state-of-the-art fine-tuned RAG models. The framework reduced the corpus size by 30 times and improved the answer recall by approximately 20 percentage points compared to traditional methods, with an answer recall@1 score of 71% on NQ and 72% on HotpotQA.

LongRAG’s ability to process long retrieval units preserves the semantic integrity of documents, allowing for more accurate and comprehensive responses. By reducing the burden on the retriever and leveraging advanced long-context LLMs, LongRAG offers a more balanced and efficient approach to retrieval-augmented generation. The research from the University of Waterloo not only provides valuable insights into modernizing RAG system design but also highlights the exciting potential for further advancements in this field, sparking optimism for the future of retrieval-augmented generation systems.

In conclusion, LongRAG represents a significant step forward in addressing the inefficiencies and imbalances in traditional RAG systems. Employing long retrieval units and leveraging the capabilities of advanced LLMs’ capabilities enhances the accuracy and efficiency of open-domain question-answering tasks. This innovative framework improves retrieval performance and sets the stage for future developments in retrieval-augmented generation systems.


Check out the Paper and GitHub. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter. 

Join our Telegram Channel and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our 45k+ ML SubReddit

🚀 Create, edit, and augment tabular data with the first compound AI system, Gretel Navigator, now generally available! [Advertisement]


Nikhil is an intern consultant at Marktechpost. He is pursuing an integrated dual degree in Materials at the Indian Institute of Technology, Kharagpur. Nikhil is an AI/ML enthusiast who is always researching applications in fields like biomaterials and biomedical science. With a strong background in Material Science, he is exploring new advancements and creating opportunities to contribute.

[Announcing Gretel Navigator] Create, edit, and augment tabular data with the first compound AI system trusted by EY, Databricks, Google, and Microsoft


Credit: Source link

ShareTweetSendSharePin

Related Posts

OpenAI Releases GPT-6 Sol and Luna: 50% Cheaper API Pricing and Benchmarks
AI & Technology

OpenAI Releases GPT-6 Sol and Luna: 50% Cheaper API Pricing and Benchmarks

September 23, 2026
The Pros And Cons Of Using A Password Manager Over An Authenticator App
AI & Technology

The Pros And Cons Of Using A Password Manager Over An Authenticator App

September 23, 2026
How To Hide Or Replace The Audio Button In iMessages
AI & Technology

How To Hide Or Replace The Audio Button In iMessages

September 22, 2026
Improve Your Apple CarPlay Experience By Doing These Simple Things
AI & Technology

Improve Your Apple CarPlay Experience By Doing These Simple Things

September 22, 2026
Next Post
Deadly landslide strikes Alaskan island community after rain and windstorm

Deadly landslide strikes Alaskan island community after rain and windstorm

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Officials praise police officers in deadly Minneapolis shooting

Officials praise police officers in deadly Minneapolis shooting

September 18, 2026
Razer Refreshes The One-Handed Tartarus Pro Keyboard With Improved Switches

Razer Refreshes The One-Handed Tartarus Pro Keyboard With Improved Switches

September 17, 2026
Former FTC Technologist Warns Against an AI ‘Cartel’

Former FTC Technologist Warns Against an AI ‘Cartel’

September 20, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!