Reproduce “Relational Knowledge Distillation Using Fine-tuned Function Vectors” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Andrea Kang, Yingnian Wu, Hongjing Lu

Researchers at UCLA developed Fine-Tuned Function Vectors (FFVs) and Composite Function Vectors (CFVs) to distill and manipulate relational knowledge in Large Language Models (LLMs). This framework enhances LLMs' analogical reasoning, achieving up to a 60% accuracy increase in zero-shot word-completion tasks and a 19% improvement on challenging "far-analogy" problems while aligning internal representations with human relational judgments with a correlation of r = 0.831.

Key insights

  • Explicitly fine-tuning function vectors significantly enhances LLM performance on relation-based tasks and improves alignment between LLM representations and human cognitive judgments of relational similarity.
  • Relational knowledge in LLMs can be represented as compact, interpretable vectors whose linear combination (composite function vectors) enables robust analogical reasoning for challenging cross-domain analogies.
  • Relational knowledge can be efficiently distilled and refined into LLMs using remarkably small datasets (e.g., 10-20 word pairs per relation) without modifying the core pre-trained model parameters.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.