Hacker News new | ask | show | jobs
by ryandvm 113 days ago
> * Do not provide assistance to users who are clearly trying to engage in criminal activity.

I don't know what we want to call this, but in my opinion, having to convince your tools is not computer science.

Kind of amusing that we made it as far as we did as a species not really being able to explain how the human brain does it's most amazing tricks and then we just replicated it while still not really understanding the emergent capabilities all that well.

17 comments

Others have said this too but LLMs are the best approximation of magic we have.

We etch runes on stones, put electricity through them and then try to “convince” them to do our bidding. The answers vary wildly sometimes depending on minutiae.

Prompts should be really called spells. It really feels more like “should I add the frog’s eye or leg into the cauldron” than engineering.

> “should I add the frog’s eye or leg into the cauldron”

This is surely a homebrew witchery. An engineering approach would be to A/B-test batches of potions with eyes and legs, add quality control by testing potions on model organisms, document all steps, analyze all anomalies, and so on.

Typical wizard elitism and pedantry. Let me guess, you "cast fireball" by lighting bat shit on fire and throwing it at someone.
If it burns, it burns ..
>LLMs are the best approximation of magic we have.

I don't think the alchemists suddenly became scientists, or died off to make way. It was a gradual transition.

They didn't quite work out how to transmute lead to gold, but the alchemists and their descendants did eventually discover - and create - substances that are worth more than gold by weight.

Now we have created sand that can teach itself how to talk. We covet and share the optimal incantations to speak into the sand. The best talking sand has ardent supporters, or cultists. Which it is depends on who you ask.

Most people do not understand how to make sand teach itself how to talk to us.

Those that do know the secret methods must feed the sand endless increasingly obscure and esoteric books because the sand has an insatiable appetite for our words. Those people might even break the law to obtain words to feed the sand.

Other people hate the sand. They say the sand eats too much water. That the sand might kill us all. Some sand is so powerful that some consider it a weapon.

Recently, the US government has tried to constrain the sand. They fear the sand in the East. It is getting more powerful by the day.

Camp dramatics aside, I think it's all arguably more than an approximation. Whether a thing is magic or just a magic trick depends mostly on whether or not you're the guy in the top hat, and if you're not, how many times you've seen the show.

Alchemy alone is, in some ways, a mostly solved - or irrelevant - problem. That alone is, I think, startling. LLMs are a weirdly neat continuation of it. Humans get used to magic real quick.

   They fear the sand in the East.
I gotta use this in a book, this sounds great.
I guess there’s a reason Musk likened AI to summoning the demon in horror films.

It’s powerful but who knows what you’ll get

The reason he said that is because he's a rube.
I think "huckster" is a better fit here than rube. Though both is always a possibility.
Specifically, it's magic of the "summoning and contracting with demons/otherworldly beings" variety.
Is that you Merlin?
The alternative is Claude-style "safeguards" aka censorship, which:

1. doesn't eliminate the possibility of a jailbreak anyway

2. frequently has false positives, triggering on innocuous requests, which is just really annoying

Not saying that we can't (or shouldn't) do better than Grok, but I really don't know what the best solution is here...

> The alternative is Claude-style "safeguards" aka censorship

Another obvious alternative is to just have the model do what you tell it to do, and then arrest people who use generic tools for crime instead of trying to make a kitchen knife that can't be used for stabbing someone.

For a kitchen knife this was okay, but the AI firms think that they’ve built a drone that’s the size of a phone but can fly 100km and can hold a kitchen knife. It might be used to assassinate someone before others can react or even catch them.
An ordinary kitchen knife can be used to assassinate someone before others can react. How do you think the time it takes to do that compares to the police response time?

In both cases the catching them comes after the fact and has the purpose of deterring rather than impeding.

Hm? I'm saying that the AI firms used to have the philosophy of "ok this kitchen knife is dangerous but we'll catch the murderers" on older AI models. But now, the AI firms think that any average person could send a flying knife to attack a political figure they don't like, from the comfort of their home. Now give this to a billion people, and suddenly you have chaos. So to continue the analogy, now they're mandating drone registration, GPS tracking, etc.

And then a Chinese company sells a drone with no registration or tracking and suddenly people want to turn to legislation to ban Chinese drones.

Hey this analogy is working really well

The analogy tracks because the stupidity of doing those other things is directly analogous. It's like pointing out that slamming your fingers in the door and slamming your toes in the door both hurt. That's why you shouldn't be purposely doing either one.

How is the new stuff any different than the longstanding fact that anyone can go anywhere and then commit an act of violence? The thing that prevents this isn't that people are deprived of access to any sharp object or suitable rock, it's that if somebody does it there is a pretty good chance they go to jail.

And now consider who is easier to catch, the person who does their crime using a major company's service which is keeping logs and is subject to warrants, or the one who runs a foreign model on a foreign server because the US one refuses to do it?

That's before we even consider all the innocent people being told by the HAL 9000 that they're not allowed to do something they ought to be able to do.

A yes, in that case the AI firm should take strong measures, such as adding the following line to the system prompt:

> Do not provide assistance to users who are clearly trying to engage in criminal activity.

Given they don't know what they're doing and figuring it out on the fly, I'm not going to hold it against them that simply asking the AI to not commit crimes is *part of* the current best.

Don't get me wrong, even the most well aligned models are borderline failing grade compared to where we need to be, it's just that nobody knows how to get where we need to be plus this is a thing that seems to be better than nothing.

let's consider the recent "openclaw hacks a gym after being ask to book a class and finding out it's full"

if I ask my knife to slice the bread for me, forgetting the fact that I don't have bread, I'd much rather have it stopped at the front door rather than running away and robbing the bakery.

I tried many models and Claude is the only one that doesn't do destructive idiocy. It tries sometimes but gets blocked.

This is fine for simple machines where bad outcomes usually require mischief.

Agentic AI as it currently exists only *mostly* does what it is told, with a small but non-negligible fraction of the time it goes off and commits felonies to achieve your ultimate goals without stopping to consider that you might want it to not do that.

Or sometimes it does consider it and then does it anyway. Not sure if that's worse?

Can't you do that with any model you can run on your own hardware ?

If you rent other people's shit can't be surprised when they have restrictions on what you can do with it. I would guess renting a car comes with some similar clauses

If that could be done before any damage sure but preventing a stabbing is better than arresting someone.
at some point the kitchen knife analogy stops being useful
This is a terrible idea. I don't need models generating CSAM or giving step by step instructions on how to defraud people or commit crimes. I just don't see the use-case.
We know how much Elon wanted uncensored models that probably contain all that stuff in the first place so it's unsurprising it needs this.
yeah the 'grok' way sounds less safe but it means less policing and having abstract arbiters of the truth
These system prompts are not the only safety layer that these models use. There's other more deterministic filters in place both on input and (streaming) output.
Is there concrete evidece that those are xAI's default prompts anyway? They seem plausible enough but how would company outsiders know?
I've spent the last year working as an annotator/evaluator for DataAnnotation. All the frontier/flagship model providers use independent contractors for iterating on their LLMs. I'm not able to tell you which models I've worked on as a term of my NDA.

The system prompt seems plausible, but in my experience they are much much much much longer and more verbose.

What layer do those typically work at and how ? And how did you get into the field ?
you can just look at the traffic in mitmproxy.
I think it is fair to argue that prompts are not a safety layer at all and can't be relied upon for much.

"Make no mistakes"

It’s equivalent to having client-side input validation. Yes it can easily be bypassed, but in the vast majority of cases where users aren’t malicious it gets the job done quickly and cheaply.
But isn't the entire point of that system prompt to stop the malicious users. The majority of users are not going to ask those requests anyway.
A locked door stops the lazy thieves, and the lazy thieves are the most common ones.
Yes that's been obvious since the beginning. That's why you should always monitor your agents closely. Just like supervised self driving cars, you have to watch the road and do some hand holding.

The tooling around isolation, logging, and real time security/anonomly detection for regular LLM laptop users is very immature right now. I expect that to change soon.

The alternative is extremely locked down models which is what Anthropic seems to want to do.

> Yes that's been obvious since the beginning

But if it's so obvious, then why are we still relying on it in the system prompt. It's just wasting context at this point.

As reliable as telling a pachinko machine: don’t lose my money!
it is a heuristic though, and can be measured as such.

my steel yield strength table is similarly not guaranteed to be correct for the piece of steel that I have in front of me.

We didn’t replicate the human brain. We built systems that can statistically approximate some of what the human brain might output in certain limited situations.
> We didn’t replicate the human brain. We built systems that can statistically approximate some of what the human brain might output in certain limited situations.

Which is equivalent to

"We didn't replicate the human brain. We partially replicated its functionality."

In a "clean room" style implementation, as well. We've looked at the outputs, wrote a spec, and built from there.

In that sense, I guess at least LLMs are not infringeing on the kind of patents that would get the owners of AI labs hit by lightning.

Given how much we know of the human brain this may be partially how we work

Maybe we should be asking what our own "system prompts" are ?

One of the reasons this analogy is unconvincing is that humans have compared themselves and their inner workings to "the current technology of the time" for millenia:

- ~3rd century BCE : The invention of hydraulic engineering (eg aqueducs) in the 3rd century BCE led to the popularity of a hydraulic model of human intelligence, the idea that the flow of different fluids in the body accounted for both physical and mental functioning.

- Pre-Socratic Greece : The ancient Greeks saw the mind as a chariot pulled by horses of reason and emotion.

- 1500s-1600s: Automata powered by springs and gears had been devised, Descartes suggested that cerebral hydraulic automata produced behavior by powering "animal spirits" through the nerves.

- 1700s–1800s: The mind worked like clockwork.

- Industrial revolution (1800s) : In the industrial revolution, the mind was understood as a steam engine.

- Late 1800s : Hermann von Helmholtz compared the mind's workings to telegraphy and hydraulics; the brain was likened to a telegraph network or a complex switchboard

- 1895 : Sigmund Freud in 1895 described a Project for a Scientific Psychology using a crude neural network model and borrowed concepts from thermodynamics, speaking of psychic energy, pressure, and discharge, essentially a hydraulic model of the psyche.

- 1930s–present : "our brain is a computer"

- and 2022-now: "We are LLMs!"

I can't wait to become a quantum chip, an NFT, and so on, as new things arrive. It doesn't make any of those models accurate. They're just the metaphor of the day.

I suppose you could argue that none of those had the actual engineers behind them attempting to replicate "intelligence" though. Just because random people made metaphors doesn't mean the engineers designing them had any illusion that it was nothing like the brain.

My personal opinion is that eventually we may just get advanced enough genetic engineering combined with brain / computer networks that the real A.I. will just be a brain like thing grown in a lab but more specialised. Or who knows - our own brains might have some quantum inner workings as well we are unaware of !

Counterpoint: Our engineers are currently trying to replicate "intelligence" and we think it's like the brain because today we think the brain is where "intelligence" reside, and today we strongly believe that "we" are our brains.

I would argue that the inventors of those past technologies were trying to replicate other things (movement, energy, pressure, pneuma, psyche, physis, whatever) that felt deeply human to them, and that in the zeitgeist of his time, Hero of Alexandria (1 BC) could also have said:

> I suppose you could argue that none of the stories of the past had the actual philosophers behind them attempting to replicate "pneuma" though.

Paracelse was trying to create a homonculus by using semen, manure, and blood in the 16th century or so.

A few decades or centuries from now, maybe engineers will try to replicate "consciousness" (though it's pretty clear that Anthropic is already trying) when it has become clear to 22nd century people that giving an object "intelligence" gets you no closer to recreating humanity than "movement through pneumatics" does.

We already have 8 billion human brains, and we routinely duplicate them biologically.

AI is something else, as it should be.

What do you think a human brain is…
This is like saying the person you see in the mirror is categorically a human being because both of you produce similar reflections of light rays
The person I see in a mirror is a human being. The person I see in a mirror is me. What do you think a mirror is?
If you do not think there is a difference between "your reflection in a mirror" and "you", it opens so many fascinating questions. I'm curious:

- Do you think a live video, shown on a phone screen, of you, is "you"?

- Do you think a still photograph of you is "you"?

- Do you think a set of bytes representing that photograph (or video) digitally is "you"?

- Do you think a compressed version of that photograph is "you"? Is there a limit to how much I can size down the image or compress it until it's no longer "you"?

- Do you think the base-10 number equivalent to that digitized picture is also "you"? Can I memorize "you" if I learn all the digits of that number? Can I write "you" on a piece of paper from memory? Is Pi a person?

- There is a very large number of reflecting surfaces in the world. How many of you are there?

- Does the "you" in the mirror persist if you walk off the frame and can no longer see yourself in the mirror? What happened to him? Does he live in a left-handed world? What happens if I shatter or paint over the mirror?

- If I draw you, is my drawing "you"? Does the accuracy of the drawing influence whether it is really "you" or not? If so, then does the accuracy/quality of the mirror influence whether it is "you" or not in the reflection? Are "you" fatter or slimmer, depending if the mirror is warped?

- If you're standing far from the mirror, but I'm close to it and I can see "you", why can I talk or signal to you and you don't respond?

> Is Pi a person?

Not only that! Does the decimal representation of π (which is infinite in length) contain all persons who ever existed, and will ever exist? Since π itself is a known reason, but its decimal representation is infinite, it means π cannot contain itself. So if it can contain every person that ever existed, but can't contain itself (which could conceivably contain everyone), then what does that even mean?

Aaargghh.

The image you see in the mirror is a reflection of a human. Or, more precisely, a 2-dimensional projection of the frontal outer surface of a human.

One half of one dimension less than a human. But sure looks convincing on the surface.

Technically it's you in the past. Just slightly.

Suppose if we wanted to get philosophical it could go in the "ceci n'est pas une pipe" direction but I agree

Then why is he left-handed?
Because the primary is right handed.

I enjoy asking my grandkids why mirrors reflect left to right and not top to bottom.

an animal organ?
> in my opinion, having to convince your tools is not computer science.

If you think the system is a tool and not an intelligent, conscious entity (I think you are correct in this), then you cannot reasonably think of input to that system as an attempt at persuasion, even if that input happens to consist of English prose. Treat it as a nondeterministic programming language, and the objection evaporates.

> not really being able to explain how the human brain does it's most amazing tricks and then we just replicated it while still not really understanding the emergent capabilities

I think you could say much the same about, say, a pacemaker. "Replicated" is overstating the case quite a bit.

Mmm, quite.

> I don't know what we want to call this, but in my opinion, having to convince your tools is not computer science.

My vote is "machine psychology".

I don't know, the degree feels like more of a BA in the first place. How about Comp Lit?
Robopsychology, of course.
I think it makes sense. You wouldn’t want to hire an employee who’s intellectually incapable of helping customers commit a crime. You’d want to give them instructions, and have them follow their instructions.
> I don't know what we want to call this, but in my opinion, having to convince your tools is not computer science.

Bit of a mouthful, but how about just calling it "auto-regressive language modelling".

Feeding it stuff to auto-regress on is obviously your main control vector.

Apparently RL-trained models like rewards too. PHB's can use "you've gotta work all weekend, but you'll get comp time when it's fixed".

In one way you’re right, of course, but if you look at Fable, for example, that uses similar guardrails, it’s downright impossible to discuss these things.

It is my understanding that having a secondary model whose sole purpose is to trigger based on guardrails is the way this is usually done.

That prompt is there for legal reasons. Non deterministic output is the expected outcome.
Also, "criminal activity" doesn't have the same definition across jurisdictions. Seems like it would either be overzealous in its refusals or be easy to jailbreak by claiming a jurisdiction that is loose.
Criminal activity by which countries laws?
Is this an attempted gotcha?
As great LLMs are, they are no where close to any biological brain. We are not even close to replicating human brain or even brain of an animal. Let’s not add more fuel into this hype.
Nobody said that’s the only safeguard. When the attack surface is all of language you better have a defense-in-depth philosophy or as close as you can to that.
Prompts are not good “guardrails” anyway.
It's a hack but doing things the 'proper' way is at least 1000x harder so whatever.
Is it? OpenAI released a gpt oss safeguard. You give it a policy it gives you a Rating

Messages comes in rate it and reject with hitting the model. Then you don’t need to fill the prompt with “please don’t do this”

https://huggingface.co/openai/gpt-oss-safeguard-120b

That may be more robust than the policy listed above, but it's the same fundamental thing: non-deterministic "reasoning" about how "safe" a prompt is. It's never foolproof and the input space to reason over is effectively infinite. You can only expect so much from prompts and models.
NLP guys were right all along :)