InsBank: Evolving Instruction Subset for Ongoing Alignment

Jiayi Shi, Yiwei Li, Shaoxiong Feng, Peiwen Yuan, Xinglin Wang, Yueqi Zhang, Chuyi Tan, Boyuan Pan, Huan Ren, Yao Hu, Kan Li

TL;DR

This paper introduces Instruction Bank (InsBank) and a companion framework, Progressive Instruction Bank Evolution (PIBE), to dynamically maintain a fixed-size, high-quality, and diverse instruction-tuning subset as new datasets emerge over time. By utilizing a history-aware clustering mechanism, PIBE avoids the prohibitive computational cost of re-selecting data from scratch while consistently outperforming static data-selection baselines. This approach enables continuous, budget-conscious alignment of Large Language Models (LLMs) without unbounded data growth.

What Problem Does This Paper Address?

Instruction fine-tuning is essential for aligning LLMs with human intent. Recent breakthroughs (like LIMA) show that the quality and diversity of instruction data matter far more than sheer quantity. Consequently, researchers use data selection algorithms to prune massive datasets into small, high-performing subsets to minimize training costs.

However, the AI community releases new instruction datasets constantly. Existing data selection methods are static: to incorporate new data, you either have to mix everything together and rerun the selection algorithm from scratch (which becomes computationally impossible as data scales into millions or billions of samples) or naively append new data (which causes the training set size to explode).

The authors tackle this gap by asking: How can we continuously evolve a high-quality, fixed-size instruction subset in parallel with the ongoing development of new instruction data?

Methods

The authors propose InsBank, a dynamic repository that maintains a constant size by replacing low-quality, redundant old samples with high-scoring new ones. To manage this repository efficiently, they develop the Progressive Instruction Bank Evolution (PIBE) framework.

Figure 1: Illustration of InsBank evolution. It is initial- ized by data selection on all current available instruction data, and it will evolve itself as long as new instruction data are proposed. A smaller training subset can be ob- tained from InsBank according to user training budget.

PIBE introduces three core technical innovations:

  1. Gradual Evolution Strategy: Instead of scanning all historical data, each evolution round only evaluates the newly proposed dataset alongside the current InsBank.
  2. Historical Information Flowing (Momentum Matrix): When data is discarded, its distributional information is lost. PIBE solves this by using a momentum matrix derived from Affinity Propagation (AP). This matrix acts as a memory buffer, allowing historically filtered-out data to still influence the "votes" for what constitutes a globally representative sample in future rounds.
  3. Nonlinear Quality-Diversity Integration: Standard linear combinations often allow diversity scores to dominate quality. PIBE applies a non-linear sigmoid mapping to quality scores, ensuring that low-quality data is heavily penalized while flattening out the rewards for excessively high quality, striking a better balance.
Figure 2: The framework of PIBE begins by integrating newly proposed candidates with the existing InsBank data and initializing momentum information based on historical records. Then, affinity propagation incorporating the momentum is applied to compute diversity scores. Subsequently, the quality scores obtained via model-based annotation are combined with the diversity scores to produce an individual overall score. Finally, the top-k samples with the highest overall scores are selected to form the evolved InsBank where k is the budget.

Datasets

The authors simulated a chronological timeline of instruction data development using five popular datasets (totaling 278k samples):

  • Self-Instruct
  • Alpaca (GPT-4)
  • Dolly
  • ShareGPT
  • WizardLM (Alpaca)

For robust validation, they also tested data selection on UltraChat.

Downstream model alignment was evaluated using standard benchmarks: AlpacaEval, MT-Bench, IFEval, OpenLLM Leaderboard (comprising MMLU, HellaSwag, ARC, TruthfulQA, and Winogrande), and FollowBench.

Key Insights and Ideas

  • Memory Matters in Data Pruning: Discarding data usually blinds an algorithm to the true underlying data distribution. PIBE’s momentum matrix allows the algorithm to "remember" the shape of the data landscape without actually storing the old text samples.
  • The Quality Sweet Spot: Continuously maximizing quality scores linearly can actually hurt model performance by eroding diversity. The authors found that a non-linear mapping function helps include moderately high-quality data that brings massive diversity gains, yielding better downstream models.
  • Orderliness for Custom Budgets: Samples within InsBank are cleanly ranked by a unified score. If a practitioner only has the compute budget to train on 2,000 samples instead of 6,000, they can simply slice the top 2,000 samples from the bank and still achieve optimal alignment performance.

Key Results

  • Superior Performance: Across multiple base models (Llama3-8B, Qwen2.5-7B, Mistral-7B), PIBE consistently outperformed strong baselines like DEITA, kNN, and kCenter Greedy. For example, on Llama3-8B, PIBE achieved an AlpacaEval score of 44.84, beating DEITA (43.60) and a full data training baseline (19.07).
  • Massive Efficiency Gains: In time-cost analyses, PIBE completed its data selection process in just 0.21 hours, compared to a progressive implementation of DEITA which took 2.28 hours—representing a >10x speedup due to PIBE's parallelizable operations.
  • Effective Filtering: As shown in the paper's distribution analysis, the final evolved InsBank automatically favored high-quality datasets (ShareGPT, WizardLM) while effectively ignoring low-quality early datasets (Self-Instruct, Dolly), validating its evolutionary design.

Limitations and Future Work

While PIBE excels at balancing diversity and representativeness using historical memory, its quality assessment still relies on external model-based annotations (specifically, the DEITA quality scorer). The authors note that achieving a more precise, self-contained, or nuanced assessment of individual instruction data quality remains an important open direction for future research.

Summary updated

BibTeX
@misc{shi2025insbank,
  author = {Jiayi Shi and Yiwei Li and Shaoxiong Feng and Peiwen Yuan and Xinglin Wang and Yueqi Zhang and Chuyi Tan and Boyuan Pan and Huan Ren and Yao Hu and Kan Li},
  title = {{InsBank: Evolving Instruction Subset for Ongoing Alignment}},
  year = {2025},
  eprint = {2502.11419},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.11419},
}
Figure