mlsanityData to 7 Oct 2026

Distilling Rule-based Knowledge into Large Language Models

arXiv 2311.08883 ↗First posted 15 Nov 2023cs.CLcited by 9

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  6. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  8. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
  9. 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
  10. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  11. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  12. 2023LIMA: Less Is More for Alignmentcited by 1,080
23 more
  1. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  2. 2016Sequence-Level Knowledge Distillationcited by 761
  3. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 734
  4. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  5. 2022A Survey on In-context Learningcited by 717
  6. 2021Cross-Task Generalization via Natural Language Crowdsourcing Instructionscited by 696
  7. 2023WizardMath: Empowering Mathematical Reasoning for Large Language Models via Reinforced Evol-Instructcited by 618
  8. 2023Instruction Tuning for Large Language Models: A Surveycited by 617
  9. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  10. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
  11. 2023ChatIE: Zero-Shot Information Extraction via Chatting with ChatGPTcited by 250
  12. 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 235
  13. 2022Diverse Demonstrations Improve In-context Compositional Generalizationcited by 136
  14. 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
  15. 2023Evaluating ChatGPT's Information Extraction Capabilities: An Assessment of Performance, Explainability, Calibration, and Faithfulnesscited by 130
  16. 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
  17. 2023Goat: Fine-tuned LLaMA Outperforms GPT-4 on Arithmetic Taskscited by 84
  18. 2020Learning from Rules Generalizing Labeled Exemplarscited by 59
  19. 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
  20. 2023Do Models Really Learn to Follow Instructions? An Empirical Study of Instruction Tuningcited by 48
  21. 2023CITB: A Benchmark for Continual Instruction Tuningcited by 32
  22. 2023Instruction Distillation Makes Large Language Models Efficient Zero-shot Rankerscited by 19
  23. 2023Exploring Format Consistency for Instruction Tuningcited by 14

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 5.

9 papers.