Reproduce “Augmented Large Language Models with Parametric Knowledge Guiding” 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

Ziyang Luo, Can Xu, Pu Zhao, Xiubo Geng, Chongyang Tao, Jing Ma, Qingwei Lin, Daxin Jiang

Researchers from Hong Kong Baptist University and Microsoft Corporation introduce Parametric Knowledge Guiding (PKG), a framework that enhances large language models (LLMs) by using a fine-tuned, open-source LLM (LLaMa-7B) to generate domain-specific background knowledge. This method improves accuracy by up to 11.9% on various knowledge-intensive tasks while addressing data privacy concerns associated with proprietary LLMs.

Key insights

  • Augmenting "black-box" LLMs with parametrically generated knowledge is an effective method for domain adaptation without requiring internal model modifications or exposing private data.
  • The "generate-then-read" approach, where a specialized model creates context, consistently outperforms traditional retrieval-based and LLM self-guiding methods across diverse knowledge-intensive tasks.
  • Larger target LLMs and more capable PKG modules show greater performance improvements, suggesting that the reasoning capabilities of the main LLM effectively leverage the provided guiding knowledge.

Summary by alphaXiv.

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