Dialog Summaries in Google Chat – Google AI Weblog


Data overload is a big problem for a lot of organizations and people in the present day. It may be overwhelming to maintain up with incoming chat messages and paperwork that arrive at our inbox on a regular basis. This has been exacerbated by the rise in digital work and stays a problem as many groups transition to a hybrid work atmosphere with a mixture of these working each nearly and in an workplace. One resolution that may handle data overload is summarization — for instance, to assist customers enhance their productiveness and higher handle a lot data, we lately launched auto-generated summaries in Google Docs.

At the moment, we’re excited to introduce dialog summaries in Google Chat for messages in Areas. When these summaries can be found, a card with mechanically generated summaries is proven as customers enter Areas with unread messages. The cardboard features a listing of summaries for the completely different subjects mentioned in Areas. This function is enabled by our state-of-the-art abstractive summarization mannequin, Pegasus, which generates helpful and concise summaries for chat conversations, and is presently accessible to chose premium Google Workspace enterprise prospects.

Dialog summaries present a useful digest of conversations in Areas, permitting customers to shortly catch-up on unread messages and navigate to probably the most related threads.

Dialog Summarization Modeling

The purpose of textual content summarization is to offer useful and concise summaries for various kinds of textual content, resembling paperwork, articles, or spoken conversations. An excellent abstract covers the important thing factors succinctly, and is fluent and grammatically appropriate. One method to summarization is to extract key components from the textual content and concatenate them collectively right into a abstract (i.e., extractive summarization). One other method is to make use of pure language era (NLG) strategies to summarize utilizing novel phrases and phrases not essentially current within the authentic textual content. That is known as abstractive summarization and is taken into account nearer to how an individual would usually summarize textual content. A major problem with abstractive summarization, nevertheless, is that it typically struggles to generate correct and grammatically appropriate summaries, particularly in actual world purposes.

ForumSum Dataset

The vast majority of abstractive summarization datasets and analysis focuses on single-speaker textual content paperwork, like information and scientific articles, primarily because of the abundance of human-written summaries for such paperwork. However, datasets of human-written summaries for different forms of textual content, like chat or multi-speaker conversations, are very restricted.

To deal with this we created ForumSum, a various and high-quality dialog summarization dataset with human-written summaries. The conversations within the dataset are collected from all kinds of public web boards, and are cleaned up and filtered to make sure top quality and protected content material (extra particulars within the paper).

An instance from the ForumSum dataset.

Every utterance within the dialog begins on a brand new line, incorporates an writer title and a message textual content that’s separated with a colon. Human annotators are then given detailed directions to jot down a 1-3 sentence abstract of the dialog. These directions went by means of a number of iterations to make sure annotators wrote top quality summaries. We’ve got collected summaries for over six thousand conversations, with a mean of greater than 6 audio system and 10 utterances per dialog. ForumSum supplies high quality coaching knowledge for the dialog summarization drawback: it has a wide range of subjects, variety of audio system, and variety of utterances generally encountered in a chat utility.

Dialog Summarization Mannequin Design

As now we have written beforehand, the Transformer is a well-liked mannequin structure for sequence-to-sequence duties, like abstractive summarization, the place the inputs are the doc phrases and the outputs are the abstract phrases. Pegasus mixed transformers with self-supervised pre-training personalized for abstractive summarization, making it a fantastic mannequin alternative for dialog summarization. First, we fine-tune Pegasus on the ForumSum dataset the place the enter is the dialog phrases and the output is the abstract phrases. Second, we use information distillation to distill the Pegasus mannequin right into a hybrid structure of a transformer encoder and a recurrent neural community (RNN) decoder. The ensuing mannequin has decrease latency and reminiscence footprint whereas sustaining related high quality because the Pegasus mannequin.

High quality and Person Expertise

An excellent abstract captures the essence of the dialog whereas being fluent and grammatically appropriate. Primarily based on human analysis and person suggestions, we discovered that the summarization mannequin generates helpful and correct summaries more often than not. However often the mannequin generates low high quality summaries. After trying into points reported by customers, we discovered that there are two major forms of low high quality summaries. The primary one is misattribution, when the mannequin confuses which individual or entity stated or carried out a sure motion. The second is misrepresentation, when the mannequin’s generated abstract misrepresents or contradicts the chat dialog.

To deal with low high quality summaries and enhance the person expertise, now we have made progress in a number of areas:

  1. Enhancing ForumSum: Whereas ForumSum supplies a very good illustration of chat conversations, we seen sure patterns and language types in Google Chat conversations that differ from ForumSum, e.g., how customers point out different customers and the usage of abbreviations and particular symbols. After exploring examples reported by customers, we concluded that these out-of-distribution language patterns contributed to low high quality summaries. To deal with this, we first carried out knowledge formatting and clean-ups to scale back mismatches between chat and ForumSum conversations every time attainable. Second, we added extra coaching knowledge to ForumSum to raised characterize these type mismatches. Collectively, these adjustments resulted in discount of low high quality summaries.
  2. Managed triggering: To ensure summaries deliver probably the most worth to our customers, we first have to be sure that the chat dialog is worthy of summarization. For instance, we discovered that there’s much less worth in producing a abstract when the person is actively engaged in a dialog and doesn’t have many unread messages, or when the dialog is simply too brief.
  3. Detecting low high quality summaries: Whereas the 2 strategies above restricted low high quality and low worth summaries, we nonetheless developed strategies to detect and abstain from displaying such summaries to the person when they’re generated. These are a set of heuristics and fashions to measure the general high quality of summaries and whether or not they undergo from misattribution or misrepresentation points.

Lastly, whereas the hybrid mannequin supplied important efficiency enhancements, the latency to generate summaries was nonetheless noticeable to customers after they opened Areas with unread messages. To deal with this problem, we as a substitute generate and replace summaries every time there’s a new message despatched, edited or deleted. Then summaries are cached ephemerally to make sure they floor easily when customers open Areas with unread messages.

Conclusion and Future Work

We’re excited to use state-of-the-art abstractive summarization fashions to assist our Workspace customers enhance their productiveness in Areas. Whereas that is nice progress, we imagine there are a lot of alternatives to additional enhance the expertise and the general high quality of summaries. Future instructions we’re exploring embody higher modeling and summarizing entangled conversations that embody a number of subjects, and growing metrics that higher measure the factual consistency between chat conversations and summaries.


The authors wish to thank the many individuals throughout Google that contributed to this work: Ahmed Chowdhury, Alejandro Elizondo, Anmol Tukrel, Benjamin Lee, Cameron Oelsen, Chao Wang, Chris Carroll, Don Kim, Hun Jung, Jackie Tsay, Jennifer Chou, Jesse Sliter, John Sipple, Jonathan Herzig, Kate Montgomery, Maalika Manoharan, Mahdis Mahdieh, Mia Chen, Misha Khalman, Peter Liu, Robert Diersing, Roee Aharoni, Sarah Learn, Winnie Yeung, Yao Zhao, and Yonghui Wu.


Please enter your comment!
Please enter your name here