Tentative practical tips for using chatbots in research

By Erich_Grunewald 🔸 @ 2023-03-29T15:01 (+48)

Summary

How to get chatbot access

The main options seem to be:

See also:

General advice on using chatbots

See also:

Infosec and ethical concerns

Example uses

Maybe just skim this section to get an idea of what’s possible. For all of these, I don't endorse just using stuff GPT-4 comes up with uncritically; I recommend using it as a starting-off point and/or as inspiration.

Explain stuff

Warning: chatbots hallucinate and get stuff wrong even when they sound very confident. (Just like humans much of the time!) You’ll definitely want to double-check stuff that seems important/cruxy/questionable and/or stuff that goes into a report.

But (1) in my experience you kind of start recognizing when something seems off, and (2) when sticking to stuff there’s a lot of digestible material on, GPT-4 often just gets things right. The answer about the English cloth-making industry above is essentially 100% correct and quite exhaustive.

Generate models/frameworks

This can be useful for finding new perspectives on a problem. Continuing in the same chat as the previous answer on automation:

Generate ideas for forecasting questions

Rewrite stuff

Generate ideas for BOTECs

Generate ideas/examples

(Note that the first two paragraphs in my prompt, describing instrumental convergence, are copy-pasted from the LessWrong wiki.)

Red-team stuff

(Note that Slightly against aligning with neo-luddites is a LessWrong post, not an academic paper: I just prompted it like that to try to elicit a better response. Also note that some of the counter-arguments GPT-4 gives here don't make a ton of sense and/or don't really respond to the original post's points.)

Summarize stuff

Write or debug code

I'm not including any examples here since there are already lots of examples on this online, just noting that it’s a common use case.

Manipulate data

Example 1

Example 2

Search for information

This is Bing/Sydney. Note that one of the links here is broken, and another doesn’t quite point to the product page (but a related page).

(I find that Bing/Sydney is pretty unreliable, and often gets e.g. link citations wrong. I mostly only use it when I think the language model could really benefit from searching the web.)

Create image model prompts

  1. ^

    Though note that this post was written entirely in a personal capacity.


DirectedEvolution @ 2023-03-29T21:08 (+5)

A couple other important ideas:

Ask the model to summarize AND compress the previous work every other prompt. This increases the amount of data in its context window.

Ask it to describe ideas in no more than 3 high-level concepts. Then select one and ask it to break it down to 3 sub-points, etc.

Start by asking it to break down your goal to verify it understands what you are trying to do before you ask it to execute. You can ask for positive and negative examples.

If you get a faulty reply, regenerate or edit your prompt, rather than critiquing it with a follow up prompt. Keep the context window as pure as possible.

Max GĂśrlitz @ 2023-03-30T11:59 (+1)

I have also had some success with https://www.perplexity.ai/, but I have only queried it a handful of times so far. 

Sean Lawrence @ 2023-03-30T00:40 (+1)

Have you looked into integrating any of these chatbots with Emacs through APIs?

Erich_Grunewald @ 2023-03-30T08:10 (+3)

There is ChatGPT.el and ob-chatgpt (which builds on top of ChatGPT.el) which are currently being updated to use the API.

Sean Lawrence @ 2023-03-30T19:50 (+1)

Fantastic, I'll check those out, thanks!

Pablo @ 2023-05-19T00:08 (+9)

I just saw this comment. I have tried a bunch of Emacs AI packages; my current favorite is org-ai. See my config for details, and let me know if you have any questions.

DirectedEvolution @ 2023-03-30T02:30 (+2)

I have a developing app on my github called aiRead, which is a text-based reading app integrating a number of chatbot prompts to do all sorts of interactive features with the text you're reading. It's unpolished, as I'm focusing on the prompt engineering and figuring out how to work with it more effectively rather than making it attractive for general consumption. If you'd like to check it out, here's the link - I'd be happy to answer questions if you find it confusing! Just requires the ability to run a python script.