Awakening Augmented Generation: Learning to Awaken Internal Knowledge of Large Language Models for Question Answering

Huanxuan Liao, Shizhu He, Yao Xu, Yuanzhe Zhang, Kang Liu +2 more
3/22/2024
12 citations
cs.CL

Official code: Xnhyacinth/IAG (9 stars, Python, Apache-2.0, last commit 2025-02-18).

Abstract

Retrieval-Augmented-Generation and Generation-Augmented-Generation have been proposed to enhance the knowledge required for question answering with Large Language Models (LLMs) by leveraging richer context. However, the former relies on external resources, and both require incorporating explicit documents into the context, which increases execution costs and susceptibility to noise data during inference.

Show full abstract

Recent works indicate that LLMs model rich knowledge, but it is often not effectively activated and awakened. Inspired by this, we propose a novel knowledge-augmented framework, $\textbf{Awakening-Augmented-Generation}$ (AAG), which mimics the human ability to answer questions using only thinking and recalling to compensate for knowledge gaps, thereby awaking relevant knowledge in LLMs without relying on external resources. AAG consists of two key components for awakening richer context. Explicit awakening fine-tunes a context generator to create a synthetic, compressed document that functions as symbolic context. Implicit awakening utilizes a hypernetwork to generate adapters based on the question and synthetic document, which are inserted into LLMs to serve as parameter context. Experimental results on three datasets demonstrate that AAG exhibits significant advantages in both open-domain and closed-book settings, as well as in out-of-distribution generalization. Our code will be available at \url{https://github.com/Xnhyacinth/IAG}.

View on arXivView PDF

Code Implementations(1)

Xnhyacinth/IAGOfficial100%
Apache-2.0

[COLING 2025] Awakening Augmented Generation: Learning to Awaken Internal Knowledge of Large Language Models for Question Answering

92Python, ShellMar 22, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{liao2024awakening,
  title  = {Awakening Augmented Generation: Learning to Awaken Internal Knowledge of Large Language Models for Question Answering},
  author = {Huanxuan Liao and Shizhu He and Yao Xu and Yuanzhe Zhang and Kang Liu and Shengping Liu and Jun Zhao},
  year   = {2024},
  eprint = {2403.15268},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.15268v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.15268.svg)](https://codeofpaper.com/paper/2403.15268)

Discussion