953 karma · joined Sep 6, 2023 (3y ago) · 548 submissions
comment 1y ago · link · parent
One man's modus ponens is another man's modus tollens.
"I'm trying arc-agi tests now and it's looking bad for me. I am not robust to adversarial attacks. I think I'm not generally intelligent."
comment 1y ago · link · parent
(2) Suppose you need insulin to live, but it's suddenly become a meme to start snorting insulin and all the stupids make the price shoot through the roof. That's what stupid people "making prices irrational" looks like, and it happens with fads, or inferior products, or even allowing actual scams to be posted in online marketplaces. Happy smiles on paid actors should not be enough to make your product more appealing than your competitors', and yet the stupids will drive out of business people who don't engage in such pathological behavior.
comment 1y ago · link · parent
comment 1y ago · link · parent
- Reinforcement Learning (2026)
- General Intelligence (2027)
- Continual Learning (2028)
EDIT: lol, funny how the idiots downvote
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Okay, so my PixelCNN masking was wrong... which is why it went to the mean. The earth-mover did get better results than negative log-likelihood, but I found a better solution!
The issue with negative log-likelihood was the neural network could optimize solely around zero and one because there are poles there. The key insight is that the color value in the image is not zero or one. If we are given #00, all we really know is the image from the real world had a brightness between #00 and #01, so we should be integrating the probability density function from 0 to 1/256 to get the likelihood.
It turns out PyTorch does not have a good implementation of Beta.cdf(), so I had to roll my own. Realistically, I just asked the chatbots to tell me what good algorithms there were and to write me code. I ended up with two:
(1) There's a known continued fraction form for the CDF, so combined with Lentz' algorithm it can be computed.
(2) Apparently there's a pretty good closed-form approximation as well (Temme [1]).
The first one was a little unstable in training, but worked well enough (output: [2], color hist: [3]). The second was a little more stable in training, but had issues with nan's near zero and one, so I had to clamp things there which makes it a little less accurate (output: [4], color hist: [5]).
The bits/dim gets down to ~3.5 for both of these, which isn't terrible, but there's probably something that can be done better to get it below 3.0. I don't have any clean code to upload, but I'll probably do that tomrrow and edit (or reply to) this comment. But, that's it for the experiments!
Anyway, the point of this experiment was because this sentence was really bothering me:
> But categorical distributions are better for modelling.
And when I investigated why you said that, it turns out the PixelRNN authors used a mixture of Gaussians, and even said they're probably losing some bits because Gaussians go out of bounds and need to be clipped! So, I really wanted to say, "seems like a skill issue, just use Beta distributions," but then I had to go check if that really did work. My hypothesis was Betas should work even better than a categorical distribution because the categorical model would have to learn nearby outputs are indeed nearby while this is baked into the Beta model. We see the issue show up in the PixelRNN paper, where their outputs are very noisy compared to mine (histogram for a random pixel: [6]).
[1]: https://ir.cwi.nl/pub/2294/2294D.pdf [2]: https://imgur.com/e8xbcfu [3]: https://imgur.com/z0wnqu3 [4]: https://imgur.com/Z2Tcoue [5]: https://imgur.com/p7sW4r9 [6]: https://imgur.com/P4ZV9n4
comment 1y ago · link · parent
After another 24 hours of training and around 100 epochs, we get down to 4.4 bits/dim and colors are starting to emerge[1]. However, an issue a friend brought up is that log-likelihood + beta distribution weights values near 0 and 1 much higher:
log(Beta likelihood) = alpha * log(x) + beta * log(1-x)
^
log(0) --> oo
This means we should see most outputs be pure colors: black, white, red, blue, green, cyan, magenta, or yellow. 3.6% of the channels are 0 or 255, up from 1.4% after 50 epochs[2]. Apparently, an earth-mover loss might be better: E_{x ~ output distribution}[|correct - x|]
I could retrain this for another day or two, but PixelRNN is really slow, and I want to use my GPU for other things. Instead, I trained a 50x faster PixelCNN for 50 epochs with this new loss and... it just went to the average pixel value (0.5). There's probably a way to train a mixture of betas, but I haven't figured it out yet.[1]: https://imgur.com/kGbERDg [2]: https://imgur.com/iJYwHr0
comment 1y ago · link · parent
> High-achieving kids are doing roughly as well as they always have, while those at the bottom are seeing rapid losses
in the article, when they're actually doing much worse as well, which can be seen from the median (or top) scores in STEM competitions. All the financial incentives are for schools and teachers to focus on their bottom 20% of students, and even if they cared about their top students (culturally, most education departments do not), it's not even feasible to collect that data, short of signing everyone up for the AMC 12. So, naturally, the percent of elementary schools offering gifted programs has declined by fifteen (twenty?) percent in the last twenty years, and the general standards and curricula have been lowered to teach to the 20th percentile. This also creates a cultural issue where many students recognize they're bored, and that schools are not trying to teach them, so they become disaffected and stop caring. My friends in high school joked that school was for socializing, and frankly, what other purpose does it serve anymore for most kids?
comment 1y ago · link · parent
-1/η * dw/dt = ∇L - ∇S * ⟨∇L, ∇S⟩/‖∇S‖²
We're projecting the loss gradient onto the sharpness gradient, and subtracting it off. If you didn't read the article, the sharpness S is the sum of the eigenvalues of the Hessian of the loss that are larger than 2/η, a measure of how unstable the learning dynamics are.This is almost Sobolev preconditioning:
-1/η * dw/dt = ∇L - ∇S = ∇(I - Δ)L
where this time S is the sum of all the eigenvalues (so, the Laplacian of L).comment 1y ago · link · parent
comment 1y ago · link · parent
1. Social Security and housing has turned into a huge transfer of wealth from Gen Z to the Boomer generation. I don't believe I will ever receive Social Security benefits, and yet nearly 15% of my salary goes into Social Security. Also, people who own houses vote to keep their housing prices high (through zoning laws), which is... not how "investments" are supposed to work. It'd be like the US government hoarding all the gold when prices get too high. If a house is a place to live (in which case, zoning laws are perfectly fine), property taxes should be high enough that renting out a house is a much worse investment than say, government bonds. If a house is an investment, the protection racket needs to stop.
2. On the other hand, I've seen so many of my peers just... not study. Kids who easily got a 36 on the ACT, but would do the bare minimum in and outside of school. Now they're working pretty normal, white-collar jobs that pay about a median starting salary, but I know they could have easily made $150k+/year in tech if they'd just studied at any point between middle school and college. They probably won't struggle financially, but they won't ever really "make it" ($10m?) either. And, if this is the top of the class, you can imagine what it's like for those without the same natural ability.
So, on the one hand, I absolutely agree that Gen Z should have an easier time with housing, and shouldn't have to pay for their ancestors' unwise debts, but on the other hand, part of the reason they're struggling so much now is because they didn't spend the first twenty years of their life doing the only thing they were asked to do.
comment 1y ago · link · parent
- GPT 3.5: Good for finding reference terms. I could not trust anything it said, but it could help me find some general terms in fields I was unfamiliar with.
- GPT 4: Good for cached, obscure knowledge. I generally could trust the stuff it said to be true, but none of its logic or conclusions.
- GPT 4.5: Good for reference proofs/code. I cannot trust its proofs or code, but I can get a decent outline for writing my own.
- GPT 5: Good for directed thinking. I cannot trust it to come up with the best solution on its own, but if I tell it what I'm working on, it's pretty decent at using all the tricks in its repertoire (across many fields) to get me a correct solution. I can trust its proofs or code to be about as correct as my own. My main issues are I cannot trust it to point out confusion or ask me, "is this actually the problem we should be solving here?" My guess is this is mostly a byproduct of shallow human feedback, rather than an actual issue with intelligence (as it will often ask me at the end of spending a bunch of computation if I want to try something mildly different).
For me, GPT 5 is way more useful than the previous models, because I don't have a lot of paper-pushing problems I'm trying to solve. My guess is the wider public may disagree because it's hard to tell the difference between something better at the task than you, and something much better.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Evidence... yes, that narrowed it down a lot. You're looking for evidence! In a debate! I never could have guessed! Luckily for you, @TMWNN did, and tried to help twice, but clearly they didn't know you were looking for evidence, not whatever they provided.
In case it wasn't clear, I'm being sarcastic. You asked for evidence of a connection, they gave you it twice, and yet it clearly wasn't the evidence you actually wanted because you wouldn't just tell them what you actually wanted!
Also, btw, I never said this guy was prominent. I meant what I said, not something slightly different to further a not-so-hidden agenda.