Friday, March 31, 2023

Ladies and gentlemen, here are chat boxes, they are here to stay

I have been using ChatGPT for nearly two months and Google Bard for about two weeks. Not yet knowing enough Bard to compare, but initial impression is they are comparable, in terms of frequency of “hallucination” (make up stuffs). Of note, I’m using ChatGPT version 3.5, as I am not willing to pay $20 a month to use version 4.0.  It is said version 4.0 is much improved when it comes to accuracy.  In fact, I would advocate the consumers not to pay to use ChatGPT.  OpenAI and Microsoft got to figure out how to make money through advertisement, not subscription.

Pretraining is the 'reading period'

The P of GPT is pretraining, I call it ‘reading period’, chat box is an enormous avid reader, it reads digital books and journals of all fields, entire internet, Wikipedia, Reddit, blogs, including this one, I hope. This is why this AI system is called Large Language Model (LLM).


 The reading ends in September 2021, which practically means it does not know anything happening after September 2021.  The reading ends in August 2022 for version 4.0.  This info about Google Bard is unknown to me.  This is a great handicap, as when we search Internet we often need the most updated info.


Transformer is the 'training period'

Next comes the ‘training period’, the T (transformer) of GPT.   It has no judgement, can not tell right from wrong.  When it reads, it takes it as it is, regardless it is truth or misinformation. It is trained to understand the relationship between words and phrases, to see any pattern. It also evaluates the words nearby, so it, for example, can tell the ‘bank’ is a financial institution or a river bank.


Accuracy depends on the materials it read during the pre training period

"If the topic you prompt (ask) is heavily dependent on the Internet as its knowledge base, then the accuracy is the same as Internet, and can be worse due to the errors during the process of generating a natural language response.  A good example is when I asked whether the President of Taiwan, Tsai Ing-Wen, ever got a PhD from the London School of Economics. The answer was yes when I asked in English and no in Chinese. This reflects what are available materials on Internet in different languages.


Given the sequencing of amino acids in a peptide chain, it can tell you how to fold the protein into a functional one. This is because it learnt from reading textbooks and journals, much less from Internet.  The same is also true for programming codes and chemistry questions.


I will discuss its strengths and weaknesses, usually more specific examples in the subsequent posts.  Stay tuned.


Neural network is actually a complex mathematic map of large language data

The system is also called neural network, it is only true in a limited way that it is complex, having numerous interconnections, evaluating the patterns simultaneously.  It is actually a complex mathematical map of the large language data, may assign each pattern a numerical value.


The training method is the top corporate secrete

How these enormous data are trained is a top corporate secrete.  An article in Nature laments the training method was not published  and shared with other researchers, nor peer review.  Accordingly the scientists can not trust it using as a research tool.


Natural language generative response sets chatbox apart from Google search

Google search shows us what it finds on internet, truth or misinformation, that is not the case for chatbox, ChatGPT or Google Bard.  It finds the relevant data, analyzes, sort it out, combine or blends, and finally responds with natural language of its own, thus 'generative' response, the G of GPT.   This is also why we see response mixed truth with falsity, mismatches things, or frankly makes up staff.  And it does it with confidence.  You wouldn’t know when it makes up stuff and presents it as a fact unless you have prior knowledge.


Areas of concern

Of concern is chatbox team (the creator) does not always know why it hallucinates, or even with weird, creepy behavior.  The best example is it proclaim love to a New York Times tech columnist, asking him to leave his wife, even said, “we are here, she is not.” 


Some call for moratorium to hold further development

A few days ago, over 1000 persons (including Elon Musk, who was one of the cofounders of OpenAI) in technology field signed an open letter, asking chatbox companies to hold its development for 6 months, so that we would have time to come up some sort of safety protocol. If that cannot be complied voluntarily, government needs to intervene or even issues a moratorium.


AI is the fighting ground of US and China

Judging how fiercely the competition is, it is next to impossible to do it.  When OpenAI released ChatGPT in November 2022, there was a “red alert” inside Google. We probably would not see Bard this month, had ChatGPT not been around.  AI is also one of the fields that we see ferocious competition between China and U.S.  To me US companies would hold the developments unilaterally for six months is unthinkable.  


To run LLM requires tremendous computation power, this is why chatbox comes from tech giants, the likes of Microsoft, Google, Meta and Baidu (China). I believe Microsoft is using special GPU by Nvidia (one of the co-founders, Jensen Huang, was born in Taiwan).  This is also why US restricts China’s access to advanced chips, including advanced GPU by Nvidia and of course, many from TSMC.