Reasoning and reliability in AI

In order for natural language to be an effective form of communication, the parties involved need to be able to understand words and their context, assume that the content is largely shared in good faith and is trustworthy, reason about the information being shared, and then apply it to real-world scenarios. MIT PhD studentsย interning with the MIT-IBM Watson AI Lab โ€” Athul Paul Jacob SM โ€™22, Maohao Shen SM โ€™23, Victor Butoi, and Andi Peng SM โ€™23 โ€” are working to attack each step of this process thatโ€™s baked into natural language models, so that the AI systems can be more dependable and accurate for users.

To achieve this, Jacobโ€™s research strikes at the heart of existing natural language models to improve the output, using game theory. His interests, he says, are two-fold: โ€œOne is understanding how humans behave, using the lens of multi-agent systems and language understanding, and the second thing is, โ€˜How do you use that as an insight to build better AI systems?โ€™โ€ His work stems from the board game โ€œDiplomacy,โ€ where his research team developed a system that could learn and predict human behaviors and negotiate strategically to achieve a desired, optimal outcome.

โ€œThis was a game where you need to build trust; you need to communicate using language. You need to also play against six other players at the same time, which were very different from all the kinds of task domains people were tackling in the past,โ€ says Jacob, referring to other games like poker and GO that researchers put to neural networks. โ€œIn doing so, there were a lot of research challenges. One was, โ€˜How do you model humans? How do you know whether when humans tend to act irrationally?โ€™โ€ Jacob and his research mentors โ€” including Associate Professor Jacob Andreas and Assistant Professor Gabriele Farina of the MIT Department of Electrical Engineering and Computer Science (EECS), and the MIT-IBM Watson AI Labโ€™s Yikang Shen โ€” recast the problem of language generation as a two-player game.

Using โ€œgeneratorโ€ and โ€œdiscriminatorโ€ models, Jacobโ€™s team developed a natural language system to produce answers to questions and then observe the answers and determine if they are correct. If they are, the AI system receives a point; if not, no point is rewarded. Language models notoriously tend to hallucinate, making them less trustworthy; this no-regret learning algorithm collaboratively takes a natural language model and encourages the systemโ€™s answers to be more truthful and reliable, while keeping the solutions close to the pre-trained language modelโ€™s priors. Jacob says that using this technique in conjunction with a smaller language model could, likely, make it competitive with the same performance of a model many times bigger. ย 

Once a language model generates a result, researchers ideally want its confidence in its generation to align with its accuracy, but this frequently isnโ€™t the case. Hallucinations can occur with the model reporting high confidence when it should be low. Maohao Shen and his group, with mentors Gregory Wornell, Sumitomoย Professor of Engineering in EECS,ย and lab researchers with IBM Research Subhroย Das, Prasanna Sattigeri, and Soumya Ghosh โ€” areย looking to fix this throughย uncertainty quantification (UQ). โ€œOur project aims to calibrate language models when they are poorly calibrated,โ€ says Shen. Specifically, theyโ€™re looking at the classification problem. For this, Shen allows a language model to generate free text, which is then converted into a multiple-choice classification task. For instance, they might ask the model to solve a math problem and then ask it if the answer it generated is correct as โ€œyes, no, or maybe.โ€ This helps to determine if the model is over- or under-confident.

Automating this, the team developed a technique that helps tune the confidence output by a pre-trained language model. The researchers trained an auxiliary model using the ground-truth information in order for their system to be able to correct the language model. โ€œIf your model isย over-confidentย in its prediction, we are able to detect it and make itย lessย confident, and vice versa,โ€ explains Shen. The team evaluated their technique on multiple popular benchmark datasets to show how well it generalizes to unseen tasks to realign the accuracy and confidence of language model predictions. โ€œAfter training, you can just plug in and apply this technique to new tasks without any other supervision,โ€ says Shen. โ€œThe only thing you need is the data for that new task.โ€

Victor Butoi also enhances model capability, but instead, his lab team โ€” which includes John Guttag, the Dugald C. Jackson Professor of Computer Science and Electrical Engineering in EECS; lab researchers Leonid Karlinsky and Rogerio Feris of IBM Research; and lab affiliates Hilde Kรผhne of the University of Bonn and Wei Lin of Graz University of Technology โ€” is creating techniques to allow vision-language models to reason about what theyโ€™re seeing, and is designing prompts to unlock new learning abilities and understand key phrases.

Compositional reasoning is just another aspect of the decision-making process that we ask machine-learning models to perform in order for them to be helpful in real-world situations, explains Butoi. โ€œYou need to be able to think about problems compositionally and solve subtasks,โ€ says Butoi, โ€œlike, if you’re saying the chair is to the left of the person, you need to recognize both the chair and the person. You need to understand directions.โ€ And then once the model understands โ€œleft,โ€ the research team wants the model to be able to answer other questions involving โ€œleft.โ€

Surprisingly, vision-language models do not reason well about composition, Butoi explains, but they can be helped to, using a model that can โ€œlead the witnessโ€, if you will. The team developed a model that was tweaked using a technique called low-rank adaptation of large language models (LoRA) and trained on an annotated dataset called Visual Genome, which has objects in an image and arrows denoting relationships, like directions. In this case, the trained LoRA model would be guided to say something about โ€œleftโ€ relationships, and this caption output would then be used to provide context and prompt the vision-language model, making it a โ€œsignificantly easier task,โ€ says Butoi.

In the world of robotics, AI systems also engage with their surroundings using computer vision and language. The settings may range from warehouses to the home. Andi Peng and mentors MITโ€™s H.N. Slater Professor in Aeronautics and Astronautics Julie Shah and Chuang Gan, of the lab and the University of Massachusetts at Amherst, are focusing on assisting people with physical constraints, using virtual worlds. For this, Pengโ€™s group is developing two embodied AI models โ€” a โ€œhumanโ€ that needs support and a helper agent โ€” in a simulated environment called ThreeDWorld. Focusing on human/robot interactions, the team leverages semantic priors captured by large language models to aid the helper AI to infer what abilities the โ€œhumanโ€ agent might not be able to do and the motivation behind actions of the โ€œhuman,โ€ using natural language. The teamโ€™s looking to strengthen the helperโ€™s sequential decision-making, bidirectional communication, ability to understand the physical scene, and how best to contribute.

โ€œA lot of people think that AI programs should be autonomous, but I think that an important part of the process is that we build robots and systems for humans, and we want to convey human knowledge,โ€ says Peng. โ€œWe donโ€™t want a system to do something in a weird way; we want them to do it in a human way that we can understand.โ€



Source link

>