• bitcoinBitcoin(BTC)$84,427.001.20%
  • ethereumEthereum(ETH)$2,715.592.77%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$778.641.10%
  • rippleXRP(XRP)$1.629.90%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$120.736.52%
  • tronTRON(TRX)$0.336937-0.89%
  • zcashZcash(ZEC)$1,584.237.16%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.82%
  • HyperliquidHyperliquid(HYPE)$93.212.29%
  • dogecoinDogecoin(DOGE)$0.0985236.68%
  • moneroMonero(XMR)$562.843.53%
  • chainlinkChainlink(LINK)$14.0414.55%
  • whitebitWhiteBIT Coin(WBT)$84.281.04%
  • USDSUSDS(USDS)$1.00-0.01%
  • cardanoCardano(ADA)$0.2571099.20%
  • RainRain(RAIN)$0.011879-0.95%
  • leo-tokenLEO Token(LEO)$8.83-0.91%
  • stellarStellar(XLM)$0.22387212.05%
  • bitcoin-cashBitcoin Cash(BCH)$335.880.29%
  • nearNEAR Protocol(NEAR)$5.0716.09%
  • uniswapUniswap(UNI)$9.839.48%
  • litecoinLitecoin(LTC)$69.915.82%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • CantonCanton(CC)$0.12275914.71%
  • avalanche-2Avalanche(AVAX)$10.585.55%
  • suiSui(SUI)$1.1419.98%
  • daiDai(DAI)$1.000.00%
  • USD1USD1(USD1)$1.000.02%
  • hedera-hashgraphHedera(HBAR)$0.0957656.39%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.432.15%
  • BittensorBittensor(TAO)$307.5510.17%
  • shiba-inuShiba Inu(SHIB)$0.0000065.50%
  • crypto-com-chainCronos(CRO)$0.0655358.19%
  • Global DollarGlobal Dollar(USDG)$1.000.02%
  • BitwayBitway(BTW)$1.128.30%
  • MemeCoreMemeCore(M)$1.20-2.02%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,295.740.53%
  • OndoOndo(ONDO)$0.5520.29%
  • okbOKB(OKB)$120.832.45%
  • EthenaEthena(ENA)$0.24375318.13%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • aaveAave(AAVE)$148.718.58%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.09%
  • mantleMantle(MNT)$0.680.60%
  • polkadotPolkadot(DOT)$1.207.83%
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

Google Adds Creepy Avatars To Gemini 3.8 Live’s Agents

Fastino Releases GLiNER2.5-Decide: A 340M Open-Weight Decision Model That Runs on CPU

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

Google Adds Creepy Avatars To Gemini 3.8 Live’s Agents
AI & Technology

Google Adds Creepy Avatars To Gemini 3.8 Live’s Agents

September 25, 2026
Fastino Releases GLiNER2.5-Decide: A 340M Open-Weight Decision Model That Runs on CPU
AI & Technology

Fastino Releases GLiNER2.5-Decide: A 340M Open-Weight Decision Model That Runs on CPU

September 25, 2026
Black Forest Labs Releases FLUX 3 Action: A 7B Open-Weights World Action Model That Tops RoboLab-120
AI & Technology

Black Forest Labs Releases FLUX 3 Action: A 7B Open-Weights World Action Model That Tops RoboLab-120

September 25, 2026
Warzone Is Adding A Button To Hide All The Goofy Skins
AI & Technology

Warzone Is Adding A Button To Hide All The Goofy Skins

September 24, 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
Lots of unsold units remain at One Wall Street — and pied-à-terre tax unlikely to help

Lots of unsold units remain at One Wall Street — and pied-à-terre tax unlikely to help

September 21, 2026
LA’s Fairfax District is being reshaped by rising rents and vacancies

LA’s Fairfax District is being reshaped by rising rents and vacancies

September 20, 2026
Can Trump rename Lake Ontario to ‘Lake America’?

Can Trump rename Lake Ontario to ‘Lake America’?

September 22, 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!