Skill Weaving: Efficient LLM Improvement via Modular Skillpacks

Zhuo Li, Guodong Du, Zesheng Shi, Weiyang Guo, Weijun Yao, Yuan Zhou, Jiabo Zhang, Jing Li

TL;DR

SkillWeave is a modular framework that boosts LLM multi-domain performance under strict memory budgets by decomposing capabilities into lightweight, domain-specific "skillpacks." By pairing full-parameter tuning with a novel full-quantization strategy (SkillZip), a 9B SkillWeave model can outperform a 32B monolithic model while delivering up to a 4x inference speedup.

What Problem Does This Paper Address?

As large language models (LLMs) are deployed across increasingly diverse scenarios, a major bottleneck emerges: a single "monolithic" model struggles to excel simultaneously across heterogeneous domains (e.g., coding, mathematics, and creative dialogue) due to task interference and catastrophic forgetting.

To bypass this, practitioners often maintain multiple specialized models or scale up to massive, general-purpose LLMs. However, both approaches incur prohibitive costs in memory footprint and inference latency. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA offer a lightweight alternative, they frequently underperform compared to full-parameter tuning. The authors address a central question: How can we enable LLMs to sustain high multi-domain performance under fixed memory and latency budgets?

Methods

SkillWeave solves this trade-off through a structured three-stage pipeline:

  1. Skillpack Building (Self-Specialization): The base model is independently fine-tuned on each target domain using self-generated data. To ensure data quality, a lightweight rule-based filter separates generations into helpful and harmful subsets, which are then used to train the model via online Direct Preference Optimization (DPO). This extracts full-parameter task deltas (proto-skillpacks).
  2. Skillpack Compression (SkillZip): To make modular deployment practical, the framework uses SkillZip. First, cross-task shared knowledge is merged back into the common backbone to make individual deltas sparser. Then, SkillZip applies full quantization (INT8 or INT4) to both the delta weights and their corresponding activation inputs. To mitigate precision loss from activation outliers, they introduce a Double Smoothing strategy: channel-wise smoothing to rebalance activation-weight magnitudes, followed by rank-wise smoothing via truncated Singular Value Decomposition (SVD) and orthogonal rotation.
  3. Skillpack Integration (Modular Deployment): At inference time, the shared backbone remains constantly active, while a lightweight, learned router dynamically invokes a single domain-specific skillpack per request.
Overview of the SkillWeave framework

Datasets

The authors constructed a diverse training set spanning multiple domains:

  • Math: OpenMathInstruct-2, MetaMathQA, AMC 23
  • Code: Self-Oss-Instruct-SC2, OSS-Instruct, Evol-Alpaca, Python-Code
  • Dialogue: Magpie-Pro-DPO, Orca-Best, Capybara, UltraFeedback, HelpSteer, HelpSteer2, ShareGPT-GPT4
  • Reasoning: ARC, BBH
  • Agentic: AgentBench, Mind2Web, WebShop, AgentInstruct, AgentBoard

Evaluation was conducted using standard benchmarks: GSM8K and MATH (Mathematics), HumanEval and MBPP (Coding), AlpacaEval2 and IFEval (Dialogue), BBH and ARC-C (Reasoning), and AgentBench (Agentic workflows).

Key Insights and Ideas

  • Full-Tuning-Then-Zip: The core philosophy is that full-parameter fine-tuning is essential to absorb fine-grained domain nuances. Instead of restricting the parameter space during training (like LoRA), SkillWeave trains with a full parameter budget first, then aggressively compresses the delta parameters for deployment.
  • Domain-Stable Outliers: Activation outliers (channels with magnitudes 100x larger than others) display stable, task-specific patterns within a domain. This predictability allows the Double Smoothing strategy to effectively disperse outlier energy before quantization, making the matrices significantly more quantization-friendly.
  • Serendipitous Routing: When the learned router makes a "mistake"—such as routing a dialogue prompt containing embedded math to the Math skillpack—overall accuracy does not degrade. In fact, the specialized math skillpack is often better equipped to handle the underlying subproblem than the dialogue module.

Key Results

  • Outperforming Larger Models: An 8B LLaMA-3.1 backbone enhanced by SkillWeave outperformed substantially larger open-source models, including Gemma2-27B-it (with a gain of +8.1 on MATH).
  • Massive Speedups: In LLM-as-Agent scenarios (AgentBench), SkillWeave achieved a 4.2x inference speedup compared to a 32B monolithic model and a 5.5x speedup compared to deploying five separate 7B models, while maintaining comparable task performance (within 3–5%).
  • SkillZip Efficiency: Thanks to full quantization of both weights and activations, SkillZip achieved a 1.38x speedup over DeltaCome and a 1.04x speedup over S-LoRA by computing directly in low-bit integer formats using Tensor Core acceleration. It also delivered a 12% accuracy improvement over BitDelta and 15% over ASVD.

Limitations and Future Work

  • Clear Domain Boundaries: The framework was primarily evaluated on established benchmarks with distinct domain boundaries. Its performance in highly open-ended or weakly defined task settings (e.g., mixed-domain agentic workflows) requires further investigation.
  • Rule-Based Verification Bottleneck: The data filtering pipeline relies heavily on domain-specific, rule-based verification (like executing code in a sandbox or checking math answers). This approach is difficult to scale to open-ended tasks like creative writing or abstract conversation where clear correctness criteria do not exist.

Summary updated

BibTeX
@inproceedings{li2026skill,
  author = {Zhuo Li and Guodong Du and Zesheng Shi and Weiyang Guo and Weijun Yao and Yuan Zhou and Jiabo Zhang and Jing Li},
  title = {{Skill Weaving: Efficient LLM Improvement via Modular Skillpacks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.findings-acl.1989},
}
Figure