• bitcoinBitcoin(BTC)$79,155.00-2.37%
  • ethereumEthereum(ETH)$2,266.34-3.72%
  • tetherTether(USDT)$1.00-0.02%
  • binancecoinBNB(BNB)$702.16-6.71%
  • rippleXRP(XRP)$1.25-6.14%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$96.89-5.20%
  • tronTRON(TRX)$0.3313990.66%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.051.29%
  • HyperliquidHyperliquid(HYPE)$93.7216.08%
  • zcashZcash(ZEC)$1,248.69-3.16%
  • moneroMonero(XMR)$646.208.23%
  • dogecoinDogecoin(DOGE)$0.075998-4.96%
  • USDSUSDS(USDS)$1.00-0.06%
  • whitebitWhiteBIT Coin(WBT)$75.86-2.54%
  • leo-tokenLEO Token(LEO)$9.460.41%
  • chainlinkChainlink(LINK)$11.14-5.31%
  • cardanoCardano(ADA)$0.192927-6.21%
  • stellarStellar(XLM)$0.163824-5.23%
  • nearNEAR Protocol(NEAR)$4.24-9.77%
  • bitcoin-cashBitcoin Cash(BCH)$275.31-4.47%
  • RainRain(RAIN)$0.006565-4.94%
  • daiDai(DAI)$1.000.05%
  • Ethena USDeEthena USDe(USDE)$1.00-0.04%
  • litecoinLitecoin(LTC)$55.48-5.46%
  • uniswapUniswap(UNI)$6.70-6.97%
  • USD1USD1(USD1)$1.00-0.12%
  • CantonCanton(CC)$0.096480-3.73%
  • avalanche-2Avalanche(AVAX)$8.45-5.95%
  • suiSui(SUI)$0.89-6.07%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.18-4.95%
  • tether-goldTether Gold(XAUT)$4,014.30-1.12%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • hedera-hashgraphHedera(HBAR)$0.068931-8.69%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.05%
  • BittensorBittensor(TAO)$240.01-6.95%
  • shiba-inuShiba Inu(SHIB)$0.000005-5.21%
  • quant-networkQuant(QNT)$185.67-7.07%
  • crypto-com-chainCronos(CRO)$0.051620-3.68%
  • Ripple USDRipple USD(RLUSD)$1.000.02%
  • EthenaEthena(ENA)$0.191531-8.20%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.04%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • MemeCoreMemeCore(M)$1.02-2.17%
  • okbOKB(OKB)$110.57-0.44%
  • BitwayBitway(BTW)$1.54-10.83%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.000005-0.30%
  • aaveAave(AAVE)$127.24-5.98%
  • OndoOndo(ONDO)$0.393592-6.39%
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

This AI Paper Unlocks the Secret of In-Context Learning: How Language Models Encode Functions into Vector Magic

November 2, 2023
in AI & Technology
Reading Time: 4 mins read
A A
This AI Paper Unlocks the Secret of In-Context Learning: How Language Models Encode Functions into Vector Magic
ShareShareShareShareShare

In autoregressive transformer language models, a neural mechanism is identified that represents an input-output function as a compact vector known as a function vector (FV). Causal mediation analysis is applied to diverse in-context-learning tasks, revealing that a small number of attention heads transport FVs, which remain robust across various contexts, enabling task execution in zero-shot and natural text settings. FVs contain information about the output space of functions, and they can be combined to trigger new complex tasks, indicating the presence of internal abstractions for general-purpose functions in LLMs.

Researchers from Northeastern University extend the study of in-context learning (ICL) in LLMs and delve into transformers to uncover the existence of FVs. It references numerous related studies, including those on ICL prompt forms, meta-learning models, and Bayesian task inference, while drawing insights from research on the decoded vocabulary of transformers. It also leverages analyses of in-context copying behavior and employs causal mediation analysis methods developed by Pearl and others to isolate FVs.

The study investigates the existence of FVs in large autoregressive transformer language models trained on extensive natural text data. It extends the concept of ICL and explores the underlying mechanisms in transformers that give rise to FVs. Previous research on ICL, including prompt forms and scaling, informs this study. FVs are introduced as compact vector representations for input-output tasks. Causal mediation analysis identifies FVs and understands their characteristics, including robustness to context changes and semantic composition potential.

The method employs causal mediation analysis to explore FVs in autoregressive transformer language models. It conducts tests to assess if hidden states encode tasks and evaluate natural text portability by measuring accuracy in generating output. Over 40 jobs are created to test FV extraction in various settings, focusing on six representative tasks. The paper references prior research on ICL and function representations in language models.

Current research identifies FVs in autoregressive transformer language models through causal mediation analysis. FVs serve as compact task representations that are context-robust and can trigger specific procedures in diverse settings. It demonstrates strong causal effects in middle layers and is amenable to semantic vector composition for complex tasks. The approach outperforms alternative methods, emphasizing that LLMs possess versatile, internal function abstractions applicable across contexts.

The proposed approach successfully identifies the presence of FVs within autoregressive transformer language models through causal mediation analysis. These compact representations of input-output tasks demonstrate robustness across different contexts and exhibit strong causal effects in the middle layers of the language models. While FVs often contain information encoding the function’s output space, their reconstruction is more intricate. Furthermore, FVs can be combined to trigger new complex tasks, showing potential for semantic vector composition. The findings suggest the existence of internal abstractions of general-purpose functions in diverse contexts.

Future research directions include delving into the internal structure of FVs to discern their encoded information and execution contributions, their utility in complex tasks, and their potential for composability. Exploring the generalizability of FVs across various models, tasks, and layers is important. Comparative studies with other FV construction methods and investigations into their relationships with task representation techniques are needed. Furthermore, applying FVs in natural language processing tasks, such as text generation and question answering, warrants further exploration.


Check out the Paper, Github, and Project. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 32k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

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

We are also on Telegram and WhatsApp.


YOU MAY ALSO LIKE

Breaking Down Anthropic’s S1 Filing

Catastrophe, Rogue AI and Other Anthropic IPO Risks

Hello, My name is Adnan Hassan. I am a consulting intern at Marktechpost and soon to be a management trainee at American Express. I am currently pursuing a dual degree at the Indian Institute of Technology, Kharagpur. I am passionate about technology and want to create new products that make a difference.


🔥 Meet Retouch4me: A Family of Artificial Intelligence-Powered Plug-Ins for Photography Retouching

Credit: Source link

ShareTweetSendSharePin

Related Posts

Breaking Down Anthropic’s S1 Filing
AI & Technology

Breaking Down Anthropic’s S1 Filing

October 29, 2026
Catastrophe, Rogue AI and Other Anthropic IPO Risks
AI & Technology

Catastrophe, Rogue AI and Other Anthropic IPO Risks

October 29, 2026
Apple’s Folding iPhone Hit by Early Complaints of Screen Cracking
AI & Technology

Apple’s Folding iPhone Hit by Early Complaints of Screen Cracking

October 29, 2026
Odd Lots: AI Agents Are Already Changing the Price of Goods
AI & Technology

Odd Lots: AI Agents Are Already Changing the Price of Goods

October 29, 2026
Next Post
President Biden To Meet With Saudi Crown Prince Mohammed Bin Salman

President Biden To Meet With Saudi Crown Prince Mohammed Bin Salman

Leave a Reply Cancel reply

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

Search

No Result
View All Result
New York Comic Con celebrates its 20th anniversary, cementing its cultural phenomenon status

New York Comic Con celebrates its 20th anniversary, cementing its cultural phenomenon status

October 26, 2026
Kelly Clarkson says she was snubbed at store

Kelly Clarkson says she was snubbed at store

October 27, 2026
Infini-AI-Lab Releases Hermit, an Open-Source Harness Adapter Framework for AI Agents

Infini-AI-Lab Releases Hermit, an Open-Source Harness Adapter Framework for AI Agents

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