arXiv

Fast & Faithful Function Vectors

Title: Efficient and Accurate Function Vectors

Abstract: Function vectors (FVs), which serve as task representations extracted during in-context learning, offer a mechanism to guide Large Language Models (LLMs). Despite their utility, the specific design parameters involved in their construction have received limited attention. This study investigates how different definitions of FVs for instructions perform across two key variables: the selection of attention heads and the method of steering. Regarding head selection, employing gradient-based attributions via Layer-wise Relevance Propagation (LRP) leads to significant gains in both efficiency and accuracy. In terms of steering, implementing a distributed approach results in superior accuracy when compared to straightforward aggregation techniques. The source code for this work is publicly accessible.


Source: arXiv Generated at: 2026-06-04 00:00:00 UTC

Related Articles

Dimon and SpaceX Executives to Pitch IPO to Clients
Bloomberg

Dimon and SpaceX Executives to Pitch IPO to Clients

JPMorgan Chase CEO Jamie Dimon and SpaceX executives are pitching IPO details to clients.

Financial Times

Europe is finally flexing its innovation muscles

The EU’s new tech sovereignty package signals a positive shift from defensive regulation to proactive innovation, markin...

Apollo’s Zelter Expects High-Grade Debt Sales to Top US Treasuries
Bloomberg

Apollo’s Zelter Expects High-Grade Debt Sales to Top US Treasuries

Apollo’s Zelter expects high-grade debt sales to surpass US Treasuries. He anticipates investment-grade debt outperformi...

EU Insurance Watchdog Warns on Loan Risks
Bloomberg

EU Insurance Watchdog Warns on Loan Risks

EIOPA warns insurers to closely monitor loan risks, though initial reports lack specific details on the nature or scope ...

Glazer Family Members Said to Study Manchester United Stake Sale
Bloomberg

Glazer Family Members Said to Study Manchester United Stake Sale

Reports indicate the Glazer family is evaluating a potential sale of their Manchester United stake, with family members ...

Ares' Blair Jacbobson: Disconnect Over Private Credit Headlines
Bloomberg

Ares' Blair Jacbobson: Disconnect Over Private Credit Headlines

Ares’ Blair Jacobson argues that private credit headlines misrepresent reality, highlighting a disconnect between media ...