• bitcoinBitcoin(BTC)$76,743.00-1.72%
  • ethereumEthereum(ETH)$2,250.41-0.84%
  • tetherTether(USDT)$1.00-0.04%
  • binancecoinBNB(BNB)$698.50-1.77%
  • rippleXRP(XRP)$1.250.25%
  • usd-coinUSDC(USDC)$1.00-0.04%
  • solanaSolana(SOL)$91.95-2.41%
  • tronTRON(TRX)$0.3195152.15%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • HyperliquidHyperliquid(HYPE)$84.33-3.69%
  • zcashZcash(ZEC)$1,141.04-7.51%
  • dogecoinDogecoin(DOGE)$0.074138-1.64%
  • moneroMonero(XMR)$605.291.25%
  • USDSUSDS(USDS)$1.00-0.03%
  • whitebitWhiteBIT Coin(WBT)$73.77-1.59%
  • leo-tokenLEO Token(LEO)$9.400.05%
  • chainlinkChainlink(LINK)$11.14-1.86%
  • cardanoCardano(ADA)$0.188954-2.22%
  • stellarStellar(XLM)$0.162267-3.19%
  • bitcoin-cashBitcoin Cash(BCH)$276.03-2.46%
  • nearNEAR Protocol(NEAR)$3.88-9.07%
  • RainRain(RAIN)$0.00683613.70%
  • daiDai(DAI)$1.00-0.03%
  • Ethena USDeEthena USDe(USDE)$1.00-0.06%
  • uniswapUniswap(UNI)$7.11-1.11%
  • litecoinLitecoin(LTC)$53.85-3.13%
  • USD1USD1(USD1)$1.00-0.12%
  • CantonCanton(CC)$0.094049-3.43%
  • avalanche-2Avalanche(AVAX)$8.41-3.07%
  • suiSui(SUI)$0.87-2.65%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.18-2.66%
  • tether-goldTether Gold(XAUT)$3,935.311.10%
  • hedera-hashgraphHedera(HBAR)$0.069701-2.59%
  • Global DollarGlobal Dollar(USDG)$1.00-0.04%
  • quant-networkQuant(QNT)$193.88-3.89%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.000005-2.96%
  • BittensorBittensor(TAO)$223.59-3.83%
  • Ripple USDRipple USD(RLUSD)$1.00-0.03%
  • crypto-com-chainCronos(CRO)$0.050068-2.39%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.18%
  • okbOKB(OKB)$109.37-3.50%
  • EthenaEthena(ENA)$0.171027-6.26%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.000005-2.05%
  • aaveAave(AAVE)$126.61-5.80%
  • MemeCoreMemeCore(M)$0.85-0.32%
  • OndoOndo(ONDO)$0.387182-3.92%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.140.31%
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

AI Will Create ‘Weird’ Economic Benefits: Manidis

Oracle Kicks Off $20 Billion Capital Raise

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

AI Will Create ‘Weird’ Economic Benefits: Manidis
AI & Technology

AI Will Create ‘Weird’ Economic Benefits: Manidis

November 3, 2026
Oracle Kicks Off  Billion Capital Raise
AI & Technology

Oracle Kicks Off $20 Billion Capital Raise

November 3, 2026
Power On: How Will a Touchscreen MacBook Impact the iPad?
AI & Technology

Power On: How Will a Touchscreen MacBook Impact the iPad?

November 2, 2026
Altman Says AI Will Transform the Economics of Energy
AI & Technology

Altman Says AI Will Transform the Economics of Energy

November 2, 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
LIVE: Supreme Court hears arguments on climate change lawsuits | NBC News

LIVE: Supreme Court hears arguments on climate change lawsuits | NBC News

November 1, 2026
Alphabet Shares Tank on Sales Misses Across Core Businesses

Alphabet Shares Tank on Sales Misses Across Core Businesses

October 29, 2026
FCC Clears Amazon Leo To Acquire Mobile-Satellite Operator Globalstar

FCC Clears Amazon Leo To Acquire Mobile-Satellite Operator Globalstar

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