LESSWRONG
LW

1832
Dalcy
929Ω42111360
Message
Dialogue
Subscribe

Nothing is "mere." I, too, can see the stars on a desert night, and feel them. But do I see less or more? The vastness of the heavens stretches my imagination - stuck on this carousel, my little eye can catch one-million-year-old light. A vast pattern - of which I am a part - perhaps my stuff was belched from some forgotten star, as one is belching there. Or see them with the greater eye of Palomar, rushing all apart from some common starting point when they were perhaps all together. What is the pattern, or the meaning, or the why? It does not do harm to the mystery to know a little about it.

                          - Richard P. Feynman on The Relation of Physics to Other Sciences

Posts

Sorted by New

Wikitag Contributions

Comments

Sorted by
Newest
No wikitag contributions to display.
1Dalcy's Shortform
3y
134
The Doomers Were Right
Dalcy6d135

Doomers predicted that the Y2K bug would cause massive death and destruction. They were wrong.

This seems like a misleading example of doomers being wrong (agree denotationally, disagree connotationally), since I think it's plausible that Y2K was not a big deal (to such an extent that "most people think it was a myth, hoax, or urban legend") precisely because of the mitigation efforts stemmed by the doomsayers' predictions.

Reply
Dalcy's Shortform
Dalcy16d60

Becoming Stronger™ (Sep 28 - Oct 12)

Notes and reflections on the things I've learned while Doing Scholarship the last two week (i.e. studying math).

Mostly the past two weeks were on differential geometry (Lee):

  • Ch 4 (Submersion, Immersion, Embedding) comments:
    • Conceptually, by the Constant rank theorem, constant rank maps (smooth maps whose differential dFp:TpM→TF(p)N is constant rank at all p) are precisely the maps with a linear local coordinate representation (thus are maps well-modeled locally by its differentials).
      • Basically a nonlinear version of the linear algebra theorem that any square matrix can be expressed as [Ir000]. The proof is much more complicated however: basically a clever choice of coordinate transformation via the inverse function theorem.
    • The point of the chapter is to come up with various characterizations of submersion, immersion, embedding. For example, 1) smooth immersion iff locally smooth embedding, 2) smooth submersion iff every point is an image of a local section, 3) surjective maps => submersion & injective => immersion ...
      • The proof of 3) is a very cool application of the Baire category theorem. Baire category theorem says the countable union of nowhere dense sets has empty interior; this is not very motivating, but reading Bredon[1] helped clarify its conceptual significance.
        • Namely, consider the more illuminating contrapositive statement: countable intersection of dense open sets is dense. Conceptually, the space is some configuration space, and dense open sets represent configurations that satisfy certain generically satisfied constraints (polynomial p(x) being nonzero is a prototypical example, which is a dense & open set). Then, the question is whether the property of a countable number of these constraints being satisfied at the same time is still generic, i.e. dense. The Baire category theorem says this is indeed the case (for locally compact Hausdorff spaces).
    • Sections are just right inverses, and their intuitive geometric content was a bit confusing until I read the wikipedia page: a section of f is an abstraction of a graph by viewing f as a sort of "projection map." That makes sense! I'm sure this will come up later in the fiber bundle context.
    • The "figure-eight curve" and "dense torus map" as prototypical examples of smooth immersions that isn't a smooth embedding, due to topological considerations.
  • Ch 5 (Submanifold) comments:
    • Similar to Ch 4, many useful characterizations of submanifolds and how to generate them. eg embedded submanifold iff locally a "slice" of the ambient manifold's coordinate chart. embedded submanifold iff image of smooth embedding, immersed submanifold iff image of smooth immersion. Level sets of a smooth map at a "regular value" are embedded submanifolds ...
  • Ch 6 (Sard's theorem) comments:
    • Finally, one of the more fun chapters! Finally learned the proof of the Whitney embedding / immersion theorem that I've heard a lot about.
    • The compact case of the Whitney embedding theorem is much more conceptually straightforward:
      1. Given a m (finite, possible since compact) chart of the n-dim manifold, literally just adjoin them while multiplying them with appropriate partitions of unity to get a M→Rnm map, and adjoin the m partitions of unity (a "chart indicator variable") to get a M→Rnm+m map. This turns out to be an immersion, and thus an embedding since M is compact.
      2. Apply the projection map RN→RN−1 with a 1-dim kernel Rv. By Sard's theorem, this turns out to be an immersion (when restricted to M) for almost any choice of v, as long as N>2n+1. Repeatedly apply this to the massive codomain M→Rnm+m to get an immersion to R2n+1.
      3. This projection map can in fact be promoted to an embedding, given that the original immersion of M to R^n is an embedding.
    • High-level takeaways:
      • The most dumb and obvious way of interpolating coordinate charts into a global map via partitions of unity, with slight modifications, gives a bona fide immersion of a manifold into RN!!
        • It was interesting to learn that there was a 1-2 decade period of foundational uncertainty (between the first proposal of the abstract manifold definition and Whitney's above proof) where people didn't know whether the abstract manifold definition was actually more general than RN or not.[2]
        • Partitions of unity really is used everywhere. I wonder how the theory of complex analytic manifolds ever do anything when analytic partitions of unity don't exist.
      • Proof strategy of promoting a smooth map to a proper map (at the cost of increased dimensionality of the codomain) by literally adjoining a proper map next to it. Clever!
        • I presume this is the main motivation behind exhaustion functions (f:M→R s.t. f−1((−∞,c]) is compact ∀c∈R). It's a proper map, it exists for any manifolds (again, shown by partitions of unity), and has codomain of dimension 1 so it minimally increases the function codomain dimension.
    • More applications on Whitney approximation theorems and transversality arguments.
      • The latter, including the transversality homotopy theorem (actually learned this a year ago in my difftop class, though that class used Guillemin's book where manifolds are always embedded in RN - so it's good to learn them from a more intrinsic perspective) is very interesting.
      • It also ties to one of my motivation for all this math learning, backchaining from trying to do good alignment theory work, which is learning the math of structural stability and its role in the theory of forms (morphogenesis) cf Thom, Structural Stability and Morphogenesis (thank you Dan Murfet for explaining this perspective).

Rabbit holes that I could not afford to pursue:

  • The category of smooth manifolds is an idempotent-splitting completion of the category of open subspaces of findim cartesian spaces?!?!?! My mind is blown.
    • So much more elegant than the standard definition via charts and maximal smooth structures and such. Unsure of the utility of this characterization though, lol (read Lawvere's paper).
  • There is a duality between the category of smooth manifolds and the category of R-algebras. Fascinating how such dualities between algebra and geometry seem to be a very common motif throughout different fields, I'm sure this will come up in Vakil's book later. Also curious about Gelfand's duality on this for topological spaces.
  • "It is better to have a good category with bad objects than a bad category with good objects." - Grothendieck (probably not). For example, the category of smooth manifolds is not nice, motivating smooth sets, diffeological spaces, and so on.
    • Dichotomy between nice objects and nice categories: in the context of alignment theory, maybe I can view Programs as Singularities as enlarging an instantiation of this idea by enlarging the class of Turing machines.
  • I found this intuition for adjoint functors illuminating. Specifically, note set maps f:X→Y and g:Y→X being inverses are equivalent to the condition that their graphs are mirrored along the diagonal, i.e. (x,f(x))=(g(y),y). Rephrase this using Kronecker delta, δ(x,g(y))=δ(f(x),y). Now δ can be seen as expressing a "relation" that could be exhibited by two elements of a set, i.e. equality (1) or inequality (0). But in general categories, objects can exhibit more relations - so replace δ by Hom - you get adjoint functors!
  1. ^

    Example of how reading books in parallel improves learning efficiency.

  2. ^

    Why that long? The dimensionality reduction by projection is perhaps more nontrivial because of Sard, but the obvious gluing should have been sufficient to construct an immersion at least, albeit at the cost of inefficient codomain dimension. Maybe the historically difficult part was the concept of partition of unity and that it always exist in manifolds?

Reply2
Dalcy's Shortform
Dalcy1mo30

Thanks for the recommendation! Woit's book does look fantastic (also as an introduction to quantum mechanics). I also known Sternberg's Group Theory and Physics to be a good representation theory & physics book.

I did encounter Brown's book during my search for algebraic topology books but I had to pass it over Bredon's because it didn't develop the homology / cohomology to the extent I was interested in. Though the groupoid perspective does seem very interesting and useful, so I might read it after completing my current set of textbooks.

Reply
Dalcy's Shortform
Dalcy1mo*160

Becoming Stronger™ (Sep 13 - Sep 27)

Notes and reflections on the things I've learned while Doing Scholarship this week (i.e. studying math)[1].

  • I am starting to see the value of categorical thinking.
    • For example from [FOAG], it was quite mindblowing to learn that stalk (the set of germs at a point) can be equivalently defined as a simple colimit of sections of presheaf over open sets of X containing a point, and this definition made proving certain constructions (eg inducing a map of stalks from a map ϕ:X→Y) very easy.
    • Also, I was first introduced the concept of presheaf as an abstraction of a map that takes open sets and returns functions over it, abstracting properties like there existing a restriction map that composes naturally. Turns out (punchline, presumably) this is just a functor Open(X)Op−>Set!
  • Yoneda lemma is very cool. I recall seeing some of the ideas from Programs as Singularities (paper), where there are ideas of embedding programs (for the analogue in Yoneda lemma, the Yoneda embedding being a fully faithful functor from some category C ... ) into a different space (... to the category SetC ...) that contains "almost programs" ( ... because the Yoneda embedding is not surjective, let alone essentially surjective), and that studying this enlarged space lends insight into the original space.
    • Rabbit hole: Yoneda lemma as expressing consistency conditions on Lawvere's idea of Space and Quantity being presheaf and copresheaf??
  • I am also starting to more appreciate the notion of sheaf or ringed spaces from [FOAG] - or more generally, the notion that a "space" can be productively studied by studying functions defined on it. For example I learned from [Bredon] that a manifold, whose usual definition is a topological space locally homeomorphic to a Euclidean space, can equivalently be defined as a ringed space whose structure sheaf is valued in some subalgebra of continuous maps over a given open set. Very cool!
  • Started reading [Procesi] to learn invariant theory and representation theory because it came up quite often as my bottleneck in my recent work (eg). Also interpretability, apparently. So far I just read pg 1-9, reviewing the very basics of group action (e.g., orbit stabilizer theorem). Lie groups aren't coming up until pg ~50 so until then I should catch up on the relevant Lie group prerequisites through [Lee] or [Bredon].
  • Also reviewed some basic topology by skimming pg 1-50 of [Bredon]. So many rabbit holes just in point-set topology that I can't afford (time-wise) to follow, e.g.,
    • (1) nets generalize sequences and successfully characterize topological properties - I once learned of filters, and I do not yet know how they relate (and don't relate constructively + why constructively filters are more natural) and especially universal net vs ultrafilter
    • (2) I didn't know that manifolds are metrizable, but yes they are by an easy consequence of the Urysohn metrization theorem (second-countable & completely regular => metrizable). But I would like to study this proof in more detail. Also, how to intuitively think about the metric of a manifold?
      • I didn't know that the proof to Urysohn metrization was this nice! It's a consequence of the following lemma: recall, "completely regular" means given a point x and a closed set x∉C, there exists a continuous f:X→[0,1] s.t. f(x)=0 and f(C)=1. BUT adding second-countability to the hypothesis then lets you choose this f from a fixed, countable family F.
      • Then, mapping X under this countable family of functions (thus taking value in [0,1]N) turns out to be an embedding - and [0,1]N can be metrized, so X can be metrized as well.
    • (3) I learned about various natural variants / generalizations of compactness (σ-compactness, local compactness, paracompactness). My understanding of their importance is because:
      • (a) paracompactness implies the existence of partition of unity subordinate to any open cover (a consequence of paracompactness => normal, and Urysohn's lemma, also paracompactness by definition allowing you to find the open refinement of the given open cover as required by the definition of partition of unity subordinate to an open cover.)
      • (b) for locally compact Hausdorff X, we can characterize paracompactness by "disjoint union of open σ-compact subsets," which is much easier to check than the definition of paracompactness as locally finite open refinement of open covers.
        • e.g., from this, it is immediate that manifolds are paracompact: (1) locally Euclidean => locally compact. (2) Second-countable => Lindelof. (3) Lindelof & locally compact => σ-compact. (1) & (2) & (3) + above => manifolds are paracompact. From which other properties of manifolds immediately follow from that of paracompactness, eg manifolds always admit a partition of unity subordinate to any open cover.
      • But rabbit hole: recall, open sets axiomatize semidecidable properties. What is, then, the logical interpretation of compactness, σ-compactness, local compactness, paracompactness?

This week, I'll start tracking the exercises I solve and pages I cover and post them in next week's shortform (EDIT: biweekly), so that I can keep track of my progress + additional accountability.

  1. ^

    I am self-studying math. The purpose of this shortform is to publicly write down:

    1. things I've learned each week,
    2. my progress through the textbooks I've committed to read[2], and
    3. other learning-related reflections,

    with the aim of:

    1. allocating some time each week reflecting on what I've learned to self-improve,
    2. be kept socially accountable by publicly committing on making progress and actually sticking through the textbooks,
    3. and write / think in public which I enjoy doing so.
  2. ^

    I am currently reading the following textbooks:

    • [Lee]: Lee, Smooth Manifolds
    • [Bredon]: Bredon, Topology and Geometry
    • [FOAG]: Vakil, Foundations of Algebraic Geometry
    • [Procesi]: Procesi, Lie Groups: An Approach through Invariants and Representations

    and I plan to do most of the exercises for each of the textbooks unless I find some of them too redundant. For this week's shortform I haven't written down my progress this week on each of these books nor the problems I've solved because I haven't started tracking them, so I'll do them starting next week.

Reply11
Dalcy's Shortform
Dalcy1mo81

A simple sketch of the role data structure plays in loss landscape degeneracy.

The RLCT[1] is a function of both q(x) and p(x|θ). The role of p(x|θ) is clear enough, with very intuitive examples[2] of local degeneracy arising from the structure of the parameter function map. However until recently the intuitive role of q(x) really eluded me.

I think I now have some intuitive picture of how structure in q(x) influences RLCT (at least particular instances of it). Consider the following example.

Toy Example: G-invariant distribution, G-equivariant submodule

Suppose the true distribution is (1) realizable (p(⋅|θ∗)=q(⋅) for some θ∗), (2) invariant under some group action, q(x)=q(gx)∀x. Now, suppose that the model class is that of exponential models, i.e. p(x|w)∝exp(⟨θ,T(x)⟩). In particular, suppose that T, the fixed feature map, is G-equivariant, i.e. ∃ρ:G→GL(Rd) such that T(gx)=ρ(g)T(x).

Claim: There is a degeneracy of the form p(x|θ∗)=p(x|ρ(g)∗(θ∗)), and in particular if G is a Lie group, the rank upper bound of RLCT decreases by 14dimG.

This is nothing nontrivial. The first claim is an immediate consequence of the definitions:

  • p(⋅|θ∗)=q(⋅) and q(x)=q(gx) implies p(x|θ∗)=p(gx|θ∗)∀x
  • Then, we have the following:
    p(gx∣θ∗)=exp(⟨θ∗,T(gx)⟩)=exp(⟨θ∗,ρ(g)T(x)⟩)=exp(⟨ρ∗(g)(θ∗),T(x)⟩)=p(x∣ρ(g)∗(θ∗)).

... and the latter claim on RLCT is a consequence of p(x|θ∗)=p(x|ρ(g)∗(θ∗)) reducing the rank of L(θ) at θ∗ by dimG together with the rank upper bound result here.

High-level idea: Emulability of input symmetry

While this model is very toy, I think the high-level idea for which this a concrete model of is interesting: Abstracting out, the proof of how data structure influence degeneracy routes through two steps:

  • The true distribution has some structure / symmetry, say, q(x)=q(x+δx)∀x (with δx as a function of x, indicating some infinitesimal change; all of this is meant to be taken heuristically), which gets imparted onto p(⋅|θ∗) by realizability, i.e. p(x|θ∗)=p(x+δx|θ∗)∀x.
  • Emulatability: At θ∗, the model can "emulate" certain classes of perturbations to certain classes of input x by instead perturbing the parameters, i.e. p(x+δx|θ∗)=p(x|θ∗+δθ).[3]

Basically, (1) realizablity imparts input-symmetry to p(⋅|θ∗), and (2) emulatability essentially "push-forwards" this to a symmetry in the parameters[4]. I think this is very interesting!

  • Story: Suppose I am tasked with image segmentation, but my visual cortex is perturbed by δθ, causing me to perceive colors with a slightly different hue. Then, if my visual cortex wasn't perturbed but rather the world's color shifted to that hue i.e. δx, then I would virtually not notice anything and be making the same predictions p(x+δx|θ∗)=p(x|θ∗+δθ).

Going back to the exponential model, the most unrealistic part of it (even after taking into account that it is a toy instantiation of this high-level idea) is the fact that its symmetry is generic: p(gx|θ)=p(x|ρ(g)∗(θ)) holds for ALL θ, since the G-equivariant T is independent of θ. A more realistic model would look something like p(x|w)∝exp(⟨θ1,Tθ2(x)⟩) where T also depends on θ2 and importantly, whether T satisfies G-equivariance depends on the value of θ2.

Then, if pθ∗=pθ′∗=q but θ∗ makes T G-equivariant while θ′∗ doesn’t, then the rank upper bound of the RLCT for the former is lower than that of the latter (thus θ∗ would be represented much more greatly in the Bayesian posterior).

This is more realistic, and I think sheds some light on why training imparts models with circuits / algorithms / internal symmetries that reflect structure in the data.

(Thanks to Dan Murfet for various related discussions.)

  1. ^

    Very brief SLT context: In SLT, the main quantity of interest is RLCT, which broadly speaking is a measure of degeneracy of the most degenerate point among the optimal parameters. We care about this because it directly controls the asymptotics of the Bayesian posterior. Also, we often care about its localized version where we restrict the parameter space W to an infinitesimal neighborhood (germ) of a particular optimal parameter we're interested in measuring the degeneracy of.

    RLCT is a particular invariant of the average log likelihood function L(θ)=∫q(x)logp(x|θ)dx, meaning it is a function of the true distribution q(x) and the parametric model p(x|θ) (the choice of the prior φ(θ) doesn't matter under reasonable regularity conditions).

  2. ^

    Given a two layer feedforward network with ReLU, multiply the first layer by α and dividing the next by α implements the same function. Many other examples, including non-generic degeneracies which occur at particular weight values unlike the constant multiplication degeneracy which occurs at every θ; more examples in Liam Carroll's thesis.

  3. ^

    This reminds me of the notion of data-program equivalence (programs-as-data, Gödel numbering, UTM). Perhaps some infinitesimal version of it?

  4. ^

    Let the input-side symmetry to be trivial (i.e. δx=0), and we recover degeneracies originating from the structure of the parameter-function map alone as a special case.

Reply111
The Hessian rank bounds the learning coefficient
Dalcy3mo80

Found a proof sketch here (App. D.3), couldn't it find elsewhere in canonical SLT references eg gray book. Idea seems simple:

  1. (We'll prove it for the local RLCT because the splitting lemma most naturally applies when dealing with local diffeomorphisms - but if you're interested in the statement for the global RLCT, then since RLCT is min over local RLCT (3.2.2), just work with the local RLCT at the minimizing point and the rest of the argument follows)
  2. Local RLCT is invariant under local diffeomorphism, easy to prove by the volume scaling formula (check exercise 17).
  3. Apply the splitting lemma (elementary proof in Gilmore 3.4) to locally express the function as a quadratic in the nondegenerate plus the rest.
  4. Use Remark 7.2.3 in the gray book which says that if K(wa,wb)=Ka(wa)+Kb(wb) and φ(wa,wb)=φa(wa)φb(wb) (which the change of variable in the splitting lemma satisfies), then λ=λa+λb (also easy to prove with the volume scaling formula).
  5. So λ is lower-bounded by the RLCT in the quadratic part, which is d12 (again easy to prove with the volume scaling formula, check pg 17 here)
Reply
Singular learning theory: exercises
Dalcy3mo10

∇wlog(p(y|x,w))=−(y−f(w)(x))T⋅Jf(w)(x)

There shouldn't be a negative sign here (14a).

(will edit this comment over time to collect typos as I find them)

Reply1
If Anyone Builds It, Everyone Dies: Advertisement design competition
Dalcy4mo2-2

The fourth one is great.

Reply1
X explains Z% of the variance in Y
Dalcy4mo40

Conventionally Var[Y|X] is a random variable, just like how E[Y|X] is a random variable. To be fair the conventions are somewhat inconsistent, given that (as you said) H(Y|X) is a number.

Reply
satchlj's Shortform
Dalcy6mo40

Previous discussion, comment by johnswentworth:

Relevant slogan: Goodheart is about generalization, not approximation.

[...]

In all the standard real-world examples of Goodheart, the real problem is that the proxy is not even approximately correct once we move out of a certain regime.

Reply
Load More
29Towards building blocks of ontologies
9mo
0
45What's the Right Way to think about Information Theoretic quantities in Neural Networks?
Q
9mo
Q
13
28Proof Explained for "Robust Agents Learn Causal World Model"
10mo
0
67An Illustrated Summary of "Robust Agents Learn Causal World Model"
Ω
10mo
Ω
2
26Money Pump Arguments assume Memoryless Agents. Isn't this Unrealistic?
Q
1y
Q
6
38But Where do the Variables of my Causal Model come from?
Ω
1y
Ω
2
27Why do Minimal Bayes Nets often correspond to Causal Models of Reality?
Q
1y
Q
1
42When Are Results from Computational Complexity Not Too Coarse?
1y
8
26Epistemic Motif of Abstract-Concrete Cycles & Domain Expansion
2y
2
23Least-problematic Resource for learning RL?
Q
2y
Q
9
Load More