注册
名词表 › Knowledge Distillation

Knowledge Distillation是什么?

知识蒸馏(Knowledge Distillation)是让大模型(教师)训练小模型(学生)的模型压缩技术,用小模型接近大模型效果并降低部署成本。

知识蒸馏(Knowledge Distillation)是一种模型压缩方法:先训练一个大而强的教师模型,再让一个小而快的学生模型去模仿教师的输出(包括其对各类别的概率分布),使小模型用少得多的参数接近大模型的效果。

它的动机是部署约束——大模型效果好但推理慢、成本高,蒸馏后的小模型可在手机、浏览器等资源受限设备上运行,同时兼顾速度与效果。它与量化、剪枝同属模型压缩技术路线。

常见误区:蒸馏不是简单把大模型裁小,而是用大模型的软标签(各类别的概率,比硬标签对错含更多信息)来教小模型;学生小到一定程度,效果仍会明显下降,需在大小与精度间权衡。

全部术语

一词一页详解,浏览更多 ComfyUI 概念
VAE KSampler Sampler Scheduler CFG Steps Seed Latent LoRA Checkpoint CLIP Diffusion Model Denoise Latent Space Reasoning Planning Training Inference Small Language Model Grounding RAG Orchestration Memory Transformer Frontier Model GPU Artificial Intelligence Machine Learning Deep Learning Neural Network Large Language Model Generative AI Foundation Model Agent Prompt Prompt Engineering Context Window Token Tokenization Embedding Vector Database Attention Self-Attention Fine-tuning Pre-training Transfer Learning Few-shot Learning Zero-shot Learning In-Context Learning Chain of Thought Reinforcement Learning RLHF Supervised Learning Unsupervised Learning Self-Supervised Learning Classification Regression Overfitting Loss Function Gradient Descent Backpropagation Epoch Learning Rate Optimizer Dataset Hyperparameter Activation Function Softmax Normalization Regularization Dropout Convolutional Neural Network Recurrent Neural Network LSTM GAN Autoencoder Natural Language Processing Computer Vision Speech Recognition Text-to-Speech Hallucination Temperature Quantization Mixture of Experts Knowledge Distillation Pruning Chatbot GPT BERT ChatGPT Claude Gemini Llama Stable Diffusion Function Calling Knowledge Graph Recommender System Multi-Agent System World Model Synthetic Data Image Generation Text-to-Image Machine Translation Semantic Search Instruction Tuning Alignment Agentic AI Explainable AI DeepSeek Qwen Mistral Whisper DALL-E Midjourney Sora YOLO ResNet ImageNet PyTorch TensorFlow Keras Hugging Face LangChain LlamaIndex ONNX OpenCV CUDA TPU NPU vLLM ComfyUI Grok Copilot OpenAI Anthropic DeepMind AlphaGo AlphaFold Turing Test Top-p Top-k Beam Search Greedy Decoding KV Cache FlashAttention Adapter PEFT Model Compression Sparse Attention SGD Momentum Early Stopping Batch Normalization Gradient Accumulation Gradient Clipping Vanishing Gradient Cross-validation Test Set Validation Set Confusion Matrix Precision Recall F1 Score AUC Accuracy Perplexity BLEU Benchmark Active Learning Semi-supervised Learning Meta Learning Contrastive Learning Representation Learning Multimodal Vision-Language Model Image Captioning Object Detection Image Segmentation Face Recognition OCR Voice Cloning Text-to-Video Video Generation Text Summarization Sentiment Analysis Named Entity Recognition Question Answering Code Generation Data Augmentation Feature Engineering Feature Label Weights Bias Decision Tree Random Forest Support Vector Machine K-means K-nearest Neighbors Gradient Boosting Principal Component Analysis Multi-head Attention Positional Encoding Encoder Decoder Tokenizer Graph Neural Network Ground Truth Fairness Prompt Injection Jailbreak Red Teaming AI Ethics Responsible AI AI Safety Differential Privacy Federated Learning Edge AI Autonomous Driving Humanoid Robot Data Science Big Data API Plugin MCP Tool Use Structured Output Sentence Embedding Anomaly Detection Collaborative Filtering Data Drift A/B Testing Image-to-Image Negative Prompt Style Transfer Super Resolution Inpainting Outpainting ControlNet DreamBooth Textual Inversion Natural Language Understanding Natural Language Generation
TOP