News for hackers. Stuff that matters.
Re:People tricking ChatGPT “like watching an Asimov novel co... by gptadmirer on Friday December 02, 2022 @11:37AM (#33832780)
As someone who's very skeptical of AI, for a looooong time. I am skeptical about self driving, skeptical about no code, skeptical about ML. But the stable diffusion and chat GPT are truly the only AI tech that made my mind blown.

I really want to know how it works. It is like magic.

Re:People tricking ChatGPT “like watching an Asimov novel co... by simonw on Friday December 02, 2022 @11:42AM (#33832851)
I like thinking about GPT-3 in terms of the iPhone predictive text keyboard.

It's effectively the same thing: given some words it predicts which word should come next.

But unlike the iPhone keyboard it's been trained for months on multiple TBs of text, and has the ability to use ~4,000 previous words as the input to its prediction.

Re:People tricking ChatGPT “like watching an Asimov novel co... by gptadmirer on Friday December 02, 2022 @11:48AM (#33832940)
I saw inputs like "please write C code that writes lisp code that writes pascal code" and stuffs like "please generate some songs in style of spongebob or KJV" and it made it.

Is the power of predictive text that crazy?

Re:People tricking ChatGPT “like watching an Asimov novel co... by simonw on Friday December 02, 2022 @12:37PM (#33833750)
It turns out it is!

That's what I find so interesting about large language models: they consistently demonstrate abilities that were not predicted when they were first invented.

I don't think anyone working on them initially expected them to be able to write Lisp and Pascal, certainly not as well as they can already.

Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @03:18PM (#33836300)
>> Is the power of predictive text that crazy?

> It turns out it is!

Intelligence was in the data, we were just its vehicles.

Re:People tricking ChatGPT “like watching an Asimov novel co... by czzr on Friday December 02, 2022 @12:32PM (#33833684)
Turns out, yes. The hard thing is internalising the sheer scale of data it was trained on.
Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @03:24PM (#33836385)
infinite recursion on language, that's what it internalises, it's not a simple storage
Re:People tricking ChatGPT “like watching an Asimov novel co... by pfortuny on Friday December 02, 2022 @01:49PM (#33834946)
When you think about the speed of light, you think you understand it. Then you realize what it truly means and go “what?”.

The same happens with the huge volume of text this model has been trained off. We cannot even begin to grasp its size. It is more. More than that. Yes, even more.

Re:People tricking ChatGPT “like watching an Asimov novel co... by snowwrestler on Friday December 02, 2022 @03:42PM (#33836598)
Hard to say without knowing what it was trained on.

Let’s say you train a predictive engine on the entirety of fiction and nonfiction works of the 19th century. You ask it to produce C code, and it does! That would be obviously crazy.

On the other extreme, imagine a predictive engine that has been trained on every bit of C code that has ever been written. You ask to produce C code, and it does! Maybe not so crazy this time.

Re:People tricking ChatGPT “like watching an Asimov novel co... by margalabargala on Friday December 02, 2022 @11:43AM (#33832867)
The "fastai" course is free, and does a really nice job walking you through building simple neural nets from the ground up:

https://github.com/fastai/fastai

What's going on here is the exact same thing, just much, much larger.

Re:People tricking ChatGPT “like watching an Asimov novel co... by gptadmirer on Friday December 02, 2022 @11:45AM (#33832905)
Thank you kind sir.
Re:People tricking ChatGPT “like watching an Asimov novel co... by qsort on Friday December 02, 2022 @11:47AM (#33832931)
How it works: a probability distribution over sequences of consecutive tokens.

Why it works: these absolute madmen downloaded the internet.

Re:People tricking ChatGPT “like watching an Asimov novel co... by yrnameer on Friday December 02, 2022 @12:30PM (#33833640)
This is the thing. These AI models aren't that impressive in what they do if you understand it. What's impressive is the massive amount of data. One day the law will catch up too because what they are all producing is literally just a combination of a lot of little pieces of compressed versions of human-produced things. In effect it's some type of distributed plagiarism.
Re:People tricking ChatGPT “like watching an Asimov novel co... by concordDance on Friday December 02, 2022 @12:43PM (#33833855)
Like pretty much all human work...
Re:People tricking ChatGPT “like watching an Asimov novel co... by throwaway290 on Friday December 02, 2022 @01:13PM (#33834355)
Thankfully most human work is generally not controlled and monetized by three madmen
Re:People tricking ChatGPT “like watching an Asimov novel co... by Filligree on Friday December 02, 2022 @02:02PM (#33835142)
True! But that’s a critique of capitalism, not AI.
Re:People tricking ChatGPT “like watching an Asimov novel co... by throwaway290 on Friday December 02, 2022 @02:22PM (#33835430)
Actually did not mean for that statement to be understood in reverse. Is that the opposite of Poe's law? :thinking_emoji:
Re:People tricking ChatGPT “like watching an Asimov novel co... by LeanderK on Friday December 02, 2022 @01:32PM (#33834667)
It has long been experimentally shown that neural network do in fact generalise and do not just memorise the training samples. What we do not see here is the convergence of the empirical distribution to the ideal distribution, the data is too sparse, the dimensionality too high. The amount of data is undoubtably enormous but it is not so simple. Only years and years of research have lead to models that are capable of learning such enormous amounts of data, while we can also see steady improvements on fixed datasets which means we in facto do make real progress on quite a lot of fronts. More data-efficiency would be great but at least we do have those datasets for language-related tasks, also it has been shown that fine-tuning is working quite well which might be a way to escape the dreaded data-inefficiency of our learning models.

In the end, we are not really in the business of copying the brain but creating models that learn from data. If we arrive at a model that can solve the problem we are interested in through different means than a human would, e.g. first pre-train on half of the internet and then fine tune on your taks, we would be quite happy and it would not be seen as a dealbreaker. Of course, we would really like to have models that learn faster or have more skills, but it's amazing what's possible right now. What I find inspiring is how simple the fundamental building blocks are that our models are composed of, from gradient descent to matrix multiplication to Relus (just a max(x,0)). It's not magic, just research.

Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @02:48PM (#33835854)
> matrix multiplication to Relus (just a max(x,0))

Transformers famously employ the Softmax activation inside the attention matrix. Very rare to see Softmax anywhere other than the final layer.

Re:People tricking ChatGPT “like watching an Asimov novel co... by Siira on Thursday December 08, 2022 @07:33PM (#33915881)
This is an unfalsifiable claim.
Re:People tricking ChatGPT “like watching an Asimov novel co... by gptadmirer on Friday December 02, 2022 @11:49AM (#33832958)
But how does probability distribution over sequences of consecutive tokens can create new things?

Like, I saw the other day it creates a C code that creates a Lisp code that creates a Pascal code. Is this based on an entirely previous creation?

Re:People tricking ChatGPT “like watching an Asimov novel co... by qsort on Friday December 02, 2022 @11:55AM (#33833059)
It doesn't create anything new. It creates things that look new.

The code examples are perfect case studies, they don't actually work. They aren't just slightly wrong, they're completely nonsensical.

Another example is "is <number> prime?", it can't answer things like that, and it will make up something that may or may not be accurate.

The model has no concept of what is true or false, it's essentially trying to predict what is the most likely token to come next.

It seems to know stuff because the knowledge comes from the dataset, hence techniques like zero-shot, few-shot and prompt-based learning.

Re:People tricking ChatGPT “like watching an Asimov novel co... by pyuser583 on Friday December 02, 2022 @12:40PM (#33833793)
The model also really loves stock phrases and platitudes.
Re:People tricking ChatGPT “like watching an Asimov novel co... by kwertyoowiyop on Friday December 02, 2022 @09:49PM (#33839988)
“As a large language model trained by OpenAI, I do not have personal preferences or emotions. My primary function is to provide accurate and informative responses to questions based on the data I have been trained on. I am not capable of experiencing emotions or using stock phrases or platitudes.”
Re:People tricking ChatGPT “like watching an Asimov novel co... by cwkoss on Friday December 02, 2022 @12:27PM (#33833595)
If it gives you broken code, you can tell it to fix the code and it often will
Re:People tricking ChatGPT “like watching an Asimov novel co... by qsort on Friday December 02, 2022 @12:41PM (#33833811)
Sometimes it will, sometimes it won't. The point is that it's "random", it has no way to tell truth from falsity.

Language models are unsuitable for anything where the output needs to be "correct" for some definition of "correct" (code, math, legal advice, medical advice).

This is a well-known limitation that doesn't make those systems any less impressive from a technical point of view.

Re:People tricking ChatGPT “like watching an Asimov novel co... by randomsearch on Friday December 02, 2022 @01:39PM (#33834781)
How can this interface be useful as a search engine replacement if the answers are often incorrect?

Can we fix it?

Because earlier today it told me that George VI was currently king of England. And I asked it a simple arithmetic question, which it got subtly wrong. And it told my friend there were a handful of primes less than 1000.

Everyone’s talking about it being a Google replacement. What’s the idea? That we train it over time by telling it when things are wrong? Or is the reality that these types of language models will only be useful for generating creative output?

Re:People tricking ChatGPT “like watching an Asimov novel co... by cwkoss on Friday December 02, 2022 @07:40PM (#33838970)
there are plenty of google queries that return incorrect answers, and they've been operating for decades
Re:People tricking ChatGPT “like watching an Asimov novel co... by randomsearch on Saturday December 03, 2022 @02:41PM (#33846561)
It's not the same.

If you ask a chat interface a question and it says "this is true", that's very different from a search engine containing a list of results where one of them might be untrue.

For one thing, you can look at all the queries and take a majority vote etc. Second, you can look at the source to see if it's trustworthy.

Re:People tricking ChatGPT “like watching an Asimov novel co... by emmelaich on Friday December 02, 2022 @07:02PM (#33838662)
Doctors are often not totally correct, but they're useful.
Re:People tricking ChatGPT “like watching an Asimov novel co... by gptadmirer on Friday December 02, 2022 @12:04PM (#33833221)
Interesting, but I wonder how does it have the ability to combine those. i.e, creating a song in a KJV/spongebob style, or creating a code that writes a code that writes a code.
Re:People tricking ChatGPT “like watching an Asimov novel co... by jimbokun on Friday December 02, 2022 @01:47PM (#33834913)
Nobody really knows, because the model is too large and complex to really analyze.
Re:People tricking ChatGPT “like watching an Asimov novel co... by espadrine on Friday December 02, 2022 @02:58PM (#33835992)
“create a song in spongebob style” will be cut into tokens which are roughly syllables (out of 50257 possible tokens), and each token is converted to a list of 12288. Each token always maps to the same list, called its embedding; the conversion table is called the token embedding matrix. Two embeddings with a short distance occur within similar concepts.

Then each token’s embedding is roughly multiplied with a set of matrices called “attention head” that yield three lists: query, key, value, each of 128 numbers behaving somewhat like a fragment of an embedding. We then take the query lists for the past 2048 tokens, and multiply each with the key lists of each of those 2048 tokens: the result indicates how much a token influences another. Each token’s value list get multiplied by that, so that the output (which is a fragment of an embedding associated with that token, as a list of 128 numbers) is somewhat proportional to the value list of the tokens that influence it.

We compute 96 attention heads in parallel, so that we get 128×96 = 12288 numbers, which is the size of the embedding we had at the start. We then multiply each with weights, sum the result, pass it through a nonlinear function; we do it 49152 times. Then we do the same again with other weights, but only 12288 times, so that we obtain 12288 numbers, which is what we started with. This is the feedforward layer. Thanks to it, each fragment of a token’s embedding is modified by the other fragments of that token’s embedding.

Then we pass that output (a window of 2048 token embeddings, each of 12288 numbers) through another multi-attention head, then another feedforward layer, again. And again. And again. 96 times in total.

Then we convert the output to a set of 50257 numbers (one for each possible next token) that give the probability of that token being the next syllable.

The token embedding matrix, multi-head attention weights, etc. have been learned by computing the gradient of the cross-entropy (ie. roughly the average likelihood of guessing the next syllable) of the model’s output, with respect to each weight in the model, and nudging the weights towards lower entropy.

So really, it works because there is a part of the embedding space that knows that a song is lyrical, and that a part of the attention head knows that sponge and bob together represent a particular show, and that a part of the feedforward layer knows that this show is near “underwater” in the embedding space, and so on.

Re:People tricking ChatGPT “like watching an Asimov novel co... by unoti on Friday December 02, 2022 @12:51PM (#33833988)
> It doesn't create anything new. It creates things that look new.

This is not technically true. It can and does create things that are new. There are lots of new poems and jokes right here in this thread. I asked it, for example, to give me its top 10 reasons why Bigfoot knocks on camper trailers, and one of its answers was "because it likes to play with its food." I did a lot of searching to try to find this joke out there on the internet, and could not. I've also had it create Weird Al style songs for a variety of things, and it does great.

If these aren't new creations, I'm not sure what your threshold is for creating something new. In a sense I can see how you can say that it only "looks" new, but surely the essays generated by students worldwide mostly only "look" new, too...

Re:People tricking ChatGPT “like watching an Asimov novel co... by LeanderK on Friday December 02, 2022 @01:44PM (#33834866)
ChatGPT has create a poem to cheer up my sick girlfriend. I have written a bit how she feels, what she has (just the flu) and what I did to cheer her up. ChatGPT created a decent poem with exactly fitted my description but was a bit dramatic, she's not dying just tired of being sick. I have asked ChatGPT to create a less dramatic version that rhymes more and ChatGPT just did it. Amazing. I have also googled parts of it but didn't find them! This certainly counts as novel or I would also be totally unable to create novel poems about my sick girlfriend (because I have read poems about girlfriends before?!).

A good idea when dismissing those machine learning models is to check whether a human would pass your standards. I miss the aspect when the dismissive "they only interpolate or memorise" arguments come. I am also quite bounded by my knowledge or what I have seen. Describe something I have never seen to me and ask me to draw it, I would fail in a quite hilarious way.

Hilariously, ChatGPT is also quite bad at arithmetic, like myself. I thought this is what machines are supposed to be good at!

Re:People tricking ChatGPT “like watching an Asimov novel co... by underwater on Friday December 02, 2022 @05:07PM (#33837597)
People solve this by getting the GPT to describe a series of computations and then running those steps externally (e.g. asking GPT what Python code to run).

Thats not so different from how humans do this. When we need to add or multiply we switch from freeform thought to executing the Maths programs that were uploaded into our brains at school.

Re:People tricking ChatGPT “like watching an Asimov novel co... by squirrel on Friday December 02, 2022 @07:51PM (#33839052)
If I recall correctly, in his paper on whether machines could think, Turing gives an imaginary dialogue with a computer trying to pass as a human (what we later came to call the Turing test) where the judge poses an arithmetic problem, and the computer replies after a pause of 30 seconds — with the wrong answer.
Re:People tricking ChatGPT “like watching an Asimov novel co... by underwater on Friday December 02, 2022 @05:02PM (#33837561)
That joke is a great example of why the creativity is surprising.

A human might have a thought process that starts with the idea that people are food for Bigfoot, and then connects that to phrase of "playing with your food".

But GPT generates responses word by word. And it operates at a word (token) level, rather than thinking about the concepts abstractly. So it starts with "Because it likes to play" which is a predictable continuation that could end in many different ways. But it then delivers the punchline of "with its food".

Was it just a lucky coincidence that it found an ending to the sentence that paid off so well? Or is the model so sophisticated that it can suggest word "plays" because it can predict the punchline related to "food".

Re:People tricking ChatGPT “like watching an Asimov novel co... by mk_stjames on Friday December 02, 2022 @05:22PM (#33837764)
I think what you are saying is just not true in the sense GPT style LLMs. The output is not just single word generation at a time. It is indeed taking into account the entire structure, preceding structures, and to a certain extent abstractions inherent to the structure throughout the model. Just because it tokenizes input doesn't mean it is seeing things word by word or outputting word by word. Transformers are not just fancy LSTMs. The whole point of transformers is it takes the input in parallel, where RNNs are sequential.
Re:People tricking ChatGPT “like watching an Asimov novel co... by underwater on Friday December 02, 2022 @10:21PM (#33840213)
It seems I'd gotten the wrong impression of how it works. Do you have any recommendations for primers on GPT and similar systems? Most content seems to be either surface level or technical and opaque.
Re:People tricking ChatGPT “like watching an Asimov novel co... by fjkdlsjflkds on Saturday December 03, 2022 @02:05AM (#33841378)
No. You got the right impression. It is indeed doing "next token prediction" in an autoregressive way, over and over again.

The best source would be the GPT-3 paper itself: https://paperswithcode.com/method/gpt-3

Re:People tricking ChatGPT “like watching an Asimov novel co... by carabiner on Friday December 02, 2022 @01:02PM (#33834159)
I wish someone what pass it the entirety of an IQ test. I bet it would score around 100, since no it does seem to get some logic questions wrong.
Re:People tricking ChatGPT “like watching an Asimov novel co... by LeanderK on Friday December 02, 2022 @01:35PM (#33834699)
I have seen a score of 83 on twitter
Re:People tricking ChatGPT “like watching an Asimov novel co... by mk_stjames on Friday December 02, 2022 @05:30PM (#33837849)
Well since it is only a text input AI it could only possibly attempt to do the VIQ part of a Weschler style IQ test, since the PIQ part requires understanding image abstractions (arrangements, block design, matrices of sequences etc).

I know there were some deep learning papers on how to train a model to pass the PIQ portion without human-coded heuristics (because, you could easily write a program to solve such questions if you knew ahead of time the format of the questions). I don't remember the outcomes however.

Re:People tricking ChatGPT “like watching an Asimov novel co... by emmelaich on Friday December 02, 2022 @07:01PM (#33838657)
It got 52% in a SAT exam. Better than most people.
Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @02:56PM (#33835969)
Sounds like you are thinking of language models in isolation, working in closed-book mode. That is just the default, it doesn't need to be how they are used in practice.

Do you know language models can use external toys, such as a calculator. They just need to write <calc>23+34=</calc> and they get the result "57" automatically added. The same, they can run <search>keyword</search> and get up to date snippets of information. They could write <work>def is_prime(x): ... print(is_prime(57))</work> and get the exact answer.

I think the correlation pattern in language is enough to do real work, especially when fortified with external resources. Intelligence is most likely a property of language, culture and tools, not of humans and neural networks.

Re:People tricking ChatGPT “like watching an Asimov novel co... by ilaksh on Friday December 02, 2022 @04:47PM (#33837381)
I've been using it to write code for my business. It's often not perfect, but usually you can say fix bug XX in the code you gave me and it works.
Re:People tricking ChatGPT “like watching an Asimov novel co... by thepasswordis on Friday December 02, 2022 @05:41PM (#33837965)
It absolutely replies to “is <number> prime” with the correct answer.
Re:People tricking ChatGPT “like watching an Asimov novel co... by jonahx on Friday December 02, 2022 @07:03PM (#33838663)
is 4021 prime

No, 4021 is not a prime number. A prime number is a whole number greater than 1 that is divisible only by 1 and itself. 4021 is divisible by 17, which is a number other than 1 and itself, so it is not considered to be a prime number.

Re:People tricking ChatGPT “like watching an Asimov novel co... by thepasswordis on Saturday December 03, 2022 @12:18AM (#33840868)
For the curious, 4021 is not divisible by 17.

I guess I only tried the first few single digit primes. Fair enough!

Re:People tricking ChatGPT “like watching an Asimov novel co... by CamperBob2 on Friday December 02, 2022 @07:06PM (#33838684)
Also "Why is <number> interesting?" is an interesting question to ask. It finds something interesting about most integers, and falls back to giving you a good rational approximation for 'uninteresting' reals.
Re:People tricking ChatGPT “like watching an Asimov novel co... by cesarb on Friday December 02, 2022 @07:34PM (#33838913)
> It finds something interesting about most integers

Every integer is interesting. "[...] if there exists a non-empty set of uninteresting natural numbers, there would be a smallest uninteresting number – but the smallest uninteresting number is itself interesting because it is the smallest uninteresting number [...]" (https://en.wikipedia.org/wiki/Interesting_number_paradox)

Re:People tricking ChatGPT “like watching an Asimov novel co... by skykooler on Friday December 02, 2022 @10:26PM (#33840247)
A few days ago, I got to thinking about this. On a theoretical level every integer is interesting due to that, but on a practical level there's not much point calling a number "interesting" if the only property giving it that quality is being the first uninteresting number larger than n-1.

One way of checking what makes a number interesting is seeing what sequences it is in in the OEIS[1]. Interesting properties (squares, primes, palindromes, friendly numbers, etc) all have the first hundred or so numbers with those properties in a list. So I downloaded the dataset of all sequences from OEIS, and iterated through all integers to find the first one that is not in any sequence in the OEIS.

So, I present the smallest uninteresting number: 20,067. Every number before it is in at least one of the sequences - for example, 20,066 is 'a partial sum for a coordination sequence for the "pcu-i" 3D uniform tiling'. It is the first number that has no interesting properties other than trivial ones (like being a multiple of 3). It is the first uninteresting number, but one could say that makes it meta-interesting rather than being interesting in and of itself.

[1] https://oeis.org/

Edit: and after doing all that work I saw that someone else has already done so and put it in the wikipedia article. Oh well, at least I learned about set processing in Python.

Re:People tricking ChatGPT “like watching an Asimov novel co... by CamperBob2 on Friday December 02, 2022 @05:45PM (#33838014)
It doesn't create anything new.

Who does? This is nothing but a "God of the Gaps" argument in reverse.

Re:People tricking ChatGPT “like watching an Asimov novel co... by theptip on Friday December 02, 2022 @12:17PM (#33833444)
It turns out that human intelligence has left a detailed imprint in humanity’s written artifacts, and predicting the structure of this imprint requires something similar (perhaps identical, if we extrapolate out to “perfect prediction”) to human intelligence.

Not only that, but the imprint is also amenable to gradient descent, possessing a spectrum from easy- and difficult-to-predict structures.

Re:People tricking ChatGPT “like watching an Asimov novel co... by unoti on Friday December 02, 2022 @12:46PM (#33833894)
> But how does probability distribution over sequences of consecutive tokens can create new things?

If you start a sentence with a few words, think about the probability for what the next word might be. Imagine a vector (list) with a probability for every single other word in the language, proper nouns included. This is a huge list, and the probabilities of almost everything are near zero. If you take the very highest probability word, you'll get a fairly predictable thing. But if you start taking things a little lower down the probability list, you start to get what amounts to "creativity" but is actually just applied statistics plus randomness. (The typical threshold to use for how high the probability of a selected word should be is called the "temperature" and is a tunable parameter in these models usually.) But when you consider the fact that it has a lot of knowledge about how the world works and those things get factored into the relative probabilities, you have true creativity. Creativity is, after all, just trying a lot of random thoughts and throwing out the ones that are too impractical.

Some models, such as LaMDA, will actually generate multiple random responses, and run each of those responses through another model to determine how suitable the response is based on other criteria such as how on-topic things are, and whether it violates certain rules.

> Is this based on an entirely previous creation?

Yes, it's based entirely on its knowledge of basically everything in the world. Basically just like us, except we have personal volition and experience to draw from, and the capability to direct our own experiments and observe the results.

Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @02:45PM (#33835795)
> A probability distribution over sequences of consecutive tokens.

... reads like

A monad is just a monoid in the category of endofunctors.

Re:People tricking ChatGPT “like watching an Asimov novel co... by LesZedCB on Friday December 02, 2022 @06:38PM (#33838465)
>> is a monad really just a monoid in the category of endofunctors?

> In category theory, a monad is a structure that is similar to a monoid in the category of endofunctors. A monoid is a mathematical object that consists of a set of elements, along with a binary operation that combines the elements in a specific way. For example, the set of integers, with the operation of addition, forms a monoid.

> In the category of endofunctors, a monad is a similar structure, but it is defined in terms of functions instead of elements. An endofunctor is a function that takes a mathematical object, called the "domain," and maps it to another mathematical object, called the "codomain." For example, the function that maps a set to its power set (the set of all subsets of the set) is an endofunctor.

> A monad in the category of endofunctors is a structure that consists of an endofunctor, along with two natural transformations that satisfy certain conditions. A natural transformation is a function that maps one endofunctor to another, in a way that is consistent with the structure of the domain and codomain of the endofunctors. The two natural transformations that are part of a monad are called the "unit" and the "multiplication" natural transformations.

> The unit natural transformation is a function that maps an object in the domain of the endofunctor to the endofunctor itself. The multiplication natural transformation is a function that maps the endofunctor to itself, in a way that is consistent with the structure of the domain and codomain of the endofunctor. The unit and multiplication natural transformations must satisfy certain conditions in order for the structure to be a monad.

> Overall, a monad in the category of endofunctors is a structure that is similar to a monoid in the category of sets. It consists of an endofunctor, along with two natural transformations that satisfy certain conditions. This structure is useful in category theory and related fields, because it allows us to abstract away from the specific details of the endofunctors and focus on the general properties of the structure.

pretty good explanation, actually

Re:People tricking ChatGPT “like watching an Asimov novel co... by bogdanoff_2 on Friday December 02, 2022 @08:12PM (#33839197)
You're forgetting to mention that you need to have a model that is capable of learning that probability distribution.
Re:People tricking ChatGPT “like watching an Asimov novel co... by idiotsecant on Friday December 02, 2022 @12:02PM (#33833178)
Same. I routinely pose the following question to chatbots to see how well they are able to parse strange sentence structure and understand abstract properties.

>Please describe the similarities and differences of the following two items: A beach ball and a howitzer cannon.

What follows is the response from ChatGPT. For just about the first time I legitimately feel like this beats the turing test.

>A beach ball and a howitzer cannon are two very different objects, and they have very few similarities. A beach ball is a small, inflatable ball that is typically used for recreational purposes, such as playing on the beach or in a pool. A howitzer cannon, on the other hand, is a large, heavy artillery weapon that is used to fire shells over long distances.

>One of the main differences between a beach ball and a howitzer cannon is their size and weight. A beach ball is small and lightweight, while a howitzer cannon is large and extremely heavy. Another difference is their intended use. A beach ball is designed for play and entertainment, while a howitzer cannon is designed for warfare and destruction.

>One possible similarity between the two objects is that they both can be inflated, although this is done for very different reasons. A beach ball is inflated with air to make it bouncy and fun to play with, while a howitzer cannon is typically loaded with gunpowder and other explosives, which are ignited to launch a shell. However, even this similarity is quite tenuous, as the methods of inflation and the materials used are vastly different for the two objects.

Re:People tricking ChatGPT “like watching an Asimov novel co... by gptadmirer on Friday December 02, 2022 @12:04PM (#33833227)
Crazy, truly crazy.
Re:People tricking ChatGPT “like watching an Asimov novel co... by dTal on Friday December 02, 2022 @01:39PM (#33834777)
This strikes me as a very intriguing glimpse into its "mind". No human would describe loading a howitzer with gunpowder as "inflating" - the howitzer does not increase in volume. However it's clearly grasped that inflating involves putting something into something else. I wonder how it would respond if you asked it to define the word?
Re:People tricking ChatGPT “like watching an Asimov novel co... by mrybczyn on Friday December 02, 2022 @01:59PM (#33835091)
Quora: Does a gun barrel expand due to gas pressure? Allen Davis Yes, but it’s microscopic and very, very, very brief. On the order or nanoseconds. It’s this expansion that has allowed for technology to be developed in which chamber pressures can be accurately measured by use of piezo electric sensors.

ChatGPT is not wrong!

Re:People tricking ChatGPT “like watching an Asimov novel co... by systems_glitch on Friday December 02, 2022 @02:01PM (#33835118)
Barrel pressures undoubtedly "inflate" it, exceeding safe pressures results in permanent deformation rather than elastic return to original dimensions. I suspect that sort of nuance is the connection.
Re:People tricking ChatGPT “like watching an Asimov novel co... by TrevorJ on Friday December 02, 2022 @02:25PM (#33835509)
While it seems obvious to humans that gunpowder in a gun barrel creating expanding gasses is not the same thing as inflating something...on closer inspection they really are only subtly different. If we consider the bullet to be part of the system then the expanding gasses do actually increase the exterior volume of the gun as it travels up the barrel.

This is the sort of interesting leap that makes AI super interesting to me. I could see it being very useful in helping humans move the state of the art forward in areas where human lexical taxonomy has caused us to make some assumptions which blind us to other potential solutions.

Re:People tricking ChatGPT “like watching an Asimov novel co... by tom_ on Friday December 02, 2022 @03:09PM (#33836164)
Re:People tricking ChatGPT “like watching an Asimov novel co... by CobrastanJorji on Friday December 02, 2022 @02:38PM (#33835689)
> Me: Does a cannon inflate when it fires?

> ChatGPT: No, a cannon does not inflate when it fires. Inflate means to fill something with air or gas, whereas a cannon uses gunpowder to create an explosion that propels a projectile out of the barrel. The explosion in a cannon is a rapid release of gas, which can cause the barrel of the cannon to expand slightly, but it does not inflate in the sense of being filled with air or gas.

ChatGPT produces really great sounding answers, but consistency is not a goal.

Re:People tricking ChatGPT “like watching an Asimov novel co... by dTal on Friday December 02, 2022 @04:37PM (#33837269)
I would not expect dictionary-level consistency from it. Even humans freely use words differently in different contexts, and it would be particularly unfair to hold it against ChatGPT for getting creative when asked to find the similarities between two radically different objects.

If anything, this answer is extraordinarily impressive because, although it decided to be a stickler for definitions this time, it reaffirms the metaphor that it invented last time. In other words, it seems reasonable to conclude that in some sense it "knows" that the barrel of the cannon expands slightly (a fact it implied but neglected to mention last time), and can use this to make inferences.

Re:People tricking ChatGPT “like watching an Asimov novel co... by ilaksh on Friday December 02, 2022 @04:44PM (#33837353)
https://character.ai also beats the Turing Test on some level I think.
Re:People tricking ChatGPT “like watching an Asimov novel co... by mk_stjames on Friday December 02, 2022 @05:10PM (#33837635)
It is so good, so close, and yet it misses on the one point where I think most humans would find the only real similarity: A cannon (not a Howitzer, but oldschool cannon, which most people will imagine I think) fires cannon balls, which are spheres, and a beach ball is a spherical shape. Now, a "Howitzer" specifically fires shells of artillery that aren't spherical, sure, but the weapon is a direct descendant of the classic cannon firing round cannon balls and it is right there in the name. I'd imagine if asked to find some similarity, many humans would latch onto the cannon > cannon ball > beach ball train. If it had picked up on that I'd really be speechless. And maybe it would have if the seed/temperature was slightly different.
Re:People tricking ChatGPT “like watching an Asimov novel co... by throwaway2037 on Saturday December 03, 2022 @03:30AM (#33841801)
Incredible. As an educated adult, I cannot distinguish that answer from one that a native speaker would write. The style feels very much like a English comprehension exam you take before university. The written structure is so clean. How long until people are using models like this to cheat on university entrance exams for written comprehension? Very soon.
Re:People tricking ChatGPT “like watching an Asimov novel co... by anentropic on Friday December 02, 2022 @12:42PM (#33833825)
I've been pretty underwhelmed by stable diffusion so far (admittedly even this much would have seemed like magic to me 10 years ago).

First thing I asked it for was a picture of a dragon. I've subsequently a few different models and all sorts of prompt engineering (but perhaps I still haven't found the right one?)... I cannot get it to draw something anatomically coherent.

Are there some tricks I am missing? Do I need to run it through a pipeline of further steps to refine the mangled creature into something that makes sense?

Re:People tricking ChatGPT “like watching an Asimov novel co... by Nemrod67 on Saturday December 03, 2022 @08:08AM (#33843189)
go try Midjourney on Discord, I'm sure it can "draw" you a dragon just fine ;)
Re:People tricking ChatGPT “like watching an Asimov novel co... by anentropic on Saturday December 03, 2022 @01:30PM (#33845947)
I have done exactly that... the results were basically the same as I get from DiffusionBee app for stable diffusion

i.e. regions of the image are locally impressive, it has understood the prompt well, but the overall picture is incoherent... the head or one or more legs may be missing, or legs or wings sprout from odd places

like, it gets the 'texture' spot on but the 'structure' is off

Re:People tricking ChatGPT “like watching an Asimov novel co... by anentropic on Saturday December 03, 2022 @01:33PM (#33845979)
So I was wondering if it needs a more complicated procedure? Lateral thinking?

Should I be asking it for a picture of a cat in the style and setting I want and then use image-to-image to replace the cat with a dragon?

Re:People tricking ChatGPT “like watching an Asimov novel co... by blihp on Friday December 02, 2022 @12:58PM (#33834105)
It can only interpolate, not extrapolate. So the 'new' things you're seeing are just rearrangements of the (millions/billions of) things that the DNN was trained on. It has no understanding of what it has 'learned' (or more accurately: lossy memorization a.k.a. compression) and makes all kinds of mistakes (some due to training losses, some due to garbage/conflicting data fed in.) This is probably why the creative applications (i.e. Stable Diffusion etc) seem more impressive than the functional applications (i.e. Galactica) as even 'wrong' output can be creatively interesting.

For example, if a new comic/movie/video game character came out tomorrow that had a very unique physical look, Stable Diffusion would have difficulty even approximating it (i.e. its training data wouldn't have what was needed to reproduce the appearance.) But it can produce a decent Darth Vader because it's probably been fed at least thousands of drawings/photos of this very well known fictional character.

Re:People tricking ChatGPT “like watching an Asimov novel co... by krackers on Friday December 02, 2022 @01:53PM (#33835002)
That's like saying the novels people write are just rearrangements of words we learned as a kid. I don't see how you can't possibly consider something like this [1] as extrapolation and genuine creation.

[1] https://twitter.com/pic/orig/media%2FFi4HMw9WQAA3j-m.jpg

Re:People tricking ChatGPT “like watching an Asimov novel co... by renewiltord on Friday December 02, 2022 @02:04PM (#33835173)
link broken
Re:People tricking ChatGPT “like watching an Asimov novel co... by krackers on Friday December 02, 2022 @07:39PM (#33838961)
Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @03:16PM (#33836262)
Exactly, interpolation in combinatorial space becomes extrapolation.
Re:People tricking ChatGPT “like watching an Asimov novel co... by Filligree on Friday December 02, 2022 @02:01PM (#33835114)
You need about ten pictures for Dreambooth to give Stable Diffusion a good idea of what a new character looks like.
Re:People tricking ChatGPT “like watching an Asimov novel co... by seydor on Friday December 02, 2022 @03:24PM (#33836384)
extrapolation is interpolation between things that haven't been interpolated before, so i wouldnt be so sure about it. Its objective is not to go after unfamiliar routes, but it can be trained to do so
Re:People tricking ChatGPT “like watching an Asimov novel co... by spaceman_2020 on Friday December 02, 2022 @02:16PM (#33835354)
Same. This chat assistant blew my mind. I've ignored most of the bots that were released before this because they would trip up over trivial issues.

But this...it's an actual assistant.

I wanted to know how to figure out device type based on screen width. Google sent me down half a dozen articles. I asked this AI and it spat out a function.

I can see myself using this very regularly and even paying a fee for it.

Re:People tricking ChatGPT “like watching an Asimov novel co... by ajuc on Friday December 02, 2022 @02:27PM (#33835543)
> I really want to know how it works.

It's a big hash table, turns out human intelligence can be cashed and interpolated.

Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @03:26PM (#33836405)
Oh no, that sounds like the Chinese Room.
Re:People tricking ChatGPT “like watching an Asimov novel co... by visarga on Friday December 02, 2022 @02:32PM (#33835616)
> I really want to know how it works.

You may be disappointed to know that the exact inner workings of the model are still largely unknown. We understand the basics of how it works, such as how changes in the model size and data size will affect its performance, or how to combine various supervised datasets to train it to solve tasks and what the model probabilities are supposed to mean, but the complexity of the model is such that it cannot be fully simulated or imagined. It is similar to the workings of a cell, the brain, or even a protein - we know the basics, but the full complexity of it is beyond our current understanding.

The true complexity is in the weights, and in the dynamic activation patterns. This excellent visualisation article will show you the state of the art in interpreting transformers.

https://www.lesswrong.com/posts/mkbGjzxD8d8XqKHzA/the-singul...

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

Re:People tricking ChatGPT “like watching an Asimov novel co... by Ancalagon on Saturday December 03, 2022 @03:37AM (#33841843)
Yup this is incredibly cool.

I asked it to build an, albeit simple, redstone building in Minecraft of all things. It didn't get everything quite right (namely, torches can't be used in redstone circuits), but most everything else was correct!

> How would you design a simple Minecraft building, which had 4 rooms? Each room would have a single light which could be turned on or off via a switch near the entrance of that room. The redstone used to connect the switches to the lights would not be visible, except for the switches and lights themselves.

> To design a simple Minecraft building with 4 rooms and a light switch for each room, I would start by creating a basic structure with 4 walls, a ceiling, and a floor. Each wall would have a door that leads to one of the rooms.

Next, I would add a light source in each of the 4 rooms, such as a torch or a lamp. These lights would be placed in the center of the room for maximum visibility.

To connect the light switches to the lights, I would use redstone wire and repeaters to create a hidden circuit that connects each switch to the light in its corresponding room. The redstone wire would be hidden behind the walls or under the floor, and the repeaters would be hidden behind blocks or furniture to keep the circuit hidden.

Finally, I would add the light switches near the entrance of each room, using a lever or button that players can interact with to turn the lights on or off. This would allow players to easily control the lighting in each room without having to see the redstone wiring.

Overall, this simple Minecraft building would have 4 rooms, each with its own light source that can be controlled by a hidden redstone circuit and a visible switch near the entrance of the room. This design would provide a functional and visually appealing lighting system for the building.