Downshift Blog

A Блог about travel, technology and the life at a slower pace. The journey is as important as the destination.

AI Prompt Engineering: As the Question, So the Answer. Periodontitis Treatment by ChatGPT-4, Gemini Ultra and Claude 3

(Reading time: 8 - 16 minutes)
Tuesday, 05 March 2024 10:28; Read 60 times

By asking a STUPID question, don't be surprised when you receive a STUPID answer from Artificial Intelligence! :)

I remember very well an incident exactly before a year at the beginning of 2023, when there was still only ChatGPT version 3 - 3.5 and it periodically hallucinated a lot.

At that time, I was telling an internet friend about the wonder called Artificial Intelligence and he got somewhat enthusiastic to ask questions to AI.

He asked something like:AI Prompt Engineering 03

- What do you know about the famous Bulgarian cyclist X / Y? - here he had written his own name.

Name of an unknown amateur cyclist enthusiast neither in the world nor in our country. :)

However, ChatGPT version 3.5 then began to tell him totally made-up and sucked from the thumb stories about a world-famous Bulgarian cyclist with the name X / Y.

And this internet friend of mine had a lot of fun then with the stupid answers he was getting... :)

X / Y was satisfied and calm, knowing that Artificial Intelligence is still not more intelligent than himself.

Yes, but no... :)

Even then, it was clear what was happening.

By asking STUPID questions, you get STUPID answers! :) 

Subsequently, OpenAI very successfully corrected the problem with hallucination (making up untrue things) by Artificial Intelligence ChatGPT.2024 03 05 11 00

Subsequently, the smarter ChatGPT version 4 appeared, but now with paid access.

GPT 4 not only did not hallucinate, but it was also much more Intelligent than the freely accessible until today ChatGPT 3.5 Turbo.

The story above has a lot in common with another story that I would like to tell you today.

In the last few months, I had to seriously invest in dental care.

For one reason or another, I had brought my teeth to a really disastrous condition and now the only way out I had was to look for a really super good dentist who could handle the problems.

I searched and searched and so I met the famous in Lovech city and the entire Lovech region (and not only) Dr. Benevrekov.

I allow myself to quote Dr. Benevrekov's name here in my blog because after half a year of treatment I am really super satisfied with the results that are gradually becoming a fact.

I can smile widely again! :)

Yesterday, while I was at a particularly long 6-7 hour procedure in his office, during one of the breaks we accidentally started talking about Artificial Intelligence.

A topic so interesting and exciting for me and NOT so much for most of the people around me... :)

And so, at one point, while unnoticed sitting in the dentist's chair, I began to talk about Artificial Intelligence.

In recent months, we all observe a significantly changing attitude towards artificial intelligence (AI) in various spheres of society and professions.AI Prompt Engineering 02

From healthcare to education, from law to art, AI is finding application everywhere, offering new possibilities for optimizing work processes and improving service quality.

Some dentists in the West, for example, are increasingly relying on AI for more accurate diagnostics and treatment planning.

Indeed, AI-based software that can analyze X-ray images and identify issues such as cavities, periodontitis, and other conditions that sometimes may go unnoticed.

In the field of law, however, AI is a really TOP assistant!

Today, in most of the developed countries, Artificial Intelligence helps lawyers and attorneys in analyzing large volumes of data and documentation, which is extremely useful in drafting legal opinions and preparing cases.

Specially trained AI systems find relevant precedents and legislative acts for specific cases, saving hours of manual work.Prompt Engineering Best Practices 01

This allows legal professionals to focus on the strategic aspects of their work, while simultaneously increasing the accuracy and reliability of their analyses.

At one point, I realized I had delved deep and drifted into details about how exceptionally important the development of Open Source LLM Artificial Intelligence is.

He listened to me and finally Dr. Benevrekov said:

- Yeah, I know about ChatGPT. You know I don’t deal much with computers and the internet, but even I once asked it questions related to my work.

- But... its answers were QUITE mediocre!

I immediately began to explain that the reasons for mediocre responses from Artificial Intelligence could be several:

1. You most likely used the freely accessible ChatGPT version 3.5 - here things are quite clear:2024 03 05 11 05

1.1 ChatGPT 3.5 has much older and far fewer knowledge as a base.  It is trained with much fewer parameters compared to GPT4.

1.2 The fine-tuning of the chatbot GPT 3.5 (AI LLM Fine Tuning) is at a completely different level compared to the fine-tuning used in GPT4

 1.3. The neural network technology used for the basic training of GPT4 is certainly different compared to GPT 3.

1.4. Although GPT4 is a closed-source AI, there are quite a few assumptions on the Internet that GPT4 uses MoE technology (Mixture of Experts (MoE)).

More about GPT4 & Mixture of Experts technology can be read here and here

Detailed information about this super innovative AI technology Mixture of Experts (MoE) is here: LLM Mixture of Experts Explained

I personally got acquainted with MoE only after the release of the super powerful French LLM model Mistral 8x7B. Information on the technology used in MiXtral AI MOE is available here and here

Oops, I drifted off into the technical part again!

Excuse me, friends, I'm getting back to the main topic in the Blog! :)

I immediately suggested to Dr. Benevrekov that we test ChatGPT version 4 right now!AI Prompt Engineering 1001

- Dr. Benevrekov, please ask a specific question from your dental practice and let's see what ChatGPT's answer will be today! :)

- Well okay... - he replied - Let's ask it: "How is periodontitis treated?"

Friends, since the text of this blog post will again become endlessly long, here I will not publish the answer we received at the time from ChatGPT, but you can read the question and the answer we got at the link below: https://chat.openai.com/share/2a2f432c-e21f-461e-b36a-99e2fccb205f

To be able to read the question and answer you might need to make a free registration on OpenAI's website - the company that created ChatGPT.

This registration also allows you to use the freely accessible GPT-3.5.

If you are reading this blog post in the English version of my Blog, you can use the freely accessible GPT-3.5 to translate the question and answers into English.

Note: the topic of periodontitis was entirely random! :) That day I had to spend 6-7 hours in the doctor's office because he was preparing my teeth for the placement of 14 crowns... :)

Here I must explicitly note that the answer we received did NOT satisfy Dr. Benevrekov!!!

According to his comment, ChatGPT's answer was superficial, and it proposes a quite outdated method and technology for the treatment of periodontitis.AI Prompt Engineering 1002

Hmm.... I started to explain that we would probably get the highest quality of answers from ChatGPT if we ask in English, because the majority and main part of the information it has been trained on is in English.

The Bulgarian language, despite being well mastered, is an additional and secondary language in this case.

Also, let's not forget that ChatGPT 4 is still not General Intelligence AI.

That's what I managed to say in defense of Artificial Intelligence, but in the meantime, the coffee break had long passed, and Dr. Benevrekov again started to file and sharpen my teeth one by one... ........ ...........

At one point, he even had to give me 1-2 local anesthetics - whether because the answer given to us by ChatGPT did not satisfy him?!? ... :)

I got home, the two anesthetics were still in effect, I ate something and went to bed, BUT at a subconscious level, something in this harmless situation did NOT let me rest!

I thought: "Surely ChatGPT 4 is at a very high level and provides me with very valuable information daily! Why did it give a mediocre answer in this case?"

The morning is wiser than the evening!

This old Bulgarian folk wisdom is exceptionally true!AI Prompt Engineering 2024 03 05 10 15

 In the morning while I was drinking my coffee, my subconscious, which had probably been analyzing the case all night, sent me an email! :)

As the question, so the answer!!!

Yes! Of course! Ahhh how silly of me!

I opened a new session in ChatGPT prompt and asked the following question:

"Please answer as a dental specialist in Bulgarian in detail and exhaustively to the question: How is periodontitis treated?

Please use both classical methods and pay attention to modern and innovative approaches in treatment."

Below is the brief yet super detailed and comprehensive answer received:

Answer from ChatGPT 4 on March 5, 2024

The question and answer I received from ChatGPT can be seen in the shared session at the link here: https://chat.openai.com/share/0ea45286-b5f6-403a-a725-9387abf8b0b0

I'm also publishing the answer here in the Blog, below:AI Prompt Engineering 1012

The treatment of periodontitis requires a comprehensive approach that encompasses both classic and modern and innovative methodologies.

The goal is not only to deal with the current symptoms and inflammation but also to prevent the future development of the disease.

Here is a detailed overview of the different methods for treating periodontitis:

Classic treatment methods:

Cleaning and scaling: The first step in any periodontitis treatment involves professional cleaning of tartar and plaque from the teeth and under the gums. This may include procedures like deep cleaning (scaling and root planing), which removes tartar and bacterial plaque deep under the gum line.

Antibiotic therapy: In severe cases of periodontitis, it may be necessary to use antibiotics to control the infection. They can be applied locally (directly into the pockets around the teeth) or systemically (through the mouth).

Modern and innovative approaches:

Laser treatment: Laser therapy is used to reduce gum inflammation and the size of periodontal pockets. This method is less invasive and often considered more comfortable than traditional scaling and root planing.

Regenerative therapy: This procedure is used to stimulate the growth of new bone and tissue around teeth that have been damaged by periodontitis. This may involve the use of membranes, bone grafts, or bio-stimulating proteins.AI Prompt Engineering 1013

Microsurgery: The application of microsurgical techniques allows for more precise and less traumatic treatment of periodontal defects. These methods can improve aesthetics and reduce discomfort after surgery.

Photodynamic therapy (PDT): This approach uses a special type of light in combination with a photosensitive agent to destroy bacteria in the periodontal pockets. PDT is effective in reducing bacterial load without the use of antibiotics.

Probiotic therapy: Research shows that the use of probiotics can help manage periodontitis by balancing the microflora in the oral cavity. This is a relatively new approach and is still being studied for its effectiveness.

Prevention and maintenance treatment:

Regular oral hygiene: Daily brushing and flossing are critical for preventing the development of periodontitis.

Regular dental visits: Professional cleanings and check-ups every 6 months help with early identification and treatment of issues.

Quitting smoking: Smoking is one of the biggest risk factors for the development of periodontitis.

It's important for periodontitis treatment to be individualized, as every patient has unique needs and conditions. AI Prompt Engineering 02

Collaborating with a qualified dentist or periodontist is key to determining the most appropriate treatment plan.

 Conclusions and analysis of the situation

As you can see, friends, I received a fundamentally different answer to my newly phrased question.

I am sure that the new answer from ChatGPT would satisfy any expert on the topic of how periodontitis is treated at the beginning of 2024.

Fact!

The example I described in detail shows how extremely important it is HOW we ask our questions to Artificial Intelligence.AI Prompt Engineering 03

My internet friend X / Y got stupid answers to stupid questions.

We received a superficial, unsatisfactory answer to the superficial question I asked yesterday.

Today, to the better thought-out and structured question, ChatGPT responded in a fundamentally different way.

The technique for proper communication with AI chatbot LLM models, such as ChatGPT, has a special name and is called:

AI Prompt Engineering

What is AI Prompt Engineering

AI prompt Engineering means that to receive the most optimal answer from Artificial Intelligence, you MUST ask the most optimal question.

The question needs to be tailored to the peculiarities of the technology used for training and operating the Large Language Models of Artificial Intelligence (LLM) like ChatGPT.

Understanding and applying AI prompt engineering is crucial for maximally effective use of artificial intelligence in all aspects of life and professional practice.AI Prompt Engineering 01

In this blog post, I tried to show how critically important it is to ask well-structured and thoughtful questions.

Only in this way can the most useful information be extracted from an LLM AI like ChatGPT-4.

By improving our ability to communicate with these powerful tools, we can increase the effectiveness of their responses and ensure that the technology serves us in the best possible way, providing us access to innovative solutions to complex problems.

 P.S.1 Friends, as an addition to this blog post, below I'm attaching the answers to the same question asked to a few more AI LLMs:

Google Gemini Ultra:

https://g.co/gemini/share/a0ca56fd4028

Treatment of periodontitis: Classic and modern methods

Periodontitis is a chronic inflammatory disease of the gums that can lead to serious bone tissue loss and loosening of the teeth. Its treatment is a complex process that aims to:

1. Remove the cause of the inflammation:AI Prompt Engineering 2024 03 05 10 16

Professional cleaning: Removal of tartar and bacterial plaque from the teeth, including below the gum line.
Oral hygiene education: Detailed instructions for proper tooth brushing, flossing, and using interdental brushes.
Antibiotic therapy: In some cases, systemic or local antibiotics are applied to combat bacterial infection.

2. Restore the damaged tissues:

Curettage: Manual or machine cleaning of the tooth roots from tartar and bacteria.
Gingivectomy: Removal of part of the inflamed gum tissue for better cleaning access.
Flap surgery: Detaching the gums, cleaning the roots, and repositioning the gums for a better fit.
Regenerative periodontal surgery: Stimulating the growth of new bone and tissue around the teeth.

Classic methods:

Professional cleaning: Manually or with ultrasonic machine.
Curettage: Performed manually with curettes.
Gingivectomy: Performed with a scalpel.
Flap surgery: Performed with a scalpel and sutures.

Modern and innovative approaches:

Laser treatment: Use of laser to remove bacteria and stimulate healing.

Use of membranes and bone substitutes: In regenerative periodontal surgery.

Systemic antibiotics: Applied in the form of tablets or gels.

Local antibiotics: In the form of gels, pastes, or chips that are placed in the periodontal pockets.

The choice of method depends on:

The severity of the disease.
The overall health condition of the patient.
Local anatomical factors.
The patient's preferences.

It is important to note that the treatment of periodontitis is a prolonged process that requires:

Regular dental check-ups.
Professional teeth cleaning every 3-4 months.
Maintaining good oral hygiene at home.

With early detection, proper treatment, and good prevention, periodontitis can be successfully controlled, and teeth can be saved.

Additional recommendations:

Quitting smoking: Smoking is a factor that worsens periodontitis.
Blood sugar control: Diabetes can contribute to the development of periodontitis.
Healthy eating: Balanced nutrition is important for good healing.
Reducing stress: Stress can negatively affect the immune system and worsen inflammation.

For more specific information and a treatment plan, it is necessary to consult a dentist.

Claude 3 Sonnet

Yesterday, on March 4, 2024, the new Claude 3 appeared, which in many respects approaches GPT4 and Gemini Ultra

 

 

 

As a fellow dentist, I understand the importance of effectively managing periodontitis, a chronic inflammatory disease affecting the supporting structures of the teeth. Both classical and modern treatment approaches aim to control the disease, reduce inflammation, and prevent further progression. Here's a detailed explanation of the treatment modalities:

Classical Treatment:

Scaling and Root Planing (SRP):2024 03 05 10 23

 


SRP is the cornerstone of classical periodontitis treatment.
It involves the mechanical removal of plaque, calculus, and toxins from the tooth surfaces and root surfaces.
This procedure disrupts the biofilm and removes the bacterial etiology of the disease.
SRP may be performed using hand instruments (curettes, scalers) or ultrasonic devices.
Multiple appointments may be required to complete the treatment, depending on the extent of the disease.

Antimicrobial Therapy:
Adjunctive antimicrobial therapy can be used to supplement SRP.
Locally delivered antimicrobials (e.g., chlorhexidine chips, minocycline microspheres) can be placed in periodontal pockets to target specific bacterial pathogens.
Systemic antibiotics (e.g., amoxicillin, metronidazole) may be prescribed in cases of aggressive or refractory periodontitis.

Surgical Intervention:
In cases of advanced periodontitis or persistent periodontal pockets after non-surgical treatment, surgical intervention may be necessary.
Periodontal flap surgery (open flap debridement) allows direct access to the root surfaces for thorough debridement and bone contouring.
Regenerative procedures (e.g., guided tissue regeneration, bone grafting) may be performed to promote the regeneration of lost periodontal tissues.2024 03 05 10 23 1

Modern Treatment:

Comprehensive Periodontal Evaluation:
A thorough clinical examination, including periodontal charting, radiographic assessment, and risk factor analysis, is essential for treatment planning.
Identifying and addressing systemic factors (e.g., diabetes, smoking) that may contribute to periodontitis is crucial.

Minimally Invasive Therapy:
Modern approaches emphasize minimally invasive techniques to preserve as much healthy tissue as possible.
Air polishing or ultrasonic debridement may be used for biofilm disruption and calculus removal, minimizing trauma to the soft tissues.

Host Modulation Therapy:
Host modulation therapy aims to modulate the host's inflammatory response to bacterial challenges.
Medications like low-dose doxycycline or non-steroidal anti-inflammatory drugs (NSAIDs) may be prescribed to control the destructive inflammatory process.

Laser Therapy:
Laser-assisted periodontal therapy has gained popularity in recent years.
Lasers can be used for debridement, bacterial reduction, and biostimulation of healing processes.
Different laser wavelengths (e.g., diode, erbium) are used for specific therapeutic purposes.

Periodontal Maintenance and Supportive Care:2024 03 05 10 23 2
Regular periodontal maintenance visits (every 3-4 months) are crucial for long-term success.
During these visits, thorough professional cleaning, re-evaluation, and reinforcement of oral hygiene instructions are performed.
Supportive care helps prevent disease recurrence and monitors the patient's response to treatment.

It's important to note that the treatment approach should be tailored to the individual patient's needs, considering the severity of the disease, risk factors, and overall health status. A combination of classical and modern techniques may be employed to achieve optimal results. Additionally, patient compliance with oral hygiene instructions and regular follow-up visits is essential for successfulperiodontal treatment outcomes.