Advancing Large Language Models with
Input Augmentation & Output Refinement
Bill Yuchen Lin
Young Investigator @ Allen Institute for AI (AI2)
yuchenl@allenai.org
In the Era of LLMs → Frozen / Black-box APIs
Large
Language
Models
AGI?
NLPers
Inputs/Outputs with LLLMs
Frozen LMs
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Input Augmentation via Retrieval
FLAN-T5
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Key idea:
Iteratively training rerankers by refining the data quality with meta-learning .
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Input Augmentation via Retrieval
The upsampling ratio.
|Q|=16; |R|=512; u=2
Input Augmentation via Retrieval
Input Augmentation via Retrieval
Ongoing project: ReX-Instruct
Instruction
Database
(e.g., alpaca-data)
BART0/Flan-T5
User Inputs
BART0/Flan-T5
Query
Vectors
Retrieved
Examples
Concatenation ⇒ LLaMA
In-Context Learning
Index
Learning a scoring function to better estimate the utility of retrieved examples.
⇒ a ranking problem
⇒ “truth score” proxy
⇒ iteratively training
⇒ model-general?
Inputs/Outputs with LLLMs
Frozen LMs
Output Refinement via Reranking
Under review
Decoding methods for LMs
Gap between Oracle vs Default Generations
The one in top 15 with highest metric scores.
Peagsus T5 OpusMT
Prior work: individually score each candidate
Prior work: individually score each candidate
💡 Difference between a better vs a good example is subtle, unless you compare them side by side.
PairReranker: A pairwise reranking method
Some Challenges for Pairwise Reranking
Model architecture for PairReranker
Inference stage for Pairwise Reranking
Dataset Statistics
Candidates Generation
Results with Smaller LMs (Pegasus, T5, Opus-MT)
Results with Large LMs (text-davinci-003)
Summary for LLM-Reranker
Other topics that I’m working on
Other topics that I’m working on
Conclusion