Skip to content
Math Mastery in Chat: Google's Solution to AI Chatbot Challenges - The Bard Update episode artwork

Jan 19, 2024 10 min

Math Mastery in Chat: Google's Solution to AI Chatbot Challenges - The Bard Update

from The Daily AI

In this episode, we discuss Google's pursuit of math mastery in chat as they unveil the Bard update, addressing challenges faced by AI chatbots. Join the conversation as we explore the innovative solutions, improvements in reasoning, and the impact on the overall user experience. Invest in AI Box: https://Republic.com/ai-box Get on the AI Box Waitlist: ⁠⁠https://AIBox.ai/⁠⁠ AI Facebook Community Learn more about AI in Music Learn more about AI Models

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Math Mastery in Chat: Google's Solution to AI Chatbot Challenges - The Bard Update

0:00 10:15
of matches

Transcript Auto-generated, may contain errors

GoogleBard recently made a major update that is making GoogleBard better at logic and reasoning and therefore better at math and code, something that ChatGPT and other AI models have notoriously been bad at. And I wanted to cover this on the podcast today because it is really interesting the way that they are doing this and their reasoning for it and how they kind of go about this problem. So I think this is interesting because obviously this is a problem that a lot of different AI models have had. And Google traditionally has been quite, like as far as the research goes, Google's really ahead of their time.

They came up with the transformer model or some researchers that Google did. And the way that they think of things and look at these problems, you know, they really look at psychology and a lot of different, you know, non-computational areas to get the models for what they're doing. And once again, they're doing that with this kind of advanced reasoning thing. So I wanted to cover that on the podcast today because I think it's really impressive the way they are going about this.

So the two big improvements that they are launching is number one, Bard is going to get better at math tasks, coding questions, and string manipulation. And it also has a new export action to Google Sheets. So when Bard generates a table in its response, like if you ask it to create a table for a volunteer sign-up for your animal shelter, whatever you're planning on using it for, you can actually export that right to Google Sheets. I actually think this is a very useful feature because on ChatGPT, I've asked it for things before.

It's come up with like a sheet there and you kind of have to try to copy and paste it and the sell somewhere else and the formatting doesn't always work very good. So I think it's actually really good use. I think Google is going to have a lot of advantages in the way that they can export what Google Bard is generating into Google Docs and all of the other Google suite of things. And that being said, I think OpenAI is going to have that advantage as soon as they start integrating more heavily with Microsoft Word and the Microsoft suite because of the partnership there.

So the big thing that they're doing right now is better responses for advanced reasoning and math problems. So a new technique called implicit code execution. That's what Google's calling it. And this helps Bard to detect computational prompts and run code in the background.

So as a result, it can respond a lot more accurately to math tasks, coding questions, string manipulation prompts, and it's getting a lot better. Here's a couple examples of some prompts that Bard is now going to be a lot better at doing after this big update. Number one is if you ask it something like what is the prime factor of 1,568, if you ask it to calculate the growth rate of your savings, or if you ask it to reverse the word lollipop. And that last one's kind of funny, but they did have like an example of asking it to what is the reverse of the word lollipop.

And it did it, which typically Chai-GPT and other models have a hard time doing something like that. But what's interesting is they said, here's what it is, here's the Python code I used to do this. And so how they actually did that is by writing Python code to solve that problem. And so it's actually writing code in the back end to do a lot of problems for it versus like this isn't just something it was trained to do in the back end.

It knows it needs help with this problem, so it can go and actually write a code that helps it solve that problem, which I thought was super interesting. But digging a little bit deeper into some of its newer capabilities and how it's helping Bard to improve its responses, the second big thing is the whole improved logic and reasoning skill side. Traditionally, large language models or LLMs are prediction engines right there. And it's not that they're predicting the next word, they're predicting the next like four letters.

And then they just kind of string that together and out pops all of these things that it's generating. So when it's given a prompt, they generate a response by doing that. And as a result, they've been really capable on language and creative tasks, right? So things that you would, I don't know, feel like it's more like intuition or creativity, creative writing, that kind of stuff.

But they are definitely weaker in areas with reasoning and math. We've seen this a lot with ChatGPT. And so in order to help solve this really complex problem with, you know, advanced reasoning and logic, relying solely on LLM outputs isn't really going to be enough. Google says they don't believe that this is actually feasible.

And so their new method or their new approach, which I think is absolutely genius, allows Bard to generate and execute code to boost its reasoning and mappability, like what it did with reversing worded lollipop. So instead of just, you know, using a LLM to spit out the words it believes, it essentially can detect when something is, they have categorized different areas where it needs advanced reasoning, logic, or math, and it will write code, which I think is so interesting because, you know, in the past I was like, oh man, well, they're just going to integrate with a calculator and they're just going to integrate with plug-ins, kind of like what ChatGP is doing. But this approach is really interesting because it's still using generative AI, but essentially it's Google generating code to solve its problems without having to do these third-party app integrations, which I think is really clever, really smart. Now, this is what I think is really interesting.

And they said that this approach takes inspiration from a well-studied dichotomy in human intelligence. So they say that it is, there's a book by Daniel Kalman called Thinking Fast and Slow. And in this book, there's a separation of system one and system two thinking. So system one thinking is fast, intuitive, and effortless.

So for example, when a musician improvises on the spot or a touch type or thinks about a word and all of a sudden they watch it just appear on the screen, you're using system one thinking. It's more intuitive. But system two thinking is a lot more slow, a lot more deliberate, and a lot more, you have to expend a lot more effort to do it. So when you're carrying out, you know, long division or when you're learning how to play a new instrument, you're using your system two.

So in that analogy, large language models, you can think of them kind of as operating exclusively under system one, right? These things, they just spit stuff out really fast. It's more intuitive. They're producing text really quick, but there's not a lot of deep thought into it.

And so this actually leads to some really amazing capabilities that we've seen out of ChatGP so far, but they definitely fall short and they're not perfect. And it can be surprising in a lot of ways, you know, when you ask you to solve a math problem, it seems fairly simple and it just kind of bombs. But at the same time, if you tried imagining yourself solving a math problem using your system one alone, you wouldn't be able to do it, right? Like you can't, you wouldn't be able to actually stop and do the arithmetic.

You just have to spit out the first thing that comes into your mind and that obviously wouldn't be very successful for most people. So I think a really kind of like traditional computation really closely aligns with this sort of system two thinking. There's formulas, it's not very flexible, and you have to follow a very specific sequence of steps that can produce really impressive results, but you have to be very deliberate with it. And so you can, you know, you can solve long division and all sorts of things, but this isn't the intuitive system one that we're used to and that we see out of ChatGP.

So with this latest update to Google Bard, they've combined essentially capabilities of system one and system two, the large language models and traditional code, and they're doing this to really improve the accuracy of Bard's responses. And they're doing it by allowing it to do this kind of implicit code execution. So Bard essentially identifies prompts that might be from the logical side, it writes this code under the hood and executes it, and the results have been really positive. So Bard did a bunch of, you know, internal testing, and based off of their own testing, the improvement in accuracy was quite impressive.

They said that in response to kind of adding this computational-based word and math problem, you know, system two thinking to it, it improved on their data set. It improved the responses, the correct responses by around 30%. So this is a pretty significant change. Of course, this isn't perfect.

Of course, Google Bard doesn't get everything right. It doesn't, I think for one, they, you know, they noted that it doesn't generate the code correctly every time. So it still has issues with coding. It's not perfect at that.

I think it's going to improve, right? If they're making a big push like this, this isn't very far after Google Bard launch, and it's already getting 30% better at some certain problems. I think we're going to see, we're going to continue to see them working and improving a lot of these issues in really impressive ways. So this is going to be a very interesting area to follow and watch to see if people like Anthropik and ChatGPT integrate this.

And that being said, Google is coming right out there and explaining exactly how they're doing this. And so, you know, it's not like they have some secret code or there's some secret, you know, strategies they're trying to hold back. They really are sharing this with everyone, which I think is awesome because it's, you know, going to push AI forward to be more effective and to be more accurate. So I do give them kudos for that.

So this is going to be very interesting to see how fast some of this technology continues to improve into the future. Thank you for listening to today's podcast episode, breaking down how AI is impacting your industry. Today's episode is sponsored by AI Box, a no-code AI app builder and marketplace, which just launched a crowdfunding campaign. If you are interested in investing in a new AI startup, you can go to republic.com slash AI-box.

I'll leave a link in the show notes as well to learn more. The minimum investment is $150 and the maximum investment is $100,000. Until next time, have a fantastic day.

Frequently asked questions

How long is this episode of The Daily AI?

This episode is 10 minutes long.

When was this The Daily AI episode published?

This episode was published on January 19, 2024.

Is there a transcript available for this episode?

Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.

Can I download this The Daily AI episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.