Bài 41 · Mô hình định lượng, không gian & mô phỏng trong BĐS

Agent-Based Model: mô phỏng người mua, nhà đầu tư, chủ đầu tư và môi giới

Agent-Based Model – ABM – mô phỏng thị trường từ dưới lên bằng các tác nhân có quy tắc riêng: người mua, nhà đầu tư, chủ đầu tư, môi giới, ngân hàng, chính quyền. Các tác nhân tương tác trên không gian và qua giao dịch; pattern vĩ mô như giá, phân bố mật độ hay bong bóng có thể nổi lên từ hành vi vi mô.

ABM đặc biệt hữu ích khi heterogeneity, interaction, bounded rationality và adaptation là phần cốt lõi mà mô hình đại diện trung bình khó biểu diễn.

Chuyên đề: Mô hình định lượng, không gian & mô phỏng trong BĐS · Bài 41 · Mô phỏng, tối ưu và tương tác chiến lược

Biên soạn: ThS. Nguyễn Mạnh Hùng
Đơn vị: GV. Khoa QLĐĐ&BĐS – ĐH Nông Lâm TP.HCM
Email: nguyenmanhhung@hcmuaf.edu.vn

1. Agent là gì?

Agent có state, attributes, rules và khả năng tương tác. Buyer có income, preference, budget, search radius; developer có capital, expectation, land bank; broker có listings và network.

2. Environment

Không gian có thể là grid, parcels, network hoặc danh sách tài sản. Environment chứa accessibility, zoning, amenities, hazard và market institutions.

3. Decision rules

Rules có thể heuristic, utility maximization, discrete choice, reinforcement learning hoặc behavioral rules. Quy tắc phải dựa lý thuyết hoặc dữ liệu, không viết tùy hứng để tạo kết quả mong muốn.

4. Heterogeneity

Khác income, risk aversion, household size, expectation, financing constraints làm market outcomes khác. Đây là lợi thế lớn của ABM so representative agent.

5. Search và matching

Buyer không thấy mọi property; search set hữu hạn, broker/filter tạo consideration set. Seller có reservation price. Giao dịch xảy ra khi bid–ask và financing cùng thỏa.

6. Price formation

Có thể qua bargaining, auction, comparable-based expectations hoặc market-clearing local. Price rule quyết định dynamics nên phải kiểm kỹ.

7. Adaptation và learning

Agents cập nhật expectations theo price history, peer signals hoặc experience. Adaptive expectations có thể tạo momentum và cycles.

8. Network effects

Peer influence hoặc social network có thể ảnh hưởng location choice/investment. Network topology cần dữ liệu hoặc scenario hợp lý.

9. Calibration

Calibrate micro-parameters sao cho model tái tạo macro moments: price distribution, turnover, segregation, density, vacancy. Một set parameter fit không chắc duy nhất.

10. Validation

Dùng pattern-oriented validation: không chỉ match mean price mà cả distribution, spatial pattern, duration, response to shock. Split calibration và validation periods nếu có dữ liệu.

11. Stochasticity và replications

ABM có randomness nên một run không đủ. Chạy nhiều seeds, báo distribution outcomes và Monte Carlo error.

12. Emergence

Bong bóng, segregation, leapfrog development có thể nổi lên dù không agent nào đặt mục tiêu tạo chúng. Đây là insight cốt lõi của mô phỏng bottom-up.

13. Policy experiment

Có thể thử mortgage cap, zoning, tax vacant homes hoặc affordable housing. Nhưng policy results phụ thuộc behavioral rules và calibration.

14. Case: housing market

Households search; sellers set ask theo comparables; developers build khi expected margin cao; banks giới hạn LTV. Demand shock và adaptive expectations tạo price overshoot trước supply response.

15. Cấu trúc dữ liệu

agent_idtypestateincomebudgetlocationrule_version
A001buyersearching45m4.5bD03v2

16. Computational design

Event scheduling, spatial indexing và vectorization quan trọng khi hàng trăm nghìn agents. Không cần mô phỏng từng người thật nếu representative synthetic population đủ.

17. Sai lầm

  • Rules tùy ý.
  • Một run = kết luận.
  • Calibrate chỉ một output.
  • Không validation ngoài mẫu.
  • Quá nhiều chi tiết nhưng không tăng insight.
  • Policy causal claim vượt model assumptions.

18. Bài tập thực hành

Thiết kế ABM tối giản với buyer, seller và developer. Xác định state variables, search, bargaining, construction lag, 5 calibration targets, 3 policy experiments và số replications cần chạy.

19. Micro-foundation và empirical rules

Mỗi rule agent nên được nối với dữ liệu: search radius từ clickstream, willingness-to-pay từ discrete choice, developer starts từ historical margins. Empirical ABM giảm nguy cơ mô phỏng chỉ phản ánh trực giác người lập model.

20. Synthetic population

Household agents có thể được tạo bằng iterative proportional fitting hoặc microsimulation để khớp census margins về income, size, tenure và location. Không cần dữ liệu cá nhân thật, giúp bảo vệ privacy.

21. Sensitivity và uncertainty

ABM có cả parameter uncertainty và stochastic seed. Global sensitivity như Sobol hoặc Morris có thể xác định rules nào chi phối macro pattern. Nếu kết quả chỉ xuất hiện ở một vùng tham số hẹp, policy conclusion yếu.

22. Reproducibility

Lưu random seed, model version, parameter set, scenario và code. Một animation hấp dẫn không đủ; phải tái tạo được distribution kết quả.

23. Agent interactions và thị trường clearing

ABM phải nói rõ khi nào giao dịch được khớp: continuous double auction, search-and-bargain, centralized listing hay bilateral matching. Cùng preferences nhưng market institution khác có thể tạo price dynamics khác.

24. So sánh ABM với mô hình đơn giản hơn

ABM chỉ đáng dùng khi heterogeneity và interaction tạo insight không có ở regression hoặc system dynamics đơn giản. Luôn có baseline đơn giản để chứng minh chi phí mô phỏng thêm là cần thiết.

Ghi nhớ trong 30 giây

  • ABM mô phỏng tương tác của agents dị biệt.
  • Macro patterns có thể nổi lên từ micro rules.
  • Rules phải có nền tảng dữ liệu/lý thuyết.
  • Calibration và validation đa pattern rất quan trọng.
  • Một simulation run không đủ.

Nguồn tham khảo

  • Railsback & Grimm – Agent-Based and Individual-Based Modeling.
  • Tesfatsion & Judd – Handbook of Computational Economics: Agent-Based Computational Economics.
  • Các nghiên cứu agent-based housing/land markets.

Bài tiếp theo: Cellular Automata: mô phỏng lan tỏa đô thị và thay đổi sử dụng đất

📚 Xem toàn bộ 45 bài trong series Mô hình định lượng, không gian & mô phỏng trong BĐS