News for hackers. Stuff that matters.
Re:AI Language Models Are Struggling to “Get” Math by woah on Wednesday October 12, 2022 @04:21PM (#33182526)
Have you ever used Github CoPilot? It does a lot of useful work, automating away rote typing in programming. Have you tried Dall-E or Stable Diffusion? They make good looking images. This comment seems completely unmoored from where the state of the art is right now.
Re:AI Language Models Are Struggling to “Get” Math by TuringTest on Wednesday October 12, 2022 @04:42PM (#33182806)
Math follows a completely different approach with respect to how machine-learning AIs do their thing.

Reason derives its strength in having a few primitives and creating new assertions through the transformation of symbols by following precise rules (which is how algorithms work).

In ML-based AIs, everything is imprecise and probabilistic, and this kind of generation gets its strength from building recognizable from utterly imprecise inputs and training - quite the opposite of how logic and reason evolve. Now, "classic" AI was a powerful way to derive new knowledge, and automatic theorem proving is a strong discipline; but the recent breakthroughs in AI are not directly applicable to classic techniques.

Do you know what machine-learning AIs could be good for? Generating "insight" in problem solvers for guiding the theorem demonstrations through the proof search space, trying to find the best sub-spaces to explore. If there's a way to create human-like general AI, it will likely combine both kinds of generation - the rational methods of symbolic logic and the "irrational" statistical methods of ML.

Re:AI Language Models Are Struggling to “Get” Math by zmgsabst on Wednesday October 12, 2022 @06:30PM (#33184552)
Automated theorem proving is the same problem as “complete and label the diagram”, which image generation is okay at.

Work in progress for sure, though.

Re:AI Language Models Are Struggling to “Get” Math by NateEag on Wednesday October 12, 2022 @10:18PM (#33186379)
> Automated theorem proving is the same problem as “complete and label the diagram”, which image generation is okay at.

How so?

I'm no mathematician, but I don't see how these problem types are equivalent. Could you elaborate?

Re:AI Language Models Are Struggling to “Get” Math by zmgsabst on Wednesday October 12, 2022 @11:49PM (#33186996)
Sure — the connecting topic is topos theory.

For a type theory we might want to reason about, there’s a diagram (in category theory) which represents the same semantic content. These diagrams turn out to have recurring and common structures.

You can represent those diagrams as adjacency matrices, where those structures have a particular “shape” in the entries. Which if you squint hard looks like an image completion problem, ie, finding missing part of the matrix which represents a proof.

Re:AI Language Models Are Struggling to “Get” Math by TuringTest on Thursday October 13, 2022 @04:33AM (#33188629)
Who's using that topos theory, and is it well known in automated theorem proving?

I hadn't heard about it before, although I have some notions of both category theory and theorem proving.

And is your description of “complete and label the diagram” using image generation a thing that actually exists or something that has potential to be created? That could be a breakthrough in applying formal methods to real-world problems.

Re:AI Language Models Are Struggling to “Get” Math by zmgsabst on Thursday October 13, 2022 @08:11AM (#33189904)
Topos theory is used by people researching foundations, eg Michael Shulman.

> And is your description of “complete and label the diagram” using image generation a thing that actually exists or something that has potential to be created?

Somewhere between — it’s a topic being researched, but results are very early (basically, just shapes and groups).

Re:AI Language Models Are Struggling to “Get” Math by mjburgess on Wednesday October 12, 2022 @05:28PM (#33183587)
sure, but co-pilot is mostly just copying code (see, for example, the issue with it producing quake source code).

If you think of AI as a dial from sample(data) to mean(data), then as the dial is turned towards the mean() you get more "generic" results, but also more garbled ones.

Copilot is more like a search engine, having turned the dial more towards sample().

The real invention of the NN is simply to provide that dial in a trainable way.

The only change to the "state of the art" is the size of the weights, and how long they take to train. This "advancement" is no more impressive than google indexing more webpages.

There has been no step-change advancement in AI in, perhaps, 50 years. All we see today is a product of hardware, in GPU/CPUs able to compress TBs of data into c. 300GB of weights. And likewise, the internet to provide it and SSDs to hold it.

The "magic" of AI is no more the magic of wikipida, here: copilot is good only because million+ programmers made github good.

It's still little more than a fancy search.

Re:AI Language Models Are Struggling to “Get” Math by woah on Wednesday October 12, 2022 @05:55PM (#33184060)
> It's all just passable garbled nonesense that the reader (goes to lengths) to interept based on their prior knowledge, which is not expressed in the syntax of what these systems output.

> It's still little more than a fancy search.

I feel like the goalposts have been moved between your two comments. CoPilot is obviously not producing garbled nonsense, and it's also not just printing the top result from StackOverflow. It is producing code that references my variables, does the right thing 50% of the time, and usually compiles.

One of the nice little things is error messages- when I type `if (!foo) { throw ... ` CoPilot is able to complete a nicely formatted and descriptive error message from its understanding of my code. It's not garbled nonsense, and it's not just a search engine.

Does AI deserve the hype it sometimes gets? Not yet. But I think you're going to have to start digging a little deeper for your commentary.

Re:AI Language Models Are Struggling to “Get” Math by _justinfunk on Wednesday October 12, 2022 @07:25PM (#33185125)
As someone who uses co-pilot daily - it often does print garbled nonsense (semantic nonsense, not syntactic nonsense - if you get my meaning).
Re:AI Language Models Are Struggling to “Get” Math by planetsprite on Wednesday October 12, 2022 @06:26PM (#33184495)
Even if AI got to the point of perfectly passing every expert-level Turing test your degree of rigor as to what "thinking" is would never truly permit any belief of AI having struck the golden nugget of intelligence.

Imagine if we were all self-replicating computers, and certain members of this silicon race began experimenting with making creatures with carbon macro-molecules to create organic intelligence, you could make the same claim in the other direction:

"There has been no step-change advancement in Organic Intelligence in, perhaps, 50 years. All we see today is a product of cell count, in neurotransmitter chemistry able to compress TBs of experiences into c. 300B neurons."

Re:AI Language Models Are Struggling to “Get” Math by visarga on Wednesday October 12, 2022 @07:38PM (#33185233)
I think you are missing the conditional, contextual nature of language models. They mix things in coherent ways, they adapt to the request. Google doesn't create new things when they don't exist, and the pre-written code examples on the internet will never adapt to your needs.

But I agree with you that everything they do seems intelligent because 'intelligence' was in the training data. Not much different from us, if you raise a human removed from society (take his intelligent training data away) he will not accomplish almost anything on his own.

Re:AI Language Models Are Struggling to “Get” Math by Marazan on Wednesday October 12, 2022 @05:34PM (#33183712)
Dall-E produces good looking images within certain parameters.

When you are in its bounds it seems magical, once you go outside it seems like a weak joke.

And many of the reasons it is bad outside its sweet spot are fundamental to how it works not a flaw that can be iterated away.

Re:AI Language Models Are Struggling to “Get” Math by stevenhuang on Thursday October 13, 2022 @02:07AM (#33187800)
> fundamental to how it works not a flaw that can be iterated away.

Can you elaborate?

Re:AI Language Models Are Struggling to “Get” Math by Marazan on Thursday October 13, 2022 @04:12AM (#33188506)
Dalle is trying to optimise a bunch of random pixels to meet the prompt.

It has a strong sense of what 1 object is. Ask it for a photo of a kitten and you get an jaw droppingly realistic photo of a kitten.

Ask it for a picture of 6 kittens and you get, well, whatever this is: https://labs.openai.com/s/PIZJe6GCfat9soN3WOV3eC9p

7 kittens, none well defined. Because the loss function it is optimising taps out once it has got "close" and close for a multiple object prompt is _a lot_ further away than for a single subject prompt (here is the 1 kitten version https://labs.openai.com/s/1aCOUxNT19kbMZZtEBG7CoFY - this is basically witchcraft it is so good, the group shot is a joke).

I suppose you could massively reduce the loss amount you are willing to accept but that doesn't guarantee dalle with optimise the correct part of the pictures - maybe I'd have just ended up with really, really good floors.

The other thing Dalle is bad at is backgrounds, and once again this is due to "optimising an error score". https://labs.openai.com/s/U1Vo2fxThuXmQZzIwLQ4g9Ai nothing about this is right. At a superficial glance it looks like the view over a city but it's a random splatching of building cutouts and when you look at the detail of the builds they are a blur of pixels that kind of approximate doors and windows but are nothing of the sort. They are super fuzzy and dream like. Because it's trying to generate an image that looks like a cityscape from its memory of Glasgow cityscapes. THere's no coherance because it's trying to covert random pixels into a cityscape not for buildings out of components that humans know go to makeup buildings.

Re:AI Language Models Are Struggling to “Get” Math by mjburgess on Thursday October 13, 2022 @12:08PM (#33192929)
If you ranked its training data by similarity to your "witchcraft" images, it wouldnt seem witchraft.

Recall that it's stored a compressed version of TBs of images.

Re:AI Language Models Are Struggling to “Get” Math by Marazan on Thursday October 13, 2022 @01:15PM (#33193860)
Sure, it _seems_ like withcraft. The illusion disappears when you know how it is done.
Re:AI Language Models Are Struggling to “Get” Math by woah on Thursday October 13, 2022 @12:13PM (#33193007)
I'm not an expert on AI, but your complaints sound like minor versions of the major problems that these image generation AI's had a couple of years ago. It used to be that they could only create a mishmash of textures reminiscent of the subject and style, and struggled creating distinct objects at all.

Now, your examples simply show some slight artifacts and lack of details on specific things. You're presenting remaining shortcomings on these metrics as "fundamental to how it works not a flaw that can be iterated away", when in fact they have mostly been iterated away over the past few years.

Re:AI Language Models Are Struggling to “Get” Math by Marazan on Thursday October 13, 2022 @01:13PM (#33193838)
Getting 7 things when I ask for 6 is not a minor artefact!
Re:AI Language Models Are Struggling to “Get” Math by Marazan on Friday October 14, 2022 @04:31AM (#33201029)
Dalle doesn't produce any better images of people than "This Person Does Not Exist". All that's happened is it has a large corpus.

A larger corpus allows it to be more varied but it doesn't fix the fundamental limitations.

Re:AI Language Models Are Struggling to “Get” Math by civilized on Wednesday October 12, 2022 @06:28PM (#33184528)
I agree. It's possible to point out the clear limitations of current AI without being oblivious to the huge, indisputable advances that have occurred.

People thought it might take centuries for a computer to defeat a top human in Go. Then deep learning showed up and a few years later it's the opposite.

A lot of the things deep learning methods are doing now are things no one had any idea how long research would take to achieve, or if they were even possible.

Personally, I think we are currently hitting some walls that might take a while to climb before we get to AGI, but I am very impressed at the recent progress.

Re:AI Language Models Are Struggling to “Get” Math by moonchrome on Wednesday October 12, 2022 @10:20PM (#33186386)
I haven't used copilot because I'm not sure I'm allowed, but I'll try it on a personal project eventually.

I'm hoping it's not as bad as Dall-E and Stable Diffusion - I've tried to use those to generate some generic product looking stock photos for a demo and it's spectacularly bad. The only context I see it get praised is fantasy style art - and that is visually appealing nonsense by definition.

If the code generated by copilot has the same "looks convincing but is fundamentally flawed" quality then it sounds like an insidious bug generator.