FW26, William Gates Building
| Clock | Block |
|---|---|
| 10:05–10:23 | Course mechanics; questions list; course site |
| 10:23–10:32 | Perpetual motion and superintelligence |
| 10:32–10:52 | Preview: Maxwell’s demon, Landauer, no-go versus mechanism |
| 10:52–11:00 | Laplace’s demon and gremlin; Jaynes as a pointer |
| 11:00–11:07 | Break |
| 11:07–11:30 | Probability review: product/sum/Bayes; named distributions |
| 11:30–11:47 | Textbooks aside; Socratic worksheets and LLM habit |
| 11:47–11:58 | Energy seed; Boltzmann \(p_i \propto e^{-\beta E_i}\) |
| 11:58–12:00 | Daniel Bernoulli pointer; Worksheet 1 / Quiz 1 (past five-to) |
List: mlatcl.github.io/iei/questions/
Maxwell’s Demon:
A sorting mind in a gas. Fast molecules one way, slow the other. Temperature splits. Entropy of the gas appears to fall.
Erasing a bit has a thermodynamic price. Computation, in the reversible ideal, is claimed not to.
Entropy tells you what will not happen. It does not hand you a machine.
The curve described by a simple molecule of air or vapor is regulated in a manner just as certain as the planetary orbits; the only difference between them is that which comes from our ignorance.
Probability is relative, in part to this ignorance, in part to our knowledge.}
A Philosophical Essay on Probabilities, trans. Truscott and Emory (1902)
\[ P(y\mid x)=\frac{P(x\mid y)P(y)}{P(x)} \]
Five families recur across modelling. Know the support, the parameter, and one generative story for each.
\[\begin{align} p(y| \mu, \sigma^2) & = \frac{1}{\sqrt{2\pi\sigma^2}}\exp\left(-\frac{(y- \mu)^2}{2\sigma^2}\right)\\& \buildrel\triangle\over = \mathscr{N}\left(y|\mu,\sigma^2\right) \end{align}\]
What you are describing, Skepticus, is a chronic but minor ailment of philosophers. It is called dialectical vertigo, and its cure is the immediate application of straightforward argumentation.
The Grasshopper to Skepticus in The Grasshopper: Games, Life and Utopia (Suits, 1978 pg 37)
L172_<CRSid>_worksheet1_dialogue.md and …_reflection.pdf (scan)In ML, an energy is (often) a scalar assigned to a configuration: lower means preferred.
Tabulate \(-\log P(y)\) for a four-outcome distribution. Those values are energies.
| \(y\) | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| \(P(y)\) | 0.3 | 0.2 | 0.1 | 0.4 |
| \(E(y)=-\log P(y)\) | 1.204 | 1.609 | 2.302 | 0.916 |
A coin with \(P(H)=p\), \(P(T)=1-p\) is a two-state energy model.
A Poisson(\(\lambda\)) is the same map \(E=-\log P\) on the non-negative integers.
The univariate Gaussian we wrote earlier is already an energy-based model.
\[ p(y)\propto \exp\!\left(-\frac{(y-\mu)^2}{2\sigma^2}\right) \quad\Longleftrightarrow\quad E(y)=\frac{(y-\mu)^2}{2\sigma^2} \]
\[ E(\mathbf{w})=\sum_n\left(y_n-\mathbf{w}^\top\mathbf{x}_n\right)^2 \]
\[ E=-\sum_c y_c\log\hat{y}_c \]
\[ E(\mathbf{s})=-\sum_i b_i s_i-\sum_{i<j}W_{ij}s_i s_j \]
For fixed mean energy \(U\), the maximum-entropy occupation is the Boltzmann distribution — same \(E\) grammar as the ML energies above.
We stop at Daniel Bernoulli. Week 2 reopens Laplace’s molecule, then Hydrodynamica.
Probability distributions: Section 1.2 of Bishop (2006)
Boltzmann machines (optional colour) of Ackley et al. (1985)
Hopfield networks (optional colour) of Hopfield (1982)