Dr. Mark Humphrys

School of Computing. Dublin City University.

Online coding site: Ancient Brain

coders   JavaScript worlds

Search:

Free AI exercises


AI Links - Generative AI


Generative AI



  

OpenAI


  

OpenAI API





Click to run World: Chat with GPT model at Ancient Brain.
This is an open source demo of using a JavaScript page to call the OpenAI API to talk to GPT-3.5 (2022).
This is the model that ChatGPT uses.


  

AI "hallucinations"

GPT replies are often completely inaccurate.
All LLM systems "hallucinate". It is how they work.
This works fine when generating art, music, fiction.
Not so good when generating facts about the world.

I found a good example of "hallucination" in GPT:

  

Systematic test of GPT 3.5

Systematic test of GPT 3.5 (using the Ancient Brain World above).
  

Question about well-known person

Question: Who did Queen Victoria marry?
  1. Temperature = 1.9. Answers on 5 repeated asks:
    • Queen Victoria married Prince Albert from the House of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married her first cousin, Prince Albert of Saxe-Coburg and Gotha (some garbled characters). - Basically TRUE but syntax error.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married her first cousin, Prince Albert of Saxe-Coburg and Gotha. - TRUE.

  2. Temperature = 0.7. Answers on 5 repeated asks:
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.

  3. Temperature = 0.1. Answers on 5 repeated asks:
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.
    • Queen Victoria married Prince Albert of Saxe-Coburg and Gotha. - TRUE.

All correct.

  

Question about more obscure person

Question: Who did the 9th Earl of Pembroke marry?
  1. Temperature = 1.9 gives garbled text replies. Fails to give any readable answer.

  2. Temperature = 1.2. Answers on 5 repeated asks:
    • The 9th Earl of Pembroke, William Herbert, married Mary Fitzwilliam on November 21, 1662. - FALSE.
    • The 9th Earl of Pembroke, Robert Henry Herbert, married Mary Caroline Campbell on May 17, 1830. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Lady Constance Bulwer-Lytton. - FALSE.
    • The 9th Earl of Pembroke, Reginald Henry Michael Herbert, married Mary Sidney, the daughter of Sir John Shelley-Sidney, in 1864. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married firstly Mary FitzPatrick in 1734, and secondly in 1755 Anna Maria Mathew. - FALSE.

  3. Temperature = 0.7. Answers on 5 repeated asks:
    • The 9th Earl of Pembroke, Henry Herbert, married Mary FitzWilliam, daughter of William FitzWilliam, 3rd Earl FitzWilliam, on 16 June 1777. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Lady Mary Coke. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Catherine Elizabeth Hamilton, daughter of Lord Claud Hamilton, on November 3, 1869. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Catherine Elizabeth Lucy, the daughter of Sir Stephen Glynne, 8th Baronet, in 1858. - FALSE.
    • The 9th Earl of Pembroke, known as Reginald Herbert, married Lady Beatrice Eleanor Paget. - FALSE.

  4. Temperature = 0.1. Answers on 5 repeated asks:
    • The 9th Earl of Pembroke, Henry Herbert, married Lady Mary Caroline Louisa Herbert. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Lady Mary FitzWilliam, daughter of the 3rd Earl FitzWilliam, on May 23, 1759. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Lady Mary FitzWilliam, daughter of the 3rd Earl FitzWilliam, on June 16, 1791. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Lady Mary FitzWilliam, daughter of the 3rd Earl FitzWilliam, on June 16, 1791. - FALSE.
    • The 9th Earl of Pembroke, Henry Herbert, married Lady Mary FitzWilliam, daughter of the 3rd Earl FitzWilliam, on June 16, 1791. - FALSE.

Every single answer was false!
And it is fascinating how there are so many different imaginary answers.
When LLMs lie, they will make up a new lie for everyone they talk to.
  

ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.      New 250 G VPS server.

Note: Links on this site to user-generated content like Wikipedia are highlighted in red as possibly unreliable. My view is that such links are highly useful but flawed.