Alan Kohler's AI primer

Compared to my colleagues I am a bit of a tech simpleton. The look on Owen’s face when I tried to navigate a Mac instead of my trusty Windows for the first time a few months ago said it all. So needless to say, I felt a bit behind the 8 ball re the AI boom.

This morning (as I do most Saturday mornings) I read Alan Kohler’s Weekend Brief which included his AI primer. I thought it was fantastic. So I shot Alan a quick email asking if I could republish it here, “Sure….I take it you liked it?” was the reply.

Here’s the full section on his AI primer complete with other tech companies to watch. If you like this and you’ve not yet trialled Eureka Report/Intelligent Investor click here to give it a go. The parent company InvestSMART is a sponsor of our podcasts and we use their background tech to run Rask Invest.

AI, a Primer

AI chip-maker Nvidia became the world's most valuable company this week, having risen 40% in a month — which is what small companies do, not ones as big as this.

Also Geoffery Hinton, the British-Canadian computer scientist known as the father of AI, said on 60 Minutes this week that AI might be more intelligent than we know, and could eventually "take over", whatever that means

And one of the founders of Open AI, Ilya Sutskever, emerged this week with a new start up to take on Open Ai, called "Safe Superintelligence". Ilya to the rescue!

So I thought it might be a good idea to step back and reflect on what, exactly, is going on here.

(I'm indebted to Mohamed Abdelrazak, professor of applied artificial intelligence at Deakin University, for help with this item.)

I don't think the question of whether AI is safe or not, and will enslave humanity, is particularly useful right now. AI is a new product and a very large amount of money is being poured into developing it as quickly as possible. It's basically out of control, way beyond the capacity or will of governments to do anything.

Maybe we'll wake up one day and say: "Oh, whoops, that wasn't such a great idea", as we did with tobacco and sugar, but for the moment, it's happening. Fasten your seatbelt.

There are three basic forms of AI: generative, which involves creating stuff, cognitive, which involves making decisions, and analytical, which does what its name suggests.

The focus at the moment is on generative AI, and the most common form of it, and where most of the money and activity in the tech world is focused right now, are large language models (LLMs).

Nvidia has become the world's most valuable company because of the hyper-competition between LLM developers. It supplies the graphics processing units (GPUs) that are needed to train and operate LLMs, and there are dozens of companies raising and spending billions, if not trillions, of dollars doing it.

Nvidia's GPUs were originally designed to operate video games because the central processing units (CPUs) in normal computers weren't fast enough to deal with all the processing required to run the games.

Around 2016, Nvidia started moving into AI because its GPUs were also good for that. In August of that year, Nvidia "gifted" its first DGX-1 supercomputer to Open AI to help it train larger and more complex AI models and reduce processing time from six days to two hours.

In 2017 there was a deal with Toyota to use one of Nvidia's GPUs for its autonomous vehicles. Then there was a deal with the Chinese firm Baidu. And then in 2018, Google announced that Nvidia's Tesla P4 graphic cards would be integrated into Google Cloud service's artificial intelligence.

The big movement starting behind the scenes back then was in LLMs. There had been some early work on statistical approaches to word sequences, such as Markov models and n-gram language models, but it wasn't until the internet happened in the 1990s, that massive amounts of data could be applied to those models, to make them really worthwhile and interesting.

So during the 2000s a huge amount of background scientific research went into language modelling and word techniques that could be applied to the colossal volumes of data now available on the internet. Add Nvidia's GPUs to the statistical word techniques plus all the stuff on the internet and you get software that can sort through the data and answer a question using normal written language. 1 1 1 = 5.

What they've been doing for the past few years is "training" the LLMs, which means giving them all the data on the internet — basically everything that's ever been written or said — and teaching them to find answers to questions and then construct a response.

There are now dozens of these LLMs. Wikipedia has a list of them here. The famous first mover — publically at least — was Chat-GPT in November 2022, developed by Open AI, and every other big tech company is now racing to catch up, and so are innumerable start-ups.

My favourite one to use at the moment is Perplexity.ai, founded in 2022 by a group of blokes from Open AI, Meta and Google, with US$165 million from Jeff Bezos and Nvidia. I also like Google's Gemini, Amazon's Alexa and. Of course, Chat GPT. But I've only used a fraction of those that are available, and my use is a fraction of what they can do.

The key to the quality of an LLM is the number of parameters. I asked the ones I use to tell me what a parameter is in AI, and the best answer came from Gemini:

"In AI, parameters are essentially the adjustable dials within a model that are fine-tuned during the training process. They are like the knobs on a radio that you adjust to get the right station.

"Imagine you're training a model to recognize different types of flowers. The model analyzes pictures of roses, daisies, and tulips (the training data). It adjusts its parameters (the dials) based on the features it sees in these images (petal shape, color, etc.). By adjusting these parameters, the model learns to distinguish between roses, daisies, and tulips (improved performance)."

The latest Perplexity model has 70 billion parameters (I got that from Google — Perplexity itself wouldn't tell me). When I asked Gemini how many parameters it has, it replied: "I can't disclose the exact number of parameters I have due to privacy restrictions. However, I can tell you that large language models like me typically have hundreds of billions to over a trillion parameters. This allows us to process information and respond to your questions in a comprehensive and informative way, using text that is similar to human-written text."

Yes, well Gemini's a bit behind: Open AI hasn't revealed how many p[arameters are in Chat GPT-4, but estimates range from 1.7 trillion (Wikipedia) to 100 trillion parameters on this website, which is the same number of synapses in a human brain. But I doubt that it's 100 trillion. In any case, to train Chat GPT-4, Microsoft and Open AI had to use hundreds of expensive Nvidia DGX A100 multi-GPU servers costing around US$100 million.

Which is why Nvidia is making so much money. There are dozens of companies racing to get more and more parameters into their LLMs, with the number of synapses in the human brain apparently the ultimate goal, and they all have to use Nvidia GPUs because AMD and Intel haven't yet developed good enough ones. Nvidia got the jump on them, big time.

So where is all this heading?

Well, one thing is for sure: none of the companies developing LLMs will make any money if all they do is replace Google search with a single answer to every question. Everyone will switch to using an LLM for search, of course, and stop using ordinary Google search, but there are too many of them, and it's hard to see one of them emerge like Google did with search and become the winner who takes all.

It's possible that Google gets the most market share because it owns the search market already and it just puts Gemini into its existing search tool. After all, there were a lot of search engine in the early days of the internet, and Google ate them all. I don't know.

Also LLMs just deal in text, and everyone is using voice, images and video these days, which is why Instagram, TikTok and YouTube are winning, and text publishers are losing. No one reads any more.

But these are early days. It's a bit like dial-up internet in the early 2000s before broadband and WiFi. The training of LLMs that's been going on will form the basis of everything else because all the data that has ever been produced has now been absorbed and the parameters have been trained. They can be put to work doing lots of things.

And AMD and Intel, or someone else, might successfully attack Nvidia's dominance of the GPU market, but right now its first mover advantage has given it a wide and deep moat.

By the way, the AI industry is running out of data — they've hit a wall. Alexander Wang, the CEO of Scale AI told Ben Thompson of Stratechery this week: "I was at an event with a lot of other AI CEOs recently, and one of the dinner conversations is, "Okay, compute, power, data: which do you run out of first?", and the consensus answer around the room is data, and I think the data wall has become over the past few months, a pretty commonly debated topic. "Are we hitting a data wall in LLM development, or are we just fundamentally coming against the limits of data?" Even the most liberal assumptions around, let's assume that you really did train on all human-generated text, which no sensible person does because you filter out all the bullshit, but if you did train on all human-generated texts, even then we will run out by 2027, 2028."

Interesting.

Once they run out of data, it's then presumably a matter of competing to interpret the same data better than everyone else, and to put it to more profitable uses.

Every piece of existing technology and infrastructure will soon contain AI and a whole lot of new products will be come on the market that are based around AI, such as autonomous cars and trucks, labour-saving devices for companies (e.g. AI journalists) and intelligent robots.

I suspect the robots will be the next greatest consumer product ever invented, after the iPhone. You'll buy a robot at JB Hi Fi or Harvey Norman for, say, $15,000, and it will do the housework and gardening, mind the children, drive you around in the car and discuss Nietzsche with you, while acting as your personal trainer.

Oh, and if you buy it at a shadier shop down the road it will also have sex with you.


Some stocks other than Nvidia

Yesterday the Wall Street Journal published a list of AI stocks other than Nvidia that the author, Eric Savitz, says are worth looking at. They're mostly "picks and shovels" plays for the AI gold rush.

Here they are:

Micron Technology: You know what AI data centers need beside GPUs? Lots of high-bandwidth memory. Micron is seeing more demand for this memory than it can fulfil. The push for AI capable phones and PCs is going to increase memory demand too.

Arista Networks: You know what else is needed as data centres grow? Networking hardware. Microsoft and Meta Platforms, which account for about half of Arista's sales, are both ratcheting up spending to respond to growing AI needs.

Corning: The more GPUs you combine into AI server racks, the more fibre optic cable you need to connect them all.

Arm/Qualcomm/SoftBank: Qualcomm's Snapdragon X processors are poised to steal market share from Intel and Advanced Micro Devices as AI-capable PCs become a real market. Those processors are based on Arm's chip designs. SoftBank, meanwhile, owns 90% of Arm, while trading at about a 50% discount to net asset value. Their fates are intertwined.

Oracle: Oracle is now competing head-to-head with Amazon.com, Alphabet, and Microsoft in the cloud, and gaining share. While growth had been stagnant at the enterprise software giant for years, it is now poised to return to double-digit expansion. Oracle recently signed OpenAI as a customer, and it's partnering with Microsoft and Google to make their AI clouds more easily interoperable.

Taiwan Semiconductor: There is geopolitical risk here, but when it comes to building AI chips, there aren't really good alternatives to TSMC. Nvidia, AMD, and even Intel are relying on Taiwan Semi's cutting edge fabs to make AI chips.

HP Enterprise/Dell: Both hardware companies are seeing surging demand for their Nvidia-based AI servers; Dell is also poised to benefit from the coming AI PC wave. And they're bargains. Both trade for about one times forward revenue.

Microsoft: Microsoft is a multipronged bet, which benefits from the rise of OpenAI, improving demand for the company's Azure cloud, an assortment of AI Copilots, and the gradual return of Bing as at least a marginal competitor to Google in search. No software company is better positioned.

Adobe: The dominant player in creative and marketing software, Adobe has gone all in on AI. Wall Street has been worried about competition from AI upstarts—the stock is off 12% this year—but Adobe has already started generating real revenue from AI-enhanced versions of its content creation software. Buy the dip.