• bitcoinBitcoin(BTC)$76,827.00-1.52%
  • ethereumEthereum(ETH)$2,451.42-0.27%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$712.53-0.80%
  • rippleXRP(XRP)$1.34-2.78%
  • usd-coinUSDC(USDC)$1.000.02%
  • solanaSolana(SOL)$99.08-1.67%
  • tronTRON(TRX)$0.3406920.46%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.040.97%
  • zcashZcash(ZEC)$1,082.22-11.76%
  • HyperliquidHyperliquid(HYPE)$78.99-4.72%
  • dogecoinDogecoin(DOGE)$0.083341-2.30%
  • RainRain(RAIN)$0.015743-1.95%
  • USDSUSDS(USDS)$1.000.00%
  • moneroMonero(XMR)$508.010.33%
  • whitebitWhiteBIT Coin(WBT)$79.57-1.13%
  • chainlinkChainlink(LINK)$11.47-2.17%
  • leo-tokenLEO Token(LEO)$9.190.04%
  • cardanoCardano(ADA)$0.206680-1.68%
  • stellarStellar(XLM)$0.175525-1.91%
  • daiDai(DAI)$1.000.00%
  • bitcoin-cashBitcoin Cash(BCH)$225.97-9.55%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • USD1USD1(USD1)$1.000.00%
  • litecoinLitecoin(LTC)$52.65-0.04%
  • CantonCanton(CC)$0.098036-4.99%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.360.03%
  • uniswapUniswap(UNI)$6.01-1.89%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.075222-1.35%
  • avalanche-2Avalanche(AVAX)$7.47-3.31%
  • nearNEAR Protocol(NEAR)$2.450.37%
  • suiSui(SUI)$0.73-3.66%
  • shiba-inuShiba Inu(SHIB)$0.000005-2.59%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.056451-2.39%
  • tether-goldTether Gold(XAUT)$4,334.40-1.59%
  • MemeCoreMemeCore(M)$1.15-5.12%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$109.16-3.77%
  • BittensorBittensor(TAO)$235.34-6.57%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.22%
  • polkadotPolkadot(DOT)$1.121.64%
  • AsterAster(ASTER)$0.70-2.45%
  • aaveAave(AAVE)$122.03-1.42%
  • mantleMantle(MNT)$0.57-4.67%
  • pax-goldPAX Gold(PAXG)$4,338.88-1.58%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0565100.87%
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

How These XL Phones Compete

CA Governor Signs ‘Landmark’ Laws On Youth Use Of Social Media And AI Chatbots

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

How These XL Phones Compete
AI & Technology

How These XL Phones Compete

September 10, 2026
CA Governor Signs ‘Landmark’ Laws On Youth Use Of Social Media And AI Chatbots
AI & Technology

CA Governor Signs ‘Landmark’ Laws On Youth Use Of Social Media And AI Chatbots

September 10, 2026
Meet Redis LangCache: A Managed Semantic Cache That Cuts LLM API Costs by Up to 90% and Returns Cache Hits Up to 15x Faster
AI & Technology

Meet Redis LangCache: A Managed Semantic Cache That Cuts LLM API Costs by Up to 90% and Returns Cache Hits Up to 15x Faster

September 10, 2026
Meta Is Testing Community Notes In Latin America. Fact Checkers Are Worried.
AI & Technology

Meta Is Testing Community Notes In Latin America. Fact Checkers Are Worried.

September 10, 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
UC Berkeley Researchers Release CUA-Lite, an Open Platform Unifying Sandboxes, Data, Evaluation and RL for Computer-Use Agents

UC Berkeley Researchers Release CUA-Lite, an Open Platform Unifying Sandboxes, Data, Evaluation and RL for Computer-Use Agents

September 6, 2026
Is the Trade War Back? Also, Examining the Tate Brothers Purported Ties to the Trump Admin | July 21

Is the Trade War Back? Also, Examining the Tate Brothers Purported Ties to the Trump Admin | July 21

September 7, 2026
Indonesia cancels flights at Jakarta airport as Anak Krakatau volcano erupts – apnews.com

Indonesia cancels flights at Jakarta airport as Anak Krakatau volcano erupts – apnews.com

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