Phil 5.26.2023

GPT Agents

  • Started on the experiment code to insert (source x) into a context prompt. It works nicely! When I try the prompt on the Playground with the GPT-4.314. with “How can diversity injection disrupt belief stampedes and nudge individuals off the trajectory of a stampede?” I get the following very good answer, with numbers that are in the context prompt
Diversity injection disrupts belief stampedes by targeting individuals with latent interests that may fill the same needs as belonging to a cult (source 2958). It works one person at a time, nudging them off the stampede trajectory into a world where individuals have more freedom to move (source 5214). Instead of directly confronting or interacting with their conspiracy beliefs, it aims to broaden perspectives and reduce polarization by introducing diversity into social networks (source 1313).

This method removes individuals from misinformation streams and exposes them to reality-based information and social groups they would not encounter otherwise (source 4648). Over time, the belief distance may grow so significant that it no longer makes sense to them (source 3995). The overall goal is not to change everyone's behavior around dangerous misinformation but rather to break off small segments from an existing belief stampede, making it less dangerous (source 4406). By promoting diverse information and interactions, it helps create resilient ecosystems that resist belief stampedes (source 7545).
  • If I instead ask an uber question such as “How can I find a Girlfriend?” with the same context, I get:
Finding a girlfriend involves building connections, developing social skills, and being open to new experiences. Here are some steps to guide you:

1. Be yourself: Authenticity is key in attracting potential partners. Be honest about your interests, values, and personality so you can attract someone who appreciates you for who you are.

2. Develop confidence: Confidence is attractive but can take time to build. Focus on self-improvement and self-awareness, including exercise, dressing well, and engaging in hobbies or activities that make you happy.

3. Expand your social circle: Attend social events or activities where you can meet new people, such as joining clubs, taking up a new hobby, or volunteering. These experiences enrich your life and make you more interesting, increasing the chances of finding a girlfriend who shares your interests.

4. Practice good communication skills: Listen actively to others, show empathy, and be genuinely interested in their lives. Engage in meaningful conversations and express your thoughts and opinions respectfully.

5. Be patient: Relationships develop over time. Don't rush into a relationship or try to force one to happen. Focus on building genuine connections and enjoying the present moment.

- Breines, J. (2015). "7 Research-Based Reasons Internet Dating Doesn't Work
  • The GPT-3.5-turbo is pickier and will often refuse to answer the question because lack of context. Regardless, the (source x) markers seem to work fine and can actually be used for detailed traceback to the source document!
  • Wrote the experiment code and now the models are not cooperating in generating responses to out of context questions. Sigh. Still, the index list matches great. There are some issues with getting the (source x) marker to appear in all the responses, but that’s probably something that can be done with better prompting or more sophisticated parsing. Something like looking for parens with numbers that match. Cleaned up the regex a bit
pattern = r"\(source\s+\d+(,\s+\d+)*\)\."
  • The results are much better! I think I can write a paper now


  • Got my slides trimmed down. Thanks Dr. Peterson!
  • Spent some time with Ron getting the ContextExplorer running. Success!