Better HN
topnewbestaskshowjobs
Log inSign up

i007

3 karma · joined Oct 10, 2024 (2y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

LLMs are designed to carry out "associative reasoning" which captures logic based on recognition and recall of compositional patterns learned during training.

Having said that, we can still get semantically and logically idempotent output that makes sense but with lots of work outside of the LLM, which contrasts with the current hyper focus on the LLM itself as the be all and end all. It is just one component in what ought to be a larger and more involved system for reasoning.

Look at what we were able to accomplish here for Legal AI, not so mathematical logic per se but mimicking (capturing) axiomatic logic in the legal domain:

https://www.youtube.com/watch?v=_9Galw9-Z3Q

marc at sunami dot ai

comment 2y ago · link · parent

// Step 1: Convert JSON object to string const jsonObject = { name: "John", age: 30 }; const jsonString = JSON.stringify(jsonObject);

// Step 2: Convert the string to binary data const encoder = new TextEncoder(); const encodedJson = encoder.encode(jsonString);

// Step 3: Create a SharedArrayBuffer and a Uint8Array view const sharedArrayBuffer = new SharedArrayBuffer(encodedJson.length); const sharedArray = new Uint8Array(sharedArrayBuffer);

// Step 4: Store the encoded data in the SharedArrayBuffer sharedArray.set(encodedJson);

Now you can use Atomics, no?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...