<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Training on 中文AI术语词典</title><link>https://terms-en.ai-term-hub.com/zh/tags/training/</link><description>Recent content in Training on 中文AI术语词典</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 18 Jul 2026 11:44:45 +0000</lastBuildDate><atom:link href="https://terms-en.ai-term-hub.com/zh/tags/training/index.xml" rel="self" type="application/rss+xml"/><item><title>Unsloth</title><link>https://terms-en.ai-term-hub.com/zh/terms/unsloth/</link><pubDate>Sat, 18 Jul 2026 11:37:39 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/unsloth/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>Unsloth 是一款专为优化大语言模型（LLM）的微调和部署而设计的工具。它通过替换标准的 PyTorch 操作，实现了显著的速度提升和内存占用减少。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>Unsloth 是一个开源库，通过优化的内存管理和内核实现，将大语言模型（LLM）的训练和推理速度提升高达 2 倍。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>内存优化&lt;/li>
&lt;li>自定义内核&lt;/li>
&lt;li>LLM 微调&lt;/li>
&lt;li>加速推理&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>在有限的 GPU 资源下微调 LLM&lt;/li>
&lt;li>加速推理流水线&lt;/li>
&lt;li>降低训练时的云计算成本&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> unsloth &lt;span style="color:#f92672">import&lt;/span> FastLanguageModel
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model, tokenizer &lt;span style="color:#f92672">=&lt;/span> FastLanguageModel&lt;span style="color:#f92672">.&lt;/span>from_pretrained(
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> model_name&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#34;unsloth/Llama-2-7b-bnb-4bit&amp;#34;&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> max_seq_length&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">2048&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> dtype&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#66d9ef">None&lt;/span>,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> load_in_4bit&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#66d9ef">True&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/lora-%E4%BD%8E%E7%A7%A9%E9%80%82%E5%BA%94/">LoRA (低秩适应)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pytorch-%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0%E6%A1%86%E6%9E%B6/">PyTorch (深度学习框架)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/hugging-face-%E6%A8%A1%E5%9E%8B%E7%A4%BE%E5%8C%BA%E5%B9%B3%E5%8F%B0/">Hugging Face (模型社区平台)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/flash-attention-%E9%AB%98%E6%95%88%E6%B3%A8%E6%84%8F%E5%8A%9B%E6%9C%BA%E5%88%B6/">Flash Attention (高效注意力机制)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>人机互惠学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/reciprocal_human_machine_learning/</link><pubDate>Sat, 18 Jul 2026 11:31:50 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/reciprocal_human_machine_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>这种方法超越了简单的人机回环标注。它涉及双向知识转移：人类纠正模型错误，同时模型协助人类识别模式或自动化任务，从而实现持续的协同改进。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种协作学习范式，人类和机器通过相互教学和持续学习来提升性能。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>双向学习&lt;/li>
&lt;li>人机协作&lt;/li>
&lt;li>自适应系统&lt;/li>
&lt;li>持续改进&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>交互式标注工具&lt;/li>
&lt;li>个性化推荐调优&lt;/li>
&lt;li>专家在环的医疗诊断&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E4%BA%BA%E5%9C%A8%E5%9B%9E%E8%B7%AF-human-in-the-loop/">人在回路 (Human-in-the-loop)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E4%B8%BB%E5%8A%A8%E5%AD%A6%E4%B9%A0-active-learning/">主动学习 (Active learning)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%8D%8F%E5%90%8C%E8%BF%87%E6%BB%A4-collaborative-filtering/">协同过滤 (Collaborative filtering)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E4%BA%A4%E4%BA%92%E5%BC%8F%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0-interactive-ml/">交互式机器学习 (Interactive ML)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>离线学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/offline_learning/</link><pubDate>Sat, 18 Jul 2026 11:28:49 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/offline_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>也称为批量学习，离线学习涉及使用先前收集的固定数据集来训练机器学习模型。与在线学习不同，模型不会根据新数据实时更新其参数，而是定期重新训练。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>离线学习是一种训练范式，模型在静态数据集上进行训练，在学习阶段不与实时环境交互。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>批量训练&lt;/li>
&lt;li>静态数据集&lt;/li>
&lt;li>模型重训练&lt;/li>
&lt;li>计算效率&lt;/li>
&lt;li>历史数据&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>基于历史用户数据训练推荐系统&lt;/li>
&lt;li>利用过往交易构建欺诈检测模型&lt;/li>
&lt;li>为存档照片开发图像分类器&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/online_learning-%E5%9C%A8%E7%BA%BF%E5%AD%A6%E4%B9%A0/">online_learning (在线学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/batch_processing-%E6%89%B9%E5%A4%84%E7%90%86/">batch_processing (批处理)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/model_training-%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83/">model_training (模型训练)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/data_pipeline-%E6%95%B0%E6%8D%AE%E6%B5%81%E6%B0%B4%E7%BA%BF/">data_pipeline (数据流水线)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>多任务学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/multi_task_learning/</link><pubDate>Sat, 18 Jul 2026 11:26:49 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/multi_task_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>该技术利用相关任务之间共享的归纳偏置来提高学习效率 and 性能。通过训练单个模型同时执行多项任务，模型能够学习到更具通用性的特征表示，从而提升整体表现。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>多任务学习是一种机器学习范式，其中模型同时训练多个相关任务以提高泛化能力。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>共享表示&lt;/li>
&lt;li>归纳偏置&lt;/li>
&lt;li>任务干扰&lt;/li>
&lt;li>泛化能力&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>自然语言处理（如命名实体识别和词性标注）&lt;/li>
&lt;li>计算机视觉（如目标检测和分割）&lt;/li>
&lt;li>语音识别与合成&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transfer-learning-%E8%BF%81%E7%A7%BB%E5%AD%A6%E4%B9%A0/">Transfer Learning (迁移学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/joint-training-%E8%81%94%E5%90%88%E8%AE%AD%E7%BB%83/">Joint Training (联合训练)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/neural-architecture-search-%E7%A5%9E%E7%BB%8F%E6%9E%B6%E6%9E%84%E6%90%9C%E7%B4%A2/">Neural Architecture Search (神经架构搜索)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/regularization-%E6%AD%A3%E5%88%99%E5%8C%96/">Regularization (正则化)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>混合精度训练</title><link>https://terms-en.ai-term-hub.com/zh/terms/mixed_precision_training/</link><pubDate>Sat, 18 Jul 2026 11:26:13 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/mixed_precision_training/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>混合精度训练（MPT）在神经网络训练过程中结合使用半精度（FP16）和全精度（FP32）数据类型。通过使用FP16处理大多数操作，MPT减少了内存占用并提&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种使用16位和32位浮点数进行训练的技術，旨在加速计算并减少内存使用。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>FP16&lt;/li>
&lt;li>FP32&lt;/li>
&lt;li>张量核心&lt;/li>
&lt;li>数值稳定性&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>大模型训练&lt;/li>
&lt;li>GPU加速&lt;/li>
&lt;li>内存受限环境&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> torch
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> torch.cuda.amp &lt;span style="color:#66d9ef">as&lt;/span> amp
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Example snippet showing automatic mixed precision context&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">with&lt;/span> amp&lt;span style="color:#f92672">.&lt;/span>autocast():
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> output &lt;span style="color:#f92672">=&lt;/span> model(input)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> loss &lt;span style="color:#f92672">=&lt;/span> criterion(output, target)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/gradient-scaling-%E6%A2%AF%E5%BA%A6%E7%BC%A9%E6%94%BE/">gradient scaling (梯度缩放)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/amp-%E8%87%AA%E5%8A%A8%E6%B7%B7%E5%90%88%E7%B2%BE%E5%BA%A6/">AMP (自动混合精度)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/half-precision-%E5%8D%8A%E7%B2%BE%E5%BA%A6/">half-precision (半精度)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/optimization-%E4%BC%98%E5%8C%96/">optimization (优化)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>学习曲线</title><link>https://terms-en.ai-term-hub.com/zh/terms/learning_curve/</link><pubDate>Sat, 18 Jul 2026 11:23:53 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/learning_curve/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>通常，学习曲线在y轴上显示训练得分和验证得分，在x轴上显示训练样本数量或迭代次数。它有助于诊断模型是否存在高偏差（欠拟合）或高方差（过拟合）问题。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>学习曲线将模型的性能指标与训练数据量或训练轮数进行绘图，以可视化学习进度。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>训练得分&lt;/li>
&lt;li>验证得分&lt;/li>
&lt;li>欠拟合与过拟合&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>诊断模型性能问题&lt;/li>
&lt;li>确定样本量需求&lt;/li>
&lt;li>监控训练收敛情况&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/validation-set-%E9%AA%8C%E8%AF%81%E9%9B%86/">Validation set (验证集)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/overfitting-%E8%BF%87%E6%8B%9F%E5%90%88/">Overfitting (过拟合)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/convergence-%E6%94%B6%E6%95%9B/">Convergence (收敛)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>知识蒸馏</title><link>https://terms-en.ai-term-hub.com/zh/terms/knowledge_distillation/</link><pubDate>Sat, 18 Jul 2026 11:23:05 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/knowledge_distillation/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>知识蒸馏是一种机器学习方法，用于将庞大复杂的神经网络（教师模型）压缩为更小、更高效的网络（学生模型）。学生模型经过训练以模仿教师模型的行为。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>知识蒸馏是一种模型压缩技术，其中较小的学生模型通过学习模仿较大的教师模型的行为来工作。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>师生模型&lt;/li>
&lt;li>模型压缩&lt;/li>
&lt;li>软标签&lt;/li>
&lt;li>效率&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>在边缘设备上部署模型&lt;/li>
&lt;li>降低推理延迟&lt;/li>
&lt;li>降低云计算成本&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> torch
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> torch.nn &lt;span style="color:#66d9ef">as&lt;/span> nn
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">def&lt;/span> &lt;span style="color:#a6e22e">distillation_loss&lt;/span>(student_logits, teacher_logits, temperature&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">2.0&lt;/span>):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> T &lt;span style="color:#f92672">=&lt;/span> temperature
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> student_probs &lt;span style="color:#f92672">=&lt;/span> nn&lt;span style="color:#f92672">.&lt;/span>functional&lt;span style="color:#f92672">.&lt;/span>softmax(student_logits &lt;span style="color:#f92672">/&lt;/span> T, dim&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> teacher_probs &lt;span style="color:#f92672">=&lt;/span> nn&lt;span style="color:#f92672">.&lt;/span>functional&lt;span style="color:#f92672">.&lt;/span>softmax(teacher_logits &lt;span style="color:#f92672">/&lt;/span> T, dim&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">return&lt;/span> nn&lt;span style="color:#f92672">.&lt;/span>functional&lt;span style="color:#f92672">.&lt;/span>kl_div(
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> nn&lt;span style="color:#f92672">.&lt;/span>functional&lt;span style="color:#f92672">.&lt;/span>log_softmax(student_logits &lt;span style="color:#f92672">/&lt;/span> T, dim&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">1&lt;/span>),
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> teacher_probs,
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> reduction&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#e6db74">&amp;#39;batchmean&amp;#39;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> ) &lt;span style="color:#f92672">*&lt;/span> (T &lt;span style="color:#f92672">*&lt;/span> T)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/model-compression-%E6%A8%A1%E5%9E%8B%E5%8E%8B%E7%BC%A9/">Model Compression (模型压缩)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pruning-%E5%89%AA%E6%9E%9D/">Pruning (剪枝)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/quantization-%E9%87%8F%E5%8C%96/">Quantization (量化)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/neural-networks-%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C/">Neural Networks (神经网络)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>Imatrix</title><link>https://terms-en.ai-term-hub.com/zh/terms/imatrix/</link><pubDate>Sat, 18 Jul 2026 11:21:59 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/imatrix/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>Imatrix（Importance Matrix，重要性矩阵）是一种主要与基于GGML的大语言模型（LLM）训练和量化相关的技术。它计算损失函数关于模型参数的二阶导数（即海森矩阵的近似值），从而评估每个参数对整体模型性能的重要性。这种方法有助于更精确地进行模型量化，减少精度损失，并优化微调过程中的计算效率。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种用于大语言模型训练的具体算法，用于计算重要性矩阵以实现高效的参数优化。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>海森矩阵&lt;/li>
&lt;li>参数重要性&lt;/li>
&lt;li>模型量化&lt;/li>
&lt;li>微调优化&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>高效的大语言模型微调&lt;/li>
&lt;li>面向边缘设备的模型量化&lt;/li>
&lt;li>降低训练过程中的计算开销&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/ggml-ggml%E5%BA%93/">GGML (GGML库)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/lora-%E4%BD%8E%E7%A7%A9%E9%80%82%E5%BA%94/">LoRA (低秩适应)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/quantization-%E9%87%8F%E5%8C%96/">Quantization (量化)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/second-order-optimization-%E4%BA%8C%E9%98%B6%E4%BC%98%E5%8C%96/">Second-Order Optimization (二阶优化)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>超参数</title><link>https://terms-en.ai-term-hub.com/zh/terms/hyperparameter/</link><pubDate>Sat, 18 Jul 2026 11:21:34 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/hyperparameter/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>与模型参数（权重和偏置）不同，后者是在训练过程中从数据中学习得到的，而超参数是实践者在训练开始前选择的外部设置。它们控制着模型的结构、学习过程以及正则化强度等关键方面。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种在训练过程之前设定其值的配置变量，用于控制学习算法的行为。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>学习率&lt;/li>
&lt;li>批次大小&lt;/li>
&lt;li>模型架构&lt;/li>
&lt;li>正则化&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>配置神经网络训练&lt;/li>
&lt;li>设置梯度下降步骤&lt;/li>
&lt;li>定义随机森林中的树深度&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/hyperparameter_tuning-%E8%B6%85%E5%8F%82%E6%95%B0%E8%B0%83%E4%BC%98/">hyperparameter_tuning (超参数调优)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/model_parameters-%E6%A8%A1%E5%9E%8B%E5%8F%82%E6%95%B0/">model_parameters (模型参数)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/learning_rate-%E5%AD%A6%E4%B9%A0%E7%8E%87/">learning_rate (学习率)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/batch_size-%E6%89%B9%E6%AC%A1%E5%A4%A7%E5%B0%8F/">batch_size (批次大小)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>超参数调优</title><link>https://terms-en.ai-term-hub.com/zh/terms/hyperparameter_tuning/</link><pubDate>Sat, 18 Jul 2026 11:21:34 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/hyperparameter_tuning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>超参数调优涉及评估不同的超参数集，以找到能产生最高模型准确率或最低错误率的配置。常见的策略包括网格搜索、随机搜索以及基于贝叶斯优化的方法，旨在通过迭代改进来寻找最优解。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>系统地搜索最佳超参数组合以优化模型性能的过程。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>网格搜索&lt;/li>
&lt;li>随机搜索&lt;/li>
&lt;li>交叉验证&lt;/li>
&lt;li>性能指标&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>优化深度学习模型&lt;/li>
&lt;li>提高分类器准确率&lt;/li>
&lt;li>减少模型偏差和方差&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/hyperparameter_optimization-%E8%B6%85%E5%8F%82%E6%95%B0%E4%BC%98%E5%8C%96/">hyperparameter_optimization (超参数优化)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/grid_search-%E7%BD%91%E6%A0%BC%E6%90%9C%E7%B4%A2/">grid_search (网格搜索)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/random_search-%E9%9A%8F%E6%9C%BA%E6%90%9C%E7%B4%A2/">random_search (随机搜索)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/cross_validation-%E4%BA%A4%E5%8F%89%E9%AA%8C%E8%AF%81/">cross_validation (交叉验证)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>顿悟学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/grokking/</link><pubDate>Sat, 18 Jul 2026 11:20:24 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/grokking/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>顿悟学习（Grokking）是指深度学习中观察到的一种反直觉行为：模型在训练数据上长时间过拟合，表现出较差的泛化能力，但在经过漫长的训练周期后，突然在测试集上实现近乎完美的泛化。这种现象表明，优化过程可能存在两个截然不同的阶段：首先是记忆训练样本，随后是理解数据背后的潜在规律。顿悟学习对于理解神经网络的泛化界限、训练动力学以及记忆与学习之间的关系具有重要意义，尤其是在小数据集场景下。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种现象，指神经网络在小数据集上经过长时间训练后，突然展现出良好的泛化能力，远超记忆训练数据的阶段。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>延迟泛化&lt;/li>
&lt;li>过拟合&lt;/li>
&lt;li>小数据集&lt;/li>
&lt;li>优化动力学&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>研究模型泛化能力的极限&lt;/li>
&lt;li>分析训练动力学&lt;/li>
&lt;li>理解记忆与学习的区别&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/overfitting-%E8%BF%87%E6%8B%9F%E5%90%88/">overfitting (过拟合)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/generalization-%E6%B3%9B%E5%8C%96/">generalization (泛化)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/deep_learning_theory-%E6%B7%B1%E5%BA%A6%E5%AD%A6%E4%B9%A0%E7%90%86%E8%AE%BA/">deep_learning_theory (深度学习理论)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/training_dynamics-%E8%AE%AD%E7%BB%83%E5%8A%A8%E5%8A%9B%E5%AD%A6/">training_dynamics (训练动力学)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>微调过的</title><link>https://terms-en.ai-term-hub.com/zh/terms/finetuned/</link><pubDate>Sat, 18 Jul 2026 11:17:25 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/finetuned/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>微调是指采用已在大型通用数据集上训练好的模型，并在较小、特定领域的数据集上继续训练的技术。这使得模型能够保留通用知识的同时，针对特定任务进行优化和适配。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>在特定数据集上进一步训练预训练模型的过程，以使其适应特定任务。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>迁移学习&lt;/li>
&lt;li>参数调整&lt;/li>
&lt;li>领域自适应&lt;/li>
&lt;li>预训练模型&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>自定义图像分类&lt;/li>
&lt;li>专用情感分析&lt;/li>
&lt;li>医疗诊断辅助&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transfer-learning-%E8%BF%81%E7%A7%BB%E5%AD%A6%E4%B9%A0/">Transfer Learning (迁移学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pre-training-%E9%A2%84%E8%AE%AD%E7%BB%83/">Pre-training (预训练)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/hyperparameter-tuning-%E8%B6%85%E5%8F%82%E6%95%B0%E8%B0%83%E4%BC%98/">Hyperparameter Tuning (超参数调优)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/overfitting-%E8%BF%87%E6%8B%9F%E5%90%88/">Overfitting (过拟合)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>轮次 (Epoch)</title><link>https://terms-en.ai-term-hub.com/zh/terms/epoch/</link><pubDate>Sat, 18 Jul 2026 11:16:25 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/epoch/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>在机器学习中，一个轮次代表对整个训练数据集的一次单遍迭代。在每个轮次中，模型处理所有训练样本，通过反向传播更新其权重，并评估损失函数。增加轮次数通常可以提高模型性能，但过多轮次可能导致过拟合。因此，监控验证集上的表现对于确定最佳轮次数至关重要。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>在模型训练期间，整个训练数据集通过机器学习算法的一次完整遍历。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>训练迭代&lt;/li>
&lt;li>反向传播&lt;/li>
&lt;li>收敛&lt;/li>
&lt;li>超参数调优&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>配置神经网络训练循环&lt;/li>
&lt;li>监控每个周期的验证损失&lt;/li>
&lt;li>实施早停策略&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">for&lt;/span> epoch &lt;span style="color:#f92672">in&lt;/span> range(num_epochs):
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#66d9ef">for&lt;/span> inputs, labels &lt;span style="color:#f92672">in&lt;/span> dataloader:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> optimizer&lt;span style="color:#f92672">.&lt;/span>zero_grad()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> outputs &lt;span style="color:#f92672">=&lt;/span> model(inputs)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> loss &lt;span style="color:#f92672">=&lt;/span> criterion(outputs, labels)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> loss&lt;span style="color:#f92672">.&lt;/span>backward()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> optimizer&lt;span style="color:#f92672">.&lt;/span>step()
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/batch-size-%E6%89%B9%E6%AC%A1%E5%A4%A7%E5%B0%8F/">Batch Size (批次大小)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/iteration-%E8%BF%AD%E4%BB%A3/">Iteration (迭代)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/learning-rate-%E5%AD%A6%E4%B9%A0%E7%8E%87/">Learning Rate (学习率)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/overfitting-%E8%BF%87%E6%8B%9F%E5%90%88/">Overfitting (过拟合)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>急切学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/eager_learning/</link><pubDate>Sat, 18 Jul 2026 11:15:46 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/eager_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>在急切学习中，系统在遇到新实例之前，会根据训练数据构建一个通用的目标函数或模型。这与延迟学习形成对比，后者将泛化过程推迟到查询阶段，即直到需要预测时才进行计算。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>急切学习是一种机器学习方法，其泛化函数在训练阶段就被学习完成，因此在训练结束后能够实现快速的预测时间。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>训练阶段泛化&lt;/li>
&lt;li>快速推理&lt;/li>
&lt;li>模型复杂度&lt;/li>
&lt;li>过拟合风险&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>实时图像分类&lt;/li>
&lt;li>欺诈检测系统&lt;/li>
&lt;li>推荐引擎&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%BB%B6%E8%BF%9F%E5%AD%A6%E4%B9%A0-%E5%B0%86%E6%B3%9B%E5%8C%96%E6%8E%A8%E8%BF%9F%E5%88%B0%E6%B5%8B%E8%AF%95%E9%98%B6%E6%AE%B5%E7%9A%84%E7%AD%96%E7%95%A5/">延迟学习 (将泛化推迟到测试阶段的策略)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%9F%BA%E4%BA%8E%E5%AE%9E%E4%BE%8B%E7%9A%84%E5%AD%A6%E4%B9%A0-%E5%A6%82knn-%E5%B1%9E%E4%BA%8E%E5%BB%B6%E8%BF%9F%E5%AD%A6%E4%B9%A0/">基于实例的学习 (如KNN，属于延迟学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0-%E4%BB%8E%E6%A0%87%E6%B3%A8%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%AD%A6%E4%B9%A0%E7%9A%84%E6%96%B9%E6%B3%95/">监督学习 (从标注数据中学习的方法)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%A8%A1%E5%9E%8B%E8%AE%AD%E7%BB%83-%E8%B0%83%E6%95%B4%E6%A8%A1%E5%9E%8B%E5%8F%82%E6%95%B0%E7%9A%84%E8%BF%87%E7%A8%8B/">模型训练 (调整模型参数的过程)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>早停法</title><link>https://terms-en.ai-term-hub.com/zh/terms/early_stopping/</link><pubDate>Sat, 18 Jul 2026 11:15:46 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/early_stopping/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>早停法是一种主要用于梯度下降等迭代训练过程中的正则化形式。在训练期间，模型在训练数据上的表现通常会持续改善，但在验证集上的表现可能会在某个点后开始恶化（表明出现过拟合）。早停法通过监控验证误差并在连续多个epoch未改善时停止训练来解决这一问题。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>早停法是一种正则化技术，当模型在验证集上的性能开始下降时停止训练过程，以防止过拟合。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>正则化&lt;/li>
&lt;li>验证集&lt;/li>
&lt;li>防止过拟合&lt;/li>
&lt;li>耐心参数&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>神经网络训练&lt;/li>
&lt;li>梯度提升算法&lt;/li>
&lt;li>时间序列预测模型&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/l2%E6%AD%A3%E5%88%99%E5%8C%96-%E6%9D%83%E9%87%8D%E8%A1%B0%E5%87%8F%E6%8A%80%E6%9C%AF/">L2正则化 (权重衰减技术)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/dropout-%E9%9A%8F%E6%9C%BA%E4%B8%A2%E5%BC%83%E7%A5%9E%E7%BB%8F%E5%85%83%E7%9A%84%E6%8A%80%E6%9C%AF/">Dropout (随机丢弃神经元的技术)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E4%BA%A4%E5%8F%89%E9%AA%8C%E8%AF%81-%E8%AF%84%E4%BC%B0%E6%A8%A1%E5%9E%8B%E6%B3%9B%E5%8C%96%E8%83%BD%E5%8A%9B%E7%9A%84%E6%8A%80%E6%9C%AF/">交叉验证 (评估模型泛化能力的技术)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%B3%9B%E5%8C%96%E8%AF%AF%E5%B7%AE-%E6%A8%A1%E5%9E%8B%E5%AF%B9%E6%9C%AA%E8%A7%81%E6%95%B0%E6%8D%AE%E9%A2%84%E6%B5%8B%E8%AF%AF%E5%B7%AE%E7%9A%84%E4%BC%B0%E8%AE%A1/">泛化误差 (模型对未见数据预测误差的估计)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>领域自适应</title><link>https://terms-en.ai-term-hub.com/zh/terms/domain_adaptation/</link><pubDate>Sat, 18 Jul 2026 11:15:33 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/domain_adaptation/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>领域自适应解决了训练数据和测试数据来自不同分布的挑战。通过对齐有标签的源领域和无标签或稀疏标签的目标领域之间的特征表示，该方法能够提升模型的泛化能力。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种通过利用源领域的知识来提高模型在目标领域性能机器学习方法。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>源领域&lt;/li>
&lt;li>目标领域&lt;/li>
&lt;li>分布偏移&lt;/li>
&lt;li>特征对齐&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>跨不同扫描仪类型翻译医学图像&lt;/li>
&lt;li>适应不同口音的语音识别&lt;/li>
&lt;li>跨平台推荐系统&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transfer-learning-%E8%BF%81%E7%A7%BB%E5%AD%A6%E4%B9%A0/">Transfer Learning (迁移学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/domain-generalization-%E9%A2%86%E5%9F%9F%E6%B3%9B%E5%8C%96/">Domain Generalization (领域泛化)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/data-augmentation-%E6%95%B0%E6%8D%AE%E5%A2%9E%E5%BC%BA/">Data Augmentation (数据增强)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/few-shot-learning-%E5%B0%91%E6%A0%B7%E6%9C%AC%E5%AD%A6%E4%B9%A0/">Few-Shot Learning (少样本学习)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>宪法人工智能</title><link>https://terms-en.ai-term-hub.com/zh/terms/constitutional_ai/</link><pubDate>Sat, 18 Jul 2026 11:11:15 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/constitutional_ai/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>宪法人工智能是一种框架，旨在使大型语言模型与人类价值观保持一致，而无需在每个步骤都完全依赖人类反馈。它涉及创建一套高层级的“宪法”原则，让模型根据这些原则进行自我修正和对齐。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种通过基于预定义原则的自我批评，训练人工智能模型遵循安全指南的方法。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>自我纠正&lt;/li>
&lt;li>对齐&lt;/li>
&lt;li>基于原则的训练&lt;/li>
&lt;li>RLHF替代方案&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>减少大语言模型中的有害输出&lt;/li>
&lt;li>提高模型的有用性和诚实度&lt;/li>
&lt;li>高效扩展安全训练&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/rlhf-%E5%9F%BA%E4%BA%8E%E4%BA%BA%E7%B1%BB%E5%8F%8D%E9%A6%88%E7%9A%84%E5%BC%BA%E5%8C%96%E5%AD%A6%E4%B9%A0/">RLHF (基于人类反馈的强化学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/alignment-%E5%AF%B9%E9%BD%90/">alignment (对齐)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/safety-%E5%AE%89%E5%85%A8%E6%80%A7/">safety (安全性)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/llm-%E5%A4%A7%E5%9E%8B%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B/">LLM (大型语言模型)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>学徒学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/apprenticeship_learning/</link><pubDate>Sat, 18 Jul 2026 11:05:01 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/apprenticeship_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>学徒学习，也称为基于演示的逆强化学习，使智能体能够通过观察专家行为来获取技能，而不是完全依赖奖励函数。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种强化学习方法，智能体通过模仿专家的演示来学习策略。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>逆强化学习&lt;/li>
&lt;li>专家演示&lt;/li>
&lt;li>策略模仿&lt;/li>
&lt;li>奖励推断&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>自动驾驶训练&lt;/li>
&lt;li>机器人操作任务&lt;/li>
&lt;li>游戏AI&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%A8%A1%E4%BB%BF%E5%AD%A6%E4%B9%A0-imitation-learning/">模仿学习 (Imitation Learning)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%BC%BA%E5%8C%96%E5%AD%A6%E4%B9%A0-reinforcement-learning/">强化学习 (Reinforcement Learning)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%9F%BA%E4%BA%8E%E6%BC%94%E7%A4%BA%E7%9A%84%E5%AD%A6%E4%B9%A0-demonstration-based-learning/">基于演示的学习 (Demonstration-Based Learning)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%A5%96%E5%8A%B1%E5%A1%91%E9%80%A0-reward-shaping/">奖励塑造 (Reward Shaping)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>对抗机器学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/adversarial_machine_learning/</link><pubDate>Sat, 18 Jul 2026 11:04:26 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/adversarial_machine_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>该领域既包括破坏模型的进攻性技术，也包括加固模型的防御策略。它涉及在对抗样本上训练模型以提高其韧性，这一过程被称为对抗训练。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>对抗机器学习是一个研究领域，旨在研究如何使机器学习模型对旨在欺骗它们的恶意输入保持鲁棒性。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>对抗训练&lt;/li>
&lt;li>鲁棒性&lt;/li>
&lt;li>泛化差距&lt;/li>
&lt;li>安全性&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>提高模型韧性&lt;/li>
&lt;li>AI系统的安全审计&lt;/li>
&lt;li>开发防御机制&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/adversarial_attack-%E5%AF%B9%E6%8A%97%E6%94%BB%E5%87%BB/">adversarial_attack (对抗攻击)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/defense_mechanisms-%E9%98%B2%E5%BE%A1%E6%9C%BA%E5%88%B6/">defense_mechanisms (防御机制)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/robustness-%E9%B2%81%E6%A3%92%E6%80%A7/">robustness (鲁棒性)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/privacy_preserving_ml-%E9%9A%90%E7%A7%81%E4%BF%9D%E6%8A%A4%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/">privacy_preserving_ml (隐私保护机器学习)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>监督微调</title><link>https://terms-en.ai-term-hub.com/zh/terms/supervised_fine_tuning/</link><pubDate>Sat, 18 Jul 2026 11:02:04 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/supervised_fine_tuning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>监督微调（SFT）涉及采用大型预训练模型（如语言模型），并在较小的高质量、针对特定下游任务标注的数据集上继续训练该模型。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>在特定数据集上进一步训练预训练模型，使其适应特定任务或领域的过程。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>预训练模型&lt;/li>
&lt;li>迁移学习&lt;/li>
&lt;li>指令微调&lt;/li>
&lt;li>领域适配&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>定制聊天机器人开发&lt;/li>
&lt;li>专业医疗问答系统&lt;/li>
&lt;li>代码生成助手&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>model&lt;span style="color:#f92672">.&lt;/span>train()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">for&lt;/span> batch &lt;span style="color:#f92672">in&lt;/span> dataloader:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> inputs, labels &lt;span style="color:#f92672">=&lt;/span> batch
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> outputs &lt;span style="color:#f92672">=&lt;/span> model(inputs, labels&lt;span style="color:#f92672">=&lt;/span>labels)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> loss &lt;span style="color:#f92672">=&lt;/span> outputs&lt;span style="color:#f92672">.&lt;/span>loss
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> loss&lt;span style="color:#f92672">.&lt;/span>backward()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> optimizer&lt;span style="color:#f92672">.&lt;/span>step()
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E9%A2%84%E8%AE%AD%E7%BB%83-pre-training/">预训练 (Pre-training)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%9F%BA%E4%BA%8E%E4%BA%BA%E7%B1%BB%E5%8F%8D%E9%A6%88%E7%9A%84%E5%BC%BA%E5%8C%96%E5%AD%A6%E4%B9%A0-rlhf/">基于人类反馈的强化学习 (RLHF)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%8F%90%E7%A4%BA%E5%B7%A5%E7%A8%8B-prompt-engineering/">提示工程 (Prompt Engineering)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%A4%A7%E8%AF%AD%E8%A8%80%E6%A8%A1%E5%9E%8B-llm/">大语言模型 (LLM)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>监督学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/supervised_learning/</link><pubDate>Sat, 18 Jul 2026 11:02:04 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/supervised_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>在监督学习中，算法在带标签的数据集上进行训练，意味着每个输入示例都与正确的输出配对。目标是让模型学习输入与输出之间的潜在关系。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种机器学习范式，模型基于带标签的训练示例学习将输入映射到输出。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>带标签数据&lt;/li>
&lt;li>输入-输出映射&lt;/li>
&lt;li>分类&lt;/li>
&lt;li>回归&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>垃圾邮件检测&lt;/li>
&lt;li>房价预测&lt;/li>
&lt;li>图像识别&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> sklearn.linear_model &lt;span style="color:#f92672">import&lt;/span> LinearRegression
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model &lt;span style="color:#f92672">=&lt;/span> LinearRegression()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model&lt;span style="color:#f92672">.&lt;/span>fit(X_train, y_train)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>predictions &lt;span style="color:#f92672">=&lt;/span> model&lt;span style="color:#f92672">.&lt;/span>predict(X_test)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%97%A0%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0/">无监督学习&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E8%AE%AD%E7%BB%83%E9%9B%86/">训练集&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E9%AA%8C%E8%AF%81%E9%9B%86/">验证集&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%A8%A1%E5%9E%8B%E5%87%86%E7%A1%AE%E7%8E%87/">模型准确率&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>自监督学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/self_supervised_learning/</link><pubDate>Sat, 18 Jul 2026 11:01:52 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/self_supervised_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>自监督学习是一种技术，算法从无标签数据本身创建监督信号，通常通过预测输入的缺失部分来实现。它弥合了无监督学习和&amp;hellip;&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种训练方法，模型从输入数据中生成自己的标签以学习表示。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>预训练&lt;/li>
&lt;li>掩码语言建模&lt;/li>
&lt;li>对比学习&lt;/li>
&lt;li>表示学习&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>训练大型语言模型&lt;/li>
&lt;li>图像表示学习&lt;/li>
&lt;li>语音识别系统&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>null
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pre_training-%E9%A2%84%E8%AE%AD%E7%BB%83/">pre_training (预训练)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/unsupervised_learning-%E6%97%A0%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0/">unsupervised_learning (无监督学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transformer-transformer/">transformer (Transformer)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/contrastive_loss-%E5%AF%B9%E6%AF%94%E6%8D%9F%E5%A4%B1/">contrastive_loss (对比损失)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>损失函数</title><link>https://terms-en.ai-term-hub.com/zh/terms/loss_function/</link><pubDate>Sat, 18 Jul 2026 11:00:35 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/loss_function/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>损失函数也被称为成本函数或误差函数，它提供一个标量值，指示模型的执行表现。在训练过程中，优化算法利用该值来计算梯度，从而更新模型参数以最小化误差。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>在训练期间量化预测值与实际目标值之间差异的数学函数。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>反向传播&lt;/li>
&lt;li>梯度计算&lt;/li>
&lt;li>优化&lt;/li>
&lt;li>误差指标&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>训练监督学习模型&lt;/li>
&lt;li>评估模型性能&lt;/li>
&lt;li>超参数调优&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> torch.nn &lt;span style="color:#66d9ef">as&lt;/span> nn
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>criterion &lt;span style="color:#f92672">=&lt;/span> nn&lt;span style="color:#f92672">.&lt;/span>CrossEntropyLoss()
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/backpropagation-%E5%8F%8D%E5%90%91%E4%BC%A0%E6%92%AD/">backpropagation (反向传播)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/gradient_descent-%E6%A2%AF%E5%BA%A6%E4%B8%8B%E9%99%8D/">gradient_descent (梯度下降)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/cross_entropy-%E4%BA%A4%E5%8F%89%E7%86%B5/">cross_entropy (交叉熵)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/mse-%E5%9D%87%E6%96%B9%E8%AF%AF%E5%B7%AE/">mse (均方误差)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>学习率</title><link>https://terms-en.ai-term-hub.com/zh/terms/learning_rate/</link><pubDate>Sat, 18 Jul 2026 11:00:35 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/learning_rate/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>学习率决定了在每次训练迭代中，模型权重相对于计算出的梯度更新了多少。如果学习率过高，可能导致模型在优化过程中越过最优解；如果过低，则可能导致训练收敛缓慢。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>控制模型优化过程中步长的超参数，旨在最小化损失函数。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>梯度下降&lt;/li>
&lt;li>超参数调优&lt;/li>
&lt;li>收敛&lt;/li>
&lt;li>优化器&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>神经网络训练&lt;/li>
&lt;li>深度学习模型优化&lt;/li>
&lt;li>强化学习策略更新&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> torch.optim &lt;span style="color:#66d9ef">as&lt;/span> optim
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model &lt;span style="color:#f92672">=&lt;/span> MyModel()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>optimizer &lt;span style="color:#f92672">=&lt;/span> optim&lt;span style="color:#f92672">.&lt;/span>SGD(model&lt;span style="color:#f92672">.&lt;/span>parameters(), lr&lt;span style="color:#f92672">=&lt;/span>&lt;span style="color:#ae81ff">0.01&lt;/span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/gradient_descent-%E6%A2%AF%E5%BA%A6%E4%B8%8B%E9%99%8D/">gradient_descent (梯度下降)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/optimizer-%E4%BC%98%E5%8C%96%E5%99%A8/">optimizer (优化器)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/hyperparameter-%E8%B6%85%E5%8F%82%E6%95%B0/">hyperparameter (超参数)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/convergence-%E6%94%B6%E6%95%9B/">convergence (收敛)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>梯度下降</title><link>https://terms-en.ai-term-hub.com/zh/terms/gradient_descent/</link><pubDate>Sat, 18 Jul 2026 11:00:15 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/gradient_descent/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>梯度下降是一种用于寻找可微函数局部最小值的一阶迭代优化算法。在机器学习中，它沿梯度的反方向更新模型权重，以逐步降低损失。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种迭代优化算法，通过调整模型参数来最小化损失函数。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>损失函数&lt;/li>
&lt;li>学习率&lt;/li>
&lt;li>优化&lt;/li>
&lt;li>反向传播&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>训练深度神经网络&lt;/li>
&lt;li>线性回归参数调优&lt;/li>
&lt;li>图像识别模型优化&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/backpropagation-%E5%8F%8D%E5%90%91%E4%BC%A0%E6%92%AD/">Backpropagation (反向传播)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/learning-rate-%E5%AD%A6%E4%B9%A0%E7%8E%87/">Learning Rate (学习率)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/optimizer-%E4%BC%98%E5%8C%96%E5%99%A8/">Optimizer (优化器)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/loss-function-%E6%8D%9F%E5%A4%B1%E5%87%BD%E6%95%B0/">Loss Function (损失函数)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>少样本学习</title><link>https://terms-en.ai-term-hub.com/zh/terms/few_shot_learning/</link><pubDate>Sat, 18 Jul 2026 11:00:03 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/few_shot_learning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>少样本学习旨在使模型能够从寥寥几个示例中进行泛化，模仿人类的学习效率。它通常依赖于元学习策略，即模型先在一系列相关任务上进行预训练，从而获得快速适应新任务的能力，即使这些新任务只有少量标注数据可用。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>少样本学习是一种机器学习范式，模型仅从非常有限的标记训练数据中学习新概念。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>元学习&lt;/li>
&lt;li>数据效率&lt;/li>
&lt;li>泛化能力&lt;/li>
&lt;li>任务适配&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>罕见疾病识别&lt;/li>
&lt;li>新产品分类&lt;/li>
&lt;li>自定义物体检测&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/meta_learning-%E5%85%83%E5%AD%A6%E4%B9%A0/">meta_learning (元学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transfer_learning-%E8%BF%81%E7%A7%BB%E5%AD%A6%E4%B9%A0/">transfer_learning (迁移学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/data_efficiency-%E6%95%B0%E6%8D%AE%E6%95%88%E7%8E%87/">data_efficiency (数据效率)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/supervised_learning-%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0/">supervised_learning (监督学习)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>微调后的</title><link>https://terms-en.ai-term-hub.com/zh/terms/fine_tuned/</link><pubDate>Sat, 18 Jul 2026 10:56:23 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/fine_tuned/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>微调涉及使用较小且针对特定任务的数据集，继续训练已在大型通用数据集上训练好的模型。该技术利用了预训练模型中习得的通用特征表示，使其能够以较低的计算成本和较少的数据量，高效地适配到具体的应用场景中。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>在特定数据集上进一步训练预训练模型，使其适应特定下游任务的过程。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>迁移学习&lt;/li>
&lt;li>权重更新&lt;/li>
&lt;li>任务特定&lt;/li>
&lt;li>预训练模型&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>调整大语言模型以审阅法律文档&lt;/li>
&lt;li>定制视觉模型用于工业缺陷检测&lt;/li>
&lt;li>专门化语音识别以适应特定口音&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pre_training-%E9%A2%84%E8%AE%AD%E7%BB%83/">pre_training (预训练)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transfer_learning-%E8%BF%81%E7%A7%BB%E5%AD%A6%E4%B9%A0/">transfer_learning (迁移学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/supervised_fine_tuning-%E7%9B%91%E7%9D%A3%E5%BE%AE%E8%B0%83/">supervised_fine_tuning (监督微调)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/parameter_efficient-%E5%8F%82%E6%95%B0%E9%AB%98%E6%95%88/">parameter_efficient (参数高效)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>监督式</title><link>https://terms-en.ai-term-hub.com/zh/terms/supervised/</link><pubDate>Sat, 18 Jul 2026 10:55:02 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/supervised/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>监督学习涉及向算法提供包含输入和正确答案（标签）的数据。模型通过最小化预测误差来学习将输入映射到输出。这项技术&amp;hellip;&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种机器学习范式，模型在有标签的输入-输出对上进行训练。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>有标签数据&lt;/li>
&lt;li>映射&lt;/li>
&lt;li>损失最小化&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>图像分类&lt;/li>
&lt;li>垃圾邮件检测&lt;/li>
&lt;li>价格预测&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> sklearn.linear_model &lt;span style="color:#f92672">import&lt;/span> LinearRegression
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model &lt;span style="color:#f92672">=&lt;/span> LinearRegression()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model&lt;span style="color:#f92672">.&lt;/span>fit(X_train, y_train)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%97%A0%E7%9B%91%E7%9D%A3-unsupervised/">无监督 (Unsupervised)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%A0%87%E7%AD%BE-label/">标签 (Label)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E5%9B%9E%E5%BD%92-regression/">回归 (Regression)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>预训练</title><link>https://terms-en.ai-term-hub.com/zh/terms/pre_training/</link><pubDate>Sat, 18 Jul 2026 10:53:51 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/pre_training/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>预训练是深度学习中的一种基础技术，模型从海量数据中学习广泛的特征和模式，通常无需标签。这一过程使模型能够发展出通用的知识表示，从而在后续针对特定下游任务进行微调时，仅需少量数据即可达到高性能。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>在大型未标记数据集上训练机器学习模型的初始阶段，以便在针对特定任务进行微调之前学习通用表示。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>迁移学习&lt;/li>
&lt;li>特征提取&lt;/li>
&lt;li>大规模数据&lt;/li>
&lt;li>微调&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>训练BERT或GPT等语言模型&lt;/li>
&lt;li>使用ImageNet权重初始化卷积神经网络（CNN）&lt;/li>
&lt;li>构建多模态AI的基础模型&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> transformers &lt;span style="color:#f92672">import&lt;/span> BertModel
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model &lt;span style="color:#f92672">=&lt;/span> BertModel&lt;span style="color:#f92672">.&lt;/span>from_pretrained(&lt;span style="color:#e6db74">&amp;#39;bert-base-uncased&amp;#39;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Model is now pre-trained and ready for fine-tuning&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/fine-tuning-%E5%BE%AE%E8%B0%83/">Fine-tuning (微调)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/foundation-model-%E5%9F%BA%E7%A1%80%E6%A8%A1%E5%9E%8B/">Foundation Model (基础模型)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/unsupervised-learning-%E6%97%A0%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0/">Unsupervised Learning (无监督学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transfer-learning-%E8%BF%81%E7%A7%BB%E5%AD%A6%E4%B9%A0/">Transfer Learning (迁移学习)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>损失</title><link>https://terms-en.ai-term-hub.com/zh/terms/loss/</link><pubDate>Sat, 18 Jul 2026 10:52:50 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/loss/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>损失函数（也称为成本函数）衡量机器学习模型的预测结果与真实标签在训练期间的匹配程度。优化算法的目标是最小化这个损失值，从而提高模型的准确性。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一个数值，用于量化模型预测值与实际目标值之间的误差。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>成本函数&lt;/li>
&lt;li>优化&lt;/li>
&lt;li>梯度下降&lt;/li>
&lt;li>误差指标&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>训练图像分类器&lt;/li>
&lt;li>优化回归模型&lt;/li>
&lt;li>评估模型收敛性&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">import&lt;/span> torch.nn &lt;span style="color:#66d9ef">as&lt;/span> nn
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>criterion &lt;span style="color:#f92672">=&lt;/span> nn&lt;span style="color:#f92672">.&lt;/span>CrossEntropyLoss()
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>loss &lt;span style="color:#f92672">=&lt;/span> criterion(outputs, targets)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/accuracy-%E5%87%86%E7%A1%AE%E7%8E%87/">Accuracy (准确率)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/gradient-descent-%E6%A2%AF%E5%BA%A6%E4%B8%8B%E9%99%8D/">Gradient Descent (梯度下降)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/cross-entropy-%E4%BA%A4%E5%8F%89%E7%86%B5/">Cross-Entropy (交叉熵)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/overfitting-%E8%BF%87%E6%8B%9F%E5%90%88/">Overfitting (过拟合)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>指令微调</title><link>https://terms-en.ai-term-hub.com/zh/terms/instruction_tuning/</link><pubDate>Sat, 18 Jul 2026 10:52:05 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/instruction_tuning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>这一过程弥合了通用预训练与特定任务表现之间的差距。通过让模型接触多样化的指令-响应对，它学会了泛化到未见过的任务，而无需针对每个新任务进行额外的调整（注：原文截断，此处补全语义）。这是使大语言模型具备人类对齐能力的关键步骤。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>指令微调是一种微调技术，通过在包含指令及其对应响应的数据集上训练预训练语言模型，以提升其遵循任务指令的能力。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>微调&lt;/li>
&lt;li>监督学习&lt;/li>
&lt;li>零样本泛化&lt;/li>
&lt;li>人类对齐&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>构建聊天机器人&lt;/li>
&lt;li>提高代码生成的准确性&lt;/li>
&lt;li>使模型符合安全准则&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/fine-tuning-%E5%BE%AE%E8%B0%83/">fine-tuning (微调)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/rlhf-%E5%9F%BA%E4%BA%8E%E4%BA%BA%E7%B1%BB%E5%8F%8D%E9%A6%88%E7%9A%84%E5%BC%BA%E5%8C%96%E5%AD%A6%E4%B9%A0/">RLHF (基于人类反馈的强化学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pre-training-%E9%A2%84%E8%AE%AD%E7%BB%83/">pre-training (预训练)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/alignment-%E5%AF%B9%E9%BD%90/">alignment (对齐)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>微调</title><link>https://terms-en.ai-term-hub.com/zh/terms/fine/</link><pubDate>Sat, 18 Jul 2026 10:51:19 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/fine/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>微调涉及采用在大型数据集上训练过的通用模型，并在较小、更专业的数据集上进行进一步训练，以提高其在特定任务上的性能。该技术利用了迁移学习的优势。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>微调是指使用额外数据将预训练的AI模型适应特定任务或领域的过程。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>迁移学习&lt;/li>
&lt;li>预训练模型&lt;/li>
&lt;li>领域适应&lt;/li>
&lt;li>权重调整&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>医学影像诊断&lt;/li>
&lt;li>法律文档分析&lt;/li>
&lt;li>自定义情感分析&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/transfer-learning-%E8%BF%81%E7%A7%BB%E5%AD%A6%E4%B9%A0/">Transfer Learning (迁移学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/pre-training-%E9%A2%84%E8%AE%AD%E7%BB%83/">Pre-training (预训练)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/adaptation-%E9%80%82%E5%BA%94/">Adaptation (适应)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>微调</title><link>https://terms-en.ai-term-hub.com/zh/terms/fine_tuning/</link><pubDate>Sat, 18 Jul 2026 07:44:46 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/fine_tuning/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>微调涉及在一个已在大而通用数据集上训练好的模型基础上，继续在专业化数据集上进行训练。这使得模型在保留通用知识的同时，能够习得特定任务的技能。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>使用较小的数据集将预训练模型适配到特定下游任务的过程。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>迁移学习&lt;/li>
&lt;li>预训练模型&lt;/li>
&lt;li>任务特定适配&lt;/li>
&lt;li>学习率&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>适配大语言模型以构建客户服务聊天机器人&lt;/li>
&lt;li>专门化图像分类器用于医疗诊断&lt;/li>
&lt;li>定制语音识别以针对特定口音&lt;/li>
&lt;/ul>
&lt;h2 id="code-example">Code Example&lt;/h2>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-python" data-lang="python">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#f92672">from&lt;/span> transformers &lt;span style="color:#f92672">import&lt;/span> AutoModelForSequenceClassification
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>model &lt;span style="color:#f92672">=&lt;/span> AutoModelForSequenceClassification&lt;span style="color:#f92672">.&lt;/span>from_pretrained(&lt;span style="color:#e6db74">&amp;#39;bert-base-uncased&amp;#39;&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Freeze base layers&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#66d9ef">for&lt;/span> param &lt;span style="color:#f92672">in&lt;/span> model&lt;span style="color:#f92672">.&lt;/span>bert&lt;span style="color:#f92672">.&lt;/span>parameters():
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> param&lt;span style="color:#f92672">.&lt;/span>requires_grad &lt;span style="color:#f92672">=&lt;/span> &lt;span style="color:#66d9ef">False&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># Train only classification head&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E9%A2%84%E8%AE%AD%E7%BB%83/">预训练&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E6%8F%90%E7%A4%BA%E5%B7%A5%E7%A8%8B/">提示工程&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/lora-%E4%BD%8E%E7%A7%A9%E9%80%82%E5%BA%94/">LoRA (低秩适应)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/%E7%9B%91%E7%9D%A3%E5%AD%A6%E4%B9%A0/">监督学习&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>反向传播</title><link>https://terms-en.ai-term-hub.com/zh/terms/backpropagation/</link><pubDate>Sat, 18 Jul 2026 07:44:10 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/backpropagation/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>反向传播（Backpropagation），即误差反向传播，是一种用于人工神经网络的方法，旨在计算损失函数关于权重的梯度。它通过将误差信号从输出层向输入层反向传播，并利用链式法则更新权重，从而优化模型性能。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>一种广泛用于训练神经网络的算法，通过计算梯度来最小化误差。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>梯度下降&lt;/li>
&lt;li>链式法则&lt;/li>
&lt;li>损失函数&lt;/li>
&lt;li>权重更新&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>深度神经网络训练&lt;/li>
&lt;li>图像分类任务&lt;/li>
&lt;li>语音识别系统&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/gradient-descent-%E6%A2%AF%E5%BA%A6%E4%B8%8B%E9%99%8D/">Gradient Descent (梯度下降)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/neural-network-%E7%A5%9E%E7%BB%8F%E7%BD%91%E7%BB%9C/">Neural Network (神经网络)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/optimization-%E4%BC%98%E5%8C%96/">Optimization (优化)&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>对齐</title><link>https://terms-en.ai-term-hub.com/zh/terms/alignment/</link><pubDate>Sat, 18 Jul 2026 07:43:58 +0000</pubDate><guid>https://terms-en.ai-term-hub.com/zh/terms/alignment/</guid><description>&lt;h2 id="definition">Definition&lt;/h2>
&lt;p>对齐关注的是确保 AI 系统执行人类真正希望它做的事情，而不仅仅是字面上要求它做的事。它涉及诸如来自人类反馈的强化学习（RLHF）等技术，旨在缩小模型输出与人类期望之间的差距，提高安全性和有用性。&lt;/p>
&lt;h3 id="summary">Summary&lt;/h3>
&lt;p>确保 AI 系统的目标和行为与人类价值观及意图相一致的过程。&lt;/p>
&lt;h2 id="key-concepts">Key Concepts&lt;/h2>
&lt;ul>
&lt;li>RLHF (来自人类反馈的强化学习)&lt;/li>
&lt;li>价值加载&lt;/li>
&lt;li>意图匹配&lt;/li>
&lt;li>奖励建模&lt;/li>
&lt;/ul>
&lt;h2 id="use-cases">Use Cases&lt;/h2>
&lt;ul>
&lt;li>调整聊天机器人的礼貌程度&lt;/li>
&lt;li>确保摘要的事实准确性&lt;/li>
&lt;li>防止越狱攻击利用&lt;/li>
&lt;/ul>
&lt;h2 id="related-terms">Related Terms&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/ai-safety-ai-%E5%AE%89%E5%85%A8/">AI Safety (AI 安全)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/rlhf-%E6%9D%A5%E8%87%AA%E4%BA%BA%E7%B1%BB%E5%8F%8D%E9%A6%88%E7%9A%84%E5%BC%BA%E5%8C%96%E5%AD%A6%E4%B9%A0/">RLHF (来自人类反馈的强化学习)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/ethics-%E4%BC%A6%E7%90%86/">Ethics (伦理)&lt;/a>&lt;/li>
&lt;li>&lt;a href="https://terms-en.ai-term-hub.com/en/terms/bias-%E5%81%8F%E8%A7%81/">Bias (偏见)&lt;/a>&lt;/li>
&lt;/ul></description></item></channel></rss>