News for hackers. Stuff that matters.
Re:How is AI impacting science? by nitwit005 on Saturday December 30, 2023 @02:08PM (#38817958)
You have to understand the code the AI emits, to be able to check if it's done what you wanted. That's sometimes more challenging than writing it yourself, as it may use features you're not familiar with.

Which is not to say it can't be useful, but don't expect a cure all.

Re:How is AI impacting science? by block_dagger on Saturday December 30, 2023 @04:22PM (#38819304)
I think the gap is quickly narrowing on the need to fully comprehend most computer programs for most use cases, especially if bugs and changes can all be managed through natural language by the primary stakeholders.
Re:How is AI impacting science? by LabMechanic on Saturday December 30, 2023 @06:08PM (#38820217)

  I think the gap is quickly narrowing on the need to fully comprehend most 
  computer programs for most use cases, ...
What makes you assume that current "AI" "comprehends"?

I wish it could, but it appears not to.

As an example, ask it to code up something from a "less popular domain" (e.g., Clifford algebra).

You might notice that it appears to not have enough data to make good guesses. Some "AI" hype folks appear to move the goalpost then.

However, maybe the stock market and some companies benefit from all this sensationalist stuff.

I wish I had a HAL 9000 beside me, but I am sorry Dave, I cannot let you do that.

Re:How is AI impacting science? by mlunar on Saturday December 30, 2023 @06:45PM (#38820421)
YMMV but Copilot (Bing w/ GPT4 toggle) does alright: https://gist.github.com/SmilyOrg/c0f60a41e9fcbbffdbf5454a500...

Obviously it could be completely wrong, but it certainly _seems_ to comprehend geometric algebra more than I do.

Re:How is AI impacting science? by dr_kiszonka on Sunday December 31, 2023 @01:45PM (#38826384)
Off topic: is there a version of your site that doesn't require flash? It looks like you have some really cool simulations there.
Re:How is AI impacting science? by CamperBob2 on Saturday December 30, 2023 @06:17PM (#38820265)
Name one thing that HAL 9000 did that current LLMs can't do (for better or worse).

We are basically at the point where we could build the fembots from Ex Machina or David, the little boy from A.I., if we were just a little better at robotics. We'll see the teddy bear Supertoy from the latter movie under peoples' Christmas trees inside five years.

Re:How is AI impacting science? by LabMechanic on Saturday December 30, 2023 @06:36PM (#38820378)
> Name one thing that HAL 9000 did that current LLMs can't do (for better or worse).

The ability to reason or understand seems to be not there in current LLMs.

See my other comment:

https://news.ycombinator.com/item?id=38819544

Simply put: "fake it 'till you make it" = probabilistic guesses given a large data set = seems to fool us people believing that an LLM "thinks" and "reasons".

Re:How is AI impacting science? by CamperBob2 on Saturday December 30, 2023 @06:50PM (#38820445)
I once tasked an LLM (e.g., ChatGPT 3.5)

There you go. Try it with 4. Still doesn't work? Let's revisit when 5 comes out. You will lose the argument eventually, it's only a question of when.

with deriving the geometric product (Clifford algebra) based on a set of definitions and axioms (e.g., the distributive property). Unfortunately, it failed, making numerous errors along the way.

Also maybe try asking it something that ordinary humans can be expected to accomplish, rather than complaining that nobody has invented Ramanujan-as-a-Service yet.

Also: Further, "AI" beating masters of chess also seems to be a product of "beat a human with probabilistic guesses given a large data set".

That was true for chess. Lee Se-Dol's defeat by AlphaGo was different. That wasn't supposed to happen. That was a combination of probabilistic Monte Carlo methods and... something else entirely.

That's really when the train of "AI can do X but not Y" left the tracks, IMO.

Re:How is AI impacting science? by LabMechanic on Saturday December 30, 2023 @07:23PM (#38820642)

  There you go. Try it with 4. Still doesn't work? Let's revisit when 5 comes out. 
You appear to assume that current "AI" is able to "understand" and "think". What makes you so sure?

So, it "thinks" and "understands", it does not make (probabilistic) guesses?

Definition: guess

  to give an answer to a particular question when you do not have all the facts and so 
  cannot be certain if you are correct
https://dictionary.cambridge.org/dictionary/english/guess

To your other point:

  Also maybe try asking it something that ordinary humans can be expected to
  accomplish, rather than complaining that nobody has invented
  Ramanujan-as-a-Service yet.
Hmm... is it too much to ask such an "AI" for formal (i.e., well-defined) stuff? I would argue that mathematics or any formal language is perhaps more accurate than human language.

  You will lose the argument eventually, it's only a question of when.
Oh, I hope so, but I am skeptical, as I am still not convinced of an LLM being an "AI".
Re:How is AI impacting science? by margorczynski on Saturday December 30, 2023 @10:43PM (#38821550)
> You appear to assume that current "AI" is able to "understand" and "think". What makes you so sure?

"To understand" and "to think" are two very different things. Understand means more or less to encode and compress effectively from a perspective of such a system - there's quite a bit of evidence that they do that.

As for "thinking" that is impossible for LLMs as thinking is an action - and LLMs aren't agents that can plan and take action.

Actually AlphaGO and AlphaZero were agents capable of thinking - just in a extremly simplistic world which is the game of Go, Shogi or Chess. But they had a world model (which was fully known as it was for simple games) and a way to plan the action they will take by evaluating what impact will they have upon the world and how beneficial it will be for them.

Just that extending that system/agent to the real world is very hard.

Re:How is AI impacting science? by CamperBob2 on Sunday December 31, 2023 @02:18PM (#38826663)
You appear to assume that current "AI" is able to "understand" and "think". What makes you so sure?

A flippant way to answer the question might be to ask, "What makes you so sure you're not arguing with an AI right now?"

A less-flippant answer is simply that we would need to agree on what understanding and thinking mean before we could debate whether AI is doing it now or can potentially do it in the future. I doubt we'll come to agreeable terms there, but I'd start by suggesting a simplistic hierarchy of cognition:

0) Memory: the ability to store information. Trivial.

1) Knowledge: the ability to retrieve that information associatively.

By that I'd imply a requirement that knowledge must be retrievable by indexing at a conceptual level. Knowledge isn't "I have four bananas and the third is ripe"; that's memory. Knowledge is "Bananas are edible fruits." It's more or less unquestionable that this is satisfied by embedding memorized items in a high-dimensional vector space where conceptual similarity corresponds to distance measured by some norm or another.

2) Understanding: the ability to cast new knowledge in terms of existing knowledge. This is where the increasingly-popular compression-as-intelligence metaphors start to come into play. Anytime you use an embedding scheme to compress data, you are exhibiting understanding. When Stable Diffusion encodes information about entire works of art with one or two bits of actual information, which it can later use to synthesize new works, that's "understanding" IMO.

3) Reasoning: I'm fine with the definitions of inductive reasoning (applying specific understanding to the solution of general problems) and deductive reasoning (deriving specific outputs from general understanding.) AI models perform induction whenever they recognize and encode patterns, and they perform deduction anytime they solve a specific problem using those patterns. At this point the burden of proof falls on anyone who claims these processes aren't happening.

So that leaves "thinking", which is a topic in philosophy rather than neuroscience or compsci, and forms of reasoning that go beyond the simplistic inductive and deductive models. Hypothesis formation is interesting, for instance. That's one area where someone using a GPT 3.x model might walk away with their negative preconceptions regarding AI being fully validated, as you did, while someone using GPT 4 might walk away with a furrowed brow and a dazed look. Maybe, once the previous bases are covered, Occam's Razor is all you need to perform abductive reasoning. If not, what else?

These are all interesting points of debate that go much deeper than "LOL, it can't even construct proofs using Clifford algebra." If you're satisfied with that, then again, there's not much room for the conversation to progress.

Re:How is AI impacting science? by bamboozled on Saturday December 30, 2023 @08:11PM (#38820911)
Is this a joke ? You think an LLM can be in charge of a spaceship on an interstellar mission ?
Re:How is AI impacting science? by CamperBob2 on Saturday December 30, 2023 @09:06PM (#38821129)
You wouldn't use an LLM for mission management, but you could certainly use one as the human interface to the actual control system/autopilot. Which (in any event) doesn't require any sort of deep-learning implementation at all.
Re:How is AI impacting science? by mettamage on Saturday December 30, 2023 @03:42PM (#38818898)
Reading code is easier than starting from scratch. Not sure how that is for a researcher though, just my SWE perspective
Re:How is AI impacting science? by sdenton4 on Saturday December 30, 2023 @04:30PM (#38819375)
They're different kinds of easy...

Writing fresh code is easy because you just express your ideas. What's hard is hitting all the contingencies appropriately; it can take years of 'burn in' to get right.

Reading code is easy - especially if you don't know the language well - because someone has already assembled all the correct syntax, etc. What's hard is that the code may be convoluted from years of monkey-patches to handle all those inconvenient contingencies, to the point of obscuring the core ideas. eg, making you search through ten nested indirections to figure out how something actually executes...

On the writing side, LLM's make it much easier to have the idiomatics of the language easily on hand. (eg, I never ever remember the exact way to use 'super' in python... but ML assistance is happy to fill in the parens as soon as I start them.)

Re:How is AI impacting science? by bamboozled on Saturday December 30, 2023 @08:17PM (#38820935)
Not really, reading existing code is hard because you have to be on guard that your bias isn’t skewing your judgement about what’s going on.

What I’m getting from these comments is (as expected), most people are happy to take the easy assumption filled route rather than actually applying rigour.

Re:How is AI impacting science? by Balgair on Saturday December 30, 2023 @08:35PM (#38821014)
My co-researcher was thrown in with the sharks on that project. He'd never even taken calculus, let alone any form of coding class. And this was Matlab, by the by, a language that not only holds your hand, but chews your food for you too. He never really groked matrices either.

We were a neuro lab, so coding was seen as something similar to a hammer: Bang away with it all you want, but at the end of the day, it's going back in a dark drawer where it belongs with the other tools.

Re:How is AI impacting science? by IanCal on Saturday December 30, 2023 @02:58PM (#38818465)
What they're describing is dealing with a person who already doesn't understand what their code does.
Re:How is AI impacting science? by mycall on Saturday December 30, 2023 @07:03PM (#38820510)
This is where AI agents will shine as you give it the test cases it needs to meet and it will write the code to that specification AND verify those through writing unit tests, executing the code then verifying the results.

English as a programming language makes this all work.

Re:How is AI impacting science? by bamboozled on Saturday December 30, 2023 @08:10PM (#38820907)
You have to know how to write useful test cases to know it works, etc

Some of the comments here actually freak me out.

Re:How is AI impacting science? by Balgair on Saturday December 30, 2023 @08:31PM (#38820994)
I'd think you'd be positively appalled by the state of code in academia then.

It's kludge after hot patch after voodoo incantation. I once worked on a computer that under no circumstances could it be put on the web. It was running Windows 98 in ~2017 and was only used for a single program to control an instrument. I know for a fact that it's still online and running. It was slow as all get out, but no one had any kind of time, let alone gumption, let alone skill, to try to bring it up a millennium.

Re:How is AI impacting science? by aragilar on Saturday December 30, 2023 @09:49PM (#38821325)
Most academic code is written fairly naively (it's usually the code that's written by people who have some idea and try to be "smart" that's a problem), and so can be cleaned up and made maintainable pretty easily. If AI causes more "smart" code to be written, that's going to make things worse.

On old hardware/software, that's normal, and will continue to be normal, simply because the value is in the instrument, and money spent trying to get the software/drivers to work on more modern systems would be better spent on buying a new and better instrument. The only way this would change is if we force all hardware vendors to fully open-source (and ideally upstream) their code (look at the whole IoT ecosystem).

Re:How is AI impacting science? by bamboozled on Saturday December 30, 2023 @11:08PM (#38821694)
This is a good point, using an LLM means that writing even more smart code is now unlocked.

One still needs to find that balance between smart, functional / practical and maintainable. That’s the art of coding.

Re:How is AI impacting science? by nitwit005 on Saturday December 30, 2023 @09:36PM (#38821268)
People will still write a vague or incorrect description, and any AI will presumably have some error rate. You can't escape verification.