Relational Knowledge Distillation Using Fine-tuned Function Vectors
Not on the map. Why?
Abstract (arXiv)
Representing relations between concepts is a core prerequisite for intelligent systems to make sense of the world. Recent work using causal mediation analysis has shown that a small set of attention heads encodes task representation in in-context learning, captured in a compact representation known as the function vector. We show that fine-tuning function vectors with only a small set of examples (about 20 word pairs) yields better performance on relation-based word-completion tasks than using the original vectors derived from causal mediation analysis. These improvements hold for both small and large language models. Moreover, the fine-tuned function vectors yield improved decoding performance for relation words and show stronger alignment with human similarity judgments of semantic relations. Next, we introduce the composite function vector - a weighted combination of fine-tuned function vectors - to extract relational knowledge and support analogical reasoning. At inference time, inserting this composite vector into LLM activations markedly enhances performance on challenging analogy problems drawn from cognitive science and SAT benchmarks. Our results highlight the potential of activation patching as a controllable mechanism for encoding and manipulating relational knowledge, advancing both the interpretability and reasoning capabilities of large language models.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 40 references that are in the map. First posted on arXiv 13 Jan 2026.
Builds on
20 of 40 references.
References · 20
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
- 2022Toy Models of Superpositioncited by 928
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 679
- 2023Function Vectors in Large Language Modelscited by 292
- 2022Emergent Analogical Reasoning in Large Language Modelscited by 239
8 more
- 2022Extracting Latent Steering Vectors from Pretrained Language Modelscited by 217
- 2022The Debate Over Understanding in AI's Large Language Modelscited by 142
- 2023Improving Activation Steering in Language Models with Mean-Centringcited by 64
- 2024LoFiT: Localized Fine-tuning on LLM Representationscited by 56
- 2024Transformers are Universal In-context Learnerscited by 42
- 2024Using Counterfactual Tasks to Evaluate the Generality of Analogical Reasoning in Large Language Modelscited by 38
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language modelscited by 14
- 2024Exploring the LLM Journey from Cognition to Expression with Linear Representationscited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Multimodal Function Vectors for Visual Relations
- 2025Relation-R1: Progressively Cognitive Chain-of-Thought Guided Reinforcement Learning for Unified Relation Comprehension
- 2026Knowledge Vector of Logical Reasoning in Large Language Models
- 2025The Curious Case of Analogies: Investigating Analogical Reasoning in Large Language Models
- 2025Analogical Reasoning Inside Large Language Models: Concept Vectors and the Limits of Abstraction
- 2025The Answer Lies Within: Self-Derived Rewards Enable Explainable Relation Extraction
- 2024Deconfounded Causality-aware Parameter-Efficient Fine-Tuning for Problem-Solving Improvement of LLMs
- 2024Uncovering Latent Chain of Thought Vectors in Language Models