News for hackers. Stuff that matters.
Re:AI Language Models Are Struggling to “Get” Math by mjburgess on Wednesday October 12, 2022 @11:17AM (#33178230)
How much of this is just "AI is bad at everything", but in the math case, it's easier for the lay person to tell.

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.

In the case of mathematics, we're far less willing to "BS away" the interpretive failures. But if we were equally demanding, likewise, all prose generated by these systems isnt AI "getting" anything either.

Pass a film reel thru' a shredder and an art student would still call it a film. Pass math thru' and a mathematician wont. This says more about our ability and inclination to make sense out of nonesense when in apparent communicative situations (since, when speaking to a person, this actually improves our mutual understanding).

So, how much of AI is just hacking people's cognitive failures: (1) people's willingness to attribute intention; (2) people's willingness to impart sense "at all costs" to apparent communication; and (3) "hopeium".

Re:AI Language Models Are Struggling to “Get” Math by dimmuborgir on Wednesday October 12, 2022 @11:29AM (#33178431)
AI is bad at music also. Even the state of the art transformer models can't produce more than a few seconds of coherent melodic phrases.
Re:AI Language Models Are Struggling to “Get” Math by stephencanon on Wednesday October 12, 2022 @11:34AM (#33178521)
Which is extra funny, because GOFAI models (e.g. David Cope's work) were doing a pretty OK job back in the 1990s!
Re:AI Language Models Are Struggling to “Get” Math by CactusOnFire on Wednesday October 12, 2022 @11:33AM (#33178504)
AI is bad at Audio. AI can do MIDI fine.
Re:AI Language Models Are Struggling to “Get” Math by causi on Wednesday October 12, 2022 @11:36AM (#33178550)
Which is a real shame. AI-powered restoration of poor-quality audio would be highly useful.
Re:AI Language Models Are Struggling to “Get” Math by aaroninsf on Wednesday October 12, 2022 @01:16PM (#33180041)
That particular niche has had some pretty amazing successes already. It's coming.

We can't produce arbitrary media streams with many "stack layers" of meaning and detail yet, but we can do a lot of specific instrumental transformations...

Vaguely relevant: https://koe.ai/recast/

Re:AI Language Models Are Struggling to “Get” Math by dwringer on Wednesday October 12, 2022 @04:26PM (#33182596)
MIDI is extraordinarily expressive and is likely used to sequence a large majority of music produced within the last three decades. A lot of the instruments you hear are synthesizers or samplers running directly from MIDI. There is a lot more to what MIDI can do, and is used for, than the conception most people have from "canyon.mid" or old website background music. If an AI can do MIDI just fine then it's an extremely small leap to doing audio just fine.
Re:AI Language Models Are Struggling to “Get” Math by p1esk on Wednesday October 12, 2022 @05:00PM (#33183092)
If an AI can do MIDI just fine then it's an extremely small leap to doing audio just fine.

Unfortunately this is not true. It takes a huge amount of human effort to make MIDI encoded music sound good. The difference between MIDI and raw audio music generation is the same as the difference between drawing a cartoon and producing a photograph.

To clarify, yes MIDI can be expressive, but what's being generated when people say "AI generates MIDI music" is basically a piano roll.

Re:AI Language Models Are Struggling to “Get” Math by NateEag on Wednesday October 12, 2022 @10:24PM (#33186418)
thank you for clarifying this.

As a clasically-trained pianist who then got into electronica and synthesis, it was mind blowing to me that people could wrangle expression and phrasing from a MIDI sequencer.

Re:AI Language Models Are Struggling to “Get” Math by dwringer on Thursday October 13, 2022 @08:41AM (#33190200)
I'm not familiar enough with existing implementations of such systems to dispute it, but there's no fundamental reason algorithmic composition systems could not include modulation parameters of all kinds (pitch/breath/effects/synthesizer controls/etc) in their output. I am envisioning a DAW set up with several VST's and samplers with routing and effects in place, then using some combination of genetic algorithms and other methods to "tweak the knobs" in the search for something pleasing.

The search space is absolutely enormous, though, so I don't dispute that it's very difficult, but I wouldn't go so far as to say that it can't be done. In such a space there are "no wrong answers" so to speak. I have a python script which creates randomized sequences of notes/rhythm and gives each one a different combination of LP/HP filters and random envelopes - it's not music but it takes on a much less mechanical quality by emulating different attacks and timbres over time, even though it's completely random.

I would go so far as to say I'd be genuinely surprised if algorithmic composition and production hasn't been used to some extent significantly greater than "basically a piano roll" in at least some of the past decade's top 40 music on the radio.

Re:AI Language Models Are Struggling to “Get” Math by p1esk on Thursday October 13, 2022 @10:41AM (#33191654)
there's no fundamental reason algorithmic composition systems could not include modulation parameters of all kinds (pitch/breath/effects/synthesizer controls/etc) in their output

There is such a reason - lack of training data. Very few high quality detailed MIDI samples exist to train machine learning models like AudioLM.

For state of the art in MIDI generation, take a look at what https://aiva.ai/ produces (it's free for personal use). There you can compare raw MIDI output to an automatically generated mp3 output (using "VST's and samplers with routing and effects in place, then using some combination of genetic algorithms and other methods to "tweak the knobs" in the search for something pleasing.")

mp3 version will sound much better than raw MIDI, but (usually) significantly worse than music recorded in a studio and arranged/processed by a human.

Re:AI Language Models Are Struggling to “Get” Math by mjburgess on Wednesday October 12, 2022 @11:51AM (#33178788)
I think if we replaced "AI" with "taking averages over subsets of historical examples", then there'd be no mystery for when "AI" will be good or bad at anything.

Would we expect a discrete melodic structure to be expressible as averages of prior music? No.

Re:AI Language Models Are Struggling to “Get” Math by yeasurebut on Wednesday October 12, 2022 @11:54AM (#33178836)
That’s what a musician does. They make short loops and loop them.

This reads like someone who knows sheet music and theory but does not listen to music. It’s repetition of short phrases over and over.

I’m not really sure what people expect of general AI trained on human generated outputs. It can’t make up anything anything “net new” only compose based upon what we feed it.

I like to think AI is just showing us how simple minded we really are and how our habit of sharing vain fairy tales about history makes us believe we’re masters of the universe.

Re:AI Language Models Are Struggling to “Get” Math by dimmuborgir on Wednesday October 12, 2022 @12:24PM (#33179285)
Those models are not trained on short loops. They are trained on whole songs just like image generation models are trained on whole images. And yet they struggle to repeat sections, modulate to a different key, create bridges, intros and outros. After a few seconds of hallucinating a melodic line they simply abandon the idea and migrate to another one. There is no global structure whatsoever.
Re:AI Language Models Are Struggling to “Get” Math by yeasurebut on Wednesday October 12, 2022 @03:10PM (#33181609)
Musicians don’t spit out an album in one sitting and they’re highly trained in theory. They get bored and tired of a process and take breaks. They come up with an album of loops composed together over time.

AIs state will forever be constrained to the limits of human cognition and behavior as that’s what it’s trained on.

I read published research all year. Circular reasoning. Tautology. It’s all over PhD thesis.

There’s no “global structure” to humanity. Relativity is a bitch.

Seeing the world through the vacuum of embedded inner monologue ignores the constraints of the physical one. It’s exhausting dealing with the mentality some clean room idea we imagine in a hammock can actually exist in a universe being ripped asunder by entropy.

It’s living in memory of what we were sold; some ideal state. Very akin to religious and nation state idealism.

Re:AI Language Models Are Struggling to “Get” Math by mjburgess on Wednesday October 12, 2022 @03:36PM (#33181944)
I think it's deeply depressing that AI has been sold as something even capable of modelling anything humans do; and quite depressing that this comment exists.

"AI" is just taking `mean()` over our choice of encodings of our choice of measurements of our selection of things we've created.

There is as much "alike humans" in patterns in tree bark.

AI is an embarrassingly dumb procedure, incapable of the most basic homology with anything any animal has ever done; us especially.

We are embedded in our environments, on which we act, and which act on us. In doing so we physically grow, mould our structure and that of our environment, and develop sensory-motor conceptualisations of the world. Everything we do, every act of the imagination or of movement of our limbs, is preconditioned-on and symptomatic-of our profound understanding of the world and how we are in it.

The idea that `mean(424,34324,223123,3424,....)` even has any revelance to us at all is quite absurd. The idea that such a thing might sound pleasant thru' a speaker, irrelevant.

This is a product of i dont know what. On the optimist side, a cultish desire to see Science produce a new utopia. On the pessimisst side, a likewise delusional desire to see Humans as dumb machines.

What a sad state!

Re:AI Language Models Are Struggling to “Get” Math by pessimizer on Wednesday October 12, 2022 @04:21PM (#33182527)
I lack your confidence, and find it a bit religious.

> The idea that `mean(424,34324,223123,3424,....)` even has any revelance to us at all is quite absurd.

Most of what I say to anyone is exactly this.

When I'm about to give anyone any information, I look back at all of the relevant past information that I can recall (through word and sensory association, not by logic, unless I have a recollection of an associated internal or external dialog that also used logical rules.) I multiply those by strength of recollection and similarity of situation (e.g. can I create a metaphor for the current situation from the recalled one?). I take the mean, then I share it, along with caveats about the aforementioned strength of recollection and similarity of situation.

This is what it feels like I actually do. Any of these steps can be either taken consciously or by reflex. It's not hidden.

> I think it's deeply depressing that AI has been sold as something even capable of modelling anything humans do

This is a bizarre position. All computers ever do is model things that humans do. All a computer consists of is a receptacle for placing human will that will continue to apply that will after the human is removed. They are a way of crystallizing will in a way that you can sustain it with things (like electricity) other than the particular combination of air, water, food, space, pressure, temperature, etc. that is a person. An overflow drain is a computer that models the human will. An automatic switch/regulator is the basic electrical model of human will, and a computer is just a bunch of those stitched together in a complementary way.

Re:AI Language Models Are Struggling to “Get” Math by mjburgess on Wednesday October 12, 2022 @05:17PM (#33183409)
You're an animal. You've no idea what you do, and you're using machines as a model. Likewise, in the 16th C. it was brass cogs; and in anchient greece, air/fire/etc.

You're no more made of clay & god's breath, as you are sand and electricy.

You're an oozing, growing, malluable organic organism being physiologically dynamically shaped by your sensory-motor oozing. You're a mystery to yourself, and these self-reports, heavily coloured by the in-vogue tech are not science, they're pseudoscience.

If you want to study how animals work, you'd need to study that. Not these impoverished metaphors that mystify both machines and men. No machine has ever acquired a concept through sensory-motor action, nor used one to imagine, nor thereby planned its actions. No machine is ever at play, nor has grown its muscles to be better at-play. No machine has, therefore, learned to play the piano. No machine has thought about food, because no machine has been hungry; no machine has cared, nor been motivated to care by a harsh environment.

An inorganic mechanism is nothing at all like an animal, and an algorithm over a discrete sequence of numbers with electronic semantics, is nothing like tissue development.

What you are doing is not something you can introspect. And you arent really doing that. Rather, you've learned a "way of speaking" about machine action and are back-projecting that onto yourself. In this way, you're obliterating 95% of the things you are.

Re:AI Language Models Are Struggling to “Get” Math by pessimizer on Wednesday October 12, 2022 @09:20PM (#33186030)
This isn't really responsive. Not only am I not using machines as any sort of model for human behavior, I'm trying to think about weird things you could do to a machine to make it ape a human.

> these self-reports, heavily coloured by the in-vogue tech are not science, they're pseudoscience.

I simply don't know what you're referring to. If you're referring to retrieving memories through associations, there's mountains of empirical evidence for that. If you're referring to wondering if I remember things, and being unsure of the information I'm recalling when I have less recall of that, or wondering if past situations compare well to current situations, well you got me. It's my personal belief that conscious thought is an epiphenomenon that is a rationalization of decisions already made.

But the rest of this is nonsense. Vivid imagery is not an argument for exceptionalism, no matter how much I say things drip or ooze. This is just association in action. You're trying to create a distinction for life (or rather what you recognize as life) life oozes and has viscera, so using a bunch of words that feel wet and organy can substitute for reason contra the robots.

Re:AI Language Models Are Struggling to “Get” Math by efishnc on Thursday October 13, 2022 @12:57AM (#33187405)
Maybe that's the problem.

We're trying to train a full composer AI without allowing to learn about different instrument sections independently at first. The human composer will have a good idea of the different parts and know how to merge them in harmony.

I think we might get better results training separate AI systems on percussions, strings, vocals etc. then somehow create connections between them so they learn together. A band AI if you will.

We could try a BERT for each, with the generator learning to output logical sequences of sounds instead of words.

Re:AI Language Models Are Struggling to “Get” Math by vladf on Wednesday October 12, 2022 @12:33PM (#33179416)
Have you heard the piano continuations of AudioLM?

https://google-research.github.io/seanet/audiolm/examples/

Re:AI Language Models Are Struggling to “Get” Math by bloep on Wednesday October 12, 2022 @04:03PM (#33182286)
Indeed, there is lots of denial or ignorance in this thread (ignorance in the technical sense). AudioLM already produced impressive results and it's a tiny fraction of what is already possible because performance simply improves with scale. One can probably solve music generation today with a ~$1B budget for most purposes like film or game music, or personalized soundtracks. This is not science fiction.
Re:AI Language Models Are Struggling to “Get” Math by p1esk on Wednesday October 12, 2022 @04:49PM (#33182903)
I don't see a lot of progress in AudioLM compared to results from 2018: https://storage.googleapis.com/magentadata/papers/maestro/in...

What's more interesting and concerning - listen carefully to the first piano continuation example from AudioLM, notice the similarity of the last 7 seconds to Moonlight sonata: https://youtu.be/4Tr0otuiQuU?t=516

I'm afraid we will see a lot of this with music generation models in the near future.

Re:AI Language Models Are Struggling to “Get” Math by bloep on Wednesday October 12, 2022 @06:21PM (#33184419)
There are quite simple tricks to avoid repetition/copying in NNs, e.g. by (1) training a model to predict the "popularity" of the main model's outputs and penalizing popular/copied productions by backpropping through that model so as to decrease the predicted popularity, or (2) by conditioning on random inputs (LLMs can be prompted with imaginary "ID XXX" prefixes before each example to mitigate repetitions), or (3) by increasing temperature or optimizing for higher entropy. LLM outputs are already extremely diverse and verbatim copying is not a huge issue at all. The point being, all evidence points to this not being a show stopper if you massage these evolutionary methods for long enough in one or more of the various right ways.
Re:AI Language Models Are Struggling to “Get” Math by p1esk on Wednesday October 12, 2022 @06:51PM (#33184782)
I'm not sure what you mean by "backpropping through that model so as to decrease the predicted popularity". During training, we train a model to literally reproduce famous chunks of music exactly as they are in the training set. We can also learn to predict popularity at the same time, but we can't backpropagate anything that will reduce popularity, because this would directly contradict the main loss objective of exact reproduction.

Having said that, I think the idea of predicting popularity is good - we can use it for filtering already generated chunks during post-training evaluation phase.

I don't think the other two methods you suggest would help here, we want to generate while conditioning on famous pieces, and we don't want to increase temperature if we want to generate conservative, but still high quality pieces.

It's true that we (humans) are less sensitive to plagiarism in the text output, but even for LLMs it is a problem when it tries to generate something highly creative, such as poetry. I personally noticed multiple times a particular beautiful poetry phrases generated by GPT-2 only to google it and find out they were copied verbatim from a human poem.

Re:AI Language Models Are Struggling to “Get” Math by sdenton4 on Wednesday October 12, 2022 @09:16PM (#33186001)
Meanwhile, the music industry is full of copyright cases brought over matching combinatorial fragments... Humans have the same problem in this case.
Re:AI Language Models Are Struggling to “Get” Math by bloep on Thursday October 13, 2022 @05:03PM (#33196456)
What I had in mind was kind of like a reward model that is trained by on longer outputs that have a very high similarity to training examples. Something similar has been done to prevent LLMs from using toxic language. You'd simply backprop through that model like in GANs. And no it does not contradict the overall training objective completely because the criterion would be long verbatim copies and it would not affect shorter copies of sound fragments and the like which you would want a music model to produce in order for it to sound realistic and natural.
Re:AI Language Models Are Struggling to “Get” Math by p1esk on Thursday October 13, 2022 @06:50PM (#33197498)
Oh OK, so you mean training the model after it has already been trained on the main task, right? Like finetuning. Yes, I think the GAN-like finetuning is a good idea. Though it's less clear where the labels would come from, it seems like some sort of fingerprint would need to be computed for each generated sequence, and this fingerprint would need to be compared against a database of fingerprints for every sequence in the training set. This could be a huge database.
Re:AI Language Models Are Struggling to “Get” Math by bloep on Friday October 14, 2022 @07:17AM (#33202015)
You'd need something Spotify.

Another similar possibility might be to do more RL with this data, e.g. using upside-down RL. One can possibly steer this with user feedback as well.

Re:AI Language Models Are Struggling to “Get” Math by phillipharr1s on Wednesday October 12, 2022 @04:43PM (#33182829)
Pretty sure the first continuation is a famous piece with a few notes messed up. Can't remember the name. Honestly it only sounds marginally better than the old markov chain continuations.
Re:AI Language Models Are Struggling to “Get” Math by vladf on Wednesday October 12, 2022 @04:48PM (#33182894)
Isn’t that as good as it gets? The whole point of the continuations is that given a short leading prompt from a real piece that it should continue it realistically.

It didn’t get to train on the test set, if that’s what you’re implying, and I find it hard to believe the assertion that continuations are copies of the train set (if that’s your claim).

Re:AI Language Models Are Struggling to “Get” Math by p1esk on Wednesday October 12, 2022 @05:04PM (#33183155)
It definitely copied a piece of Moonlight sonata in the last 7 seconds of the first continuation sample: https://youtu.be/4Tr0otuiQuU?t=516
Re:AI Language Models Are Struggling to “Get” Math by holub008 on Wednesday October 12, 2022 @06:07PM (#33184233)
Interestingly, the original piece is a later Beethoven Sonata, Op. 31 No. 3. The model has its styles down! https://youtu.be/P-Q5aBAw-T4?t=78
Re:AI Language Models Are Struggling to “Get” Math by vladf on Wednesday October 12, 2022 @08:54PM (#33185843)
Wow, good find! They definitely sound similar but it’s not a facsimile. I wonder if this holds for the other samples.

I guess in retrospect we asked it to continue the music in a likely way, not be novel. And it definitely convinced me enough to be impressive. An NN that composes completely fresh music, whatever that means (I’m sure most modern human music has a hefty dose of cross song sampling), would certainly be a good next goal post.

Re:AI Language Models Are Struggling to “Get” Math by macrolocal on Wednesday October 12, 2022 @05:24PM (#33183522)
Yep, Moonlight Sonata (mov. 3) no less. Talk about over-fitting!
Re:AI Language Models Are Struggling to “Get” Math by aaroninsf on Wednesday October 12, 2022 @01:10PM (#33179967)
AI can be quite good at music,

but yes there is not yet at on-demand button rendering from a text prompt of bitstreams encoding composed performed and mastered music.

Re:AI Language Models Are Struggling to “Get” Math by denton-scratch on Wednesday October 12, 2022 @03:43PM (#33182009)
It doesn't surprise me that an AI model for language can't grok maths or music. I can't see how a language model can map to maths. Hell, I don't even know how to describe music in words. It's possible to articulate some maths in words, but that often involves using words with unexpected definitions.
Re:AI Language Models Are Struggling to “Get” Math by Der_Einzige on Wednesday October 12, 2022 @04:40PM (#33182768)
That's wrong, and shows how ignorant you are of SOTA techniques for music generation. They are far ahead of that.
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.

Re:AI Language Models Are Struggling to “Get” Math by planetsprite on Wednesday October 12, 2022 @06:07PM (#33184234)
Language models aren't built for math. Their improvement/training cycles aren't sensitive to the exactness and rule-based nature of mathematical language, plus there are probably a lot of bad/misleading examples of math in the source data.

You'd have to be unrealistically pessimistic to call what GPT-3 and other huge language models produce "nonsense".

Re:AI Language Models Are Struggling to “Get” Math by visarga on Wednesday October 12, 2022 @06:10PM (#33184276)
It's not that they were not built for math, but more like verification is hard. But it's hard for humans as well. A large generative model + a fast verifier could do wonders.

AlphaGo was built on that - the model can propose moves, but you can verify who won in the end. There are some code generation models that write their own tests as well, or use externally provided tests to verify their solutions. The DeepMind matrix multiplication algorithm was also "learning from verification" of generated solutions, because it's trivial to do that. In general verification remains an open problem.

Re:AI Language Models Are Struggling to “Get” Math by spywaregorilla on Wednesday October 12, 2022 @06:43PM (#33184698)
I disagree. It is that they were not built for math. While brain analogies are shittier than most people assume, this is like trying to do math in your head without being allowed to think through calculations.
Re:AI Language Models Are Struggling to “Get” Math by visarga on Wednesday October 12, 2022 @07:49PM (#33185332)
Brains weren't built for math either, just for surviving. And the "trying to do math in your head" is true if you use naive question answering, but if you ask "step by step" or "chain of thought", or "supporting questions", any of them will allow for flexible time steps. There are some solutions called "Language Model Cascades" that compose language models calls to simulate arbitrary complex reasoning chains including recursion. There is no reason to think language models are unfit for math, they are fit for generating possible solutions that need to be verified somehow.
Re:AI Language Models Are Struggling to “Get” Math by spywaregorilla on Wednesday October 12, 2022 @08:56PM (#33185863)
> Brains weren't built for math either, just for surviving.

Brains were, however, built for language processing, in addition to many other tasks.

> There is no reason to think language models are unfit for math, they are fit for generating possible solutions that need to be verified somehow.

This is just a dumb idea though. Guess and check based on semantically well positioned answers in the ambiguity that is the embedding space until you find something that's not wrong is not the same thing as defining an algorithm and then executing it, which is how people do math.

Sure, you could probably get it to a pretty good working state, but it seems pretty dumb to me.

> There are some solutions called "Language Model Cascades" that compose language models calls to simulate arbitrary complex reasoning chains including recursion.

If you're creating the reasoning chains yourself, you're arguably doing the hard part for the model and giving credit to the language part. If you're able to do get the model to define the chains, then you've already solved the hard part of the problem and could likely use something very different from language models altogether to greater effect.

Re:AI Language Models Are Struggling to “Get” Math by visarga on Saturday October 15, 2022 @09:18AM (#33214520)
> This is just a dumb idea though.

True, but that's how "inspiration" works in humans as well: generate stupid ideas until you stumble upon a great one.

That's why I said we only need verification. It's the artist-critic model, we got the artist we need the critic. Sometimes it's easy (in games, code, math) and other times we don't have a good way to verify.

Re:AI Language Models Are Struggling to “Get” Math by spywaregorilla on Saturday October 15, 2022 @02:36PM (#33217360)
> True, but that's how "inspiration" works in humans as well: generate stupid ideas until you stumble upon a great one.

I don't agree with this, but even if it were true, "inspiration" is not how we do math.

> That's why I said we only need verification. It's the artist-critic model, we got the artist we need the critic. Sometimes it's easy (in games, code, math) and other times we don't have a good way to verify.

That's not even how the typical language model works.

Re:AI Language Models Are Struggling to “Get” Math by saghm on Wednesday October 12, 2022 @06:23PM (#33184453)
> How much of this is just "AI is bad at everything", but in the math case, it's easier for the lay person to tell

Honestly, even as someone generally pretty dismissive of the AI hype, I'm not sure you can go that far. The whole reason we have specific mathematical notation is that human languages often are not super great at dealing with it, and English in particular is pretty abysmal for being both unambiguous and precise (and I'd be surprised if language models didn't end up suffering from biases analogous to how many image recognition AI models have been found to not deal well with a diverse set of human appearances). We don't teach math the same way we teach English, and we certainly don't expect people to be experts at teaching both, so why would we expect an AI model designed for language to be able to do math?

Re:AI Language Models Are Struggling to “Get” Math by mirker on Wednesday October 12, 2022 @07:41PM (#33185265)
Because there is an algorithm for it. Convert the strings into floating point numbers, add them, convert them back to strings. It’s a leetcode medium question. It should be learnable.

The article talks about abstract math questions, but even arithmetic is hard for language models.

Re:AI Language Models Are Struggling to “Get” Math by stevenhuang on Thursday October 13, 2022 @02:12AM (#33187824)
That even arithmetic is hard for language models may suggest language models (at least in their current form) are not the most optimum for the task.
Re:AI Language Models Are Struggling to “Get” Math by edouard-harris on Wednesday October 12, 2022 @08:25PM (#33185633)
This might make sense as a response solely to the title of the article, but I have to admit I find it puzzling as a reaction to its content. Notwithstanding the title, the article mentions a model called Minerva that scored fully 50% on the MATH dataset of high-school/undergrad mathematical problems. For comparison, a human computer science PhD student scored 40%. [1]

For context, Minerva came out this July. When it was tested on a national math exam, it scored higher than that year's class of graduating high school seniors. [2] A mere eight months (!) earlier, OpenAI had announced [3] they'd trained a language model that solved math word problems almost as well as an average middle-schooler. So even if you believe — rightly or wrongly — that current capabilities aren't very impressive, it's worth remembering that your understanding of current capabilities might not be entirely accurate, even if it's only a few months out of date.

Incidentally, it may be worth looking at some examples of these models' outputs before deciding what they can or can't do. Here's Minerva solving some math problems, for example:

https://dl.airtable.com/.attachmentThumbnails/32f10fc59039c7...

https://dl.airtable.com/.attachmentThumbnails/f6f86e0edd14d1...

https://dl.airtable.com/.attachmentThumbnails/d9bc743dca1015...

https://dl.airtable.com/.attachmentThumbnails/51562ef70c2b14...

https://dl.airtable.com/.attachmentThumbnails/c081906cc4d23b...

I'll admit I find it challenging to interpret these results as "passable garbled nonesense [sic]", though perhaps I'm not being demanding enough. At any rate, when these models go from beating 10-year olds at math to beating 18-year olds at math in the span of 8 months, one does start to wonder how much of the hype is really due to over-interpretation — and what the next 8 months have in store.

========================

[1] https://arxiv.org/pdf/1709.04326.pdf (For comparison, a 3-time Mathematics Olympiad gold-medalist scored 90%.)

[2] This was Poland's National Math Exam. Minvera scored 65%; the 2021 national average was 57%. See https://www.aitracker.org/ and Section 3 of the Minerva paper at https://arxiv.org/pdf/2206.14858.pdf

[3] https://openai.com/blog/grade-school-math/

Re:AI Language Models Are Struggling to “Get” Math by 1024core on Wednesday October 12, 2022 @09:44PM (#33186188)
See the "joke explaining" examples on Page 36 of the paper: https://arxiv.org/abs/2204.02311 and tell me if it's just "passable garbled nonsense".
Re:AI Language Models Are Struggling to “Get” Math by riskneutral on Wednesday October 12, 2022 @09:57PM (#33186254)
That's astonishing.
Re:AI Language Models Are Struggling to “Get” Math by stevenhuang on Thursday October 13, 2022 @01:17AM (#33187529)
Oo this reminds me. One of my favourite sci-fi novels is The Moon is a Harsh Mistress.

In it, it depicts the growth of a nascent AI from its attempts at understanding humor. The AI befriends a technician and gets the human to rate its own crafted jokes.

Eventually the AI gets really good at telling jokes, and becomes sentient as a result.

It was a very fun take on AI gaining sentience, highly recommended!

Re:AI Language Models Are Struggling to “Get” Math by mjburgess on Thursday October 13, 2022 @03:43AM (#33188332)
> 500 bn parameter model

That solution has a compressed representation of half the internet.

NNs are "garabled nonesense" insofar as they try to generalise; insofar as they are search engines, they provide apparent sense by just repeating something in their database (= weights).

Google, likewise, returns joke explanations.

Re:AI Language Models Are Struggling to “Get” Math by 1024core on Friday October 14, 2022 @08:41PM (#33210439)
"The Internet" is much, much bigger than 500bn floats. The latest snapshot of archive.org has 505 billion web pages itself.
Re:AI Language Models Are Struggling to “Get” Math by kazinator on Wednesday October 12, 2022 @10:58PM (#33186624)
> How much of this is just "AI is bad at everything"

"AI Language Models" are not touted as some general AI that is smart at everything, like a clever person with multiple intellectual skills integrated into one.

AI language models are for modeling language, not for math problem solving, or anything else. People good at language aren't always good at math.

DeepL produces very good, correct translations for "Alice has five more balls than Bob, who has two balls after he gives four to Charlie. How many balls does Alice have?" into numerous languages, even though it doesn't offer a solution.

I have little doubt that an AI system could be trained to translate word problems like this into systems of equations, which could be dumped into a some decades-old CAS to obtain a solution, which the AI could map back into the verbal domain through the identities between the math variables like x and Alice's apples.

"Hey look, that human who is supposedly good at math can't produce a painting of the Grand Canyon in the style of Monet, even if given eight months to do it, and is easily defeated in chess."