少点错误 前天 12:00
理解“事物随时间发生”的不同数学框架
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

本文旨在梳理和介绍研究“事物随时间发生”现象的几种核心数学框架,包括随机过程、保持测度的动力学、拓扑动力学和可计算性。作者分享了自己从迷茫到逐渐理解这些子领域的过程,并强调了它们各自的状态空间和动力学特性。文章通过列举具体示例,如马尔可夫链、不可理旋转等,帮助读者直观理解各理论的精髓。同时,作者也探讨了这些框架之间的相互联系和潜在的融合之处,并提及了如范畴论等更高级别的理论,为AI代理研究奠定理论基础。

📊 **随机过程**: 该框架将世界视为一系列随机变量,系统的状态在每个时间点从一个概率分布中抽取。其核心特点是动力学本身具有非确定性,即使已知先前状态,下一个状态仍是概率性的,典型例子包括独立同分布过程和马尔可夫链。

🧮 **保持测度的动力学(遍历理论)**: 侧重于在测度空间(通常是概率空间)上研究保持测度的函数。该理论关注系统动力学如何随着时间“搅动”状态空间,对理解无法优化的状态至关重要。代表性例子有不可理旋转和2x mod 1。

🌐 **拓扑动力学(符号动力学)**: 利用拓扑空间作为状态空间,并以连续函数作为动力学。它关注的是“有限观测的逻辑”,适合形式化观测过程。符号动力学则通过所有可能的观测序列来构建系统。不可理旋转和Cantor空间上的移位映射是其典型示例。

💻 **可计算性**: 在此框架下,状态空间是无限的二进制磁带,动力学由有限的“如果-则”规则定义(如图灵机)。为模拟真实世界,可引入随机性。虽然通常不这样表述,但可计算性理论为理解计算机实现AI提供了视角,例如确定性有限自动机。

🔗 **框架间的相互作用**: 作者指出,这些看似独立的数学框架在实际应用中常有交叉和融合,尤其是在拓扑和测度论之间。理解它们之间的联系有助于更全面地把握复杂系统,例如,很多测度论中的重要定理需要拓扑假设,而可计算性也天然地与Cantor空间的拓扑和测度相关联。

Published on November 14, 2025 3:54 AM GMT

In this post, I've written something that would have been very helpful to my former self from a few years ago. Given that, it may or may not be helpful to anyone else.

When studying for agent foundations research, I kept finding that I wanted a good general formalism of "stuff happening over time". Applications include;

For quite a while, I felt pretty overwhelmed and disoriented about all the options. But over time I have slowly come to understand the shape of several sub-fields of mathematics that have their own rich theory of "stuff happening over time", complete with deep theorems and decades of literature. All of these seem potentially useful to me, and so I dovetail between them.[1]

Some types of systems

I would be impossible to satisfactorily explain each of these types of systems. So instead, I'm just going to state a reference-level description of each, describing what its state space looks like and what kind of dynamics it uses, and just a bit of intuition or motivation.

I have also highlighted some canonical examples. Reading about this example until you feel like you "get" it is probably a fairly efficient way to get a lot of information about what this type of system is like.

Stochastic process

In a stochastic process, the world is a temporal sequence of random variables. The state of the system that you will observe at time t is sampled from the random variable indexed by t. Unlike the others on this list, here the dynamics themselves are considered non-deterministic; even if you know the value of the previous variables, then the next value is still drawn from a probability distribution, albeit one that is now conditioned on said values.

Key example: I.i.d. processes like repeated coin flips

Key example: Markov chains

Measure-preserving dynamics (especially ergodic theory)

Measure-theoretic probability is the field that well-defines how to work with manipulating probabilities when you want to take the conjunction or disjunction of infinitely many possibilities. (For example, P(n is even) is the same as saying P(n = 0 or n = 2 or n = 4 or ...) and this requires some care.)

The state space is a measure space (usually a probability space). The dynamics are a measure-preserving function.

Most of this body of theory is concerned with ergodicity and other types of "mixing". It is interested in understanding how much the dynamics of a particular system scramble up the state space over time. I think this is potentially important because if the state space necessarily gets all mixed up, then you can't optimize the state.

Key example: Irrational rotations

Key example: 2x mod 1 (has many names)

Topological dynamics (especially symbolic dynamics)

Topology is one of the most important types of structure in mathematics.[2] One of the most common (and most intuitive) types of topologies is a distance metric, that is, a way to say how far apart any two points are in the normal sense. Given a topology, you can talk about things like convergence and continuity.

I'm a big fan of an alternative characterization, which is that "topology is the logic of finite observations". This bears much explanation, but suffice it to say that if you are making observations of an underlying state space, then I think it's appropriate to use a topological space to formalize those observations.

A topological dynamical system has a topological space as its state space, and a continuous function for its dynamics. To define optimization via attractors, one must use a topological system. Similar to the above, one can also often talk about degrees of "mixing" in a purely topological sense.

In symbolic dynamics, you consider possible observations at each time step. You then construct a topological system via all possible sequences of observations.

Key example: also the irrational rotations

Key example: Cantor space with the shift map

Computability

In computability theory, your state space is an infinite binary tape, along with the finite internal state of the Turing machine. Your dynamics are the finite collection of "if-then" conditions that define the particular Turing machine. (Note that computability theory does not usually think in these terms.)

For the purpose of modelling the world, we probably want to allow the dynamics to have some randomness. This can be done in a number of ways, including giving the Turing machine a read-only "tape" that is essentially filled with coin flips.

Key example: Reading most anything about computability theory will give you a good sense of this field.

Key example: deterministic finite automata

 

For the purposes of agent foundations, it's important to note that none of these types of systems are "open" or "interactive" as typically defined, so they need to be modified to acted upon by an agent.

Interactions between the types

I'll note that my main goal is not to find one big, all-encompassing generalization that unites these frameworks. I mean, I'm not not trying to do that, but it's not a priority. Theorems are tools that tell us things like, "insofar as the situation can be well-modeled by abstraction A, then B follows". AI systems will sometimes be well-modeled by different types of systems in different contexts, so theorems about each of them could be useful in those contexts.

It's also been interesting to notice how much these systems do interact in the literature. I started out in a phase of "I have no idea what the categories are", then moved into a phase of "I now feel that these categories are very clearly separated and well-defined", and am now moving into a phase of "hm, actually it seem like these categories are frequently blurred in practice".

For example, there is huge over lap between topology and measure theory. Their definitions are only a few symbols off, which is pretty suggestive. I'm currently reading through a book on ergodic theory, which is nominally a sub-field of measure theory. But I noticed topological concepts popping up often. Eventually, I started annotating the book with all the mentions of topology. One pattern I've found is that most of the definitions are purely measure-theoretic, but many of the meaty theorems require topological assumptions.

One type of measure space is a Borel measure, which is when you take a topological space and derive a measure space from it. It's very very common but by no means universal. It may be that I eventually decide that most useful examples are of this type.

Another example is that, since computability naturally happens on infinite binary strings, the state space (ignoring the machine state) has a natural topology and measure space, which comes from Cantor space.

Another thing that has historically confused me quite a bit is that stochastic processes and measure-preserving dynamical systems are essentially the same, but with very different perspectives. Given a system of one type, you can convert it to a system of the other type. Neither field mentions this almost ever, and it's unclear to me how much insight is being lost due to this.

Levels above mine

I have by no means gotten the sense that I am "done" with this branch of exploration. There are several other resources that I have attempted to read, but have given up on, because I clearly lack the prereqs. Perhaps I'll try again in 6 months.

The clear front-runner here is category theory. If you look at, for example the list of Safeguarded AI theory projects funded by ARIA, you'll see tons of category theory. I look forward to one day grokking categorical systems theory, coalgebras, and string machines.

  1. ^

    Much earlier in my learning journey, I wrote A dynamical systems primer for entropy and optimization, which is similar but focuses on classifying systems by the cardinality of their space and time. This is mostly orthogonal to the classification in this post, and less important.

  2. ^

    The thing about donuts and coffee cups is algebraic topology, which I think is a misleading example for most purposes.



Discuss

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

AI代理基础 随机过程 遍历理论 拓扑动力学 可计算性 数学框架 Agent Foundations Stochastic Processes Ergodic Theory Topological Dynamics Computability Mathematical Frameworks
相关文章