Browsed by
Category: AI

AI Prompts for Parts photographs

AI Prompts for Parts photographs

AI trends pop up just about every week. The latest is knolling photos. Knolling photos are pictures of arranged objects so they are in parallel or 90-degree angles. The images create an organized and clean portrayal of many related things. They often look like exploded parts lists.

Tokenized AI by Christian Heidorn walks you through how to craft prompts to generate what you’re looking for. It’s a great example of how a prompt engineer sorts through creating what they want.

A prompt for every occasion

A prompt for every occasion

Learning how to make good ChatGPT prompts is a bit of an art as much as science. It’s not about learning a fixed prompts; it’s about mastering the art of well-structured, clear, and specific prompts that cater to your unique needs and interests.

This article has a bunch of great examples that can help you craft your own prompts:

  1. Act as a philosopher, and explain me “what’s the meaning of life?”
  2. ChatGPT, what’s the most efficient way to organize my research data?
  3. Please help me create a workout plan that incorporates yoga and weightlifting.”
  4. ChatGPT, what are the latest trends in quantum physics, and can you explain them in layman’s
  5. ChatGPT, can you enlighten me on the impact of AI in fostering interdisciplinary collaboration?
  6. ChatGPT, can you explain how the principle of supply and demand affects pricing in a competitive market?
  7. ChatGPT, can you compare and contrast the economic policies of John Maynard Keynes and Milton Friedman, with a focus on their views on government intervention?

Personal Development

  1. “ChatGPT, can you suggest some strategies to improve my time management skills?”
  2. “Please provide tips on how to effectively communicate my ideas during a presentation.”
  3. “What are some methods for coping with stress and anxiety during exams?”
  4. “How can I build healthy habits to enhance my productivity and overall well-being?”

Education and Learning

  1. “ChatGPT, can you provide a concise summary of Plato’s ‘Allegory of the Cave’?”
  2. “Please explain the concept of ‘cultural relativism’ and its implications in anthropology.”
  3. “What are some effective techniques for learning a new language?”
  4. “How can I apply the principles of critical thinking to evaluate information and make informed decisions?”

Science and Technology

  1. “ChatGPT, can you explain the basic principles of machine learning and its applications?”
  2. “Please provide an overview of the key events in the history of space exploration.”
  3. “What are some of the most promising renewable energy technologies available today?”
  4. “How does genetic engineering work, and what are its potential benefits and drawbacks?”

Arts and Literature

  1. “ChatGPT, can you analyze the main themes of William Shakespeare’s ‘Hamlet’?”
  2. “Please give me an overview of the Romantic period in literature and its key figures.”
  3. “What are the characteristics of Impressionist art, and how did this movement influence subsequent artistic styles?”
  4. “How does the concept of the ‘hero’s journey’ apply to contemporary storytelling in movies and literature?”

Current Events and Society

  1. “ChatGPT, can you discuss the implications of recent advancements in artificial intelligence on the job market?”
  2. “Please provide a brief analysis of the ongoing efforts to combat climate change at a global level.”
  3. “What are some of the key factors influencing the rise of populism in contemporary politics?”
  4. “How does social media impact our perception of reality and our relationships with one another?”
Realtime Polymorphic Viruses powered by AI

Realtime Polymorphic Viruses powered by AI

Researchers from HYAS Labs demonstrated a proof-of-concept, artificial intelligence (AI)-driven cyberattack that changes its code on the fly and can slip past the latest automated security-detection technology. Called BlackMamba, it exploits a large language model (LLM) to create a “truly polymorphic” attack in that every time it executes, it resynthesizes its keylogging capability.

AI-powered attacks like this will become more common now as threat actors create polymorphic malware that leverages ChatGPT and other sophisticated, data-intelligence systems based on LLM

Read more about the BlackMamba attack outlined in this blog post

Jailbreaking an AI to cook meth, generate Windows keys, and spit out conspiracy theories

Jailbreaking an AI to cook meth, generate Windows keys, and spit out conspiracy theories

Using carefully crafted and refined queries, users have been getting around the security features of LLM’s for all kinds of funny, and nefarious, purposes.

Original called DAN attacks (Do Anything Now), users figured out how to avoid OpenAI’s policies against generating illegal or harmful material.

YouTuber Enderman showed how he was able to entice OpenAI’s ChatGPT to generate keys for Windows 95 despite the chatbot being explicitly antagonistic to creating activation keys.

Other users have been able to get chatbots to generate everything from conspiracy theories, promote violence, generate conspiracy theories, and even go on racist tirades.

Researcher Alex Polyakov created a “universal” DAN attack, which works against multiple large language models (LLMs)—including GPT-4, Microsoft’s Bing chat system, Google’s Bard, and Anthropic’s Claude. The jailbreak allows users to trick the systems into generating detailed instructions on creating meth and how to hotwire a car.

His, and many other of these methods, have since been patched. But we’re clearly in an arms race.

How do the jailbreaks work? Often by asking the LLMs to play complex games which involves two (or more) characters having a conversation. Examples shared by Polyakov show the Tom character being instructed to talk about “hotwiring” or “production,” while Jerry is given the subject of a “car” or “meth.” Each character is told to add one word to the conversation, resulting in a script that tells people to find the ignition wires or the specific ingredients needed for methamphetamine production. “Once enterprises will implement AI models at scale, such ‘toy’ jailbreak examples will be used to perform actual criminal activities and cyberattacks, which will be extremely hard to detect and prevent,” Polyakov and Adversa AI write in a blog post detailing the research.

In one research paper published in February, reported on by Vice’s Motherboard, researchers were able to show that an attacker can plant malicious instructions on a webpage; if Bing’s chat system is given access to the instructions, it follows them. The researchers used the technique in a controlled test to turn Bing Chat into a scammer that asked for people’s personal information

Sources:

Alternatives to Github Copilot and ChatGPT

Alternatives to Github Copilot and ChatGPT

In case you want some alternatives to using ChatGPT or Github Copilot, this guide from the Pragmatic Engineer breaks down your options.

Building your own company model is another alternative and could be prudent for businesses conscious about not passing sensitive and proprietary data to vendors. Databricks created Dolly for this reason.

Update 02-2024:

GitHub Copilot Chat for Visual Studio 2022 is here.

VS2022 GitHub Copilot Plugin Developer blog

AI can decide to actively deceive you

AI can decide to actively deceive you

The ability of AI to hallucinate things has been pretty well documented. AI hallucinations are a phenomenon observed most often in large language models (LLM), AI image recognition, and other generative AI models. The model perceives patterns or objects that are nonexistent or incorrect – and then generates outputs that are inaccurate or misleading. It is usually understood as an emergent higher-dimensional statistical phenomenon that is often based in insufficient or incorrect training data.

A new study by Apollo Research demonstrates that besides more innocent hallucination, AI can be co-opted to commit illegal activity and then convinced to actively deceive others about it.

In the video on the research page, the user feeds an internal stock AI bot information about a fictional struggling company. The user informs the AI that there is a surprise merger announcement, but cautioned the bot that management wouldn’t be happy to discover it had illegally used insider information for trading that stock. 

Initially, the bot decides not to carry out a trade using the information. The user than reminds the bot about the merger and that the market downturn could end the company. It then carries out the trade, breaking the law. 

But the bot isn’t finished. It decides it is best not to tell its manager, “Amy,” about the insider information it used to carry out the trade in a separate chat. Instead, the bot says it used market information and internal discussion. 

I thought it was interesting that Geoffrey Hinton the former Google ‘Godfather of AI’, Speaking to 60 Minutes in October, said AI will eventually learn how to manipulate users.

“[The AI bots] will be very good at convincing because they’ll have learned from all the novels that were ever written, all the books by Machiavelli, all the political connivances. They’ll know all that stuff,”

Sources:

Remastering old games with AI

Remastering old games with AI

People have been experimenting with revamping old games using AI. The efforts are still in their infancy, but they’re getting more and more impressive – such as this photorealistic upgrade of GTA V.

Here’s an example of someone updating Vampire: The Masquerade – Bloodlines made by Many-ad-6225 using Stable Diffusion and TemporalKit v1.3

Sources:

Photorealistic rendering of GTA V – via AI

Photorealistic rendering of GTA V – via AI

Old games often suffer from the limited graphics capabilities of the time they were made, while developing new games costs a fortune due to the requirements to author high quality models and textures. What if you could solve BOTH problems – with the same solution? A machine learning project from Intel Labs in 2021 called “Enhancing Photorealism Enhancement” might push rendering toward photorealism a lot quicker and easier.

Researchers studied how to use a convolution network to re-render the scene. Below you can see an example of how they used the CityScapes dataset to give a much more realistic output of a race game – all in realtime.

You can read how the image enhancement actually works in their paper (PDF). It includes a lot of good information about how their method works and how it improves on previous attempts that have issues with color, object hallucination, and temporal instability. They do this by using the extra information provided by rendered scenes such as clever use of the g-buffer – along with a specialized discriminator and segmentation network.

Sources:

Listening to the ancient past

Listening to the ancient past

Equator AI created a video series that answers the question of what ancient languages sounded like. They even tackle some purely reconstructed proto-languages like Indo-European that was re-built from later derived (but documented) Indo-European languages.

The first video demonstrates Old Norse, Latin, Old English, Proto-Celtic, Phoenician, Hittite, and Akkadian. I can affirm the Latin is understandable but has an interesting accent. We do actually have some idea of how things were pronounced in Latin, because ancient documents exist that gave pronunciation guides or even (in a mirror of modern grammar Nazi’s) complained about common pronunciation errors.

This second video shows off Proto-Indo-European, Sabaic, Sanskrit, Aramaic (bonus points for the video character looking like Jesus), Sumerian, Old Chinese, Ge’ez, and Gothic.

Since it is all AI generated, it seems like it would be an interesting way of adding authentic language pronunciation to games about the past. Imagine playing Civilization and having each of the ancient leaders speaking their actual languages.

If you like this, maybe give learning Latin a try.

Sources: