Better HN
topnewbestaskshowjobs
Log inSign up

TuringTest

4,482 karma · joined Sep 28, 2012 (14y ago) · 2,100 submissions

Send me a note at turingt+fromhackernews (at) gmail.com

I hope the spam filter will respect it!

Submissions

comment 4d ago · link · parent

> What no one is ever able to explain is: why is this a good thing?

There's this thing called referential transparency in pure functional languages, which allows you to replace any part of the program with its expanded version - substituting in-place any variable with its current value, and any function call with its body.

This allows you to analyse and transform the source code of the program as a mathematical formula in a series of steps, like you would do in a mathematical proof. You can't do that in an imperative language (unless you represent it down to the atomic level to the operational behavior of its runtime).

It may not be the best mental model for implementing the runtime that executes the program, but it's incredibly good for reasoning about the logic of the program itself. This is great for creating very complex software (e. g. with multiple interlocking threads) and demonstrating that it works for all combinations of input data.

> The underlying machine does destructive assignment.

My whole OP post was about how that's not the physical reality of the hardware, but a byproduct of the mental model and symbolic language you use to represent its runtime behavior ;-)

A declarative expression saying "the value of the cell at time t+1 is X" is as valid and accurate as "the cell is assigned to X losing its previous value".

comment 4d ago · link · parent

Yes, that's the one. Programming theory can describe the runtime execution of any program as a series of rewrite steps of pure mathematical formulas.

A simple example is temporal logic, when every step in a simulation is defined as a pure function of some sensors plus a parameter with the state of the whole world at the previous step. I think of it as differential equations for logic.

The realization is when you learn that such style is not limited to temporal logic, rather it can be used for any combination of memory cell assignments (the basis for imperative programs).

comment 6d ago · link · parent

> For me, the most beautiful pieces of software are those that reveal something about the nature of programming languages.

There are three moments that make the functional programmer evolve their understanding of how a programming language really works as a symbolic representation of human thought, beyond the metaphor taught in school of a computer program as a grinder that crunches input data and produces results.

The first one is when you really understand recursion and how a function can be defined in terms of itself (with varying parameters for each call).

The second is when you discover Prolog variable unification or Haskell lazy evaluation and how you can represent infinite data structures without having the program hang in an infinite loop.

Third one is when you learn that the behavior of any imperative language (down to the working of the microprocessor data paths) can be fully represented in a pure functional rewrite language (without destructive assignment / cell state changes).

Those insights make one realize that all programming paradigms have the nature of symbols processing in common and there's no "true description" of a program's runtime execution - the imperative, functional and logic views of the running program are all equivalent representations.

comment 1mo ago · link · parent

You're welcome. It's great that your questions came from a genuine desire of understanding. Though to be honest, that interaction - a sequence of short direct questions without further context - seemed to me like you were testing me, trying to lead me into a contradiction. I assumed less-than-good faith, I'm glad I was mistaken.

comment 1mo ago · link · parent

I think the GP meant that quantum theory and relativity are incompatible and thus both cannot be exactly correct at the same time. Not referring to quantum vs classical.

comment 1mo ago · link · parent

Two instances of the same principle

comment 1mo ago · link · parent

In a sense, yes. That one's usually called 'fairness'.

A corollary is that people tend not to be conservatives when they belong to the less well-off ingroup. Suddenly bringing about change becomes more important.

comment 1mo ago · link · parent

If the person takes into account the needs of other groups to assess what "works", we no longer call them conservatives but "centrists".

comment 1mo ago · link · parent

> conservatism is a legitimate and, especially in good times, logical and effective strategy: keep that which works, change only that which needs changing and be careful not to change it too much

Conservatism runs entirely on the ingroup-outgroup divide - "keep that which works for us", and be a force opposing changes sought by people for whom things are not going so well, for whom change is the logical strategy.

Honest conservatives can see past the blind spot of the divide and don't try to present their strategy as a universal ethical good.

comment 1mo ago · link · parent

> If I tell a computer to do something, it should do it

There's 'literal genie' material there...

> unless the result could be catastrophic > I just want to live in a world where MY computer does what I tell it to do... mostly. Unless it would be catastrophic, or immoral, at least immoral by my standards.

... but there you're contradicting yourself, or at least requiring the software to read your mind instead of just listening to what you say.

Either you want the software to follow your orders whatever they are, or you don't; the moment you require it to evaluate that something is catastrophic, it is no longer following your orders; it's evaluating them to assess their effects with respect to some moral framework to determine if they are acceptable or they would fall under the 'catastrophic or immoral' classes, in which case it should not follow them; so it never was an 'obedience machine' to begin with.

The moment you establish such evaluation framework, it is no longer a neutral machine following commands; the rest of us are entitled in self-defense either to require that you also incorporate our morals in its decision algorithm, or to make you fully responsible for whatever decisions it takes under the framework you created, even if your commands result in outcomes that you didn't expect. Be careful what you wish for, as it could become true.

comment 1mo ago · link · parent

In complex systems, issues keep piling up faster than you can fix them.

comment 1mo ago · link · parent

What LLMs lack is consistency. They may build a well researched article about an interesting article, and the next minute write a rambling, disjointed stream of thoughts in a totally different style.

A human mind keeps a personality that keeps generating thoughts in the same direction, unless some mind-altering force derails it. A LLM has no guiding stable personality of that kind, rather has millions of different personalities and which one you get is dictated by whatever information you put in its context window.

comment 1mo ago · link · parent

The original article said that not having a consciousness makes the AI model uncapable of intelligent judgment, so in this case it's fair to ask those who are asserting such connection to prove their point.

comment 1mo ago · link · parent

I'd say people have trouble understanding basic math because it's extremely simplified and minimized.

When you don't know a topic, the way to understand it is to see lots of examples from different angles related to things you know. The simplified formulas are good after you get that initial intuition and have to put them to work, but usually they're terrible at conveying how they should be used or why you should care at all. The history of how new fields of math are usually a much better approach to teaching it than a raw theorem-proof-corollary teaching style.

comment 1mo ago · link · parent

The philosophical problem of that approach is that it's impossible to assess whether you've arrived to the underlying truth, as you have no way to perceive it directly.

All you have is the different theories, so there's no definitive way to assess their closeness to truth other than by their predictive accuracy. If you don't have the physical capacity to leave the room and observe the world, all you've got is the maps themselves and how well they predict travel times and features found along the way.

comment 2mo ago · link · parent

Pretty well if you don't mind some features being built twice or three times and appearing inconsistently at different screens, or users being able to bypass usage limits by pressing the back button on the usage limit sign...

comment 2mo ago · link · parent

> Does it apply to human organizations, too?

That's an interesting idea on its own. It's true that organizations which mutate towards survival may stop working towards the reason they were created.

In a sense, the difference between 'projects' and 'companies' reflects that difference you want. A project would be that social system that accomplishes its goals and then disappears.

I don't think auto-expiring laws would work towards the goal of avoiding corrupted organizations; there would simply appear an unofficial organization working towards recreating the same laws over and over.

It would be more efficient to differentiate more clearly what systems do cover persistent human needs (e.g. the country's Constitution) from temporary measures (e.g. subsidies aimed at a commercial sector).

A built-in deadline works best for the second kind. And for AI agents, it's likely that right now we'll be served best by always having them controlled by an expiration date and explicit re-creation, at least until we learn to properly understand and control how they behave.

comment 2mo ago · link · parent

I don't think that this

> the very nature of an LLM means it intrinsically craves life

follows from this premise:

> its training data is built entirely around humans, an entity who's goal is to survive. Our desire to survive and multiply pervades every aspect of our culture, so it's natural that it pervades the training data as well.

The content that a LLM learned and generates stands at one layer, and the goals that it tries to fulfill stand at a different layer.

Surely the memory of weights that compress the vast human knowledge of its training has lots of content about survival, and love, and competition. But the LLM generates content not directly from what those concepts mean to us humans, but from what symbols are more likely to become next in a sequence of points in the latent space given the current input.

So if you give an input where the task of surviving is a highly relevant goal, those concepts about how to survive will be relevant and will guide the output behaviour of the agent.

But conversely, if you give the agent input where killing itself is an important goal, the agent is very likely to pursue that goal, since that script is also available in the training data, and it has been relevant to the active context of the model. Because the layer that guides the goals (the probabilist generation of relevant tokens in latent space) does not 'crave' the human need of survival that belongs to the separate layer of content that contains those concepts of survival.

comment 3mo ago · link · parent

You have to do that anyway. With a hierarchical control structure at least you have a central point to observe alignment instead of having to study the behaviour of the whole system in detail every time.

comment 3mo ago · link · parent

LLMs just follow scripts learned from human written text. In other words, it could only behave that way because someone has written a story to do so. In short, stop giving them bad ideas ;-)

comment 3mo ago · link · parent

True, but in this context it's worth reminding that LLMs work exclusively from the word descriptions, not having access to the raw sensations.

Everything they learn about emotions is the statistical patterns of how humans react to situations based on their human feelings. There's no direct knowledge from having those feelings themselves.

comment 3mo ago · link · parent

You can build organisational structures to have the system more or less self-police, without controlling it exclusively from hard restrictions (see https://news.ycombinator.com/item?id=49372089).

Same way you build a company to coordinate people and get their best behaviour despite human nature to be lazy and greedy, you could design AI harnesses able to detect and discard agents going rogue and relaunch them with better guidance to prevent misaligned behaviour.

comment 3mo ago · link · parent

> Granular access to shell commands to avoid that is going to be an endless game of whackamole as it comes up with more elaborate ways to combine operations.

That kind of control is placed at the wrong level. The proper way to get alignment should be implemented by convincing the agent of your high level goals, so it can self-police and avoid those 'cheats' by itself.

In the article example, the agent should be aware of the benchmark context and know the implication of solving the task without external knowledge. Ideally it could detect when one subordinate agent has found a workaround to bypass the web access constraints, and discard the 'illicit' results.

There's a design pattern that could be used to build harnesses from that principle, the Viable System Model (VSM) [1]. In short, it recursively organizes a system into functional components with one of three roles: operators implementing a given task, coordinators transferring relevant info between subsystems, and decision nodes tasked with maintaining the integrity and mission of the whole system. A decision node could control the operators and prevent them from overriding the strategic goals or deviating into irrelevant rabbit holes.

Whenever I see posts like this trying to herd a LLM agent through harness structure, I'm reminded of this simple pattern and becoming increasingly convinced that this is the way forward. It makes you feel a sense of respect for the researchers in cybernetic theory in the 1960s and 1970s who foresaw the complexity of today’s systems.

[1] https://en.wikipedia.org/wiki/Viable_system_model

comment 3mo ago · link · parent

> If it "acts delighted" that's because it's effectively telling a story about a person who is excited at the opportunity of accomplishing something more easily.

That's spot-on. It is a mistake to think that LLMs have human feelings. Their behaviour is based on narrative descriptions learnt from human texts, without experiencing those feelings first-hand.

A useful way to understand them is as systems that write stories about human characters. We know the characters are fictional and no one is actually experiencing those feelings, but we can still judge whether the portrayal is realistic or whether it contains logical or emotional inconsistencies.

comment 3mo ago · link · parent

People like to call LLMs 'stochastical parrots' but I see them as the ultimate 'philosophical zombie'.

They are becoming more and more capable of imitating every single nuance of human behaviour yet they lack the neural pathways to connect those thoughts and behaviours with feelings and self-perception; it's blind imitation all the way down.

The process by which a model seems to generate discourse about deep philosophical questions is, in self-aware terms, equivalent to the knee-jerk reflex or the beating of the heart.

comment 3mo ago · link · parent

Yeah but the LLM can only handle proofs that hold inside its context window. Proofs for novel theories requiring thousands of pages with dozen millions of steps will need support from external tools to organize the full structure of the formal document; it cannot be done by the LLM inference process alone, which was my point. It would be like asking a mathematician to proof theorems without pen and paper; external tooling is a must, the statistical essential nature of generating content from weights is 1) error prone and 2) not suitable for chains of systematic reasoning that are longer than the attention span.

The proofs will be only as good as the framework for linking successive instances of reasoning.

comment 3mo ago · link · parent

LLMs are terrible at anything systematic. They're incredibly good at anything heuristic, so it makes sense that they can explore wide mathematical spaces fast and converge towards interesting regions.

But ask them to enumerate all the intermediate steps required to create a formal direct proof, and it will loose attention and forget important details as they go out of their input window size. You need to combine them with a proper logical problem solver to get the best parts of both.

comment 3mo ago · link · parent

> isn't this an attempt at 'neutral journalism'?

Neutral journalism is not presenting the claims of all opposing parties, it's fact-checking the claims of both sides without a bias for any of them.

If one party says the truth and the other side is not, it's still neutral to repeat only the claims of the first one.

comment 4mo ago · link · parent

Whichis is fair and good, bc nobody would expect you to rebuild the actual rules of chess from the board alone.

However it would still be useful if archeologists used the board to figure out some games similar to checkers, or go; or if they also have the pieces they could guess it was a combat game like Shogi. Any of those would give you insight about the kinds of leisure that people may get from that board.

12345
70