Repository navigation
Expand file tree
/
Copy pathch23.html
More file actions
433 lines (383 loc) · 19.8 KB
/
Copy pathch23.html
File metadata and controls
433 lines (383 loc) · 19.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="AI学习笔记 - 从零开始系统学习人工智能,涵盖前置基础、核心原理、工程实践、应用工具、进阶展望">
<meta name="keywords" content="AI, 人工智能, 机器学习, 深度学习, Python, 数学基础">
<meta name="author" content="AI Learner">
<title>第二十三章:AI发展简史 - AI学习笔记</title>
<!-- Google Fonts - Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<!-- KaTeX - 轻量级数学公式渲染 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js"
onload="renderMathInElement(document.body, {
delimiters: [
{left: '$$', right: '$$', display: true},
{left: '\\[', right: '\\]', display: true},
{left: '\\(', right: '\\)', display: false},
{left: '$', right: '$', display: false}
],
throwOnError: false
});"></script>
<!-- Prism.js 代码高亮 - tomorrow-night 主题 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-bash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js"></script>
<!-- 自定义样式表 -->
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/dark-mode.css">
<link rel="stylesheet" href="../../css/mobile-optimizations.css">
<!-- 内联CSS样式 -->
<!-- AI-Notes共享样式 -->
<link rel="stylesheet" href="assets/ai-notes.css">
</head>
<body>
<!-- ==================== 导航栏 ==================== -->
<nav class="ai-nav">
<a href="../../index.html" class="ai-nav-brand">
<i class="fas fa-brain"></i>
AI学习笔记
</a>
<ul class="ai-nav-links" id="navLinks">
<li><a href="../../index.html"><i class="fas fa-home"></i> 首页</a></li>
<li><a href="ch15.html"><i class="fas fa-robot"></i> Agent</a></li>
<li><a href="ch16.html"><i class="fas fa-tools"></i> 工具</a></li>
<li><a href="ch17.html"><i class="fas fa-book-open"></i> 知识库</a></li>
<li><a href="ch18.html"><i class="fas fa-layer-group"></i> 记忆</a></li>
<li><a href="ch19.html"><i class="fas fa-comment-dots"></i> 提示</a></li>
<li><a href="ch20.html"><i class="fas fa-database"></i> 数据</a></li>
<li><a href="ch21.html"><i class="fas fa-exclamation-circle"></i> 局限</a></li>
<li><a href="ch22.html"><i class="fas fa-toolbox"></i> 平台</a></li>
<li><a href="ch23.html"><i class="fas fa-history"></i> 简史</a></li>
<li><a href="ch24.html"><i class="fas fa-rocket"></i> 实战</a></li>
</ul>
<button class="ai-nav-toggle" id="navToggle" aria-label="切换导航">
<i class="fas fa-bars"></i>
</button>
</nav>
<!-- ==================== Hero Section ==================== -->
<section class="ai-hero">
<h1><i class="fas fa-brain"></i> AI 学习笔记</h1>
<p>第二十三章:AI发展简史</p>
<div class="ai-hero-badges">
<span class="ai-hero-badge"><i class="fas fa-book"></i> 系统学习</span>
<span class="ai-hero-badge"><i class="fas fa-code"></i> 实践导向</span>
</div>
</section>
<!-- ==================== 主内容区域 ==================== -->
<div class="content-wrapper">
<!-- ========== 主内容 ========== -->
<main class="main-content">
<nav class="ai-chapter-nav">
<div class="breadcrumb">
<a href="../../index.html"><i class="fas fa-home"></i> 首页</a>
<span class="separator">/</span>
<span class="current">第二十三章:AI发展简史</span>
</div>
<div class="chapter-nav-links">
<a href="ch22.html" class="prev-chapter"><i class="fas fa-arrow-left"></i> 上一章</a>
<a href="ch24.html" class="next-chapter">下一章 <i class="fas fa-arrow-right"></i></a>
</div>
</nav>
<!-- 第二十三章:AI发展简史 -->
<!-- ============================================================ -->
<h2 class="ai-section-title"><i class="fas fa-history"></i> 第二十三章:AI发展简史</h2>
<div class="ai-box ai-box--objectives">
<h3><i class="fas fa-bullseye"></i> 学习目标</h3>
<ul>
<li>了解AI发展的三波浪潮</li>
<li>掌握AI发展的关键里程碑事件</li>
<li>理解ChatGPT带来的变革和影响</li>
<li>了解AI的未来发展趋势和面临的挑战</li>
</ul>
</div>
<div class="ai-box ai-box--prereq">
<h3><i class="fas fa-book"></i> 前置要求</h3>
<p>建议先学习<strong>第三章:AI基础概念</strong>,了解AI的基本定义和分类。</p>
</div>
<figure class="ai-figure">
<img src="https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=AI%20development%20history%20timeline%20from%201950s%20to%20present%2C%20three%20waves%20of%20AI%2C%20rule-based%2C%20data-driven%2C%20large%20model%20era%2C%20clean%20educational%20infographic%20style%2C%20flat%20design%2C%20white%20background&image_size=landscape_4_3" alt="AI发展史时间轴概念图" loading="lazy">
<figcaption><strong>图23-1</strong> AI发展的三波浪潮:从规则驱动到数据驱动再到大模型时代</figcaption>
</figure>
<div class="concept-section">
<h2><i class="fas fa-water"></i> AI的三波浪潮</h2>
<h3>第一波:规则驱动(1950s-1980s)</h3>
<p>AI的诞生期,研究者尝试通过编写规则让计算机模拟人类智能。代表性成果包括逻辑推理程序、专家系统等。但由于"知识获取瓶颈"——人类知识难以完全用规则表达——第一波浪潮逐渐退去。</p>
<h3>第二波:数据驱动(1990s-2010s)</h3>
<p>随着互联网的发展,海量数据开始积累,机器学习(特别是深度学习)成为AI的主流方法。代表性成果包括ImageNet竞赛中CNN的突破、AlphaGo战胜围棋世界冠军等。GPU的普及为深度学习提供了强大的算力支持。</p>
<h3>第三波:大模型时代(2017-至今)</h3>
<p>Transformer架构的提出开启了第三波浪潮。GPT、BERT等大语言模型展示了惊人的语言理解和生成能力。ChatGPT的发布标志着AI从"专用工具"走向"通用助手",AI开始真正进入大众生活。</p>
</div>
<div class="concept-section">
<h2><i class="fas fa-flag"></i> 关键里程碑</h2>
<table class="comparison-table">
<tr>
<th>时间</th>
<th>事件</th>
<th>意义</th>
</tr>
<tr>
<td><strong>1950</strong></td>
<td>图灵提出图灵测试</td>
<td>首次提出"机器能否思考"的判定标准</td>
</tr>
<tr>
<td><strong>1956</strong></td>
<td>达特茅斯会议</td>
<td>"人工智能"概念正式诞生</td>
</tr>
<tr>
<td><strong>1997</strong></td>
<td>深蓝战胜国际象棋冠军卡斯帕罗夫</td>
<td>AI首次在复杂棋类中战胜人类顶尖选手</td>
</tr>
<tr>
<td><strong>2012</strong></td>
<td>AlexNet在ImageNet竞赛中大幅领先</td>
<td>深度学习革命的起点,CNN引爆计算机视觉</td>
</tr>
<tr>
<td><strong>2016</strong></td>
<td>AlphaGo战胜围棋世界冠军李世石</td>
<td>强化学习的里程碑,AI攻克最复杂的棋类</td>
</tr>
<tr>
<td><strong>2017</strong></td>
<td>Google提出Transformer架构</td>
<td>开启大模型时代,奠定了GPT/BERT的基础</td>
</tr>
<tr>
<td><strong>2022</strong></td>
<td>ChatGPT发布</td>
<td>AI走向大众,两个月用户突破1亿</td>
</tr>
<tr>
<td><strong>2023-2024</strong></td>
<td>GPT-4、Claude 3、Gemini等多模态模型发布</td>
<td>AI进入多模态、Agent化时代</td>
</tr>
</table>
</div>
<div class="concept-section">
<h2><i class="fas fa-bolt"></i> ChatGPT的影响</h2>
<p>2022年11月30日,OpenAI发布ChatGPT,这是AI发展史上的一个转折点。</p>
<div class="concept-box">
<h4><i class="fas fa-question-circle"></i> 为什么ChatGPT的影响如此巨大?</h4>
<ul>
<li><strong>交互方式革命</strong>:首次让普通人通过自然语言与AI交互,无需任何技术背景</li>
<li><strong>能力惊人</strong>:展示了写作、编程、推理、翻译等多种能力,远超之前的聊天机器人</li>
<li><strong>快速普及</strong>:两个月内用户突破1亿,成为历史上增长最快的消费级应用</li>
<li><strong>产业催化</strong>:引发了全球AI投资热潮,各大科技公司纷纷推出竞品</li>
</ul>
</div>
<h3>ChatGPT带来的变化</h3>
<ul>
<li><strong>教育变革</strong>:AI成为学习助手,改变教学方式</li>
<li><strong>工作方式</strong>:AI辅助写作、编程、分析,提升工作效率</li>
<li><strong>产业升级</strong>:各行业开始探索AI应用场景</li>
<li><strong>社会讨论</strong>:引发了关于AI伦理、就业、安全的广泛讨论</li>
<li><strong>开源生态</strong>:推动了开源大模型(Llama、Qwen等)的快速发展</li>
</ul>
</div>
<div class="concept-section">
<h2><i class="fas fa-binoculars"></i> 未来趋势</h2>
<h3>五大发展方向</h3>
<ul>
<li><strong>通用人工智能(AGI)</strong>:从专用AI走向具备人类水平智能的通用AI</li>
<li><strong>多模态融合</strong>:文本、图像、音频、视频的深度融合,实现更自然的交互</li>
<li><strong>AI Agent</strong>:从被动回答走向主动执行,AI成为能独立完成任务的"数字员工"</li>
<li><strong>端侧AI</strong>:AI模型在手机、IoT设备等终端上运行,实现低延迟、隐私保护</li>
<li><strong>AI for Science</strong>:AI加速科学发现,如蛋白质结构预测、药物研发、材料科学</li>
</ul>
<div class="concept-box warning">
<h4><i class="fas fa-exclamation-triangle"></i> 面临的挑战</h4>
<ul>
<li><strong>算力瓶颈</strong>:大模型训练需要巨额算力,能源消耗巨大</li>
<li><strong>数据枯竭</strong>:高质量的训练数据逐渐用尽</li>
<li><strong>安全风险</strong>:AI被滥用的风险(深度伪造、网络攻击等)</li>
<li><strong>就业影响</strong>:AI可能替代部分工作岗位,需要社会适应</li>
</ul>
</div>
</div>
<div class="concept-section">
<h2><i class="fas fa-code"></i> 代码实践</h2>
<p>以下代码使用<strong>matplotlib</strong>绘制AI发展史上的关键里程碑时间线,帮助你直观理解AI的发展历程。</p>
<pre><code class="language-python">
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
import numpy as np
# AI里程碑数据
milestones = [
{"year": 1950, "event": "图灵测试提出", "wave": "规则驱动"},
{"year": 1956, "event": "达特茅斯会议\nAI概念诞生", "wave": "规则驱动"},
{"year": 1997, "event": "深蓝战胜\n国际象棋冠军", "wave": "数据驱动"},
{"year": 2012, "event": "AlexNet\n深度学习革命", "wave": "数据驱动"},
{"year": 2016, "event": "AlphaGo战胜\n围棋世界冠军", "wave": "数据驱动"},
{"year": 2017, "event": "Transformer\n架构提出", "wave": "大模型时代"},
{"year": 2022, "event": "ChatGPT发布\nAI走向大众", "wave": "大模型时代"},
{"year": 2023, "event": "GPT-4/Claude 3\n多模态爆发", "wave": "大模型时代"},
]
# 三波浪潮的颜色
wave_colors = {
"规则驱动": "#4299e1",
"数据驱动": "#48bb78",
"大模型时代": "#ed8936",
}
# 创建图形
fig, ax = plt.subplots(figsize=(14, 7))
# 绘制时间线主轴
years = [m["year"] for m in milestones]
ax.plot(years, [0]*len(years), color="#2d3748", linewidth=3, zorder=1)
# 绘制每个里程碑
for i, m in enumerate(milestones):
year = m["year"]
color = wave_colors[m["wave"]]
# 交替上下显示
y_offset = 0.4 if i % 2 == 0 else -0.4
# 绘制连接线
ax.plot([year, year], [0, y_offset*0.7], color=color, linewidth=2, zorder=2)
# 绘制圆点
ax.scatter(year, 0, s=150, c=color, zorder=3, edgecolors="white", linewidth=2)
# 添加事件文本
ax.text(year, y_offset, m["event"], ha='center', va='center' if y_offset > 0 else 'center',
fontsize=9, fontweight='bold',
bbox=dict(boxstyle='round,pad=0.4', facecolor=color, alpha=0.15, edgecolor=color))
# 添加年份标签
ax.text(year, -0.08 if y_offset > 0 else 0.08, str(year), ha='center',
fontsize=10, fontweight='bold', color="#2d3748")
# 添加三波浪潮的背景区域
ax.axvspan(1945, 1985, alpha=0.08, color=wave_colors["规则驱动"], label="规则驱动")
ax.axvspan(1985, 2015, alpha=0.08, color=wave_colors["数据驱动"], label="数据驱动")
ax.axvspan(2015, 2026, alpha=0.08, color=wave_colors["大模型时代"], label="大模型时代")
# 设置图形属性
ax.set_xlim(1945, 2026)
ax.set_ylim(-0.8, 0.8)
ax.set_title('AI发展简史:关键里程碑时间线', fontsize=16, fontweight='bold', pad=20)
# 隐藏坐标轴
ax.set_yticks([])
ax.spines['left'].set_visible(False)
ax.spines['right'].set_visible(False)
ax.spines['top'].set_visible(False)
# 添加图例
legend_patches = [mpatches.Patch(color=c, label=w, alpha=0.6) for w, c in wave_colors.items()]
ax.legend(handles=legend_patches, loc='upper left', fontsize=10)
plt.tight_layout()
plt.show()
</code></pre>
<div class="concept-box">
<h4><i class="fas fa-lightbulb"></i> 运行结果</h4>
<p>运行后会显示一个横向时间线图,包含以下元素:</p>
<ul>
<li><strong>水平主轴</strong>:从1950年到2024年的时间线</li>
<li><strong>彩色圆点</strong>:标记8个关键里程碑事件</li>
<li><strong>交替标签</strong>:事件名称在轴线上方和下方交替显示</li>
<li><strong>背景色块</strong>:三波浪潮(规则驱动/数据驱动/大模型时代)用不同颜色区分</li>
</ul>
<p>这个可视化清晰展示了AI发展的加速趋势:从1950年到1997年只有2个里程碑,而从2017年到2023年就有4个重大突破。</p>
</div>
<p>通过这个代码实践,你可以:</p>
<ol>
<li>学习如何用matplotlib绘制<strong>时间线图表</strong></li>
<li>理解AI发展的<strong>三波浪潮</strong>和关键节点</li>
<li>掌握数据可视化的基本技巧(散点、文本标注、背景色块)</li>
</ol>
</div>
<div class="ai-box ai-box--summary">
<h3><i class="fas fa-clipboard-list"></i> 本章小结</h3>
<ol>
<li>AI发展经历了三波浪潮:规则驱动(1950s-1980s)→数据驱动(1990s-2010s)→大模型时代(2017-至今),每一波都建立在前一波的基础之上。</li>
<li>关键里程碑包括:图灵测试(1950)、达特茅斯会议(1956)、AlexNet(2012)、AlphaGo(2016)、Transformer(2017)、ChatGPT(2022)。</li>
<li>ChatGPT通过自然语言交互、惊人能力和快速普及,引发了全球AI革命,改变了人们的工作、学习和生活方式。</li>
<li>AI未来五大方向:AGI、多模态融合、AI Agent、端侧AI、AI for Science,同时面临算力、数据、安全和就业等挑战。</li>
</ol>
</div>
<div class="ai-box ai-box--exercise">
<h3><i class="fas fa-pencil-alt"></i> 练习题</h3>
<ol>
<li>
<p><strong>Transformer架构是在哪一年提出的?它标志着什么?</strong></p>
<p>A. 2012年,标志着深度学习革命的起点<br/>B. 2016年,标志着强化学习的里程碑<br/>C. 2017年,标志着大模型时代的开启<br/>D. 2022年,标志着AI走向大众</p>
<p><strong>答案:C</strong>。Transformer架构由Google在2017年提出(论文"Attention is All You Need"),奠定了GPT、BERT等大语言模型的基础,标志着大模型时代的开启。</p>
</li>
<li>
<p><strong>ChatGPT发布后多长时间内用户突破了1亿?</strong></p>
<p>A. 1个月<br/>B. 2个月<br/>C. 6个月<br/>D. 1年</p>
<p><strong>答案:B</strong>。ChatGPT于2022年11月30日发布,在两个月内用户突破1亿,成为历史上增长最快的消费级应用。</p>
</li>
<li>
<p><strong>以下哪个不属于AI面临的挑战?</strong></p>
<p>A. 算力瓶颈<br/>B. 数据枯竭<br/>C. 安全风险<br/>D. 互联网普及率</p>
<p><strong>答案:D</strong>。AI面临的挑战包括算力瓶颈、数据枯竭、安全风险和就业影响等。互联网普及率不是AI特有的挑战。</p>
</li>
</ol>
</div>
<!-- ============================================================ -->
</main>
</div>
<!-- 页脚 -->
<!-- ============================================================ -->
<footer class="footer">
<div class="footer-content">
<div class="footer-section">
<h3><i class="fas fa-graduation-cap"></i> AI学习笔记</h3>
<p>从零开始系统学习人工智能</p>
<p>涵盖前置基础、核心原理、工程实践、应用工具、进阶展望</p>
</div>
<div class="footer-section">
<h3><i class="fas fa-bookmark"></i> 内容导航</h3>
<p>第1-11章:基础与核心(见 ai-notes-core.html)</p>
<p>第12-23章:工程实践与进阶(本文件)</p>
<p>附录A:GPU与算力指南</p>
<p>附录B:术语表</p>
</div>
<div class="footer-section">
<h3><i class="fas fa-info-circle"></i> 说明</h3>
<p>本笔记仅供学习参考,内容如有错误欢迎指正。</p>
<p>AI技术发展迅速,部分信息可能随时间变化。</p>
</div>
</div>
<div class="footer-bottom">
<p>AI学习笔记 © 2024 | 持续更新中</p>
</div>
</footer>
</div><!-- /ai-notes-container -->
<!-- Scripts -->
<script src="../../js/mobile-menu.js"></script>
<script src="../../js/dark-mode.js"></script>
<script>
// 目录滚动高亮
(function() {
const tocLinks = document.querySelectorAll('.toc-sidebar a');
const sections = [];
tocLinks.forEach(link => {
const id = link.getAttribute('href');
if (id && id.startsWith('#')) {
const el = document.querySelector(id);
if (el) sections.push({ link, el });
}
});
function updateActive() {
const scrollY = window.scrollY + 100;
let current = sections[0];
for (const s of sections) {
if (s.el.offsetTop <= scrollY) current = s;
}
tocLinks.forEach(l => l.classList.remove('active'));
if (current) current.link.classList.add('active');
}
window.addEventListener('scroll', updateActive);
updateActive();
})();
</script>
<script src="assets/ai-notes.js"></script>
</body>
</html>