You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the top panel, Agent 1 (orange line) who initially puts weight only on $f$ (solid line) and $g$ (dashed line) eventually dominates consumption as they learn the truth faster than Agent 2 who spreads probability across all three models.
1540
1544
@@ -1544,6 +1548,8 @@ For both cases, the belief on $h$ (dotted line) eventually goes to 0.
1544
1548
1545
1549
The agent with the simpler (but correct) model structure learns faster and eventually dominates consumption allocation.
1546
1550
1551
+
In other words, the model penalizes complexity and rewards accuracy.
1552
+
1547
1553
```{solution-end}
1548
1554
```
1549
1555
@@ -1554,9 +1560,10 @@ Two agents with extreme priors about three models.
1554
1560
1555
1561
Consider the same setup as the previous exercise, but now:
1556
1562
* Agent 1: $\pi^g_0 = \pi^f_0 = \frac{\epsilon}{2} > 0$, where $\epsilon$ is close to $0$ (e.g., $\epsilon = 0.01$)
1557
-
* Agent 2: $\pi^g_0 = \pi^f_0 = 0$ (dogmatic belief in model $h$)
1563
+
* Agent 2: $\pi^g_0 = \pi^f_0 = 0$ (rigid belief in model $h$)
1558
1564
1559
-
Choose $h$ to be close but not equal to either $f$ or $g$ as measured by KL divergence. For example, set $h \sim \text{Beta}(1.2, 1.1)$.
1565
+
Choose $h$ to be close but not equal to either $f$ or $g$ as measured by KL divergence.
1566
+
For example, set $h \sim \text{Beta}(1.2, 1.1)$.
1560
1567
1561
1568
Simulate and visualize the evolution of consumption allocations when:
1562
1569
* Nature permanently draws from $f$
@@ -1603,12 +1610,12 @@ Now we can set the belief models for the two agents
1603
1610
λ = 0.5
1604
1611
1605
1612
# Agent 1: π_f = ε/2, π_g = ε/2, π_h = 1-ε
1606
-
# (almost dogmatic about h)
1613
+
# (almost rigid about h)
1607
1614
π_f_1 = ε/2
1608
1615
π_g_1 = ε/2
1609
1616
1610
1617
# Agent 2: π_f = 0, π_g = 0, π_h = 1
1611
-
# (fully dogmatic about h)
1618
+
# (fully rigid about h)
1612
1619
π_f_2 = 1e-10
1613
1620
π_g_2 = 1e-10
1614
1621
```
@@ -1645,7 +1652,9 @@ plt.show()
1645
1652
1646
1653
In the top panel, observe how slowly agent 1 is adjusting to the truth -- the belief is rigid but still updating.
1647
1654
1648
-
However, since agent 2 is dogmatic about $h$, and $f$ is very hard to distinguish from $g$ as measured by $KL(f, g)$, we can see that the belief is almost standing still.
1655
+
The belief about $h$ slowly shifts towards 0 crossing the belief about $f$ moving up to 1 at $t = 500$.
1656
+
1657
+
However, since agent 2 is rigid about $h$, and $f$ is very difficult to distinguish from $h$ as measured by $KL(f, h)$, we can see that the belief is almost stationary due to the difficulty of realizing the belief is incorrect.
1649
1658
1650
1659
In the bottom panel, since $g$ is further away from $h$, both agents adjust toward the truth very quickly, but agent 1 acts faster given the slightly higher weight on $f$ and $g$.
0 commit comments