Large Language Model
TrojanPuzzle: Covertly Poisoning Code-Suggestion Models
Aghakhani, Hojjat, Dai, Wei, Manoel, Andre, Fernandes, Xavier, Kharkar, Anant, Kruegel, Christopher, Vigna, Giovanni, Evans, David, Zorn, Ben, Sim, Robert
With tools like GitHub Copilot, automatic code suggestion is no longer a dream in software engineering. These tools, based on large language models, are typically trained on massive corpora of code mined from unvetted public sources. As a result, these models are susceptible to data poisoning attacks where an adversary manipulates the model's training or fine-tuning phases by injecting malicious data. Poisoning attacks could be designed to influence the model's suggestions at run time for chosen contexts, such as inducing the model into suggesting insecure code payloads. To achieve this, prior poisoning attacks explicitly inject the insecure code payload into the training data, making the poisoning data detectable by static analysis tools that can remove such malicious data from the training set. In this work, we demonstrate two novel data poisoning attacks, COVERT and TROJANPUZZLE, that can bypass static analysis by planting malicious poisoning data in out-of-context regions such as docstrings. Our most novel attack, TROJANPUZZLE, goes one step further in generating less suspicious poisoning data by never including certain (suspicious) parts of the payload in the poisoned data, while still inducing a model that suggests the entire payload when completing code (i.e., outside docstrings). This makes TROJANPUZZLE robust against signature-based dataset-cleansing methods that identify and filter out suspicious sequences from the training data. Our evaluation against two model sizes demonstrates that both COVERT and TROJANPUZZLE have significant implications for how practitioners should select code used to train or tune code-suggestion models.
Chatbots As Fluent Polyglots: Revisiting Breakthrough Code Snippets
Noever, David, Williams, Kevin
The research applies AI-driven code assistants to analyze a selection of influential computer code that has shaped modern technology, including email, internet browsing, robotics, and malicious software. The original contribution of this study was to examine half of the most significant code advances in the last 50 years and, in some cases, to provide notable improvements in clarity or performance. The AI-driven code assistant could provide insights into obfuscated code or software lacking explanatory commentary in all cases examined. We generated additional sample problems based on bug corrections and code optimizations requiring much deeper reasoning than a traditional Google search might provide. Future work focuses on adding automated documentation and code commentary and translating select large code bases into more modern versions with multiple new application programming interfaces (APIs) and chained multi-tasks. The AI-driven code assistant offers a valuable tool for software engineering, particularly in its ability to provide human-level expertise and assist in refactoring legacy code or simplifying the explanation or functionality of high-value repositories. NTRODUCTION The latest generation of artificial intelligence (AI) and chat applications [1-13] shows particular promise as software generators [4,11], presenting a new interactive way to learn complex coding principles [6], comment on existing code in multiple languages [8], and generally serve as coding assistants [8-12]. Recent efforts by OpenAI have put large language models (LLMs) into public access [1-2]. As an experimental platform, particularly for understanding software principles, its interactive chat [1] simulates a vast knowledge base, expert role-playing, and long-term memory spanning 8000 tokens, or approximately 20-25 pages of generated text. Several tests or benchmarks, such as QuixBugs [8] and HackerRank [12], have demonstrated the potential of generative coders as software assistants [10]. A recent review from the University of Washington and Microsoft Research [14] estimated that 1.2 million coders currently use OpenAI's copilot for tasks formerly requiring searches, such as code completion, commentary, or bug detection.
The political ideology of conversational AI: Converging evidence on ChatGPT's pro-environmental, left-libertarian orientation
Hartmann, Jochen, Schwenzow, Jasper, Witte, Maximilian
Conversational artificial intelligence (AI) disrupts how humans interact with technology. Recently, OpenAI introduced ChatGPT, a state-of-the-art dialogue model that can converse with its human counterparts with unprecedented capabilities. ChatGPT has witnessed tremendous attention from the media, academia, industry, and the general public, attracting more than a million users within days of its release. However, its explosive adoption for information search and as an automated decision aid underscores the importance to understand its limitations and biases. This paper focuses on one of democratic society's most important decision-making processes: political elections. Prompting ChatGPT with 630 political statements from two leading voting advice applications and the nation-agnostic political compass test in three pre-registered experiments, we uncover ChatGPT's pro-environmental, left-libertarian ideology. For example, ChatGPT would impose taxes on flights, restrict rent increases, and legalize abortion. In the 2021 elections, it would have voted most likely for the Greens both in Germany (B\"undnis 90/Die Gr\"unen) and in the Netherlands (GroenLinks). Our findings are robust when negating the prompts, reversing the order of the statements, varying prompt formality, and across languages (English, German, Dutch, and Spanish). We conclude by discussing the implications of politically biased conversational AI on society.
Sequentially Controlled Text Generation
Spangher, Alexander, Hua, Xinyu, Ming, Yao, Peng, Nanyun
While GPT-2 generates sentences that are remarkably human-like, longer documents can ramble and do not follow human-like writing structure. We study the problem of imposing structure on long-range text. We propose a novel controlled text generation task, sequentially controlled text generation, and identify a dataset, NewsDiscourse as a starting point for this task. We develop a sequential controlled text generation pipeline with generation and editing. We test different degrees of structural awareness and show that, in general, more structural awareness results in higher control-accuracy, grammaticality, coherency and topicality, approaching human-level writing performance.
The AI War and How to Win It - by Alexandr Wang
The next era of war and deterrence will be defined by AI. The AI winner of this decade will be economically and militarily dominant for the next 50 years. The faster that we confront this reality, the faster we can act in ensuring America does not lose. China is currently outpacing the United States (for which there are numerous supporting facts). The United States, both the government and AI technologists, need to start acting. The AI War is at the core of the future of our world.
Chalkbeat: NYC Public Schools Ban ChatGPT
Good morning Diane and everyone, I don't know about anyone else, but to me writing is hard as the devil! If you don't think writing is damn HARD, you must have great talent. I do so for different purposes. In this recent discussion about the value of having students learn to write, I tried to think back to how writing helped me in my life. In what way was it valuable to me?
How much would you pay to use ChatGPT?
ChatGPT, launched by OpenAI in late November 2022, is the new talk of the town. Everyone's raving about its user-friendliness and the mind blowing variety of its skills: it can both generate a fiction piece out of thin air and a functional Python script. We've seen people using it to write cover letters, school essays and political speeches. I even wrote a song called Crypto Winter. Two weeks ago, I subscribed to a Google Alert for ChatGPT and it's one of the longest notification emails I receive from the service every morning. Everyone, from writers to lawyers, developers and even politicians seems to be talking about ChatGPT.
Microsoft to challenge Google by integrating ChatGPT with Bing search - The Verge
Microsoft has been betting its future on AI for at least six years, with CEO Satya Nadella discussing the importance of more intelligent apps and services in an interview with The Verge in 2016. In that same year, Microsoft launched its "conversation as a platform" offering, a bet on chat-based interfaces overtaking apps as our primary way of using the internet and finding information. It looks like together with ChatGPT, Microsoft now wants to try and make that a reality inside Bing.
Microsoft is reportedly integrating ChatGPT's technology into Bing
Microsoft's Bing search engine might soon become more attuned to users' needs and return results in a more human-like fashion. According to The Information, the tech giant is planning to incorporate the OpenAI software powering ChatGPT into Bing in hopes that it can help the company catch up to (or maybe even outshine) Google. Microsoft invested $1 billion in OpenAI back in 2019, and more recent reports said it's in talks with the Elon Musk-founded startup for a follow-up investment. Now, The Information is reporting that Microsoft's initial investment included an agreement to incorporate some aspects of GPT into Bing. OpenAI developed GPT as a language model that uses deep learning to generate human-like text responses. Late last year, it launched a program called ChatGPT that quickly skyrocketed in popularity due to its ability to return responses that seem like they were written by actual people.