frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A Random Walk in 10 Dimensions (2021)

https://galileo-unbound.blog/2021/06/28/a-random-walk-in-10-dimensions/
128•just_human•1d ago

Comments

smokel•1d ago
> There is one chance in ten that the walker will take a positive or negative step along any given dimension at each time point.

This confused me a bit. To clarify: at each step, the random walker selects a dimension (with probability 1/10 for any given dimension), and then chooses a direction along that dimension (positive or negative, each with probability 1/2). There are 20 possible moves to choose from at any step.

mturmon•1d ago
Thanks for this. It goes back to the node connectivity graphs he shows just above that statement.

He is thinking about a random choice among the 20 edges branching out from each vertex.

atoav•1d ago
I thought multidimensional random walkers would make random choices on all dimensions, so:

  step = [random.choice([-1,0,1]) for _d in range(n_dimensions)]  
  
At least this is how I did 2D random walks as this allows for diagonal steps (with the downside that the walker travels longer steps in that direction).
smokel•1d ago
The common definition for random walks moves only by unit vectors. Unfortunately, the information on Wikipedia is somewhat limited. The book "Random Walk: A Modern Introduction" (2010) by Gregory Lawler describes things in the first chapter, and is available online for free [1].

[1] https://www.math.uchicago.edu/~lawler/srwbook.pdf

lordnacho•1d ago
Tangentially related:

https://www.youtube.com/watch?v=iH2kATv49rc

Turns out there is a very interesting theorem by Polya about random walks that separate 1 or 2 dimensional random walks from higher dimensional ones. I thought I'd link this video, because it's so well done.

just_human•1d ago
Love this quote from Shizuo Kakutani to describe Polya's result: "A drunk man will find his way home, but a drunk bird may get lost forever."
antognini•1d ago
The behavior of a random walk in a high dimensional space can be counter-intuitive. If you take the random walk trajectory and then perform principal components analysis on it, it turns out more than half of the variance is along a single direction. More than 80% is along the first two principal components.

To make matters even more surprising, if you project the random walk trajectory down into these PCA subspaces they are no longer random at all. Instead the trajectory traces a Lissajous curve. (For example see figure 1 of this paper: https://proceedings.neurips.cc/paper/2018/file/7a576629fef88...)

jadbox•1d ago
Thank you for sharing. Learning about PCA subspaces and Lissajous curves wasn't originally on my agenda today.
vladimirralev•1d ago
They say "these results are completely general for any probability distribution with zero mean and a finite covariance matrix with rank much larger than the number of steps". It's not clear to me if that condition implies the number of steps is much lower than the dimensions of the random walk space or perhaps the probability distribution needs to be concentrated into a smaller number of dimensions to begin with? In which case the results is much less shocking.
antognini•1d ago
The condition is the former. The probability distribution spans the full dimensionality of the space. Basically, the result will hold for an infinite number of dimensions and a finite number of steps. But it will also hold if you take both the number of steps and the dimensionality to infinity while holding the ratio N_steps / D constant with N_steps / D << 1.
thirtygeo•21h ago
I use PCA quite often for a variety of signal enhancement tasks in natural sciences. This paper presented something that I would not have expected and I found it really interesting.
MarkusQ•1d ago
> On the other hand, a so-called mountain peak would be a 5 surrounded by 4’s or lower. The odds for having this happen in 10D are 0.2*(1-0.8^10) = 0.18. Then the total density of mountain peaks, in a 10D hyperlattice with 5 potential values, is only 18%.

I believe the odds are actually

0.2 (odds of it being a 5) ×

0.8^10 (odds of each of the neighbors being ∈ {1,2,3,4})

which is ~0.021 or around 2%. This makes much more sense, since 18% of the nodes being peaks doesn't sound like they are rare.

ted_dunning•21h ago
Even if you assume that they are asking about when given a node is a 5 what is the probability it will not have any 5 as a neighbor the result is about 10% which is your result without the leading 0.2.

That's still not what they got.

ngriffiths•1d ago
> Therefore, despite the insanely large number of adjustable parameters, general solutions, that are meaningful and predictive, can be found by adding random walks around the objective landscape as a partial strategy in combination with gradient descent.

Are there methods that specifically apply this idea?

I guess this is a good explanation for why deep learning isn't just automatically impossible, because if local minima were everywhere then it would be impossible. But on the other hand, usually the goal isn't to add more and more parameters, it's to add just enough so that common features can be identified but not enough to "memorize the dataset." And to design an architecture that is flexible enough but is still quite restricted, and can't represent any function. And of course in many cases (especially when there's less data) it makes sense to manually design transformations from the high dimensional space to a lower dimensional one that contains less noise and can be modeled more easily.

The article feels connected to the manifold hypothesis, where the function we're modeling has some projection into a low dimensional space, making it possible to model. I could imagine a similar thing where if a potential function has lots of ridges, you can "glue it together" so all the level sets line up, and that corresponds with some lower dimensional optimization problem that's easier to solve. Really interesting and I found it super clearly written.

tech_ken•1d ago
> Are there methods that specifically apply this idea?

Stochastic gradient descent is basically this (not exactly the sane, but the core intuitions align IMO). Not exactly optimization but Hamiltonian MCMC also seems highly related.

> I could imagine a similar thing where if a potential function has lots of ridges, you can "glue it together" so all the level sets line up, and that corresponds with some lower dimensional optimization problem that's easier to solve.

Excellent intuition, this is exactly the idea of HMC (as far as I recall); the concrete math behind this is (IIRC) a "fiber bundle".

evanb•1d ago
HMC was essentially designed to mix random walks (the momentum refresh step) with gradient descent (that is, the state likes to 'roll down the potential' ie. minimize the action (loss)).

New method to synthesize carbohydrates could pave the way to biomedical advances

https://phys.org/news/2025-08-method-carbohydrates-pave-biomedical-advances.html
2•PaulHoule•2m ago•0 comments

Speech Repo is widely used in daily communication scenarios

https://github.com/tabelf/speech-repo
1•1437173153•2m ago•0 comments

Jury Instructions Rodriguez v. Google (3:20-cv-04688-RS) [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.362381/gov.uscourts.cand.362381.666.0.pdf
2•1vuio0pswjnm7•3m ago•0 comments

Thinkspot Is Closing Down

https://www.thinkspot.com/discourse/Dpu8Kz/post/thinkspot/a-heartfelt-goodbye-to-our-amazing-comm...
2•felineflock•4m ago•0 comments

Rare and Old Computers

https://randoc.wordpress.com/
1•pabs3•7m ago•0 comments

Flock Safety currently solves 700k reported cases of crime per year

https://twitter.com/garrytan/status/1963256544524640456
1•nationsecwatch•12m ago•2 comments

Show HN: Nano Banana Prompt Collection

https://nanobananaprompt.app
1•jacksonLiu89•16m ago•0 comments

It's past time to start protecting US nuclear power reactors from drones

https://thebulletin.org/2025/09/its-past-time-to-start-protecting-us-nuclear-power-reactors-from-...
1•pseudolus•17m ago•0 comments

cparted – curses front end to pyparted that mimics cfdisk

https://github.com/dcampbell24/cparted
1•pabs3•19m ago•0 comments

Using AI to perceive the universe in greater depth

https://deepmind.google/discover/blog/using-ai-to-perceive-the-universe-in-greater-depth/
1•diwank•21m ago•0 comments

Tech CEOs take turns praising Trump

https://www.wsj.com/politics/trump-tech-ceo-rose-garden-dinner-1fee2de3
7•SanjayMehta•22m ago•1 comments

Why the Internet Is Worse Than Ever

https://macleans.ca/society/why-the-internet-is-worse-than-ever/
2•bookofjoe•22m ago•0 comments

Show HN: A credibility-based social platform (no Likes) to fight misinformation

https://noblenews.io
2•whatsyoursource•24m ago•3 comments

You Know What to Do

https://staysaasy.com/management/2025/08/21/you-know-what-to-do.html
1•thisismytest•30m ago•0 comments

simonw has vibe-coded 124 useful tools

https://simonwillison.net/2025/Sep/4/highlighted-tools/
1•doppp•31m ago•0 comments

What My Father Taught Me About Bullies

https://robertreich.substack.com/p/what-my-father-taught-me-about-bullies
1•hkhn•33m ago•0 comments

Look on my works, ye Mighty

https://snyder.substack.com/p/look-on-my-works-ye-mighty
1•hkhn•33m ago•1 comments

AI Snacks: Small Ways to Sprinkle AI into Everyday Tools

https://amirmalik.net/2025/09/05/ai-snacks-sprinkle-ai-into-everyday-tools
1•ammmir•34m ago•0 comments

David Walker's Paper Clip Collection

https://www.presentandcorrect.com/blogs/blog/david-walkers-paper-clip-collection
1•NaOH•35m ago•0 comments

Rats walk again after breakthrough spinal cord repair with 3D printing

https://www.sciencedaily.com/releases/2025/08/250826005226.htm
3•lucaslazarus•37m ago•1 comments

JetKVM

https://jetkvm.com
1•fenced_load•41m ago•0 comments

Smart Speed – adjusts YouTube playback speed based on real-time audio using AI

https://github.com/skorotkiewicz/youtube-smart-speed
1•modinfo•42m ago•0 comments

Multicolored glow-in-the-dark succulents that recharge in sunlight

https://www.livescience.com/planet-earth/plants/chinese-scientists-create-multicolored-glow-in-th...
2•gmays•43m ago•0 comments

Artificial sweeteners can harm cognitive health equivalent to 1.6 years of aging

https://www.theguardian.com/food/2025/sep/03/sweeteners-can-harm-cognitive-health-equivalent-to-1...
1•OutOfHere•43m ago•2 comments

You will blame the wrong people

https://geohot.github.io//blog/jekyll/update/2025/09/01/you-will-blame-the-wrong-people.html
1•ambigious7777•45m ago•0 comments

Simplify multi-tenant encryption with a cost-conscious AWS KMS key strategy

https://aws.amazon.com/blogs/architecture/simplify-multi-tenant-encryption-with-a-cost-conscious-...
1•cebert•46m ago•0 comments

Axis of Evil 2.0

https://thedispatch.com/newsletter/boilingfrogs/trump-polar-xi-putin-america/
2•nationsecwatch•49m ago•1 comments

What If We're Doing AI All Wrong?

https://www.bloomberg.com/news/features/2025-09-03/the-ai-pioneer-trying-to-save-artificial-intel...
1•danielcampos93•51m ago•0 comments

5 Years On, China's Property Crisis Has No End in Sight

https://www.nytimes.com/2025/08/25/business/china-property-downturn.html
7•theconomist•52m ago•0 comments

Marc Benioff says Salesforce has cut 4k roles in support because of AI agents

https://www.businessinsider.com/marc-benioff-says-salesforce-cut-4000-roles-because-of-agents-2025-9
3•wslh•56m ago•0 comments