Distilling Rule-based Knowledge into Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have shown incredible performance in completing various real-world tasks. The current paradigm of knowledge learning for LLMs is mainly based on learning from examples, in which LLMs learn the internal rule implicitly from a certain number of supervised examples. However, this learning paradigm may not well learn those complicated rules, especially when the training examples are limited. We are inspired that humans can learn the new tasks or knowledge in another way by learning from rules. That is, humans can learn new tasks or grasp new knowledge quickly and generalize well given only a detailed rule and a few optional examples. Therefore, in this paper, we aim to explore the feasibility of this new learning paradigm, which targets on encoding rule-based knowledge into LLMs. We further propose rule distillation, which first uses the strong in-context abilities of LLMs to extract the knowledge from the textual rules, and then explicitly encode the knowledge into the parameters of LLMs by learning from the above in-context signals produced inside the model. Our experiments show that making LLMs learn from rules by our method is much more efficient than example-based learning in both the sample size and generalization ability. Warning: This paper may contain examples with offensive content.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 35 of its 44 references that are in the map. First posted on arXiv 15 Nov 2023.
Builds on
35 of 44 references.
References · 35
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2023LIMA: Less Is More for Alignmentcited by 1,080
23 more
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2016Sequence-Level Knowledge Distillationcited by 761
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2022A Survey on In-context Learningcited by 717
- 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
- 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
- 2023Instruction Tuning for Large Language Models: A Surveycited by 617
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
- 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
- 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
- 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
- 2023Evaluating ChatGPT's Information Extraction Capabilities: An Assessment of Performance, Explainability, Calibration, and Faithfulnesscited by 130
- 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
- 2023Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Taskscited by 84
- 2020Learning from Rules Generalizing Labeled Exemplarscited by 59
- 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
- 2023Do Models Really Learn to Follow Instructions? An Empirical Study of Instruction Tuningcited by 48
- 2023CITB: A Benchmark for Continual Instruction Tuningcited by 32
- 2023Instruction Distillation Makes Large Language Models Efficient Zero-shot Rankerscited by 19
- 2023Exploring Format Consistency for Instruction Tuningcited by 14
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 5.
9 papers.
- 2026Reinforcement Learning via Self-Distillationcited by 285
- 2026Learning beyond Teacher: Generalized On-Policy Distillation with Reward Extrapolationcited by 157
- 2026Privileged Information Distillation for Language Modelscited by 79
- 2024WALL-E: World Alignment by Rule Learning Improves World Model-based LLM Agentscited by 24
- 2024Super(ficial)-alignment: Strong Models May Deceive Weak Models in Weak-to-Strong Generalizationcited by 23
- 2026Aligning Language Models from User Interactionscited by 21
- 2025Learning to Focus: Causal Attention Distillation via Gradient-Guided Token Pruningcited by 13
- 2026Pass the Baton: Trajectory-Relayed On-Policy Distillationcited by 10
- 2025Response-Based Knowledge Distillation for Multilingual Jailbreak Prevention Unwittingly Compromises Safetycited by 4
- 2026Pass the Baton: Trajectory-Relayed On-Policy Distillation28 Jul 2026
- 2026Aligning Language Models from User Interactions18 Feb 2026
- 2026Learning beyond Teacher: Generalized On-Policy Distillation with Reward Extrapolation12 Feb 2026
- 2026Privileged Information Distillation for Language Models4 Feb 2026
- 2026Reinforcement Learning via Self-Distillation28 Jan 2026
- 2025Response-Based Knowledge Distillation for Multilingual Jailbreak Prevention Unwittingly Compromises Safety8 Dec 2025
- 2025Learning to Focus: Causal Attention Distillation via Gradient-Guided Token Pruning9 Jun 2025
- 2024WALL-E: World Alignment by Rule Learning Improves World Model-based LLM Agents9 Oct 2024
- 2024Super(ficial)-alignment: Strong Models May Deceive Weak Models in Weak-to-Strong Generalization17 Jun 2024