BERT and SMITH are natural language processing models that help analyze the context of words and documents. In a Google study, SMITH performed better on long documents. However, this does not mean that either model is equally well suited to every task.
As of February 4, 2021, when the original article was published, the author noted that SMITH was not used in Google’s algorithms. His suggestion that the model might be launched alongside or before the indexing of individual page passages remained a prediction, not a confirmed company plan.
Why search needs natural language processing
Natural language processing, or NLP, helps a search engine take into account not only individual keywords but also their context. For example, the English word “bank” can refer to either a financial institution or the side of a river. The surrounding words help distinguish between these meanings.
Context also helps parse complex linguistic structures and identify unnatural word usage. For search, this is a step from matching sequences of words toward understanding what they refer to.

How BERT works
One of BERT’s key features is bidirectionality: the model considers a word’s context on both sides, rather than only the words that came before it. This helps it determine, for example, that “bank” has different meanings in sentences about visiting a bank and sitting on a river bank.
BERT processes text using tokens and transformers. The original article describes a vocabulary of approximately 30,000 tokens representing common words, as well as word fragments and individual characters. This approach allows the model to work with words that are not in the vocabulary in their entirety.
During BERT’s training, some words are masked and the model is asked to identify them from context. A similar technique is used to train SMITH.
How SMITH processes long documents
According to the original article, BERT is limited to 512 tokens per document, whereas SMITH can process 2,248 tokens. The article also claims that documents can be eight times longer, although the figures given do not support that ratio. These figures refer to the models as described in the 2021 article.
As text grows longer, so does the number of relationships between words and ideas that the model must consider, along with its computational and memory requirements. SMITH addresses this by splitting the document into blocks and performing much of the processing in advance.

First, the document is divided into appropriately sized blocks, keeping sentences intact where possible. Each block is then processed separately. A transformer then learns the contextual representations of the blocks and forms a representation of the document as a whole. SMITH draws heavily on BERT’s approaches.
How SMITH is trained
In addition to recovering masked words, SMITH is trained to work with larger passages: a sentence is removed from a passage, and the model must identify which sentence is missing. This extends the idea of prediction from context from the word level to the sentence and document levels.


The author of the original article suggested that such capabilities might one day help search engines assemble answers from different sources. He also expressed concern that users would need to visit websites less often. This is an editorial assessment of a possible application of the technology, not a confirmed description of SMITH’s capabilities.
Will SMITH replace BERT?
An advantage on long documents does not make SMITH a universal replacement for BERT. Many queries, such as those about the weather, music, or directions to a restaurant, call for short answers and a relatively limited amount of data. Processing a long document may be unnecessary for such tasks.
The original article presents SMITH as an approach for long and complex documents, as well as complex queries. The author suggested that the model could help identify relationships between pages and determine which passages are suitable to display. BERT, in turn, could remain useful for short queries and text passages, as well as provide the basis for processing within SMITH.
The conclusion of the 2021 article, then, is not that BERT must be replaced, but that tasks could be divided between the models: more complex processing is needed where the length and structure of the material justify it.
Source: https://www.searchenginejournal.com/smith-bert-smith-and-bert-in-search/394923/
Discussion
Sign in or create an account, to join the discussion.