AI for Economic Research: Dynamic Models, Language, and Agents

Zhigang Feng  路  Professor of Economics

E-mail: z.feng2@gmail.com

Webpage: https://sites.google.com/site/zfeng202/

This course covers what modern AI changes about how economic research is actually done. It runs in six sessions: an orientation to AI as a tool, an economic object and an agent; deep learning, where functions become trainable and equations become losses; reinforcement learning, where decisions are learned from interaction; heterogeneous-agent models, where distributions become state variables; text and large language models as data, measurement and generation; and retrieval and agents in one research workflow. The organizing premise is that as AI absorbs more of the implementation, the economist's edge shifts to designing algorithms and validating results.

Every session ends in a lab: a Jupyter notebook that runs offline on a laptop CPU with fixed seeds — no API key, no GPU. Session 1's last deck, The Workbench, sets up everything the labs need: Python, VS Code, git and GitHub.

Prerequisites and where to start. The course assumes you are comfortable with dynamic macroeconomic models — if you would like that theory firmer first, a recorded offering of Advanced Macro Theory covers it in twenty-eight lectures, from the Solow model through recursive optimization, competitive equilibrium, and asset pricing. Python experience helps but is not required: the companion course, Quantitative Macroeconomics with AI and Machine Learning, teaches it from scratch in Topic 3, Programming Basics for Economists, and covers the classical computational methods — dynamic programming, perturbation, projection, parallel computing. The three are designed as one sequence: macro theory → classical methods → machine learning → agentic AI research, and this site is the last stage.

Start here

Three steps per session

  1. Read the session in the syllabus — it lists what each deck covers and what the lab asks.
  2. Download the decks from the slides page — one at a time, or the whole session in one PDF.
  3. Run the lab. The notebooks are the point where the material becomes yours — each runs offline on a laptop CPU.

Where to enter. Everyone starts with Session 1; its last deck, The Workbench, teaches the Python the labs are written in and sets up the tools. For more Python, the companion course's Topic 3 teaches it from scratch. With classical computational training already in hand, Sessions 2–4 (deep learning, reinforcement learning and heterogeneous agents) are the bridge you are looking for. Interested only in text and agents, Sessions 5–6 stand on their own. When you want to build something, go to the project tracks.

Class Meetings — Fall 2026 路 涓婅瀹夋帓

DateTimeLocationSession
Tue, October 13Morning 9:30–12:30TBA · 寰呭畾Session 1 — Orientation
Tue, October 13Afternoon 14:30–17:30TBA · 寰呭畾Session 2 — Deep learning
Thu, October 15Morning 9:30–12:30TBA · 寰呭畾Session 3 — Reinforcement learning
Fri, October 16Morning 9:30–12:30TBA · 寰呭畾Session 4 — Heterogeneous agents
Tue, October 20Morning 9:30–12:30TBA · 寰呭畾Session 5 — Text and LLMs
Thu, October 22Morning 9:30–12:30TBA · 寰呭畾Session 6 — RAG and agents

Course Map 路 瑾茬▼绲愭

SessionObjectWhat changesDecks
1OrientationAI as tool, as object, and as an agent with incentives5
2Deep learningFunctions become trainable; equations become losses6
3Reinforcement learningSequential decisions are learned from interaction6
4Heterogeneous agentsDistributions and equilibrium become state variables4
5Text and LLMsLanguage becomes data, measurement, and generation6
6RAG and agentsRetrieval, tools, traces, and governance in one workflow5

Sessions

Session 1 路 5 decks, 140 pages Orientation AI in science 路 the economics of intelligence 路 what AI is 路 workhorse macro models 路 the workbench Slides Available Lab
Session 2 路 6 decks, 172 pages Deep learning a digit and a neuron 路 nonlinearity and approximation 路 backpropagation 路 PyTorch and a yield forecast 路 the growth model on its Euler equation 路 architecture Slides Available Lab
Session 3 路 6 decks, 162 pages Reinforcement learning the growth model with one thing hidden 路 the simplest actor–critic 路 Monte Carlo 路 temporal difference 路 from tables to networks 路 across algorithms Slides Available Lab
Session 4 路 4 decks, 168 pages Heterogeneous agents Aiyagari, solved twice 路 Krusell–Smith three ways 路 cohorts under aggregate risk 路 optimal taxation without commitment Slides Available Lab
Session 5 路 6 decks, 208 pages Text and LLMs text as data 路 embeddings and the Transformer 路 pretrained models and five limits 路 the LLM as an instrument 路 prompts and reproducibility 路 the yield lab Slides Available Lab
Session 6 路 5 decks, 176 pages RAG and agents what an agent is 路 how the loop works 路 building with agents 路 your own RAG 路 GRAM Slides Available Lab

Where this course sits

This is the last of three courses that run as one sequence. Advanced Macro Theory supplies the models — twenty-eight recorded lectures from the Solow model through recursive optimization, competitive equilibrium, asset pricing, and fiscal policy. Quantitative Macroeconomics with AI and Machine Learning solves them on a computer — twelve topics on value function iteration, time iteration, EGM, perturbation, projection, and high-performance computing, with slides, labs, and a complete video series (free) from 2026 and 2025, and it is the written subject of the textbook 鏈哄櫒瀛︿範涓庢暟閲忓畯瑙傜粡娴庡. This site takes them to the AI frontier.

Macro Theory → Classical Methods → ML & Deep Learning → Agentic AI Research

You can enter at any stage. This site is the last one.

New here? Start with the full syllabus for the session-by-session plan, prerequisites, and supplementary resources. The earlier ten-lecture version, taught at Zhejiang University in Summer 2026, is kept on the Summer 2026 page.