探花直播 of Cambridge - Katherine Collins /taxonomy/people/katherine-collins en New open-source platform allows users to evaluate performance of AI-powered chatbots /research/news/new-open-source-platform-allows-users-to-evaluate-performance-of-ai-powered-chatbots <div class="field field-name-field-news-image field-type-image field-label-hidden"><div class="field-items"><div class="field-item even"><img class="cam-scale-with-grid" src="/sites/default/files/styles/content-580x288/public/news/research/news/gettyimages-1485822619-dp_0.jpg?itok=YW1eav0N" alt="Chatbot" title="Chatbot, Credit: da-kuk via Getty Images" /></div></div></div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>A team of computer scientists, engineers, mathematicians and cognitive scientists, led by the 探花直播 of Cambridge, developed an open-source evaluation platform called CheckMate, which allows human users to interact with and evaluate the performance of large language models (LLMs).</p> <p> 探花直播researchers tested CheckMate in an experiment where human participants used three LLMs 鈥 InstructGPT, ChatGPT and GPT-4 鈥 as assistants for solving undergraduate-level mathematics problems.</p> <p> 探花直播team studied how well LLMs can assist participants in solving problems. Despite a generally positive correlation between a chatbot鈥檚 correctness and perceived helpfulness, the researchers also found instances where the LLMs were incorrect, but still useful for the participants. However, certain incorrect LLM outputs were thought to be correct by participants. This was most notable in LLMs optimised for chat.</p> <p> 探花直播researchers suggest models that communicate uncertainty, respond well to user corrections, and can provide a concise rationale for their recommendations, make better assistants. Human users of LLMs should verify their outputs carefully, given their current shortcomings.</p> <p> 探花直播<a href="https://www.pnas.org/doi/10.1073/pnas.2318124121">results</a>, reported in the <em>Proceedings of the National Academy of Sciences (PNAS)</em>, could be useful in both informing AI literacy training, and help developers improve LLMs for a wider range of uses.</p> <p>While LLMs are becoming increasingly powerful, they can also make mistakes and provide incorrect information, which could have negative consequences as these systems become more integrated into our everyday lives.</p> <p>鈥淟LMs have become wildly popular, and evaluating their performance in a quantitative way is important, but we also need to evaluate how well these systems work with and can support people,鈥 said co-first author Albert Jiang, from Cambridge鈥檚 Department of Computer Science and Technology. 鈥淲e don鈥檛 yet have comprehensive ways of evaluating an LLM鈥檚 performance when interacting with humans.鈥</p> <p> 探花直播standard way to evaluate LLMs relies on static pairs of inputs and outputs, which disregards the interactive nature of chatbots, and how that changes their usefulness in different scenarios. 探花直播researchers developed CheckMate to help answer these questions, designed for but not limited to applications in mathematics.</p> <p>鈥淲hen talking to mathematicians about LLMs, many of them fall into one of two main camps: either they think that LLMs can produce complex mathematical proofs on their own, or that LLMs are incapable of simple arithmetic,鈥 said co-first author Katie Collins from the Department of Engineering. 鈥淥f course, the truth is probably somewhere in between, but we wanted to find a way of evaluating which tasks LLMs are suitable for and which they aren鈥檛.鈥</p> <p> 探花直播researchers recruited 25 mathematicians, from undergraduate students to senior professors, to interact with three different LLMs (InstructGPT, ChatGPT, and GPT-4) and evaluate their performance using CheckMate. Participants worked through undergraduate-level mathematical theorems with the assistance of an LLM and were asked to rate each individual LLM response for correctness and helpfulness. Participants did not know which LLM they were interacting with.</p> <p> 探花直播researchers recorded the sorts of questions asked by participants, how participants reacted when they were presented with a fully or partially incorrect answer, whether and how they attempted to correct the LLM, or if they asked for clarification. Participants had varying levels of experience with writing effective prompts for LLMs, and this often affected the quality of responses that the LLMs provided.</p> <p>An example of an effective prompt is 鈥渨hat is the definition of X鈥 (X being a concept in the problem) as chatbots can be very good at retrieving concepts they know of and explaining it to the user.</p> <p>鈥淥ne of the things we found is the surprising fallibility of these models,鈥 said Collins. 鈥淪ometimes, these LLMs will be really good at higher-level mathematics, and then they鈥檒l fail at something far simpler. It shows that it鈥檚 vital to think carefully about how to use LLMs effectively and appropriately.鈥</p> <p>However, like the LLMs, the human participants also made mistakes. 探花直播researchers asked participants to rate how confident they were in their own ability to solve the problem they were using the LLM for. In cases where the participant was less confident in their own abilities, they were more likely to rate incorrect generations by LLM as correct.</p> <p>鈥淭his kind of gets to a big challenge of evaluating LLMs, because they鈥檙e getting so good at generating nice, seemingly correct natural language, that it鈥檚 easy to be fooled by their responses,鈥 said Jiang. 鈥淚t also shows that while human evaluation is useful and important, it鈥檚 nuanced, and sometimes it鈥檚 wrong. Anyone using an LLM, for any application, should always pay attention to the output and verify it themselves.鈥</p> <p>Based on the results from CheckMate, the researchers say that newer generations of LLMs are increasingly able to collaborate helpfully and correctly with human users on undergraduate-level maths problems, as long as the user can assess the correctness of LLM-generated responses. Even if the answers may be memorised and can be found somewhere on the internet, LLMs have the advantage of being flexible in their inputs and outputs over traditional search engines (though should not replace search engines in their current form).</p> <p>While CheckMate was tested on mathematical problems, the researchers say their platform could be adapted to a wide range of fields. In the future, this type of feedback could be incorporated into the LLMs themselves, although none of the CheckMate feedback from the current study has been fed back into the models.</p> <p>鈥淭hese kinds of tools can help the research community to have a better understanding of the strengths and weaknesses of these models,鈥 said Collins. 鈥淲e wouldn鈥檛 use them as tools to solve complex mathematical problems on their own, but they can be useful assistants if the users know how to take advantage of them.鈥</p> <p> 探花直播research was supported in part by the Marshall Commission, the Cambridge Trust, Peterhouse, Cambridge, 探花直播Alan Turing Institute, the European Research Council, and the Engineering and Physical Sciences Research Council (EPSRC), part of UK Research and Innovation (UKRI).</p> <p>聽</p> <p><em><strong>Reference:</strong><br /> Katherine M聽Collins, Albert Q聽Jiang, et al. 鈥<a href="https://www.pnas.org/doi/10.1073/pnas.2318124121">Evaluating Language Models for Mathematics through Interactions</a>.鈥 Proceedings of the National Academy of Sciences (2024). DOI: 10.1073/pnas.2318124121</em></p> <p>聽</p> </div></div></div><div class="field field-name-field-content-summary field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p><p>Researchers have developed a platform for the interactive evaluation of AI-powered chatbots such as ChatGPT.聽</p> </p></div></div></div><div class="field field-name-field-content-quote field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even">Anyone using an LLM, for any application, should always pay attention to the output and verify it themselves</div></div></div><div class="field field-name-field-content-quote-name field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">Albert Jiang</div></div></div><div class="field field-name-field-image-credit field-type-link-field field-label-hidden"><div class="field-items"><div class="field-item even"><a href="/" target="_blank">da-kuk via Getty Images</a></div></div></div><div class="field field-name-field-image-desctiprion field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">Chatbot</div></div></div><div class="field field-name-field-cc-attribute-text field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="license"><img alt="Creative Commons License." src="/sites/www.cam.ac.uk/files/inner-images/cc-by-nc-sa-4-license.png" style="border-width: 0px; width: 88px; height: 31px;" /></a><br /> 探花直播text in this work is licensed under a <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>. Images, including our videos, are Copyright 漏 探花直播 of Cambridge and licensors/contributors as identified. All rights reserved. We make our image and video content available in a number of ways 鈥 on our <a href="/">main website</a> under its <a href="/about-this-site/terms-and-conditions">Terms and conditions</a>, and on a <a href="/about-this-site/connect-with-us">range of channels including social media</a> that permit your use and sharing of our content under their respective Terms.</p> </div></div></div><div class="field field-name-field-show-cc-text field-type-list-boolean field-label-hidden"><div class="field-items"><div class="field-item even">Yes</div></div></div> Tue, 04 Jun 2024 10:34:36 +0000 sc604 246271 at How sure is sure? Incorporating human error into machine learning /research/news/how-sure-is-sure-incorporating-human-error-into-machine-learning <div class="field field-name-field-news-image field-type-image field-label-hidden"><div class="field-items"><div class="field-item even"><img class="cam-scale-with-grid" src="/sites/default/files/styles/content-580x288/public/news/research/news/gettyimages-1477483014-dp.jpg?itok=9-VpM8kc" alt="Futuristic image of a doctor looking at brain scans" title="Futuristic image of a doctor looking at brain scans, Credit: PeopleImages via Getty Images" /></div></div></div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>Human error and uncertainty are concepts that many artificial intelligence systems fail to grasp, particularly in systems where a human provides feedback to a machine learning model. Many of these systems are programmed to assume that humans are always certain and correct, but real-world decision-making includes occasional mistakes and uncertainty.</p>&#13; &#13; <p>Researchers from the 探花直播 of Cambridge, along with 探花直播Alan Turing Institute, Princeton, and Google DeepMind, have been attempting to bridge the gap between human behaviour and machine learning, so that uncertainty can be more fully accounted for in AI applications where humans and machines are working together. This could help reduce risk and improve trust and reliability of these applications, especially where safety is critical, such as medical diagnosis.</p>&#13; &#13; <p> 探花直播team adapted a well-known image classification dataset so that humans could provide feedback and indicate their level of uncertainty when labelling a particular image. 探花直播researchers found that training with uncertain labels can improve these systems鈥 performance in handling uncertain feedback, although humans also cause the overall performance of these hybrid systems to drop. Their results will be reported at the <a href="https://www.aies-conference.com/2023/"><em>AAAI/ACM Conference on Artificial Intelligence, Ethics and Society (AIES 2023)</em></a> in Montr茅al.</p>&#13; &#13; <p>鈥楬uman-in-the-loop鈥 machine learning systems 鈥 a type of AI system that enables human feedback 鈥 are often framed as a promising way to reduce risks in settings where automated models cannot be relied upon to make decisions alone. But what if the humans are unsure?</p>&#13; &#13; <p>鈥淯ncertainty is central in how humans reason about the world but many AI models fail to take this into account,鈥 said first author Katherine Collins from Cambridge鈥檚 Department of Engineering. 鈥淎 lot of developers are working to address model uncertainty, but less work has been done on addressing uncertainty from the person鈥檚 point of view.鈥</p>&#13; &#13; <p>We are constantly making decisions based on the balance of probabilities, often without really thinking about it. Most of the time 鈥 for example, if we wave at someone who looks just like a friend but turns out to be a total stranger 鈥 there鈥檚 no harm if we get things wrong. However, in certain applications, uncertainty comes with real safety risks.</p>&#13; &#13; <p>鈥淢any human-AI systems assume that humans are always certain of their decisions, which isn鈥檛 how humans work 鈥 we all make mistakes,鈥 said Collins. 鈥淲e wanted to look at what happens when people express uncertainty, which is especially important in safety-critical settings, like a clinician working with a medical AI system.鈥</p>&#13; &#13; <p>鈥淲e need better tools to recalibrate these models, so that the people working with them are empowered to say when they鈥檙e uncertain,鈥 said co-author Matthew Barker, who recently completed his MEng degree at Gonville聽&amp; Caius College, Cambridge. 鈥淎lthough machines can be trained with complete confidence, humans often can鈥檛 provide this, and machine learning models struggle with that uncertainty.鈥</p>&#13; &#13; <p>For their study, the researchers used some of the benchmark machine learning datasets: one was for digit classification, another for classifying chest X-rays, and one for classifying images of birds. For the first two datasets, the researchers simulated uncertainty, but for the bird dataset, they had human participants indicate how certain they were of the images they were looking at: whether a bird was red or orange, for example. These annotated 鈥榮oft labels鈥 provided by the human participants allowed the researchers to determine how the final output was changed. However, they found that performance degraded rapidly when machines were replaced with humans.</p>&#13; &#13; <p>鈥淲e know from decades of behavioural research that humans are almost never 100% certain, but it鈥檚 a challenge to incorporate this into machine learning,鈥 said Barker. 鈥淲e鈥檙e trying to bridge the two fields so that machine learning can start to deal with human uncertainty where humans are part of the system.鈥</p>&#13; &#13; <p> 探花直播researchers say their results have identified several open challenges when incorporating humans into machine learning models. They are releasing their datasets so that further research can be carried out and uncertainty might be built into machine learning systems. 聽</p>&#13; &#13; <p>鈥淎s some of our colleagues so brilliantly put it, uncertainty is a form of transparency, and that鈥檚 hugely important,鈥 said Collins. 鈥淲e need to figure out when we can trust a model and when to trust a human and why. In certain applications, we鈥檙e looking at probability over possibilities. Especially with the rise of chatbots, for example, we need models that better incorporate the language of possibility, which may lead to a more natural, safe experience.鈥</p>&#13; &#13; <p>鈥淚n some ways, this work raised more questions than it answered,鈥 said Barker. 鈥淏ut even though humans may be miscalibrated in their uncertainty, we can improve the trustworthiness and reliability of these human-in-the-loop systems by accounting for human behaviour.鈥</p>&#13; &#13; <p> 探花直播research was supported in part by the Cambridge Trust, the Marshall Commission, the Leverhulme Trust, the Gates Cambridge Trust and the Engineering and Physical Sciences Research Council (EPSRC), part of UK Research and Innovation (UKRI).</p>&#13; &#13; <p>聽</p>&#13; &#13; <p><em><strong>Reference:</strong><br />&#13; Katherine M Collins et al. 鈥楬uman Uncertainty in Concept-Based AI Systems.鈥 Paper presented at the <a href="https://www.aies-conference.com/2023/">Sixth AAAI/ACM Conference on Artificial Intelligence, Ethics and Society (AIES 2023)</a>, August 8-10, 2023. Montr茅al, QC, Canada.</em></p>&#13; </div></div></div><div class="field field-name-field-content-summary field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p><p>Researchers are developing a way to incorporate one of the most human of characteristics 鈥 uncertainty 鈥 into machine learning systems.</p>&#13; </p></div></div></div><div class="field field-name-field-content-quote field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even">Uncertainty is central in how humans reason about the world but many AI models fail to take this into account</div></div></div><div class="field field-name-field-content-quote-name field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">Katherine Collins</div></div></div><div class="field field-name-field-image-credit field-type-link-field field-label-hidden"><div class="field-items"><div class="field-item even"><a href="https://www.gettyimages.co.uk/detail/photo/doctor-hospital-and-futuristic-brain-mri-in-cancer-royalty-free-image/1477483014?phrase=doctor working with ai&amp;amp;adppopup=true" target="_blank">PeopleImages via Getty Images</a></div></div></div><div class="field field-name-field-image-desctiprion field-type-text field-label-hidden"><div class="field-items"><div class="field-item even">Futuristic image of a doctor looking at brain scans</div></div></div><div class="field field-name-field-cc-attribute-text field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="license"><img alt="Creative Commons License." src="/sites/www.cam.ac.uk/files/inner-images/cc-by-nc-sa-4-license.png" style="border-width: 0px; width: 88px; height: 31px;" /></a><br />&#13; 探花直播text in this work is licensed under a <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>. Images, including our videos, are Copyright 漏 探花直播 of Cambridge and licensors/contributors as identified.聽 All rights reserved. We make our image and video content available in a number of ways 鈥 as here, on our <a href="/">main website</a> under its <a href="/about-this-site/terms-and-conditions">Terms and conditions</a>, and on a <a href="/about-this-site/connect-with-us">range of channels including social media</a> that permit your use and sharing of our content under their respective Terms.</p>&#13; </div></div></div><div class="field field-name-field-show-cc-text field-type-list-boolean field-label-hidden"><div class="field-items"><div class="field-item even">Yes</div></div></div> Wed, 09 Aug 2023 23:40:58 +0000 sc604 241171 at