Flipping Knowledge Distillation: Leveraging Small Models' Expertise to Enhance LLMs in Text Matching
On the map: Knowledge distillation → Knowledge distillation for LLMs
Abstract (arXiv)
Knowledge distillation typically involves transferring knowledge from a Large Language Model (LLM) to a Smaller Language Model (SLM). However, in tasks such as text matching, fine-tuned smaller models often yield more effective domain-specific representations, as they focus on optimizing the similarity of input pairs. To leverage both the specialized strengths of small models and the rich semantic understanding of LLMs, we introduce a flipped knowledge distillation paradigm, where LLM learns from SLM. Specifically, we address the architectural gap between decoder-only LLMs and smaller encoder-based models by reinterpreting LLMs in an encoder-decoder manner using LoRA. The encoder generates compressed representations, while the decoder maps them to the output space. During training, the encoder produces representations and their similarities, which are then aligned with the similarity scores produced by the teacher, using our proposed Margin-aware Contrastive Learning (MCL) approach. The MCL ensures accurate similarity for both positive and negative pairs, and adaptively handles the internal differences within positive and negative samples. Our paradigm requires only a reasonably good-performing SLM, allowing the LLM to achieve improved performance. Experiments on financial and healthcare benchmarks, as well as real-world applications, confirm its effectiveness, and the model has been fully deployed in an online environment.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 25 of its 43 references that are in the map. First posted on arXiv 8 Jul 2025.
Builds on
25 of 43 references.
Closest ancestors · 2
Same direction, newest first
- 2024KDMCSE: Knowledge Distillation Multimodal Sentence Embeddings with Adaptive Angular margin Contrastive Learning26 Mar
- 2023Baby Llama: knowledge distillation from an ensemble of teachers trained on a small dataset with no performance penalty3 Aug
Other references · 23
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Qwen Technical Reportcited by 3,344
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 463
- 2020FinBERT: A Pretrained Language Model for Financial Communicationscited by 161
- 2023Almanac: Retrieval-Augmented Language Models for Clinical Medicinecited by 123
- 2023Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!cited by 119
- 2022Less is More: Task-aware Layer-wise Distillation for Language Model Compressioncited by 93
- 2023How Robust is GPT-3.5 to Predecessors? A Comprehensive Study on Language Understanding Taskscited by 58
11 more
- 2025Injecting Domain-Specific Knowledge into Large Language Models: A Comprehensive Surveycited by 51
- 2024Improving Large Language Models via Fine-grained Reinforcement Learning with Minimum Editing Constraintcited by 39
- 2023Mixture-of-Domain-Adapters: Decoupling and Injecting Domain Knowledge to Pre-trained Language Models Memoriescited by 34
- 2023Distilling Large Vision-Language Model with Out-of-Distribution Generalizabilitycited by 33
- 2022Modeling User Behavior with Graph Convolution for Personalized Product Searchcited by 9
- 2024Flexible and Adaptable Summarization via Expertise Separationcited by 7
- 2023Large Language Models for Failure Mode Classification: An Investigationcited by 6
- 2024Enhancing In-Context Learning via Implicit Demonstration Augmentationcited by 6
- 2019RPM-Oriented Query Rewriting Framework for E-commerce Keyword-Based Sponsored Searchcited by 5
- 2023Improving Zero-Shot Text Matching for Financial Auditing with Large Language Modelscited by 5
- 2024Multi-Intent Attribute-Aware Text Matching in Searchingcited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 7
- 2026Interfaze: The Future of AI is built on Task-Specific Small Modelscited by 2
- 2026One Model, Multiple Goals: Adaptive Multi-Objective Learning for E-commerce Dialogue Systemscited by 1
- 2026One Model, Multiple Goals: Adaptive Multi-Objective Learning for E-commerce Dialogue Systems8 Jun 2026
- 2026Interfaze: The Future of AI is built on Task-Specific Small Models4 Feb 2026
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness14 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2022Multi-stage Distillation Framework for Cross-Lingual Semantic Similarity Matching
- 2025Knowledge Distillation and Dataset Distillation of Large Language Models: Emerging Trends, Challenges, and Future Directions
- 2024Intermediate Distillation: Data-Efficient Distillation from Black-Box LLMs for Information Retrieval
- 2026Decoder-based Sense Knowledge Distillation
- 2024Efficient Knowledge Injection in LLMs via Self-Distillation
- 2026Labeling Training Data for Entity Matching Using Large Language Models
- 2026From Images to Words: Efficient Cross-Modal Knowledge Distillation to Language Models from Black-box Teachers
- 2026WASD: Wasserstein-based Knowledge Distillation for Large Language Models