Skip to search boxSkip to navigationSkip to main content

Iterative Structured Knowledge Distillation: Optimizing Language Models Through Layer-by-Layer Distillation

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Research
Peer-review

Open access

Abstract

Traditional language model compression techniques, like knowledge distillation, require a fixed architecture, limiting flexibility, while structured pruning methods often fail to preserve performance. This paper introduces Iterative Structured Knowledge Distillation (ISKD), which integrates knowledge distillation and structured pruning by progressively replacing transformer blocks with smaller, efficient versions during training. This study validates ISKD on two transformer-based language models: GPT-2 and Phi-1. ISKD outperforms L1 pruning and achieves similar performance to knowledge distillation while offering greater flexibility. ISKD reduces model parameters - 30.68% for GPT-2 and 30.16% for Phi-1 - while maintaining at least four-fifths of performance on both language modeling and commonsense reasoning tasks. These findings suggest that this method offers a promising balance between model efficiency and accuracy.

Publication Information

Output type

Research Output:
Conference Article in Proceeding or Book/Report chapter
Article in proceedings
Research
Peer-review

Original language

English

Pages from-to (Number of pages)

Pages 6601-6606 (6 pages)

Publication milestones

  • Published - 01/01/2025

Publication status

Published - 01/01/2025

Place of publication

Abu Dhabi, UAE

Publisher

Association for Computational Linguistics, United States

Publication IDs

  • Scopus: 85218499447

Host publication title

Proceedings of the 31st International Conference on Computational Linguistics

Host publication editors

  • Owen Rambow
  • Leo Wanner
  • Marianna Apidianaki
  • Hend Al-Khalifa
  • Barbara Di Eugenio
  • Steven Schockaert

Publication metrics

PlumX

Citation count
1
Captures
9

Related Event

Title

International Conference on Computational Linguistics

Event type

Conference

Degree of recognition

International event

Date

19/01/2025 - 24/01/2025

Location

Abu DhabiUnited Arab Emirates