diff --git a/README.md b/README.md new file mode 100644 index 0000000..e9e2477 --- /dev/null +++ b/README.md @@ -0,0 +1,72 @@ +# 设计人工智能:基础与应用 + +> Design AI: Fundamentals and Applications + +**作者**:彭晓 +**版本**:v1.0(2026年4月) + +## 简介 + +本书面向设计专业学生、研究者和从业者,系统讲解人工智能的核心技术原理,并展示 AI 在五大设计领域的应用实践。内容覆盖从神经网络基础到大模型、从生成式 AI 到智能体的完整知识体系。 + +## 目录结构 + +``` +2026_DesignAI/ +├── data/ # 数据与资源 +│ ├── pics/ # 书籍插图 +│ └── references/ # 参考文献数据 +├── dofile/ # 代码与脚本 +│ └── examples/ # Python 代码示例 +├── officefile/ # 文档内容 +│ ├── md/ # Markdown 源文件(各章节、附录) +│ ├── latex/ # LaTeX 排版系统(编译入口) +│ └── word/ # Word 导出 +└── output/ # 生成输出 +``` + +## 全书结构 + +### 上篇:原理与技术 + +| 章节 | 主题 | 内容 | +|------|------|------| +| 第1章 | AI发展历程 | 从符号主义到大模型的范式演进 | +| 第2章 | 理论框架 | 函数式视角、数据模态、MLP、环境-智能体框架 | +| 第3章 | 序列与文本 | RNN → LSTM → Transformer → 大语言模型 | +| 第4章 | 图像与视觉 | CNN → ResNet → ViT → SAM | +| 第5章 | 空间与三维 | PointNet → 空间 AI | +| 第6章 | 生成式AI | VAE/GAN → 扩散模型 → DALL·E/Sora | +| 第7章 | AI Agent | 规则系统 → LLM Agent | +| 第8章 | 强化学习 | Q-Learning → RLHF | + +### 下篇:设计领域应用 + +| 章节 | 主题 | +|------|------| +| 第9章 | 数字媒体艺术 | +| 第10章 | 工业与产品设计 | +| 第11章 | 环境与景观设计 | +| 第12章 | 城市与生态规划设计 | + +### 附录 + +9 个附录,涵盖编程基础、Vibe Coding、学术写作、网络工具、学习资源、关键术语表等。 + +## LaTeX 编译 + +使用 XeLaTeX + natbib 编译: + +```bash +cd officefile/latex +xelatex main.tex +bibtex main +xelatex main.tex +xelatex main.tex +``` + +需要 TeX Live 2026,中文字体使用 ctex 宏包。 + +## 许可 + +版权所有,未经授权不得转载。 diff --git a/officefile/latex/appendices/ap01-programming.tex b/officefile/latex/appendices/ap01-programming.tex index fe2d08e..6348739 100644 --- a/officefile/latex/appendices/ap01-programming.tex +++ b/officefile/latex/appendices/ap01-programming.tex @@ -696,7 +696,7 @@ Agent开发 & LangGraph & pip install langgraph & 状态机式Agent开发 \\ \subsubsection{模型资源} \paragraph{\texorpdfstring{Hugging -Face:\href{https://huggingface.co/}{huggingface.co}}{Hugging Face:huggingface.co}}\label{hugging-facehuggingface.co} +Face:\href{https://huggingface.co/}{huggingface.co}}{Hugging Face:huggingface.co}} 功能:模型仓库、数据集、Spaces在线演示 @@ -788,7 +788,7 @@ train\_test\_split \textbf{from} sklearn.metrics \textbf{import} accuracy\_score, classification\_report -\subsubsection{}\label{section} + \emph{\# 1. 加载数据} @@ -915,7 +915,7 @@ print(f"dy/dx = \{x.grad\}") \emph{\# 应为 2x + 3 = 7(x=2时)} \textbf{from} torchvision \textbf{import} datasets, transforms -\paragraph{}\label{section-4} + \emph{\# 1. 数据准备} diff --git a/officefile/latex/chapters/ch02-framework.tex b/officefile/latex/chapters/ch02-framework.tex index 28b6af5..6c00092 100644 --- a/officefile/latex/chapters/ch02-framework.tex +++ b/officefile/latex/chapters/ch02-framework.tex @@ -974,26 +974,19 @@ print(f"真实参数: W = [2.0, 3.0], b = [1.0]") 因此,AI领域的基本要素便是在不同类型环境(Environment)中行动的各类智能体(Agent),执行从科学发现到实践应用等不同场景中的多种任务(Task)。总体上,环境可分为物理环境与虚拟或数字环境两大类,智能体可分为人类(含具有不同程度智能的动物)、AI与具身智能三大类(表2.1)。 -\begin{longtable}[]{@{} - >{\centering\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.1442}} - >{\centering\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.4327}} - >{\centering\arraybackslash}p{(\linewidth - 4\tabcolsep) * \real{0.4135}}@{}} -\caption{表 2.1 环境-智能体的类型组合}\tabularnewline -\toprule\noalign{} -\endfirsthead -\endhead -\bottomrule\noalign{} -\endlastfoot -\textbf{环境} - -\textbf{智能体} & \textbf{物理环境} & \textbf{数字环境} \\ -\textbf{人类} & ~ 具有物理身体,能直接感知和互动 & ~ -通过设备(如电脑、手机)访问,依赖界面 \\ -\textbf{AI} & ~ 通过机器人或嵌入式系统体现,但本质是软件 & ~ -主要存在和运行,如算法、聊天机器人 \\ -\textbf{具身智能} & ~ 设计用于物理世界,有传感器和执行器 & ~ -可能具有数字组件,但焦点是物理体现 \\ -\end{longtable} +\begin{table}[htbp] +\centering +\caption{环境-智能体的类型组合} +\begin{tabular}{@{} l p{5cm} p{5cm} @{}} +\toprule +\diagbox{\textbf{智能体}}{\textbf{环境}} & \textbf{物理环境} & \textbf{数字环境} \\ +\midrule +\textbf{人类} & 具有物理身体,能直接感知和互动 & 通过设备(如电脑、手机)访问,依赖界面 \\[3pt] +\textbf{AI} & 通过机器人或嵌入式系统体现,但本质是软件 & 主要存在和运行,如算法、聊天机器人 \\[3pt] +\textbf{具身智能} & 设计用于物理世界,有传感器和执行器 & 可能具有数字组件,但焦点是物理体现 \\ +\bottomrule +\end{tabular} +\end{table} 其中,人类与物理环境的互动长久以来是地理学科的研究主题,即“人地关系”或“人地耦合系统”研究,涉及环境感知、景观设计、可持续性等多个议题。当前的“智能体---环境”关系研究可视为“人地关系”研究的自然延伸,可从中汲取丰富启发,有待后续深入探讨。人类与数字环境的互动则关联网络社会、人机交互等主题,在AI蓬勃发展的时代背景下催生了更多、更深刻的研究命题。AI与具身智能分别对应数字环境和物理环境,构成了人工智能的两种主要存在方式。 @@ -1008,7 +1001,7 @@ print(f"真实参数: W = [2.0, 3.0], b = [1.0]") \begin{figure} \centering \includegraphics[width=4.15529in,height=3.58481in,alt={图 2.1 智能体-环境互动框架}]{figures/ch02/image1.png} -\caption{图 2.1 智能体-环境互动框架} +\caption{智能体-环境互动框架} \end{figure} \subsection{"环境-智能体"框架与设计任务} @@ -1026,7 +1019,7 @@ Agent在环境中的行为充满复杂性,这些复杂性可以分解为不同 \begin{longtable}[]{@{} >{\raggedright\arraybackslash}p{(\linewidth - 2\tabcolsep) * \real{0.2083}} >{\raggedright\arraybackslash}p{(\linewidth - 2\tabcolsep) * \real{0.5694}}@{}} -\caption{表 2.2 智能系统设计空间的复杂性维度}\tabularnewline +\caption{智能系统设计空间的复杂性维度}\tabularnewline \toprule\noalign{} \endfirsthead \endhead diff --git a/officefile/latex/preamble.tex b/officefile/latex/preamble.tex index aab9d96..f295074 100644 --- a/officefile/latex/preamble.tex +++ b/officefile/latex/preamble.tex @@ -26,6 +26,7 @@ \usepackage{tabularx} \usepackage{multirow} \usepackage{longtable} +\usepackage{diagbox} % ========== 图形 ========== \usepackage{graphicx}