Generative AI
Building a Domain-specific Guardrail Model in Production
Niknazar, Mohammad, Haley, Paul V, Ramanan, Latha, Truong, Sang T., Shrinivasan, Yedendra, Bhowmick, Ayan Kumar, Dey, Prasenjit, Jagmohan, Ashish, Maheshwari, Hema, Ponoth, Shom, Smith, Robert, Vempaty, Aditya, Haber, Nick, Koyejo, Sanmi, Sundararajan, Sharad
Generative AI holds the promise of enabling a range of sought-after capabilities and revolutionizing workflows in various consumer and enterprise verticals. However, putting a model in production involves much more than just generating an output. It involves ensuring the model is reliable, safe, performant and also adheres to the policy of operation in a particular domain. Guardrails as a necessity for models has evolved around the need to enforce appropriate behavior of models, especially when they are in production. In this paper, we use education as a use case, given its stringent requirements of the appropriateness of content in the domain, to demonstrate how a guardrail model can be trained and deployed in production. Specifically, we describe our experience in building a production-grade guardrail model for a K-12 educational platform. We begin by formulating the requirements for deployment to this sensitive domain. We then describe the training and benchmarking of our domain-specific guardrail model, which outperforms competing open- and closed- instruction-tuned models of similar and larger size, on proprietary education-related benchmarks and public benchmarks related to general aspects of safety. Finally, we detail the choices we made on architecture and the optimizations for deploying this service in production; these range across the stack from the hardware infrastructure to the serving layer to language model inference optimizations. We hope this paper will be instructive to other practitioners looking to create production-grade domain-specific services based on generative AI and large language models.
A Survey Forest Diagram : Gain a Divergent Insight View on a Specific Research Topic
Li, Jinghong, Gu, Wen, Ota, Koichi, Hasegawa, Shinobu
With the exponential growth in the number of papers and the trend of AI research, the use of Generative AI for information retrieval and question-answering has become popular for conducting research surveys. However, novice researchers unfamiliar with a particular field may not significantly improve their efficiency in interacting with Generative AI because they have not developed divergent thinking in that field. This study aims to develop an in-depth Survey Forest Diagram that guides novice researchers in divergent thinking about the research topic by indicating the citation clues among multiple papers, to help expand the survey perspective for novice researchers.
IncidentResponseGPT: Generating Traffic Incident Response Plans with Generative Artificial Intelligence
Grigorev, Artur, Saleh, Adriana-Simona Mihaita Khaled, Ou, Yuming
The proposed IncidentResponseGPT framework - a novel system that applies generative artificial intelligence (AI) to potentially enhance the efficiency and effectiveness of traffic incident response. This model allows for synthesis of region-specific incident response guidelines and generates incident response plans adapted to specific area, aiming to expedite decision-making for traffic management authorities. This approach aims to accelerate incident resolution times by suggesting various recommendations (e.g. optimal rerouting strategies, estimating resource needs) to minimize the overall impact on the urban traffic network. The system suggests specific actions, including dynamic lane closures, optimized rerouting and dispatching appropriate emergency resources. IncidentResponseGPT employs the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) to rank generated response plans based on criteria like impact minimization and resource efficiency based on their proximity to an human-proposed solution.
Testing Large Language Models on Driving Theory Knowledge and Skills for Connected Autonomous Vehicles
Tang, Zuoyin, He, Jianhua, Pei, Dashuai, Liu, Kezhong, Gao, Tao
Handling long tail corner cases is a major challenge faced by autonomous vehicles (AVs). While large language models (LLMs) hold great potentials to handle the corner cases with excellent generalization and explanation capabilities and received increasing research interest on application to autonomous driving, there are still technical barriers to be tackled, such as strict model performance and huge computing resource requirements of LLMs. In this paper, we investigate a new approach of applying remote or edge LLMs to support autonomous driving. A key issue for such LLM assisted driving system is the assessment of LLMs on their understanding of driving theory and skills, ensuring they are qualified to undertake safety critical driving assistance tasks for CAVs. We design and run driving theory tests for several proprietary LLM models (OpenAI GPT models, Baidu Ernie and Ali QWen) and open-source LLM models (Tsinghua MiniCPM-2B and MiniCPM-Llama3-V2.5) with more than 500 multiple-choices theory test questions. Model accuracy, cost and processing latency are measured from the experiments. Experiment results show that while model GPT-4 passes the test with improved domain knowledge and Ernie has an accuracy of 85% (just below the 86% passing threshold), other LLM models including GPT-3.5 fail the test. For the test questions with images, the multimodal model GPT4-o has an excellent accuracy result of 96%, and the MiniCPM-Llama3-V2.5 achieves an accuracy of 76%. While GPT-4 holds stronger potential for CAV driving assistance applications, the cost of using model GPT4 is much higher, almost 50 times of that of using GPT3.5. The results can help make decision on the use of the existing LLMs for CAV applications and balancing on the model performance and cost.
Visual Stereotypes of Autism Spectrum in DALL-E, Stable Diffusion, SDXL, and Midjourney
Wodziลski, Maciej, Rzฤ deczka, Marcin, Szuลa, Anastazja, Sokรณล, Marta, Moskalewicz, Marcin
Avoiding systemic discrimination requires investigating AI models' potential to propagate stereotypes resulting from the inherent biases of training datasets. Our study investigated how text-to-image models unintentionally perpetuate non-rational beliefs regarding autism. The research protocol involved generating images based on 53 prompts aimed at visualizing concrete objects and abstract concepts related to autism across four models: DALL-E, Stable Diffusion, SDXL, and Midjourney (N=249). Expert assessment of results was performed via a framework of 10 deductive codes representing common stereotypes contested by the community regarding their presence and spatial intensity, quantified on ordinal scales and subject to statistical analysis of inter-rater reliability and size effects. The models frequently utilised controversial themes and symbols which were unevenly distributed, however, with striking homogeneity in terms of skin colour, gender, and age, with autistic individuals portrayed as engaged in solitary activities, interacting with objects rather than people, and displaying stereotypical emotional expressions such as pale, anger, or sad. Secondly we observed representational insensitivity regarding autism images despite directional prompting aimed at falsifying the above results. Additionally, DALL-E explicitly denied perpetuating stereotypes. We interpret this as ANNs mirroring the human cognitive architecture regarding the discrepancy between background and reflective knowledge, as justified by our previous research on autism-related stereotypes in humans.
Meta launches open-source AI app 'competitive' with closed rivals
Meta has claimed that its new artificial intelligence model is the first open-source system that will rival products from competitors such as OpenAI and Anthropic. In a blogpost, the company said its new model, with the unwieldy name of Llama 3.1 405B, "is competitive" with others โ including those from OpenAI and Anthropic โ "across a range of tasks". If true, it would mean that for the first time, one of the most powerful AI models in the world is available without an intermediary charging for access โ or controlling what its technology is used for. "Developers can fully customise the models for their needs and applications, train on new datasets, and conduct additional fine-tuning," Meta said. "This enables the broader developer community and the world to more fully realise the power of generative AI. Developers can fully customise for their applications and run in any environment โฆ all without sharing data with Meta."
Llama 3.1 is Meta's latest salvo in the battle for AI dominance
Meta on Tuesday announced the release of Llama 3.1, the latest version of its large language model that the company claims now rivals competitors from OpenAI and Anthropic. The new model comes just three months after Meta launched Llama 3 by integrating it into Meta AI, a chatbot that now lives in Facebook, Messenger, Instagram and WhatsApp and also powers the company's smart glasses. In the interim, OpenAI and Anthropic already released new versions of their own AI models, a sign that Silicon Valley's AI arms race isn't slowing down any time soon. In a blog post, Meta said that the new model, called Llama 3.1 405B, is the first openly available model that can compete available rivals in general knowledge, math skills and translating across multiple languages. The model was trained on more than 16,000 NVIDIA H100 GPUs, currently the fastest available chips that cost roughly 25,000 each, and can beat rivals on over 150 benchmarks, Meta claimed.
Adobe's Photoshop can now generate AI images via prompts like Dall-E or Mid Journey
Adobe has widely released a new and potentially contentious feature: text-to-image generation for Photoshop powered by Firefly, first teased in April. As with LLMs like Dall-E and Mid Journey, you can use it to create an image from scratch by typing a description into Photoshop's updated generative AI tool. I tried it with the text "Dramatic low angle view of a steamship from the 1800s in a storm with large waves and lightning" in multiple styles (anime, watercolor, sketch, realistic) and got decent results. The usual AI art caveats apply though, particularly with weird details if you look closely. But it certainly created useable results and you have the benefit of already being inside Photoshop to fix any errors.
AI Is Already Taking Jobs in the Video Game Industry
When Noah saw the email, a wave of anxiety hit. It was spring 2023, and the Activision artist was reading a message from the company's then chief technology officer, Michael Vance, about how artificial intelligence was "top of mind" at the video game publisher. Systems were still being tested, Vance wrote, but "what we have seen thus far holds a ton of promise." There had been a couple emails like this sent to the employees of the studio, which produces the juggernaut Call of Duty series. A previous one had approved the internal use of generative AI tools Midjourney and Stable Diffusion for producing concept art.
RogueGPT: dis-ethical tuning transforms ChatGPT4 into a Rogue AI in 158 Words
Buscemi, Alessio, Proverbio, Daniele
The ethical implications and potentials for misuse of Generative Artificial Intelligence are increasingly worrying topics. This paper explores how easily the default ethical guardrails of ChatGPT, using its latest customization features, can be bypassed by simple prompts and fine-tuning, that can be effortlessly accessed by the broad public. This malevolently altered version of ChatGPT, nicknamed "RogueGPT", responded with worrying behaviours, beyond those triggered by jailbreak prompts. We conduct an empirical study of RogueGPT responses, assessing its flexibility in answering questions pertaining to what should be disallowed usage. Our findings raise significant concerns about the model's knowledge about topics like illegal drug production, torture methods and terrorism. The ease of driving ChatGPT astray, coupled with its global accessibility, highlights severe issues regarding the data quality used for training the foundational model and the implementation of ethical safeguards. We thus underline the responsibilities and dangers of user-driven modifications, and the broader effects that these may have on the design of safeguarding and ethical modules implemented by AI programmers.