• bitcoinBitcoin(BTC)$80,992.000.65%
  • ethereumEthereum(ETH)$2,348.680.73%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$747.410.03%
  • rippleXRP(XRP)$1.30-1.30%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$101.590.62%
  • tronTRON(TRX)$0.3310090.37%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.041.13%
  • zcashZcash(ZEC)$1,346.716.05%
  • HyperliquidHyperliquid(HYPE)$95.2118.74%
  • dogecoinDogecoin(DOGE)$0.0799651.43%
  • moneroMonero(XMR)$601.660.31%
  • USDSUSDS(USDS)$1.000.00%
  • whitebitWhiteBIT Coin(WBT)$77.750.62%
  • chainlinkChainlink(LINK)$11.792.73%
  • leo-tokenLEO Token(LEO)$9.470.67%
  • cardanoCardano(ADA)$0.2043341.48%
  • stellarStellar(XLM)$0.1712490.95%
  • nearNEAR Protocol(NEAR)$4.56-0.41%
  • bitcoin-cashBitcoin Cash(BCH)$288.981.24%
  • RainRain(RAIN)$0.006466-6.78%
  • uniswapUniswap(UNI)$7.313.66%
  • daiDai(DAI)$1.000.01%
  • Ethena USDeEthena USDe(USDE)$1.00-0.01%
  • litecoinLitecoin(LTC)$58.16-1.51%
  • CantonCanton(CC)$0.1020022.14%
  • avalanche-2Avalanche(AVAX)$8.910.85%
  • USD1USD1(USD1)$1.000.01%
  • suiSui(SUI)$0.942.02%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.22-0.42%
  • hedera-hashgraphHedera(HBAR)$0.074165-0.96%
  • tether-goldTether Gold(XAUT)$4,018.40-0.38%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • BittensorBittensor(TAO)$255.191.50%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.0000051.83%
  • EthenaEthena(ENA)$0.2126378.54%
  • quant-networkQuant(QNT)$195.070.30%
  • crypto-com-chainCronos(CRO)$0.0534950.91%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • MemeCoreMemeCore(M)$1.05-6.55%
  • okbOKB(OKB)$113.613.44%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.02%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BitwayBitway(BTW)$1.55-10.74%
  • pepePepe(PEPE)$0.00000512.39%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Pump.funPump.fun(PUMP)$0.0045197.56%
  • aaveAave(AAVE)$134.692.65%
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

Solving the ‘Lost-in-the-Middle’ Problem in Large Language Models: A Breakthrough in Attention Calibration

June 27, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Solving the ‘Lost-in-the-Middle’ Problem in Large Language Models: A Breakthrough in Attention Calibration
ShareShareShareShareShare

Despite the significant advancement in large language models (LLMs), LLMs often need help with long contexts, especially where information is spread across the complete text. LLMs can now handle long stretches of text as input, but they still face the “lost in the middle” problem. The ability of LLMs to accurately find and use information within that context weakens as the relevant information gets further away from the beginning or end. In other words, they tend to focus on the information at the beginning and end, neglecting what’s sandwiched in between.

Researchers from the University of Washington, MIT, Google Cloud AI Research, and Google collaborated to address the “lost-in-the-middle” issue. Despite being trained to handle large input contexts, LLMs exhibit an inherent attention bias that results in higher attention to tokens at the beginning and end of the input. This leads to reduced accuracy when critical information is situated in the middle. The study aims to mitigate the positional bias by allowing the model to attend to contexts based on their relevance, regardless of their position within the input sequence.

YOU MAY ALSO LIKE

Marvell in Talks to Buy Nvidia-Backed Lumentum

DoorDash to Buy Rival Instacart in $17 Billion Deal

Current methods to tackle the lost-in-the-middle problem often involve re-ranking the relevance of documents and repositioning the most pertinent ones at the beginning or end of the input sequence. However, these methods usually require additional supervision or fine-tuning and do not fundamentally address the LLMs’ ability to utilize mid-sequence information effectively. To overcome this limitation, the researchers propose a novel calibration mechanism called “found-in-the-middle.” 

The researchers first establish that the lost-in-the-middle issue is linked to a U-shaped attention bias. The inherent bias persists even when the order of documents is randomized. To verify their hypothesis, the authors intervene by adjusting the attention distribution to reflect relevance rather than position. They quantify this positional bias by measuring changes in attention as they vary the position of a fixed context within the input prompt.

The proposed “found-in-the-middle” mechanism disentangles positional bias from the attention scores, enabling a more accurate reflection of the documents’ relevance. This calibration involves estimating the bias and adjusting attention scores accordingly. Experiments demonstrate that the calibrated attention significantly improves the model’s ability to locate relevant information within long contexts, leading to better performance in retrieval-augmented generation (RAG) tasks. 

The researchers operationalize this calibration mechanism to improve overall RAG performance. The attention calibration method consistently outperforms uncalibrated models across various tasks and models, including those with different context window lengths. The approach yields improvements of up to 15 percentage points on the NaturalQuestions dataset. Additionally, combining attention calibration with existing reordering methods further enhances model performance, demonstrating the effectiveness and complementarity of the proposed solution.

In conclusion, the proposed mechanism effectively identifies and addresses the lost-in-the-middle phenomenon by linking it to intrinsic positional attention bias in LLMs. The found-in-the-middle mechanism successfully mitigates this bias, enabling the models to attend to relevant contexts more faithfully and significantly improving performance in long-context utilization tasks. This advancement opens new ways for enhancing LLM attention mechanisms and their application in various user-facing applications.


Check out the Paper. 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]


Pragati Jhunjhunwala is a consulting intern at MarktechPost. She is currently pursuing her B.Tech from the Indian Institute of Technology(IIT), Kharagpur. She is a tech enthusiast and has a keen interest in the scope of software and data science applications. She is always reading about the developments in different field of AI and ML.

[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

Marvell in Talks to Buy Nvidia-Backed Lumentum
AI & Technology

Marvell in Talks to Buy Nvidia-Backed Lumentum

October 29, 2026
DoorDash to Buy Rival Instacart in  Billion Deal
AI & Technology

DoorDash to Buy Rival Instacart in $17 Billion Deal

October 29, 2026
Unlocking Flexibility Without Curtailment Report Explores Home Batteries for Data Center Power – Unite.AI
AI & Technology

Unlocking Flexibility Without Curtailment Report Explores Home Batteries for Data Center Power – Unite.AI

October 29, 2026
ThermoWorks Debuts Shorter Version Of Its RFX Meat Wireless Probe For Small Cuts
AI & Technology

ThermoWorks Debuts Shorter Version Of Its RFX Meat Wireless Probe For Small Cuts

October 29, 2026
Next Post
Chipotle’s stock split is the largest in history…

Chipotle's stock split is the largest in history...

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Four service members killed after fire at Canadian base

Four service members killed after fire at Canadian base

October 23, 2026
Bandwidth Inc. (BAND) Q3 2026 Earnings Call Transcript

Bandwidth Inc. (BAND) Q3 2026 Earnings Call Transcript

October 29, 2026
NVIDIA Details Kazakhstan GPU Deployments and Robotaxi Plans – Unite.AI

NVIDIA Details Kazakhstan GPU Deployments and Robotaxi Plans – Unite.AI

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