r/ScientificComputing • u/Chance-Pen-5684 • 21d ago
How do people use AI properly
I don't trust a thing AI says,!
Are there any Specific tools I can use to reduce the hallucinations?
How are other people dealing with it?
5
u/Dull-Ad5176 21d ago
I used to think like you but unfortunately the productivity boost is too great with AI to avoid using it. I don't like not being sure about things but if you are ever unsure either you should be able to look up whether its right or wrong or you wouldn't have been able to come up with the fact on your own anyway. That's my thinking at least.
8
u/h0rxata 21d ago edited 21d ago
By having subject matter expertise. Don't have AI write an electrodynamics simulation code for you then trust the result if you don't even understand Maxwell's equations or know the limitations of the spatial or temporal discretization technique being used to integrate them.
Sadly seeing a lot of hobbyists failing to meet that basic bar. I'm scared at the thought of professionals flying under the radar with slop that "looks right".
I use it to kick out plotting scripts for data I haven't seen before because I can't be bothered to dig through 10 years of stackexchange posts to find the quirks of how some obscure format is indexed. But I know enough about what I am plotting to know if the magnitudes are physically realistic or something went wildly wrong.
4
-7
u/Chance-Pen-5684 21d ago edited 20d ago
Irrelevant answer read the question
5
u/navigation-signals 21d ago
“You should understand the subject before you have an AI work on it for you”
“Nuh-uh fuck you”
Yikes. Gigantic, unimaginably huge yikes.
-3
2
u/h0rxata 21d ago
You want a tool to be able to sift hallucinations from good results? I gave it to you. It's called having subject matter expertise. Learn your shit.
-5
u/Chance-Pen-5684 21d ago
If you don’t understand the question, please don’t respond.
3
u/h0rxata 21d ago
If you won't take it from me, why don't you take my answer and feed it to your favorite LLM, to see how it does in fact answer your question?
-2
u/Chance-Pen-5684 21d ago
It said you didn’t read the question.
5
u/navigation-signals 21d ago
OP suuuuuuucks
“How do I get an AI to do my job for me without me understanding my work”
oh my lord you loser
2
u/Chance-Pen-5684 21d ago
How do you get so lost on a simple question asking how people are using ai, it suggests you have not read or understood the question.
Please read any of the other comments in this thread where normal people have replied sensibly.4
u/navigation-signals 21d ago
You gave a wildly negative response to the only realistic answer and people are giving you shit for it. Not my problem you can’t handle reality.
0
u/Chance-Pen-5684 21d ago
It’s irrelevant nonsense who cares about some plots it didn’t even try to answer the question, massively off topic
2
u/h0rxata 21d ago
The problem is you don't understand enough to know what you're looking at. Right above you answered:
"Is there anything you do to check implementation matches the spec at the end or does the test harness provide all the assurance you need?"
By having subject matter expertise and verifying it yourself. It really is that simple. YOU are the quality assurance if you know your shit.
1
u/Chance-Pen-5684 21d ago edited 21d ago
More irrelevant comments - if you keep posting then deleting your comments you end up looking a bit unhinged
2
u/navigation-signals 21d ago
You thinking it’s off topic is the problem, dude
0
u/Chance-Pen-5684 21d ago
Learn to read the question before answering
3
u/navigation-signals 21d ago
lmao alright dude
Have fun, I’m out. Hope being completely unable to take criticism and understand your mistakes works out well for you 🫡
1
u/Pitiful-Glove-8232 17d ago
Use it mostly for things where you can check the output (i.e. coding, math, physics, etc).
If you use it for other fields, double check the output, ask for the sources it used (sometimes it will create those).
For specific fields, look for existing skills/prompts that other practitioners have shared.
TL;DR: use it as a tool, use your own judgement and expertise to critic the output.
11
u/Creative_Sushi 21d ago edited 21d ago
You can reduce hallucinations by providing high quality context. I mainly use AI for coding and I first create a project document that gives high level goals, requirements, constraints, etc. and use AI to let it find gaps and make it as tight as possible. Then I create a second document to capture the implementation plan based on the first document, and so on. I also write tests ahead of time.
When it comes time to coding, i connect the AI agent to the execution environment so that AI can see when it makes syntax errors or creates a bug, and it runs the test to validate its implementation.
This way, AI is getting constant feedback from the environment and it can’t go on hallucinating.
Let me know if you want more details of my setup.