←back to thread

214 points optimalsolver | 8 comments | | HN request time: 0.282s | source | bottom
1. brap ◴[] No.45770407[source]
I wonder if we can get models to reason in a structured and verifiable way, like we have formal logic in math.
replies(3): >>45770419 #>>45775771 #>>45782489 #
2. Frieren ◴[] No.45770419[source]
For that, you already have classical programming. It is great at formal logic math.
replies(1): >>45770489 #
3. brap ◴[] No.45770489[source]
I think trying to accurately express natural language statements as values and logical steps as operators is going to be very difficult. You also need to take into account ambiguity and subtext and things like that.

I actually believe it is technically possible, but is going to be very hard.

replies(1): >>45770979 #
4. nl ◴[] No.45770979{3}[source]
This is where you get the natural language tool to write the formal logic.

ChatGPT knows WebPPL really well for example.

replies(1): >>45772986 #
5. brap ◴[] No.45772986{4}[source]
You will need a formal language first.

Take this statement for example:

>ChatGPT knows WebPPL really well

What formal language can express this statement? What will the text be parsed into? Which transformations can you use to produce other truthful (and interesting) statements from it? Is this flexible enough to capture everything that can be expressed in English?

The closest that comes to mind is Prolog, but it doesn’t really come close.

replies(1): >>45777678 #
6. measurablefunc ◴[] No.45775771[source]
It's doing so already. All code executed on a computer, especially neural networks w/o any loops are simply doing boolean arithmetic. In fact, the computer can't do anything else other than boolean arithmetic.
7. nl ◴[] No.45777678{5}[source]
> You will need a formal language first.

No, that's the entire point!

The LLM is the bridge between natural language and a formal specification.

(WebPPL is a formal language btw. It's not unlike Prolog but is designed from the start to express lemmas probabilistically)

8. anon291 ◴[] No.45782489[source]
You can get a model to write lean or something, but formal logic, while verifiable is not useful for everyday life since it's mostly incomplete and does not even take into account inductive logic.