Google sets the bar for AI language models with PaLM. The number of parameters is important in LLMs, although more parameters don’t necessarily translate to a better-performing model. PaLM 540B is in the same league as some of the largest LLMs available regarding the number of parameters: OpenAI’s GPT-3 with 175 billion, DeepMind’s Gopher and Chinchilla with 280 billion and 70 billion, Google’s own GLaM and LaMDA with 1.2 trillion and 137 billion and Microsoft – Nvidia’s Megatron–Turing NLG with 530 billion.
Hatched by Kazuki Nakayashiki
Sep 10, 2023
7 min read
12 views
Google sets the bar for AI language models with PaLM. The number of parameters is important in LLMs, although more parameters don’t necessarily translate to a better-performing model. PaLM 540B is in the same league as some of the largest LLMs available regarding the number of parameters: OpenAI’s GPT-3 with 175 billion, DeepMind’s Gopher and Chinchilla with 280 billion and 70 billion, Google’s own GLaM and LaMDA with 1.2 trillion and 137 billion and Microsoft – Nvidia’s Megatron–Turing NLG with 530 billion.
The first thing to consider when discussing LLMs, like any other AI model, is the efficiency of the training process. PaLM uses a standard Transformer model architecture, with some customizations. Transformer is the architecture used by all LLMs and although PaLM deviates from it in some ways, what is arguably more important is the focus of the training dataset used.
The dataset used to train PaLM is a mixture of filtered multilingual web pages (27%), English books (13%), multilingual Wikipedia articles (4%), English news articles (1%), GitHub source code (5%) and multilingual social media conversations (50%). This dataset is based on those used to train LaMDA and GLaM. Nearly 78% of all sources are English, with German and French sources at 3.5% and 3.2% and all other sources trailing far behind.
PaLM 540B surpassed few-shot performance of prior LLMs on 28 of 29 tasks. PaLM outperforms the prior top score of 55% achieved by fine-tuning GPT-3 with a training set of 7,500 problems and combining it with an external calculator and verifier. This new score also approaches the 60% average of problems solved by 9- to 12-year-olds — the target audience for the question set.
"The Anatomy of a Search Engine". In 1994, one of the first web search engines, the World Wide Web Worm (WWWW) [McBryan 94] had an index of 110,000 web pages and web accessible documents. As of November, 1997, the top search engines claim to index from 2 million (WebCrawler) to 100 million web documents (from Search Engine Watch). In March and April 1994, the World Wide Web Worm received an average of about 1500 queries per day. In November 1997, Altavista claimed it handled roughly 20 million queries per day.
Our main goal is to improve the quality of web search engines. One of our main goals in designing Google was to set up an environment where other researchers can come in quickly, process large chunks of the web, and produce interesting results that would have been very difficult to produce otherwise. The citation (link) graph of the web is an important resource that has largely gone unused in existing web search engines. Academic citation literature has been applied to the web, largely by counting citations or backlinks to a given page. This gives some approximation of a page's importance or quality.
PageRank extends this idea by not counting links from all pages equally, and by normalizing by the number of links on a page. PR(A) = (1-d) + d (PR(T1)/C(T1) + ... + PR(Tn)/C(Tn)) PageRank can be thought of as a model of user behavior. We assume there is a "random surfer" who is given a web page at random and keeps clicking on links, never hitting "back" but eventually gets bored and starts on another random page. The probability that the random surfer visits a page is its PageRank. And, the d damping factor is the probability at each page the "random surfer" will get bored and request another random page. One important variation is to only add the damping factor d to a single page, or a group of pages. This allows for personalization and can make it nearly impossible to deliberately mislead the system in order to get a higher ranking.
Currently, the predominant business model for commercial search engines is advertising. The goals of the advertising business model do not always correspond to providing quality search to users.
When exploring the advancements in AI language models like PaLM, it is crucial to consider the number of parameters. However, it is important to note that more parameters do not automatically guarantee better performance. PaLM 540B boasts an impressive parameter count, putting it in the same league as other massive LLMs such as GPT-3, Gopher, Chinchilla, GLaM, LaMDA, and Megatron-Turing NLG.
The efficiency of the training process is a key factor to consider in any AI model, including LLMs. PaLM utilizes a standard Transformer model architecture with some customizations. While it deviates from the traditional Transformer architecture in certain ways, the focus of the training dataset used is equally significant.
The training dataset for PaLM consists of a mix of filtered multilingual web pages, English books, multilingual Wikipedia articles, English news articles, GitHub source code, and multilingual social media conversations. With the majority of sources being English, followed by German and French, this dataset draws inspiration from the training datasets of LaMDA and GLaM.
PaLM 540B has demonstrated remarkable performance, surpassing the few-shot capabilities of previous LLMs in 28 out of 29 tasks. It even outperformed the previous top score achieved by fine-tuning GPT-3 with a specific training set and additional external tools. Moreover, PaLM's performance approaches the average problem-solving abilities of 9- to 12-year-olds, which is the target audience for the question set.
Transitioning to the topic of search engines, let's explore the early days of web search engines. The World Wide Web Worm (WWWW) in 1994 was one of the first search engines with an index of 110,000 web pages and accessible documents. By November 1997, search engines like WebCrawler claimed to index millions of web documents, with Altavista handling approximately 20 million queries per day.
At Google, our primary goal has always been to enhance the quality of web search engines. We aimed to create an environment where researchers could efficiently process large portions of the web and generate insightful results that would have otherwise been challenging to obtain. We identified the citation graph of the web as a valuable but underutilized resource in existing search engines. While academic citation literature had been applied to the web through counting citations or backlinks to gauge a page's importance or quality, we took it a step further with PageRank.
PageRank revolutionized the concept by assigning different weights to links from various pages and normalizing them based on the number of links a page has. This algorithm models user behavior, assuming a "random surfer" who continuously clicks on links without hitting the back button but eventually gets bored and moves on to another random page. The probability of the random surfer visiting a page represents its PageRank, while the damping factor (d) determines the likelihood of the surfer requesting a new random page.
By incorporating personalization and selectively applying the damping factor to specific pages or groups of pages, we aimed to prevent deliberate manipulation of the system to achieve higher rankings. However, it is important to acknowledge that the current business model for commercial search engines primarily revolves around advertising, which may not always align with providing the highest quality search experience for users.
In conclusion, the advancements in AI language models like PaLM and the evolution of search engines demonstrate the continuous pursuit of improving technology to enhance user experiences. While parameter count and training efficiency play significant roles in the development of LLMs, it is crucial to ensure that these models are trained on diverse and representative datasets. Additionally, the utilization of resources such as the citation graph of the web and algorithms like PageRank enables search engines to deliver more relevant and reliable results to users.
Three actionable advice to consider when exploring AI language models and search engines are:
- Evaluate the performance of LLMs based on their ability to surpass previous benchmarks and solve tasks that mimic real-world scenarios.
- Understand the architecture and training process of LLMs to assess their efficiency and potential for generating high-quality outputs.
- Recognize the impact of personalization and the business models employed by search engines to critically evaluate the reliability and relevance of search results.
By staying informed about the advancements in AI and search engine technologies, we can make more informed decisions and leverage these tools effectively in our daily lives.
Sources
Hatch New Ideas with Glasp AI 🐣
Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)
Start Hatching 🐣