• bitcoinBitcoin(BTC)$79,659.001.89%
  • ethereumEthereum(ETH)$2,388.413.30%
  • tetherTether(USDT)$1.000.04%
  • binancecoinBNB(BNB)$711.341.73%
  • rippleXRP(XRP)$1.312.22%
  • usd-coinUSDC(USDC)$1.000.03%
  • solanaSolana(SOL)$95.352.96%
  • tronTRON(TRX)$0.317969-0.24%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.051.66%
  • zcashZcash(ZEC)$1,310.303.00%
  • HyperliquidHyperliquid(HYPE)$81.94-2.54%
  • moneroMonero(XMR)$637.53-0.23%
  • dogecoinDogecoin(DOGE)$0.0759751.86%
  • USDSUSDS(USDS)$1.000.02%
  • whitebitWhiteBIT Coin(WBT)$76.932.46%
  • chainlinkChainlink(LINK)$11.442.98%
  • leo-tokenLEO Token(LEO)$9.350.27%
  • cardanoCardano(ADA)$0.1950123.24%
  • bitcoin-cashBitcoin Cash(BCH)$289.806.47%
  • stellarStellar(XLM)$0.1641211.20%
  • nearNEAR Protocol(NEAR)$3.96-0.59%
  • daiDai(DAI)$1.000.02%
  • Ethena USDeEthena USDe(USDE)$1.000.02%
  • uniswapUniswap(UNI)$7.310.60%
  • litecoinLitecoin(LTC)$55.211.13%
  • RainRain(RAIN)$0.005881-2.34%
  • CantonCanton(CC)$0.0999593.03%
  • avalanche-2Avalanche(AVAX)$8.710.80%
  • suiSui(SUI)$0.911.24%
  • USD1USD1(USD1)$1.00-0.01%
  • tether-goldTether Gold(XAUT)$4,107.431.98%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.14-2.20%
  • hedera-hashgraphHedera(HBAR)$0.0713591.73%
  • quant-networkQuant(QNT)$202.711.82%
  • Global DollarGlobal Dollar(USDG)$1.000.03%
  • shiba-inuShiba Inu(SHIB)$0.0000052.07%
  • BittensorBittensor(TAO)$231.952.01%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • Ripple USDRipple USD(RLUSD)$1.000.03%
  • crypto-com-chainCronos(CRO)$0.0513821.35%
  • EthenaEthena(ENA)$0.1786210.63%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.07%
  • okbOKB(OKB)$109.862.20%
  • Circle USYCCircle USYC(USYC)$1.140.02%
  • pepePepe(PEPE)$0.0000050.62%
  • aaveAave(AAVE)$132.361.64%
  • Pump.funPump.fun(PUMP)$0.004238-1.01%
  • OndoOndo(ONDO)$0.3994620.51%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.14-0.35%
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 Robust RAG Framework for Long-Context Question Answering

October 29, 2024
in AI & Technology
Reading Time: 5 mins read
A A
LongRAG: A Robust RAG Framework for Long-Context Question Answering
ShareShareShareShareShare

Large Language Models (LLMs) have revolutionized long-context question answering (LCQA), a complex task requiring reasoning over extensive documents to provide accurate answers. While recent long-context LLMs like Gemini and GPT4-128k can process entire documents directly, they struggle with the “lost in the middle” phenomenon, where relevant information in the middle of documents often leads to suboptimal or incorrect responses. Retrieval-Augmented Generation (RAG) systems attempt to address this by using fixed-length chunking strategies, but they face their own limitations. These include the disruption of contextual structure, incomplete information in chunks, and challenges with low evidence density in long documents, where noise can impair the LLMs’ ability to identify key information accurately. These issues collectively hinder the development of reliable LCQA systems.

Multiple approaches have emerged to address the challenges in long-context question answering. Long-context LLM methods fall into two categories: training-based approaches like Position Interpolation, YaRN, and LongLoRA, which offer better performance but require significant resources, and non-fine-tuned methods such as restricted attention and context compression, which provide plug-and-play solutions at lower costs. Traditional RAG systems attempted to improve LLMs’ response quality by utilizing external knowledge sources, but their direct incorporation of retrieved chunks led to incomplete information and noise. Advanced RAG models introduced solutions like filtering retrieved knowledge, implementing chunk-free strategies to preserve semantics, and employing active retrieval mechanisms. Domain-specific fine-tuning has also emerged as a strategy to enhance RAG components, focusing on improving retrieval outcomes and generating more personalized outputs.

YOU MAY ALSO LIKE

OpenAI Says It Will Protect Local Resources And Report On The Impact Of Its Data Centers

Gradium’s On-Device Phonon TTS Passes 200,000 Downloads in Two Weeks – Unite.AI

Researchers from Institute of Information Engineering, Chinese Academy of Sciences, School of Cyber Security, University of Chinese Academy of Sciences, Tsinghua University and Zhipu AI introduce LongRAG, a comprehensive solution to LCQA challenges through a dual-perspective, robust system paradigm comprising four plug-and-play components: a hybrid retriever, an LLM-augmented information extractor, a CoT-guided filter, and an LLM-augmented generator. The system’s innovative approach addresses both global context understanding and factual detail identification. The long-context extractor employs a mapping strategy to transform retrieved chunks into a higher-dimensional semantic space, preserving contextual relationships, while the CoT-guided filter utilizes Chain of Thought reasoning to provide global clues and precisely filter irrelevant information. This dual-perspective approach significantly enhances the system’s ability to process complex, lengthy contexts while maintaining accuracy. The system’s architecture is complemented by an automated instruction data pipeline for fine-tuning, enabling strong “instruction-following” capabilities and easy domain adaptation.

LongRAG’s architecture consists of four sophisticated components working in harmony. The hybrid retriever employs a dual-encoder structure with sliding windows for chunk segmentation, combining coarse-grained rapid retrieval with fine-grained semantic interaction through FAISS implementation. The LLM-augmented information extractor addresses scattered evidence by mapping retrieved chunks back to source paragraphs using a mapping function, preserving semantic order and contextual relationships. The CoT-guided filter implements a two-stage strategy: first generating Chain of Thought reasoning with a global perspective, then using these insights to evaluate and filter chunks based on their relevance to the question. Finally, the LLM-augmented generator synthesizes the global information and filtered factual details to produce accurate answers. The system’s effectiveness is enhanced through instruction-tuning using 2,600 high-quality data points from LRGinstruction, with models trained using advanced strategies like DeepSpeed and flash attention.

LongRAG demonstrates superior performance across multiple comparative dimensions. When compared to long-context LLM methods like LongAlign and LongLoRA, the system achieves higher performance across all datasets, particularly in detecting crucial factual details that other models often miss in mid-document sections. Compared to advanced RAG systems, LongRAG shows a 6.16% improvement over leading competitors like Self-RAG, primarily due to its more robust handling of factual details and complex multi-hop questions. The system’s most dramatic improvement appears in comparison to Vanilla RAG, showing up to a 17.25% performance increase, attributed to its superior preservation of coherent long-context background and structure. Notably, LongRAG’s effectiveness extends across both small and large language models, with fine-tuned ChatGLM3-6B-32k outperforming even non-fine-tuned GPT-3.5-Turbo, demonstrating the system’s robust architecture and effective instruction-following capabilities.

LongRAG emerges as a robust solution in the field of long-context question answering through its innovative dual information perspective approach. The system effectively addresses two critical challenges that have plagued existing methods: the incomplete collection of long-context information and the imprecise identification of factual information in noisy environments. Through comprehensive multidimensional experiments, LongRAG demonstrates not only superior performance over long-context LLMs, advanced RAG methods, and Vanilla RAG but also remarkable cost-effectiveness. The system’s plug-and-play components achieve better results than GPT-3.5-Turbo while using smaller parameter-size LLMs, making it a practical solution for local deployment without relying on expensive API resources.


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 and join our Telegram Channel and LinkedIn Group. If you like our work, you will love our newsletter.. Don’t Forget to join our 55k+ ML SubReddit.

[Trending] LLMWare Introduces Model Depot: An Extensive Collection of Small Language Models (SLMs) for Intel PCs


Asjad is an intern consultant at Marktechpost. He is persuing B.Tech in mechanical engineering at the Indian Institute of Technology, Kharagpur. Asjad is a Machine learning and deep learning enthusiast who is always researching the applications of machine learning in healthcare.

Listen to our latest AI podcasts and AI research videos here ➡️


Credit: Source link

ShareTweetSendSharePin

Related Posts

OpenAI Says It Will Protect Local Resources And Report On The Impact Of Its Data Centers
AI & Technology

OpenAI Says It Will Protect Local Resources And Report On The Impact Of Its Data Centers

November 5, 2026
Gradium’s On-Device Phonon TTS Passes 200,000 Downloads in Two Weeks – Unite.AI
AI & Technology

Gradium’s On-Device Phonon TTS Passes 200,000 Downloads in Two Weeks – Unite.AI

November 5, 2026
Sony Is Selling More PS5 Games But Still Struggling To Meet Console Demand
AI & Technology

Sony Is Selling More PS5 Games But Still Struggling To Meet Console Demand

November 5, 2026
Together AI Releases Together Compiler: Agents Make Inference Up to 2.6x Faster
AI & Technology

Together AI Releases Together Compiler: Agents Make Inference Up to 2.6x Faster

November 5, 2026
Next Post
Why antisemitic incidents tripled in the U.S. after the Oct. 7 attacks

Why antisemitic incidents tripled in the U.S. after the Oct. 7 attacks

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Could breakthrough new treatment cure Type 1 diabetes?

Could breakthrough new treatment cure Type 1 diabetes?

November 1, 2026
Coco Gauff speaks out about ‘insane’ wave of racist abuse online after replayed point

Coco Gauff speaks out about ‘insane’ wave of racist abuse online after replayed point

October 30, 2026
Data centers in Ohio are redrawing political battle lines

Data centers in Ohio are redrawing political battle lines

October 30, 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!