Active Learning
目录
人工标注的成本,来自标注者投入的时间、专业知识,以及组织和审核标注的过程。面对大量未标注数据,一个自然的问题是:如果只能获得少量标签,应该先标注哪些样本?
Active Learning(主动学习)让模型参与这个选择过程。模型先评估未标注样本,再把其中一些交给人类标注,用新增标签更新自己。
diff --git a/blog/behavior-cloning-plid/index.html b/blog/behavior-cloning-plid/index.html index 884ac81..bd9de97 100644 --- a/blog/behavior-cloning-plid/index.html +++ b/blog/behavior-cloning-plid/index.html @@ -21,7 +21,13 @@Behavior Cloning 与 PLID
目录
Behavior Cloning 把专家示范当作监督学习数据,但模型部署后会访问训练时没有覆盖的状态。本文从模仿学习的基本形式化出发,说明 covariate shift 与 compounding errors,并推导 PLID / DAgger 如何通过当前策略 rollout、再由专家补充标签,逐步修正状态分布偏移。
前置知识:概率、条件概率、监督学习损失,以及基本的 Markov Decision Process(MDP)概念。KL 散度的定义见 Active Learning。
diff --git a/blog/distribution-matching-gail/index.html b/blog/distribution-matching-gail/index.html index aeea5c9..9b34dd3 100644 --- a/blog/distribution-matching-gail/index.html +++ b/blog/distribution-matching-gail/index.html @@ -21,7 +21,13 @@Distribution Matching 与 GAIL
目录
Behavior Cloning 直接拟合专家动作,PLID 则让专家在模型实际访问的状态上补充标签。若不能持续询问专家,能否仍让模型产生与专家相似的轨迹或状态—动作分布?本文从轨迹概率、Forward KL 与状态—动作分布出发,说明 GAIL 如何用判别器间接完成分布匹配。
系列上一篇:Behavior Cloning 与 PLID。前置知识还包括 MDP、条件概率,以及 Active Learning 中的 KL divergence。
diff --git a/blog/index.html b/blog/index.html index e70d792..6d2fd82 100644 --- a/blog/index.html +++ b/blog/index.html @@ -5,25 +5,31 @@ - + -文章
IRL、RLHF 与 DPO
从逆强化学习出发,说明如何从专家行为与人类偏好学习目标,并连接到 RLHF 与 DPO。
阅读全文Distribution Matching 与 GAIL
从轨迹与状态—动作分布匹配出发,说明 Forward KL 为何可能退化为 BC,以及 GAIL 如何用判别器完成分布匹配。
阅读全文Behavior Cloning 与 PLID
说明 Behavior Cloning 的状态分布偏移,并推导 PLID / DAgger 如何用交互式专家标签修正策略。
阅读全文Active Learning
介绍主动学习的基本流程,比较不确定性采样、QBC 和 BALD 三种选样方法。
阅读全文Blog
系列Imitation Learning
其他文章
IRL、RLHF 与 DPO
目录
Behavior Cloning、PLID 和 GAIL 主要学习专家如何行动。若希望模型在新环境中仍能做出合理决策,就需要进一步理解专家行为背后的目标。本文从 Inverse Reinforcement Learning 出发,说明如何从专家行为推断奖励,并连接到 RLHF 与 DPO。
系列前文:Behavior Cloning 与 PLID、Distribution Matching 与 GAIL。
diff --git a/content/news.json b/content/news.json new file mode 100644 index 0000000..941b9f6 --- /dev/null +++ b/content/news.json @@ -0,0 +1,17 @@ +[ + { + "date": "2026-11-03", + "text": "发布 Imitation Learning 系列第三篇:IRL、RLHF 与 DPO。", + "href": "/blog/irl-rlhf-dpo/" + }, + { + "date": "2026-11-02", + "text": "更新 Distribution Matching 与 GAIL,并整理仿作学习系列。", + "href": "/blog/distribution-matching-gail/" + }, + { + "date": "2026-10-20", + "text": "发布 Behavior Cloning 与 PLID。", + "href": "/blog/behavior-cloning-plid/" + } +] diff --git a/content/pages/about.md b/content/pages/about.md new file mode 100644 index 0000000..2e461ca --- /dev/null +++ b/content/pages/about.md @@ -0,0 +1,8 @@ +--- +title: About me +summary: 关于 Musicaldg。 +--- + +机器学习笔记与个人主页。更多内容稍后补充。 + +目前主要整理模仿学习、主动学习等相关笔记,源码与页面托管在 [GitHub](https://github.com/Musicaldg)。 diff --git a/content/pages/cv.md b/content/pages/cv.md new file mode 100644 index 0000000..7b524e4 --- /dev/null +++ b/content/pages/cv.md @@ -0,0 +1,8 @@ +--- +title: CV +summary: Curriculum Vitae。 +--- + +CV 页面已预留,正文与可下载版本稍后补充。 + +也可先通过 [GitHub](https://github.com/Musicaldg) 查看公开项目与提交记录。 diff --git a/cv/index.html b/cv/index.html new file mode 100644 index 0000000..012c7a1 --- /dev/null +++ b/cv/index.html @@ -0,0 +1,37 @@ + + + + + + + + + + + +News
+Latest Writing
+ All posts +系列Imitation Learning
Active Learning
介绍主动学习的基本流程,比较不确定性采样、QBC 和 BALD 三种选样方法。
{esc(p["title"])}
{esc(p["summary"])}
阅读全文 ' for p in selected) or EMPTY + return ''.join( + f'' + f'' + f'{esc(p["title"])}
{esc(p["summary"])}
' + f'阅读全文 ' + for p in selected + ) or EMPTY def compact_card(post, index=None): index_html = f'{index:02d}' if index is not None else '' return ( - f'' + f'' f'{index_html}' f'{esc(post["title"])}
' @@ -222,14 +305,32 @@ def compact_card(post, index=None): f'' ) - def series_folder(series, open_by_default=False): + def roomy_card(post, index=None): + index_html = f'{index:02d}' if index is not None else '' + return ( + f'' + f'{index_html}' + f'{esc(post["title"])}
' + f'{esc(post["summary"])}
' + f'阅读全文 ' + f''
- f''
+ f''
f'系列'
f'{esc(series["title"])}'
f''
@@ -238,55 +339,155 @@ def series_folder(series, open_by_default=False):
f'
No news yet.
' + rows = [] + for item in selected: + text = esc(item['text']) + if item['href']: + text = f'{text}' + rows.append( + f'- ' + ''.join(rows) + '
No posts yet.
' - home = Template((ROOT / 'templates/home.html').read_text(encoding='utf-8')).substitute(feed=home_feed()) + def blog_feed(): + parts = [series_folder(series, card='roomy', variant='series-folder-roomy') for series in series_list] + if standalone: + if series_list: + parts.append('其他文章
') + parts.append('文章
Blog
{esc(item["title"])}
' + f'{esc(item["summary"])}
{esc(post["title"])}
目录
{toc}{esc(post["title"])}
' + f'' + f'目录
{toc}Behavior Cloning 与 PLID
说明 Behavior Cloning 的状态分布偏移,并推导 PLID / DAgger 如何用交互式专家标签修正策略。
Distribution Matching 与 GAIL
从轨迹与状态—动作分布匹配出发,说明 Forward KL 为何可能退化为 BC,以及 GAIL 如何用判别器完成分布匹配。
IRL、RLHF 与 DPO
从逆强化学习出发,说明如何从专家行为与人类偏好学习目标,并连接到 RLHF 与 DPO。
Behavior Cloning 与 PLID
说明 Behavior Cloning 的状态分布偏移,并推导 PLID / DAgger 如何用交互式专家标签修正策略。
阅读全文Distribution Matching 与 GAIL
从轨迹与状态—动作分布匹配出发,说明 Forward KL 为何可能退化为 BC,以及 GAIL 如何用判别器完成分布匹配。
阅读全文IRL、RLHF 与 DPO
从逆强化学习出发,说明如何从专家行为与人类偏好学习目标,并连接到 RLHF 与 DPO。
阅读全文