Law
zkLLM: Zero Knowledge Proofs for Large Language Models
Sun, Haochen, Li, Jason, Zhang, Hongyang
The recent surge in artificial intelligence (AI), characterized by the prominence of large language models (LLMs), has ushered in fundamental transformations across the globe. However, alongside these advancements, concerns surrounding the legitimacy of LLMs have grown, posing legal challenges to their extensive applications. Compounding these concerns, the parameters of LLMs are often treated as intellectual property, restricting direct investigations. In this study, we address a fundamental challenge within the realm of AI legislation: the need to establish the authenticity of outputs generated by LLMs. To tackle this issue, we present zkLLM, which stands as the inaugural specialized zero-knowledge proof tailored for LLMs to the best of our knowledge. Addressing the persistent challenge of non-arithmetic operations in deep learning, we introduce tlookup, a parallelized lookup argument designed for non-arithmetic tensor operations in deep learning, offering a solution with no asymptotic overhead. Furthermore, leveraging the foundation of tlookup, we introduce zkAttn, a specialized zero-knowledge proof crafted for the attention mechanism, carefully balancing considerations of running time, memory usage, and accuracy. Empowered by our fully parallelized CUDA implementation, zkLLM emerges as a significant stride towards achieving efficient zero-knowledge verifiable computations over LLMs. Remarkably, for LLMs boasting 13 billion parameters, our approach enables the generation of a correctness proof for the entire inference process in under 15 minutes. The resulting proof, compactly sized at less than 200 kB, is designed to uphold the privacy of the model parameters, ensuring no inadvertent information leakage.
FairDeDup: Detecting and Mitigating Vision-Language Fairness Disparities in Semantic Dataset Deduplication
Slyman, Eric, Lee, Stefan, Cohen, Scott, Kafle, Kushal
Recent dataset deduplication techniques have demonstrated that content-aware dataset pruning can dramatically reduce the cost of training Vision-Language Pretrained (VLP) models without significant performance losses compared to training on the original dataset. These results have been based on pruning commonly used image-caption datasets collected from the web -- datasets that are known to harbor harmful social biases that may then be codified in trained models. In this work, we evaluate how deduplication affects the prevalence of these biases in the resulting trained models and introduce an easy-to-implement modification to the recent SemDeDup algorithm that can reduce the negative effects that we observe. When examining CLIP-style models trained on deduplicated variants of LAION-400M, we find our proposed FairDeDup algorithm consistently leads to improved fairness metrics over SemDeDup on the FairFace and FACET datasets while maintaining zero-shot performance on CLIP benchmarks.
Universal Adversarial Triggers Are Not Universal
Meade, Nicholas, Patel, Arkil, Reddy, Siva
Recent work has developed optimization procedures to find token sequences, called adversarial triggers, which can elicit unsafe responses from aligned language models. These triggers are believed to be universally transferable, i.e., a trigger optimized on one model can jailbreak other models. In this paper, we concretely show that such adversarial triggers are not universal. We extensively investigate trigger transfer amongst 13 open models and observe inconsistent transfer. Our experiments further reveal a significant difference in robustness to adversarial triggers between models Aligned by Preference Optimization (APO) and models Aligned by Fine-Tuning (AFT). We find that APO models are extremely hard to jailbreak even when the trigger is optimized directly on the model. On the other hand, while AFT models may appear safe on the surface, exhibiting refusals to a range of unsafe instructions, we show that they are highly susceptible to adversarial triggers. Lastly, we observe that most triggers optimized on AFT models also generalize to new unsafe instructions from five diverse domains, further emphasizing their vulnerability. Overall, our work highlights the need for more comprehensive safety evaluations for aligned language models.
From Local to Global: A Graph RAG Approach to Query-Focused Summarization
Edge, Darren, Trinh, Ha, Cheng, Newman, Bradley, Joshua, Chao, Alex, Mody, Apurva, Truitt, Steven, Larson, Jonathan
The use of retrieval-augmented generation (RAG) to retrieve relevant information from an external knowledge source enables large language models (LLMs) to answer questions over private and/or previously unseen document collections. However, RAG fails on global questions directed at an entire text corpus, such as "What are the main themes in the dataset?", since this is inherently a query-focused summarization (QFS) task, rather than an explicit retrieval task. Prior QFS methods, meanwhile, fail to scale to the quantities of text indexed by typical RAG systems. To combine the strengths of these contrasting methods, we propose a Graph RAG approach to question answering over private text corpora that scales with both the generality of user questions and the quantity of source text to be indexed. Our approach uses an LLM to build a graph-based text index in two stages: first to derive an entity knowledge graph from the source documents, then to pregenerate community summaries for all groups of closely-related entities. Given a question, each community summary is used to generate a partial response, before all partial responses are again summarized in a final response to the user. For a class of global sensemaking questions over datasets in the 1 million token range, we show that Graph RAG leads to substantial improvements over a na\"ive RAG baseline for both the comprehensiveness and diversity of generated answers. An open-source, Python-based implementation of both global and local Graph RAG approaches is forthcoming at https://aka.ms/graphrag.
An Economic Solution to Copyright Challenges of Generative AI
Wang, Jiachen T., Deng, Zhun, Chiba-Okabe, Hiroaki, Barak, Boaz, Su, Weijie J.
Generative artificial intelligence (AI) systems are trained on large data corpora to generate new pieces of text, images, videos, and other media. There is growing concern that such systems may infringe on the copyright interests of training data contributors. To address the copyright challenges of generative AI, we propose a framework that compensates copyright owners proportionally to their contributions to the creation of AI-generated content. The metric for contributions is quantitatively determined by leveraging the probabilistic nature of modern generative AI models and using techniques from cooperative game theory in economics. This framework enables a platform where AI developers benefit from access to high-quality training data, thus improving model performance. Meanwhile, copyright owners receive fair compensation, driving the continued provision of relevant data for generative model training. Experiments demonstrate that our framework successfully identifies the most relevant data sources used in artwork generation, ensuring a fair and interpretable distribution of revenues among copyright owners.
The world's leading AI companies pledge to protect the safety of children online
Leading artificial intelligence companies including OpenAI, Microsoft, Google, Meta and others have jointly pledged to prevent their AI tools from being used to exploit children and generate child sexual abuse material (CSAM). The initiative was led by child-safety group Thorn and All Tech Is Human, a non-profit focused on responsible tech. The pledges from AI companies, Thorn said, "set a groundbreaking precedent for the industry and represent a significant leap in efforts to defend children from sexual abuse as a feature with generative AI unfolds." The goal of the initiative is to prevent the creation of sexually explicit material involving children and take it off social media platforms and search engines. More than 104 million files of suspected child sexual abuse material were reported in the US in 2023 alone, Thorn says.
Meet the Thermonator: First ever flamethrowing robot dog that shoots jets of fire up to 30 feet hits US market
While it may sound like the plot of a Black Mirror show, Americans can now purchase a flamethrower-wielding robot dog online. Ohio-based Throwflame opened sales for its'Thermonator' Tuesday, selling its 37-pound quadruped machine for 9,420 that is legal in all US states except Maryland. A demonstration video shows a Thermonator creeping and jumping through a forest before torching its surroundings with a 30-foot jet of fire spewing from a flame thrower on its back. The company did not describe its as a new-aged weapon, but touts the flame throwing robot as being used in wildfire control, agricultural management, entertainment and ice removal. Ohio-based Throwflame opened sales for its'Thermonator' Tuesday, selling its 37-pound quadruped machine for 9,420 Throwflame, based in Cleveland, claims to be the oldest flamethrower manufacturer in the US.
Elite university reverses on NYPD presence as antisemitic mob takes over campus and more top headlines
After an anti-Israel protest escalated at New York University on Monday – requiring city police presence – the university released a statement explaining while it supports students' rights to protest, safety remains its priority. HATE RAGES – Elite university reverses on NYPD presence as antisemitic mob takes over campus and more top headlines. POISON IVY – Columbia University shifts to hybrid learning as escalating anti-Israel protests cause safety concerns. NO COFFEE, NO PEACE – Angry Alec Baldwin smacks anti-Israel agitator's phone after hounding actor. TRUMP TRIAL – Judge to hear gag order arguments after former president's all-caps rant on social media.
What is Project Nimbus, and why are Google workers protesting Israel deal?
Google employees based in the United States staged protests at the tech giant's offices in New York City, California and Seattle last week to oppose a 1.2bn contract with the Israeli government. Known as Project Nimbus, the joint contract between Google and Amazon signed in 2021 aims to provide cloud computing infrastructure, artificial intelligence (AI) and other technology services to the Israeli government and its military, which has faced condemnation for its ongoing war on Gaza. Israel has killed more than 34,000 Palestinians, overwhelmingly civilians, and destroyed vast swaths of the Palestinian coastal enclave since it launched the military offensive last October. The country has justified the offensive saying it is targeting Hamas fighters who carried out a deadly attack on October 7. Here is a look at why tech workers are opposing military collaborations amid misuse of AI and other technologies in conflicts in Gaza and Ukraine among others.
Interactive Analysis of LLMs using Meaningful Counterfactuals
Cheng, Furui, Zouhar, Vilém, Chan, Robin Shing Moon, Fürst, Daniel, Strobelt, Hendrik, El-Assady, Mennatallah
Counterfactual examples are useful for exploring the decision boundaries of machine learning models and determining feature attributions. How can we apply counterfactual-based methods to analyze and explain LLMs? We identify the following key challenges. First, the generated textual counterfactuals should be meaningful and readable to users and thus can be mentally compared to draw conclusions. Second, to make the solution scalable to long-form text, users should be equipped with tools to create batches of counterfactuals from perturbations at various granularity levels and interactively analyze the results. In this paper, we tackle the above challenges and contribute 1) a novel algorithm for generating batches of complete and meaningful textual counterfactuals by removing and replacing text segments in different granularities, and 2) LLM Analyzer, an interactive visualization tool to help users understand an LLM's behaviors by interactively inspecting and aggregating meaningful counterfactuals. We evaluate the proposed algorithm by the grammatical correctness of its generated counterfactuals using 1,000 samples from medical, legal, finance, education, and news datasets. In our experiments, 97.2% of the counterfactuals are grammatically correct. Through a use case, user studies, and feedback from experts, we demonstrate the usefulness and usability of the proposed interactive visualization tool.