Step by Step Learning When Using AI

blog cover image
19
39
14.6K followers

Machine learning development largely hinges on trial and error. The unpredictable nature of factors such as hyperparameters, datasets, or prompts means one often has to experiment, evaluate the outcomes, and decide the subsequent steps. Nonetheless, a profound grasp of the underlying mechanisms can guide one toward more fruitful directions. Take, for instance, the nuances in prompting a Large Language Model (LLM) as illustrated below:

For instance, these Two prompts are virtually identical, but both will give widely different results, and here is why.

Prompt 1: [Problem/question description] State the answer and then explain your reasoning.

Prompt 2: [Problem/question description] Explain your reasoning and then state the answer.

At first glance, both prompts appear strikingly similar, and the structure of the first one resonates with the typical format of many academic examinations. However, the second prompt is more likely to elicit a more accurate response from an LLM. The
rationale is that LLMs function sequentially to predict the most probable next word (or token). By directing it to present the answer in the first prompt initially, it might hazard an early guess, potentially off the mark, and later attempt to rationalize that perhaps flawed judgment.

In contrast, the second prompt encourages the LLM to methodically process the information before arriving at a conclusion, leading to potentially more accurate and reasoned outputs.

19
39

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

Recent Comments

39

Hi Catherine,

This is the essence of it:
"the second prompt encourages the LLM to methodically PROCESS the information, BEFORE arriving at a conclusion, leading to potentially more accurate and reasoned outputs"

Once we understand the "mind" of LLM, we can manage and manipulate it for a more effective outcome.

Thank you for sharing.

Cassi

2

Got it in one Cassi

2

And that is one of the reasons I love you so much, Catherine! 🤗

Experience and dedication can never be beat.

Lots of ❤️ and hugs.
Cassi

1

LOL don't put me on a pedestal you will be disappointed

1

Never, Catherine. 🙂

It feels as if the rationale behind prompt 2 is illogical as it asks for the reasoning before the answer.
It reminds me of the difference in the Vietnamese language and the English language.
As an example names in Vietnamese are Family name, middle name, given name and English is the reverse of that. Perhaps the Vietnamese will be great a putting together prompts.
Thanks Catherine for the interesting insight.
Steve

2

Interesting observation. Most of the world has their names backwards to Engiish

1

Very interesting ----- thank you for supplying this information.

2

Thanks Fran

1

Thank you for this example and explanation. It makes complete sense and will help me to think more along these lines when doing my prompt engineering.

2

If this info helps one person to get better results, I am happy

1

Catherine,

Thanks for explaining the two different prompts that get different results. I found that out the hard way with my prompts.

I did honor your blog post here on my post today. Funny that we are thinking about AI.

2

As always thanks for your insights and thanks for the honouring my posts

1

See more comments

Join FREE & Launch Your Business!

Exclusive Bonus - Offer Ends at Midnight Today

00

Hours

:

00

Minutes

:

00

Seconds

2,000 AI Credits Worth $10 USD

Build a Logo + Website That Attracts Customers

400 Credits

Discover Hot Niches with AI Market Research

100 Credits

Create SEO Content That Ranks & Converts

800 Credits

Find Affiliate Offers Up to $500/Sale

10 Credits

Access a Community of 2.9M+ Members

By continuing, you agree to our Terms of Service and Privacy Policy
No credit card required

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

© 2005-2025 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.