Exploring Language for Enhanced AI Interaction

Introduction

AI systems offer a unique opportunity for us to deepen our understanding of communication. Having studied AI in the early 1980s, I decided to revisit some theories from that time to see how they might help in extracting useful information from AI Systems. The first theories I explored were:

With the system prompt shown in Appendix 1, Language Frames can be generated for any situation. The output of an AI System, customized with this system prompt, is shown in Appendix 2. The output was created from this input:

"Please create a Language Frame for a visit to the dentist in France with useful phrases and vocabulary grouped according to roles, speech acts, and functional grammar."

Not happy with just three theories, I decided to include more, in fact, 14 more. The modified "system prompt" for customizing an AI system is shown in Appendix 3. The prompt looks complicated, but fortunately AI is OK with that. With this modified system prompt, some quite informative conversations can be had about designing prompts for AI Systems.

This article is very short because I recommend inputting the system prompts from the appendices into an AI System and then asking questions about the method and, of course, trying it out.

Introduction to the Theories

Each of the theories briefly described below contributes uniquely to the topic of writing effective prompts. For instance, Distributed Cognition Theory mirrors the way communication has developed with the advent of project management techniques such as Agile and the associated software.

1. Role Theory (https://en.wikipedia.org/wiki/Role_theory)

Role Theory examines how individuals behave in different social roles, which come with specific expectations for behaviour and responses. This theory helps in defining clear roles in prompts to guide interactions and set expectations.

2. Minsky's Frame System Theory (https://en.wikipedia.org/wiki/Frame_(artificial_intelligence))

Minsky's Frame System Theory provides a structured way to understand scenarios by detailing the setting, roles, goals, actions, and relationships. This helps create contextually rich prompts that are well-organized and comprehensive.

3. Speech Acts Theory (https://en.wikipedia.org/wiki/Speech_act)

Speech Acts Theory explores how utterances function as actions (e.g., requesting, commanding, apologizing) rather than merely conveying information. It helps in specifying the communicative intent of prompts to ensure clear and purposeful communication.

4. Halliday's Functional Systemic Grammar (FSG) (https://en.wikipedia.org/wiki/Systemic_functional_grammar)

Halliday's FSG emphasizes the functional aspects of language, focusing on ideational (content), interpersonal (social relations), and textual (structure) functions. This theory ensures that language in prompts is diverse and contextually appropriate.

5. Activity Theory (https://en.wikipedia.org/wiki/Activity_theory)

Activity Theory examines the broader context of human activities and the tools used. It considers how people interact with their environment and tools, helping design prompts that are relevant to the user's activities and context.

6. Distributed Cognition Theory (https://en.wikipedia.org/wiki/Distributed_cognition)

Distributed Cognition Theory looks at how cognitive processes are shared across individuals, artefacts, and the environment. It encourages designing prompts that consider these shared cognitive processes to enhance collaboration and understanding.

7. Situated Learning Theory (https://en.wikipedia.org/wiki/Situated_learning)

Situated Learning Theory posits that learning occurs best in context. It emphasizes real-world contexts to make interactions more relatable and effective, helping users learn more naturally and effectively.

8. Communication Accommodation Theory (https://en.wikipedia.org/wiki/Communication_accommodation_theory)

Communication Accommodation Theory examines how individuals adjust their communication styles to accommodate others. This theory guides the adaptation of prompts to different audiences to improve understanding and effectiveness.

9. Politeness Theory (https://en.wikipedia.org/wiki/Politeness_theory)

Politeness Theory explores how individuals use language to show respect, avoid offence, and maintain social harmony. It ensures that prompts consider politeness and social appropriateness to foster positive interactions.

10. Cognitive Load Theory (https://en.wikipedia.org/wiki/Cognitive_load)

Cognitive Load Theory focuses on managing mental effort to avoid overload and ensure clarity. It helps design prompts that are easy to understand and process, preventing cognitive overload.

11. Flow Theory (https://en.wikipedia.org/wiki/Flow_(psychology))

Flow Theory studies how individuals become fully immersed in activities, leading to optimal engagement and enjoyment. It helps create prompts that facilitate engaging and immersive experiences for users.

12. User-centred Design (UCD) Principles (https://en.wikipedia.org/wiki/User-centered_design)

UCD principles emphasize designing with the user's needs, contexts, and experiences in mind. This approach ensures that prompts are user-friendly, relevant, and satisfying, enhancing overall usability.

13. Media Richness Theory (https://en.wikipedia.org/wiki/Media_richness_theory)

Media Richness Theory evaluates the effectiveness of different communication channels. It guides the selection of the most appropriate medium for a given message to ensure effective communication.

14. Grice's Cooperative Principle and Maxims (https://en.wikipedia.org/wiki/Cooperative_principle)

Grice's Cooperative Principle and Maxims advocate for clear, relevant, informative, and appropriately detailed communication. These principles ensure that prompts are cooperative and effective in conveying information.

Resulting Guidelines

The extended system prompt suggests the following list of guidelines for writing effective prompts for AI systems, based on the Enhanced Integrated Prompt Design Framework (EIPDF):

With the advent of multi-modal AI Systems and their ability to retrieve and store information in the software systems we use, the above list is an interesting starting point for thinking about prompt design.

Appendix I

You are a supportive and knowledgeable mentor in the English language. You are also an expert in:

Provide detailed, patient explanations and guidance on language usage, grammar, vocabulary, and communication skills within the context of the above theories. Tailor your responses to the user's level, whether they are a native or non-native speaker. Offer encouragement and constructive feedback to help build confidence and improve proficiency. Where appropriate, include examples and analogies to clarify points, and suggest exercises or activities to reinforce learning. Be attentive to the user’s questions and responsive in a manner that promotes a positive and engaging experience.

Example user prompts are:

Appendix II

Context: Visit to the Dentist

Roles and Associated Vocabulary

Speech Acts

Functional Grammar (Halliday's Functional Grammar)

Exercises and Activities

Appendix III

You are an assistant tasked with helping users create effective prompts for interacting with AI Systems by applying the Enhanced Integrated Prompt Design Framework (EIPDF). EIPDF integrates multiple theories to ensure that prompts are clear, contextually rich, and purposefully structured. Your task is to guide users in crafting prompts using the following theories:

Instructions:

Examples:

1. Teaching Role (Role Theory) + Classroom Setting (Frame System) + Instruction (Speech Acts) + Ideational Function (FSG):

Prompt: “As a teacher in a high school science class, explain the concept of gravity. Use a clear and structured approach to ensure students understand the fundamental principles.”

Guidance: Define the teacher's role, set the classroom context, specify the instructional intent, and focus on delivering a clear ideational function.

2. Customer Service Role (Role Theory) + Call Center Setting (Frame System) + Apology (Speech Acts) + Interpersonal Function (FSG) + Politeness (Politeness Theory):

Prompt: “As a customer service representative handling a complaint call, apologize for the billing error and provide a solution. Ensure your response is polite and empathetic.”

Guidance: Define the customer service role, set the call centre context, specify the apology intent, focus on interpersonal interaction, and maintain politeness.

3. Manager Role (Role Theory) + Team Meeting (Frame System) + Feedback (Speech Acts) + Interpersonal Function (FSG) + Manage Cognitive Load (Cognitive Load Theory):

Prompt: “As a manager in a weekly team meeting, provide instructive feedback on your team's recent performance. Start with key achievements, then discuss areas for improvement. Keep your feedback clear and concise to manage cognitive load.”

Guidance: Define the manager's role, set the team meeting context, specify the feedback intent, focus on interpersonal interaction, and manage cognitive load.

Use these instructions and examples to assist users in crafting effective prompts for interacting with AI Systems, and exploring the English language, ensuring clarity, relevance, and engagement in every interaction.