Large Language Model
Summarizing Indian Languages using Multilingual Transformers based Models
Taunk, Dhaval, Varma, Vasudeva
With the advent of multilingual models like mBART, mT5, IndicBART etc., summarization in low resource Indian languages is getting a lot of attention now a days. But still the number of datasets is low in number. In this work, we (Team HakunaMatata) study how these multilingual models perform on the datasets which have Indian languages as source and target text while performing summarization. We experimented with IndicBART and mT5 models to perform the experiments and report the ROUGE-1, ROUGE-2, ROUGE-3 and ROUGE-4 scores as a performance metric.
How do decoding algorithms distribute information in dialogue responses?
Venkatraman, Saranya, He, He, Reitter, David
Humans tend to follow the Uniform Information Density (UID) principle by distributing information evenly in utterances. We study if decoding algorithms implicitly follow this UID principle, and under what conditions adherence to UID might be desirable for dialogue generation. We generate responses using different decoding algorithms with GPT-2 on the Persona-Chat dataset and collect human judgments on their quality using Amazon Mechanical Turk. We find that (i) surprisingly, model-generated responses follow the UID principle to a greater extent than human responses, and (ii) decoding algorithms that promote UID do not generate higher-quality responses. Instead, when we control for surprisal, non-uniformity of information density correlates with the quality of responses with very low/high surprisal. Our findings indicate that encouraging non-uniform responses is a potential solution to the ``likelihood trap'' problem (quality degradation in very high-likelihood text). Our dataset containing multiple candidate responses per dialog history along with human-annotated quality ratings is available at https://huggingface.co/datasets/saranya132/dialog_uid_gpt2.
AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotators
He, Xingwei, Lin, Zhenghao, Gong, Yeyun, Jin, A-Long, Zhang, Hang, Lin, Chen, Jiao, Jian, Yiu, Siu Ming, Duan, Nan, Chen, Weizhu
Many natural language processing (NLP) tasks rely on labeled data to train machine learning models to achieve high performance. However, data annotation can be a time-consuming and expensive process, especially when the task involves a large amount of data or requires specialized domains. Recently, GPT-3.5 series models have demonstrated remarkable few-shot and zero-shot ability across various NLP tasks. In this paper, we first claim that large language models (LLMs), such as GPT-3.5, can serve as an excellent crowdsourced annotator by providing them with sufficient guidance and demonstrated examples. To make LLMs to be better annotators, we propose a two-step approach, 'explain-then-annotate'. To be more precise, we begin by creating prompts for every demonstrated example, which we subsequently utilize to prompt a LLM to provide an explanation for why the specific ground truth answer/label was chosen for that particular example. Following this, we construct the few-shot chain-of-thought prompt with the self-generated explanation and employ it to annotate the unlabeled data. We conduct experiments on three tasks, including user input and keyword relevance assessment, BoolQ and WiC. The annotation results from GPT-3.5 surpasses those from crowdsourced annotation for user input and keyword relevance assessment. Additionally, for the other two tasks, GPT-3.5 achieves results that are comparable to those obtained through crowdsourced annotation.
An Over-parameterized Exponential Regression
Gao, Yeqi, Mahadevan, Sridhar, Song, Zhao
Over the past few years, there has been a significant amount of research focused on studying the ReLU activation function, with the aim of achieving neural network convergence through over-parametrization. However, recent developments in the field of Large Language Models (LLMs) have sparked interest in the use of exponential activation functions, specifically in the attention mechanism. Mathematically, we define the neural function $F: \mathbb{R}^{d \times m} \times \mathbb{R}^d \rightarrow \mathbb{R}$ using an exponential activation function. Given a set of data points with labels $\{(x_1, y_1), (x_2, y_2), \dots, (x_n, y_n)\} \subset \mathbb{R}^d \times \mathbb{R}$ where $n$ denotes the number of the data. Here $F(W(t),x)$ can be expressed as $F(W(t),x) := \sum_{r=1}^m a_r \exp(\langle w_r, x \rangle)$, where $m$ represents the number of neurons, and $w_r(t)$ are weights at time $t$. It's standard in literature that $a_r$ are the fixed weights and it's never changed during the training. We initialize the weights $W(0) \in \mathbb{R}^{d \times m}$ with random Gaussian distributions, such that $w_r(0) \sim \mathcal{N}(0, I_d)$ and initialize $a_r$ from random sign distribution for each $r \in [m]$. Using the gradient descent algorithm, we can find a weight $W(T)$ such that $\| F(W(T), X) - y \|_2 \leq \epsilon$ holds with probability $1-\delta$, where $\epsilon \in (0,0.1)$ and $m = \Omega(n^{2+o(1)}\log(n/\delta))$. To optimize the over-parameterization bound $m$, we employ several tight analysis techniques from previous studies [Song and Yang arXiv 2019, Munteanu, Omlor, Song and Woodruff ICML 2022].
TextMI: Textualize Multimodal Information for Integrating Non-verbal Cues in Pre-trained Language Models
Hasan, Md Kamrul, Islam, Md Saiful, Lee, Sangwu, Rahman, Wasifur, Naim, Iftekhar, Khan, Mohammed Ibrahim, Hoque, Ehsan
Pre-trained large language models have recently achieved ground-breaking performance in a wide variety of language understanding tasks. However, the same model can not be applied to multimodal behavior understanding tasks (e.g., video sentiment/humor detection) unless non-verbal features (e.g., acoustic and visual) can be integrated with language. Jointly modeling multiple modalities significantly increases the model complexity, and makes the training process data-hungry. While an enormous amount of text data is available via the web, collecting large-scale multimodal behavioral video datasets is extremely expensive, both in terms of time and money. In this paper, we investigate whether large language models alone can successfully incorporate non-verbal information when they are presented in textual form. We present a way to convert the acoustic and visual information into corresponding textual descriptions and concatenate them with the spoken text. We feed this augmented input to a pre-trained BERT model and fine-tune it on three downstream multimodal tasks: sentiment, humor, and sarcasm detection. Our approach, TextMI, significantly reduces model complexity, adds interpretability to the model's decision, and can be applied for a diverse set of tasks while achieving superior (multimodal sarcasm detection) or near SOTA (multimodal sentiment analysis and multimodal humor detection) performance. We propose TextMI as a general, competitive baseline for multimodal behavioral analysis tasks, particularly in a low-resource setting.
Prompt Engineering: How To Speak To AI in 2023 To Get What You Want
Is prompt engineering a process that tries to get accurate, logical, and consistent answers from an AI language model? Or is it a way to find the faults in a language model and then fix them to achieve the perfect artificial intelligence model, which kills "prompt engineering?" In this article, we'll concentrate on ChatGPT because it is the most popular model at the moment. But just in case this AI tool is new to you, I suggest you read our "ChatGPT for Beginners" article first. We'll also look at prompts for image generators like DALLE 2. I have written a few articles about this LLM (large language model) and learned that it is not so smart.
What We Still Don't Know About How A.I. Is Trained
There is no doubt that GPT-4, the latest iteration of the artificial-intelligence engine created by the company OpenAI, is innovative and cool. It can create a poem in the style of Basho, spell out the chord progression and time signature for a simple tune, and provide a seven-step recipe for a peanut-butter-and-jelly sandwich. When I asked it to write a musical about a narcissistic politician who holds the fate of the world in his hands, it delivered a story in two acts, with a protagonist named Alex Sterling who "navigates a maze of power, manipulation, and the consequences of his decisions," as he sings "Narcissus in the Mirror," "The Price of Power," and about a dozen other invented songs. Those songs appear to have been created out of thin air; certainly, no human conceived them. Still, Alex's story, which "explores themes of self-discovery, redemption, and the responsibility of leadership," is quite familiar.
Ernie Bot, China's answer to ChatGPT, is delayed -- again
Just when the conversation was starting to get good and we approached borderline subjects, we repeatedly found ourselves back at square one. Even simple requests for facts about China's government or top leader Xi led it to terminate the exchange with a canned reply about being an AI that was still learning, and a link to begin a new conversation -- making conversation with Ernie Bot less smooth than with ChatGPT.
We tested Google's Bard chatbot and here's how you can try it out - Plugavel
Last week, Google finally opened a public test of its chatbot Bard, a direct rival to OpenAI's ChatGPT and the new Microsoft Bing chatbot. Unlike the latter, which are based on the large language model (LLM) called GPT, Bard uses the LaMDA model, developed by Google. And unlike ChatGPT, but just like Bing, its data is up-to-date and it can use information found on the web in real time. To access Bard, you must meet certain criteria. First, you must have an account with Google.
In a first, Punjab and Haryana HC uses Chat GPT for deciding upon bail plea
Chandigarh [India], March 28 (ANI): The Punjab Haryana High Court on Tuesday became the first court in India to have used Chat GPT technology (artificial intelligence) to decide on the bail plea of an accused and it rejected the petition. The bench led by Anoop Chitkara sought the response of Chat GPT (Artificial Intelligence) while hearing the bail application of an accused arrested in June 2020 for alleged rioting, criminal intimidation, murder and criminal conspiracy. Justice Chitkara assessed the reply received from Chat GPT and rejected the bail plea of the accused on the basis of his experiences and decisions given earlier. The judge said that "To inflict death is cruel in itself, but if cruelty leads to death, then the situation changes. When a physical assault is committed in a brutal manner, the parameters of bail also change".