paper-with-me

Papers

Using Advanced LLMs to Enhance Smaller LLMs: An Interpretable Knowledge Distillation Approach

2024-08-13 · Tong Wang, K. Sudhir, Dat Hong

Advanced Large language models (LLMs) like GPT-4 or LlaMa 3 provide superior performance in complex human-like interactions. But they are costly, or too large for edge devices such as smartphones and harder to self-host, leading to security and privacy concerns. This paper introduces a novel interpretable knowledge distillation approach to enhance the performance of smaller, more economical LLMs that firms can self-host. We study this problem in the context of building a customer service agent aimed at achieving high customer satisfaction through goal-oriented dialogues. Unlike traditional knowledge distillation, where the "student" model learns directly from the "teacher" model's responses via fine-tuning, our interpretable "strategy" teaching approach involves the teacher providing strategies to improve the student's performance in various scenarios. This method alternates between a "scenario generation" step and a "strategies for improvement" step, creating a customized library of scenarios and optimized strategies for automated prompting. The method requires only black-box access to both student and teacher models; hence it can be used without manipulating model parameters. In our customer service application, the method improves performance, and the learned strategies are transferable to other LLMs and scenarios beyond the training set. The method's interpretabilty helps safeguard against potential harms through human audit.

📄 PDF Abstract BibTeX arXiv:2408.07238

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge Distillation

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음

Similar Papers 제목 키워드 기반

AGENTIQL: An Agent-Inspired Multi-Expert Framework for Text-to-SQL Generation

2025-10-12 · Omid Reza Heidari, Siobhan Reid, Yassine Yaakoubi arxiv

LLMs have advanced text-to-SQL generation, yet monolithic architectures struggle with complex reasoning and schema diversity. We propose AGENTIQL, an agent-inspired multi-expert framework that combines a reasoning agent …

Semantic Parsing

Knowledge Distillation of Black-Box Large Language Models

2024-01-13 · Hongzhan Chen, Ruijun Chen, Yuqi Yi, Xiaojun Quan 외

Given the exceptional performance of proprietary large language models (LLMs) like GPT-4, recent research has increasingly focused on boosting the capabilities of smaller models through knowledge distillation (KD) from t…

Knowledge DistillationTransfer Learning

Interpretable Online Log Analysis Using Large Language Models with Prompt Strategies

2023-08-15 · Yilun Liu, Shimin Tao, Weibin Meng, Jingyu Wang 외

Automated log analysis is crucial in modern software-intensive systems for facilitating program comprehension throughout software maintenance and engineering life cycles. Existing methods perform tasks such as log parsin…

Anomaly DetectionLog ParsingPrompt Engineering

Thinking with Knowledge Graphs: Enhancing LLM Reasoning Through Structured Data

2024-12-14 · Xue Wu, Kostas Tsioutsiouliklis

Large Language Models (LLMs) have demonstrated remarkable capabilities in natural language understanding and generation. However, they often struggle with complex reasoning tasks and are prone to hallucination. Recent re…

HallucinationKnowledge GraphsNatural Language Understanding

Learning to Plan for Retrieval-Augmented Large Language Models from Knowledge Graphs

2024-06-20 · Junjie Wang, Mingyang Chen, Binbin Hu, Dan Yang 외

Improving the performance of large language models (LLMs) in complex question-answering (QA) scenarios has always been a research focal point. Recent studies have attempted to enhance LLMs' performance by combining step-…

Knowledge DistillationKnowledge GraphsQuestion AnsweringRetrieval