• bitcoinBitcoin(BTC)$76,838.00-1.11%
  • ethereumEthereum(ETH)$2,472.28-1.90%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$716.22-1.08%
  • rippleXRP(XRP)$1.390.14%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$100.31-1.09%
  • tronTRON(TRX)$0.337707-0.51%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • zcashZcash(ZEC)$1,139.020.12%
  • HyperliquidHyperliquid(HYPE)$78.73-1.18%
  • dogecoinDogecoin(DOGE)$0.082441-2.09%
  • USDSUSDS(USDS)$1.000.00%
  • moneroMonero(XMR)$518.280.96%
  • RainRain(RAIN)$0.013415-11.21%
  • whitebitWhiteBIT Coin(WBT)$79.50-1.30%
  • chainlinkChainlink(LINK)$11.37-0.10%
  • leo-tokenLEO Token(LEO)$8.970.08%
  • cardanoCardano(ADA)$0.204118-2.91%
  • stellarStellar(XLM)$0.1913013.73%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • daiDai(DAI)$1.00-0.01%
  • bitcoin-cashBitcoin Cash(BCH)$220.85-0.54%
  • USD1USD1(USD1)$1.000.00%
  • uniswapUniswap(UNI)$6.614.85%
  • litecoinLitecoin(LTC)$52.53-2.50%
  • CantonCanton(CC)$0.0953320.07%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.34-0.79%
  • hedera-hashgraphHedera(HBAR)$0.076594-0.07%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • avalanche-2Avalanche(AVAX)$7.471.21%
  • nearNEAR Protocol(NEAR)$2.38-1.25%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.60%
  • suiSui(SUI)$0.71-2.63%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • crypto-com-chainCronos(CRO)$0.057459-1.09%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,275.44-0.93%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BittensorBittensor(TAO)$226.47-3.84%
  • MemeCoreMemeCore(M)$1.12-1.00%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$112.29-1.56%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.10%
  • aaveAave(AAVE)$126.820.45%
  • BitwayBitway(BTW)$0.72-5.90%
  • AsterAster(ASTER)$0.69-1.45%
  • pax-goldPAX Gold(PAXG)$4,276.71-0.97%
  • mantleMantle(MNT)$0.56-1.22%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0573370.27%
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

Researchers from the University of Washington and Meta AI Present a Simple Context-Aware Decoding (CAD) Method to Encourage the Language Model to Attend to Its Context During Generation

March 31, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Researchers from the University of Washington and Meta AI Present a Simple Context-Aware Decoding (CAD) Method to Encourage the Language Model to Attend to Its Context During Generation
ShareShareShareShareShare

Language models (LMs) have proven their remarkable effectiveness in generating coherent and fluent continuations of a prompt or document prefix. In the text generation step, they mostly rely on two sources of knowledge: (1) prior knowledge, which is learned during pretraining and stored implicitly within the model parameters; (2) context knowledge, passed as inputs in the prefix context. However, it remains an open question how a pre-trained LM, particularly a vanilla LM without task-specific finetuning, balances these two knowledge sources during generation. LMs often need help paying enough attention to the input context and generating texts that are unfaithful or contain hallucinations. 

Previous research shows that LMs need to pay more attention to new information introduced in the context-knowledge. This can lead to hallucination in summarization, where the generated summaries include facts not present in the input document (but were learned by the LM during the training phase). More attention to context is especially problematic when the context knowledge contradicts the prior knowledge. For instance, when LLaMA is presented with the latest document, “Argentina won the FIFA World Cups in 1978,1986 and 2022 …” in its context, it still predicts “Two” in response to the question “How many World Cups have Argentina won?”, due in part to the outdated training data on which the model has learned that output.

Researchers from the University of Washington and Meta AI present context-aware decoding (CAD), which follows a contrastive output distribution that amplifies the difference between the output probabilities when a model is used with and without context. CAD is particularly effective in overriding a model’s prior knowledge when it contradicts the provided context, leading to substantial improvements in tasks where resolving the knowledge conflict is essential.

CAD samples from a new output distribution, which amplifies the difference between output probabilities with and without the context document. This provides a new contrastive decoding form, effectively downweights the prior knowledge when more relevant contextual information is provided. CAD can be used with off-the-shelf pre-trained LMs without any additional training. They adjusted the model’s original output probability distribution using the pointwise mutual information (PMI) between the context and the generation conditioned on input.

Experimentally, they have shown that CAD outperforms the standard decoding algorithm by a large margin in all eight models across both datasets. Specifically, when applied to LLAMA30B in CNN-DM, CAD leads to a 21% increase in ROUGE-L, a 14.3% increase in factKB, and a 7.8% increase in BERT-P. This result demonstrates that CAD could effectively improve the quality and factuality of the generated summaries from a diverse set of LMs.

In conclusion, researchers from the University of Washington and Meta AI present CAD, which follows a contrastive output distribution that amplifies the difference between the output probabilities when a model is used with and without context, to encourage the LM to pay sufficient attention to its context during generation, CAD, without additional training, significantly improves the faithfulness of different LM families, including OPT, GPT, LLaMA and FLAN-T5 for summarization tasks. CAD is particularly effective in overriding a model’s prior knowledge when it contradicts the provided context, leading to substantial improvements in tasks where resolving the knowledge conflict is essential.


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, Discord Channel, and LinkedIn Group.

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

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


YOU MAY ALSO LIKE

Elsevier Integrates LG AI Research’s Chemistry Vision Model Into Reaxys – Unite.AI

Double The Range And Smarter Safety, Too

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.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

Elsevier Integrates LG AI Research’s Chemistry Vision Model Into Reaxys – Unite.AI
AI & Technology

Elsevier Integrates LG AI Research’s Chemistry Vision Model Into Reaxys – Unite.AI

September 15, 2026
Double The Range And Smarter Safety, Too
AI & Technology

Double The Range And Smarter Safety, Too

September 15, 2026
Meta Introduces ZGateway: A Stateless Proxy Tier That Unifies ZippyDB Traffic and Handles Over 1 Billion Operations Per Second
AI & Technology

Meta Introduces ZGateway: A Stateless Proxy Tier That Unifies ZippyDB Traffic and Handles Over 1 Billion Operations Per Second

September 15, 2026
How To Use Meta Display Glasses While Driving With The Audio Only Feature
AI & Technology

How To Use Meta Display Glasses While Driving With The Audio Only Feature

September 15, 2026
Next Post
Open AI’s Voice Generator is Incredibly Emotive!

Open AI's Voice Generator is Incredibly Emotive!

Leave a Reply Cancel reply

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

Search

No Result
View All Result
At What Length Do Ethernet Cables Drop To Lower Speeds?

At What Length Do Ethernet Cables Drop To Lower Speeds?

September 14, 2026
Day’s first moment of silence remembers the victims of 9/11

Day’s first moment of silence remembers the victims of 9/11

September 13, 2026
AI researcher says there is ‘substantial probability’ AI could kill all humans in next decade

AI researcher says there is ‘substantial probability’ AI could kill all humans in next decade

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