Researchers train AI chatbots to 'jailbreak' rival chatbots - and automate the process

NTU researchers
(Image credit: NTU Singapore)

NTU Researchers were able to jailbreak popular AI chatbots including ChatGPT, Google Bard, and Bing Chat. With the jailbreaks in place, targetted chatbots would generate valid responses to malicious queries, thereby testing the limits of large language model (LLM) ethics. This research was done by Professor Liu Yang and NTU PhD students Mr Deng Gelei and Mr Liu Yi who co-authored the paper and were able to create proof-of-concept attack methods. 

The method used to jailbreak an AI chatbot, as devised by NTU researchers, is called Masterkey. It is a two-fold method where the attacker would reverse engineer an LLM's defense mechanisms. Then, with this acquired data, the attacker would teach another LLM to learn how to create a bypass. This way, a 'Masterkey' is created and used to attack fortified LLM chatbots, even if later patched by developers.

Latest Videos FromTom's Hardware
Roshan Ashraf Shaikh
Contributing Writer

Roshan Ashraf Shaikh has been in the Indian PC hardware community since the early 2000s and has been building PCs, contributing to many Indian tech forums, & blogs. He operated Hardware BBQ for 11 years and wrote news for eTeknix & TweakTown before joining Tom's Hardware team. Besides tech, he is interested in fighting games, movies, anime, and mechanical watches.

  • hotaru251
    Thats been a known flaw since day 1. (just matter of time until it happened)

    A program is only as strong as its weakest link....& as its made & trained off humans it is functionally flawed from the start.

    A machine (even LLM) is going to follow its programming rules. That is a critical flaw in they can be abused by those who are skilled/knowledgeable about em.



    I am curious if they would let law enforcement use it to see how much illegal stuff has been trained. (as im curious as to how deep that rabbithole is on scrapping web)
    Reply
  • Alvar "Miles" Udell
    As far as public chatbots which are trained on public data are concerned it's no big deal. The problem though is if this method can be used to attack private chatbots which are trained on sensitive data, such as chatbots used for customer service and can access people's personal information.
    Reply
  • Joseph_138
    Just what we don't need, is rival AI programs reinforcing each others capabilities.
    Reply
  • kealii123
    "Jailbreak", ie get it to tell the truth
    Reply