4,734 karma · joined Jul 6, 2015 (11y ago) · 1,825 submissions
comment 9mo ago · link · parent
https://www.macrumors.com/guide/siri-chatbot/
> Apple is planning to make visual design changes. It's not quite clear what that will entail, but for the upcoming table-top robot that's in the works, Apple has tested an animated version of Siri that looks similar to the Mac's Finder logo.
comment 9mo ago · link · parent
In the past you didn't have to do any of this to be able to have a decent "middle class" living, now if one doesn't do all of that then they are already behind in the "rat race". I forgot where i read it, but basically in society we've removed any "slippage". One mistake (say an arrest record) can result in making it hard to find jobs whereas in the past you would just move. The 20 points on the sat that you might have attained if you had better nutrition in your youth make the difference between breaking into the remaining sliver of the middle class.
comment 9mo ago · link · parent
Why do you think this? Being a designer is ultimately a matter of "good taste" and intuition for HIG (that you learn to systematize and formalize) and not everyone has this to start off with. Lack of good taste is how you get stuff like liquid glass. People can learn to compensate for lack of good intuition, but it's the same as someone without innate mathematical aptitude compensating for intuition by "grinding through the algebra".
comment 9mo ago · link · parent
comment 9mo ago · link · parent
comment 9mo ago · link · parent
[1] https://github.com/lilyball/emojienabler/blob/ac90ef6e1ac817...
comment 9mo ago · link · parent
>It’s like...
The guy is clearly talented and it's a great story, why would you let an LLM tell it for you?
>And by extracting session keys, they could silently monitor supposedly private communications.
How could session keys be extracted if it was end to end encrypted? Unless the cryptographic protocol wasn't implemented correctly this shouldn't be possible?
comment 9mo ago · link · parent
>analysis has shown that encrypting only the SNI extension provides incomplete protection. As just one example: during session resumption, the Pre-Shared Key extension could, legally, contain a cleartext copy of exactly the same server name that is encrypted by ESNI. The ESNI approach would require an encrypted variant of every extension with potential privacy implications, and even that exposes the set of extensions advertised. Lastly, real-world use of ESNI has exposed interoperability and deployment challenges that prevented it from being enabled at a wider scale.
comment 9mo ago · link · parent
This can be the case if the other point is exactly 180 degrees from the anchor point that works though? But I think this case occurs with probability 0 ("almost never") so can basically be ignored.
Also the "obvious (wrong) answer" that reasons "by symmetry" is interesting since the n=3 case _can_ actually be solved in this manner. It's well known that probability the center of the circle is contained in the triangle of 3 randomly chosen points can be computed is 1/4. (This can be found by placing 1 point arbitrarily then computing an integral that ranges over the arc length to the second point). For the n=4 case this can be done via a double integral considering two arcs but it's slightly more annoying.
I think there was a 3b1b problem about this that presents the more elegant approach the other commenter mentions.
comment 9mo ago · link · parent
Isn't this a great use case for LLM tests? Have a "computer use agent" and then describe the parameters of the test as "load the page, then navigate to bar, expect foo to happen". You don't need the LLM to generate a test using puppeteer or whatever which is coupled to the specific dom, you just describe what should happen.
comment 9mo ago · link · parent
comment 9mo ago · link · parent
> Dyck/balanced-brackets grammar
Yes, it's not the Dyck grammar but another CFG they created, they call it the "cfg3" family.
Of course I agree the stack (/pushdown automaton) is the simpler and perfectly optimal structure for this task, but I think it's unfair to say that LLMs _cannot_ recognize or generate CFGs.
(Then again I know you didn't make any such broad refutation of that sort, I mostly wanted to bring up that paper to show that it is possible for them to at least "grok" certain CFGs with low enough error ratio that they must have internalized the underlying grammar [and in fact I believe the paper goes on to apply interprability methods to actually trace the circuits with which it encodes the inductive grammar, which puts to rest any notion of them simply "parroting" the data]). But these were "synthetic" LLMs specifically trained for that grammar, these results probably don't apply in practice to your chatGPT that was trained mostly on human text.
comment 9mo ago · link · parent
comment 9mo ago · link · parent
The issue is that you don't need to physically emit a "system role" token in order to convince the LLM that it's worth ignoring the system instructions.
comment 9mo ago · link · parent
https://arxiv.org/abs/2305.13673
and of course a^n b^n is also classic CFG, so it's not clear why one paper had positive results while the other hand negative.
comment 9mo ago · link · parent
It'd not clear why within any section XML markers would do better than something like markdown, other than claude being explicitly post-trained with XML prompts as opposed to markdown. One hypothesis could be that since a large portion of the training corpus is websites, XML is more natural to use since it's "learned" the structure of XML better than markdown. Another could be that explicit start/end tags make identifying matching delimiters easier than JSON (which requires counting matching brackets) or markdown (where the end of a section is implicitly defined by the presence of a new header element).
comment 9mo ago · link · parent
Instead what GP likely means is the observation that the joint probability of a token sequence can be broken down autogressively: P(a,b,c) = P(a) * P(b|a) * P(c|a,b) and then with cross-entropy loss which optimizes for log likelihood this becomes a summation. So training with teacher forcing to minimize "next token" loss simultaneously across every prefix of the ground-truth is equivalent to maximizing the joint probability of that entire ground-truth sequence.
Practically, even though inference is done one token at a time, you don't do training "one position ahead" at a time. You can optimize the loss function for the entire sequence of predictions at once. This is due the autoregressive nature of the attention computation: if you start with a chunk of text, as it passes through the layers you don't just end up with the prediction for the next word in the last token's final layer, but _all_ of the final-layer residuals for previous tokens will encode predictions for their following index.
So attention on a block of text doesn't give you just the "next token prediction" but the simultaneous predictions for each prefix which makes training quite nice. You can just dump in a bunch of text and it's like you trained for the "next token" objective on all its prefixes. (This is convenient for training, but wasted work for inference which is what leads to KV caching).
Many people also know by now that attention is "quadratic" in nature (hidden state of token i attends to states of tokens 1...i-1), but they don't fully grasp the implication that even though this means for forward inference you only predict the "next token", for backward training this means that error for token i can backpropagate to tokens 1...i-1. This is despite the causal masking, since token 1 doesn't attend to token i directly but the hidden state of token 1 is involved in the computation of the residual stream for token i.
When it comes to the statement
>its not unreasonable to say llms are trained to predict the next book instead of single token.
You have to be careful, since during training there is no actual sampling happening. We've optimized to maximize the joint probability of ground truth sequence, but this is not the same as maximizing the probability the the ground truth is generated during sampling. Consider that there could be many sampling strategies: greedy, beam search, etc. While the most likely next token is the "greedy" argmax of the logits, the most likely next N tokens is not always found by greedily sampling N times. It's thought that this is one reason why RL is so helpful, since rollouts do in fact involve sampling so you provide rewards at the "sampled sequence" level which mirrors how you do inference.
It would be right to say that they're trained to ensure the most likely next book is assigned the highest joint probability (not just the most likely next token is assigned highest probability).
comment 9mo ago · link · parent
Are humans starting to adopt LLM patterns or was this was ironically written with an LLM?
That said, I'm surprised you didn't bring up Marx in your essay in the later sections. I vaguely remember he had some thoughts about derivation of value from labor vs "ideas/capital". Whether or not you agree, this debate is reminiscent of that just moved up one level to white-collar workers.
comment 9mo ago · link · parent
I do understand and see that there are cases in which one's time preference could be such that it is sensible or necessary to price-match at that granularity even when buying a single unit. However even then there's still other constraints such as cost of transportation & reputation of vendor.
Even today you can often find protein bars or name-brand supplements on Amazon for a slightly lower price (including shipping) than supermarkets, but that comes with the risk of adulterated, expired, or tampered products that not everyone will accept for the sake of slightly lower prices.
comment 9mo ago · link · parent
I guess I didn't quite say my point clearly, the time and physical cost to get to a grocery store puts up barriers against perfect price matching. You likely are not going to go out of your way to visit a grocery store for just a single item.
And I don't think online delivery will change anything here because shipping is a fixed cost, so price swings less than that will not change any buying habits.
comment 9mo ago · link · parent
Yes, but that is different from going out of your way to purchase the protein bar at the lower price in the place you can find it. You are not going to drive to another supermarket for just the protein bar alone. So there is an intrinsic stickiness. You might hold off on the purchase if you're happening to visit the other store in the near future, but would you drive to a store you've never heard of before /just/ for a bar?
comment 9mo ago · link · parent
> I still remember when people were scared to buy things on the internet
People still /are/ scared to buy things from Amazon for things that go on or in their body.
comment 9mo ago · link · parent
>Humans don’t really have the time to price-match across five competing platforms before buying a box of protein bars
No one [^1] price matches for protein bars because it's a commodity item with minimal price differences (and people often have a preferred brand anyway), but they probably do for $2k laptop.
>once AI agents equipped with MLS access
The data is the moat here, I'm sure even today individual consumers would be happy to have direct access to MLS to find properties and cut out the middleman. The fact that MLS is gatekept seems to be deliberate, so I don't think they'll hand over the only thing keeping them in business. Even Zillow couldn't get access to it and they've undoubtedly tried.
Same with the medical industry. I don't think the rent-seeking middlemen that exist today will be dethroned that easily, they have often been codified into law. But who knows maybe all the AI money pouring in will be enough to convince them to make a faustian deal towards their destruction and that'd be a happy byproduct of it all.
[^1] Edit: I erred in making too broad of a statement here, see the response threads.
comment 9mo ago · link · parent
The approach you mentioned would be if you used a non-bijective function to map from (N, N) to N like 2^a 3^b which can show that the cardinality of positive rationals is a subset of the cardinality of the naturals, and then you get your version of the proof.
Edit: Wait unless the objection was that actually the bijection from (N, N) -> N is not sufficient since e.g. (1,1) and (2,2) all map to the same rational. You could probably skip duplicates when enumerating, but if you insist on a explicit constructive version I have no idea how you'd find the inversion formula for that.