AI use
AI tools are now part of everyday work in science. Chat assistants answer questions, explain methods, and write code, and machine learning models have become part of the simulations themselves. When they are used well, they save time, catch mistakes, and make it much easier to learn something new or to turn an idea into something that works. When they are used carelessly, they give confident answers that are wrong, and they can leak data that should stay private. This page covers where AI helps, how to use it well, where it goes wrong, and what to be careful about.
four gains
Much of the work around research is routine. Input files, job scripts, unit conversions, plots, and small scripts that move data from one format to another all take time but need little thought. An assistant can write a first version of them in seconds. The time saved can go to the parts that need a person, such as choosing the model, checking the results, and thinking about what they mean.
An assistant is a second reader that does not get tired. It can read a script and point out a missing unit conversion, a loop that skips the last frame, or a distance that ignores the periodic box. It can also suggest tests, such as comparing a computed value with a known result. It does not replace checking, but it makes careful checking quicker.
An assistant is a patient tutor. It can explain a method step by step, go back to the basics when something is unclear, and explain the same idea again in a different way. It can walk through an error message, a paragraph of a paper, or a page of a manual, and it can ask you questions to check what you understood. This makes it much easier to start with a new method, a new software package, or a new programming language.
Many good ideas are never built because building them takes too long. With an assistant, a first version of a tool, an app, or a small simulation can be ready in a day, so the idea can be tested early and then improved. A personal website is a good example. Not long ago, most people paid someone to build and maintain one. Today, you can build it with an assistant, learn how it works little by little, and keep it up to date yourself.
next to the model and inside it
In simulation work, AI helps in two different ways. An assistant can help with the work around a simulation, and machine learning models can become part of the simulation itself.
seven habits
six problems
An assistant writes a wrong answer in the same calm tone as a right one. It can invent a function argument, a force field parameter, or a reference that does not exist.
What helps. Check every number and every reference against the original source, and never cite a paper you have not opened. Run code before you trust it, and read what it does.
As in the figure, a script can run to the end and still be wrong.
What helps. Check the quantities you know. Energy should be conserved in NVE, the temperature should match the thermostat, the density of water should be close to 1 g/cm3, and a radial distribution function should go to 1 at long distances.
Software changes from version to version. An assistant may suggest an option from an old version of GROMACS or LAMMPS, or mix the syntax of two different packages.
What helps. Give the version in the question, and look up each keyword in the manual of that version.
If the assistant always writes the code, you never learn to write it, and you cannot find its mistakes.
What helps. Write first and compare, ask for explanations, and now and then redo a small piece by hand.
Text, figures, and designs made from short prompts tend to look alike, and readers notice.
What helps. Start from your own ideas, data, and style, and edit the result until it sounds like you.
Assistants tend to agree with the person who asks. If you ask whether your idea is good, the answer is often yes.
What helps. Ask it to find the weak points instead, or to argue for the other side.
before you paste or run
Anything pasted into an online assistant leaves your computer and may be stored. Data from a company, unpublished results, and personal data should only go into tools that your company or university has approved.
Never paste a password, an API key, or a private key, not even hidden inside a script, a configuration file, or a log.
Read every command before you run it, especially one that deletes files, changes permissions, or sends many jobs to a shared cluster.
Generated code and text can be close to existing work. Check the license before you reuse code, and cite the papers and software that a method comes from.
Journals, universities, and companies have their own rules on AI use. Most journals do not accept an AI tool as an author, and a manuscript under review is confidential, so it should not go into an online tool. When it matters, say how AI was used.
Check any advice about chemicals, lab equipment, or health against the safety data sheet, the manual, or an expert. Here, a wrong answer can hurt someone.
Overall, AI tools work best for people who know what a right answer looks like. They make good work faster and learning easier, but the person who uses them stays responsible for the result.